Repository navigation
Configure trusted publishing to PyPI - #91
Conversation
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@v1.13.0...v1.14.0)
Run job under an environment called 'pypi', set permissions: id-token: write, and don't use PYPI_TOKEN upload. Xref https://github.com/pypa/gh-action-pypi-publish/tree/v1.14.0?tab=readme-ov-file#trusted-publishing.
|
Will need a maintainer listed on https://pypi.org/project/cupy-xarray/ to configure trusted publishing before this PR can go ahead 🙂 |
|
@jacobtomlinson or @jakirkham would you mind helping @weiji14 here? |
|
Or maybe @andersy005 can help configure this at https://pypi.org/manage/project/cupy-xarray/settings/publishing/? |
|
I missed this the first time around. I've added trusted publishing now. |
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.14.0 to 1.14.3. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@v1.14.0...v1.14.3)
|
Thanks Jacob! I've removed the PYPI_TOKEN also from the repo secrets, hopefully you've also revoked the token from PyPI as a precaution. CI is currently failing with |
|
Oh, and while we're on the topic of PyPI publishing, I just stumbled on xarray-contrib/xarray-contrib#15 and realized that the
Not sure when or who added this, but this will help with the bus factor :D |
|
that was in January this year. When opening up the xarray-contrib to contribution requests we decided that every project in xarray-contrib should have a increased bus factor, and the org was one of the easier ways to achieve this. CI has been resolved earlier today, you should be able to restart the release workflow now. |
|
Nice, thanks everyone, I'll press the green button now 🚀 |

Secure publishing of sdist and wheel to PyPI.
TODO:
pypa/gh-action-pypi-publishworkflow to use OIDC publishingReferences:
Closes #87