Skip to content

ci: publish to PyPI via Trusted Publishing, drop the RC scheme#96

Merged
MikeWooster merged 7 commits into
masterfrom
ci/trusted-publishing
Jun 7, 2026
Merged

ci: publish to PyPI via Trusted Publishing, drop the RC scheme#96
MikeWooster merged 7 commits into
masterfrom
ci/trusted-publishing

Conversation

@MikeWooster

Copy link
Copy Markdown
Owner
  • Replaces the broken twine + username/password upload (and the dead pip search version check) with PyPA's trusted publishing over OIDC, so releases need no secrets.
  • Deletes the obsolete release scripts and the RC versioning scheme; a release now just checks VERSION matches the tag, builds, and publishes

- replace twine + username/password upload with
  pypa/gh-action-pypi-publish using OIDC trusted publishing (no secrets)
- guard the release by asserting VERSION matches the release tag,
  replacing the update_version.py script and its dead 'pip search' call
- delete update_version.py and upload_new_package.py; drop the RC
  versioning scheme entirely
- trigger on release 'published' rather than 'created'
- trim the deploy extra to just 'build' (requests/twine were only used
  by the removed scripts)
Documents local development, the make targets, and the Trusted
Publishing release flow (one-time setup plus per-release steps).
@MikeWooster MikeWooster merged commit 1fb8269 into master Jun 7, 2026
8 checks passed
@MikeWooster MikeWooster deleted the ci/trusted-publishing branch June 7, 2026 14:58
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