-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
CI: add PyPI Trusted-Publishing “publish” job to wheels workflow (#61669) #61718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
CI failed in the docstring-validation step with
This occurs before my code runs, so it isn’t caused by the changes in this PR. |
This workflow runs every day, on all pushes, and on all pull requests, but you said "uploads to PyPI when a release tag is pushed" in the description. Perhaps you want to put this in a new Because this makes the You could alternatively add You need to update the release process documentation to change the new method for publishing (remove step 5: "Upload wheels to PyPI"). You likely want to document (in this pull request's description, and in the release process documentation) the new |
d6552ce
to
58cb179
Compare
6232f6f
to
7359e1b
Compare
@EpicWink All requested changes are in. Let me know if anything else’s needed - thanks! |
pre-commit
& CI)doc/source/whatsnew/v3.0.0.rst
Summary
This PR enables Trusted Publishing (OIDC) uploads to PyPI when a GitHub release is published.
What’s changed
.github/workflows/wheels.yml
publish
job that*pyodide*.whl
);pypa/gh-action-pypi-publish@v1
in thepypi
environment.doc/source/whatsnew/v3.0.0.rst
doc/source/development/maintaining.rst
No other files or CI matrix settings were changed.