Skip to content

Fix TestPyPI trusted publishing identity#161

Merged
justinjoy merged 2 commits into
mainfrom
issue-130-trusted-publishing-envs
May 28, 2026
Merged

Fix TestPyPI trusted publishing identity#161
justinjoy merged 2 commits into
mainfrom
issue-130-trusted-publishing-envs

Conversation

@justinjoy
Copy link
Copy Markdown
Contributor

Summary

  • split release publishing into separate TestPyPI and PyPI jobs
  • assign explicit GitHub environments: testpypi for dry runs and pypi for production tags
  • keep artifact verification and attestation before each publish path
  • document the required TestPyPI trusted publisher environment for Perform a TestPyPI dry run for v1.0.0 artifacts #130

Validation

  • PYTHONPATH=src pytest --no-cov -q tests/test_release_workflow_yaml.py tests/docs/test_release_candidate_checklist.py -> 34 passed
  • python - <<'PY' ... yaml.safe_load(...) ... PY -> release.yml parsed
  • git diff --check HEAD~2..HEAD
  • actionlint .github/workflows/release.yml

Fixes #130 after TestPyPI trusted publisher is configured for environment testpypi and the dry run succeeds.

@justinjoy justinjoy force-pushed the issue-130-trusted-publishing-envs branch from 6786ca5 to 79dbd9d Compare May 28, 2026 09:03
@justinjoy justinjoy merged commit 012dbe0 into main May 28, 2026
17 checks passed
@justinjoy justinjoy deleted the issue-130-trusted-publishing-envs branch May 28, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Perform a TestPyPI dry run for v1.0.0 artifacts

1 participant