Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(ci): drop the nonexistent twine --trusted-publishing flag
twine has no such option, so the upload aborted with exit 2 before contacting
PyPI. Trusted publishing needs no flag: twine resolves the password through
keyring, then trusted publishing, and defaults the username to __token__ for
PyPI, fetching the audience and minting a token over OIDC on its own.

--non-interactive so a trusted-publishing failure errors instead of trying to
prompt for a password.
  • Loading branch information
MichaelGHSeg committed Sep 28, 2026
commit 9c43519f590173df82643ceb6aedbf0c580e3b3a
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ jobs:
- name: Publish to PyPI
run: |
pip install "twine>=5.0"
twine upload --repository pypi --trusted-publishing=always dist/*
twine upload --non-interactive --repository pypi dist/*
Loading