Skip to content

Enable PyPI publishing for existing GitHub releases - #1186

Merged
rng1995 merged 1 commit into
mainfrom
naren/publish-existing-release
Nov 24, 2026
Merged

rng1995 merged 1 commit into
mainfrom
naren/publish-existing-release

Conversation

@rng1995

@rng1995 rng1995 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add a manual path to publish an existing GitHub release to TestPyPI or PyPI. This lets maintainers use the already-built v2.13.7 artifacts and test the same bytes before publishing them to production.

  • Run the manual preparation job from main in this repository with a release tag, the selected index, and SHA-256 pins for both distributions. The job checks the requested index against the repository setting, then verifies the GitHub release metadata and downloaded bytes.
  • Pass the verified wheel and source distribution to the existing Trusted Publishing job. That job keeps the same package-index environments and OIDC permission. The manual path uses read-only GitHub access.
  • Keep the labeled release PR path for new releases and document the manual path for existing releases.

Verification

  • 38 release workflow, release helper, download, and distribution tests passed.
  • Actionlint, Ruff, and git diff --check passed.
  • Downloaded both published v2.13.7 assets, matched their approved SHA-256 values, and passed Twine validation.

After merge, select TestPyPI and dispatch the workflow with the approved v2.13.7 digests. Verify the test installation before selecting PyPI for the same distributions.

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 merged commit f08a32b into main Nov 24, 2026
6 checks passed
@rng1995
rng1995 deleted the naren/publish-existing-release branch November 24, 2026 06:12
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.

1 participant