Skip to content

ci: move to PyPi Trusted Publishing - #137

Open
qkaiser wants to merge 1 commit into
mainfrom
trusted-publishing
Open

ci: move to PyPi Trusted Publishing#137
qkaiser wants to merge 1 commit into
mainfrom
trusted-publishing

Conversation

@qkaiser

@qkaiser qkaiser commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Move to PyPi Trusted Publishing using an ID token instead of relying on a fixed token.

Split the release workflow in 3 steps:

  • build phase with poetry, followed by an artifact upload
  • publication to PyPi by pulling built artifacts first
  • publications to Test PyPi by pulling built artifacts first

This follows official guidance from
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

Move to PyPi Trusted Publishing using an ID token instead of relying on
a fixed token.

Split the release workflow in 3 steps:
- build phase with poetry, followed by an artifact upload
- publication to PyPi by pulling built artifacts first
- publications to Test PyPi by pulling built artifacts first

This follows official guidance from
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
@qkaiser
qkaiser requested a review from martonilles August 31, 2026 08:56
@qkaiser qkaiser self-assigned this Aug 31, 2026
@qkaiser
qkaiser marked this pull request as draft August 31, 2026 09:33
@qkaiser
qkaiser marked this pull request as ready for review August 31, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant