github pypa/gh-action-pypi-publish v1.13.0

one day ago

Take the 2025 Python Packaging Survey if you still haven't!

Important

🚨 This release includes fixes for GHSA-vxmw-7h4f-hqxh discovered by @woodruffwπŸ’°.
We've also integrated Zizmor to catch similar issues in the future and you should too.

✨ New Stuff

@woodruffwπŸ’° updated the README to no longer mention the attestations feature being experimental in #347: it's been rather stable for a year already πŸŽ‰
He also added more diagnostic output which includes printing out the GitHub Environment claim via #371 and warning about the unsupported reusable workflows configurations #306, when using Trusted Publishing.

Tip

The official support for reusable workflows is currently blocked on changes to PyPI. To get updates about progress on the action side, you may want to subscribe to #166.
At PyCon US 2025 Sprints, @facutuescaπŸ’°, @mikethemanπŸ’°, @woodruffwπŸ’° and IπŸ’° spent several hours IRL brainstorming how to fix this and migrate projects that happen to rely on an obscure corner case with reusable workflows that temporarily allows them to function by accident.
The result of that discussion is posted @ pypi/warehouse#11096 (comment).
Note that this is a volunteer-led effort and there is no ETA. If you need this soon, make your employer sponsor the PSF and maybe they'll be able to hire somebody for this work on Warehouse.

In addition to that, @konstinπŸ’° sent #378 to pin actions/setup-python to a SHA hash. This makes pypi-publish compatible with new GitHub policies that allow organizations to mandate hash-pinning actions used in workflows.

πŸ› οΈ Internal Dependencies

@webknjazπŸ’° made a bunch of updates to the action runtime which includes bumping it to Python 3.13 in #331 and updating the dependency tree across the board. pip-with-requires-python is no longer being installed (#332). Some related bumps were contributed by @woodruffwπŸ’° (#359) and @kurtmckeeπŸ’° sent a contributor-facing PR, bumping the linting configuration via #335.

πŸ’ͺ New Contributors

πŸͺž Full Diff: v1.12.4...v1.13.0

πŸ§”β€β™‚οΈ Release Manager: @webknjaz πŸ‡ΊπŸ‡¦

πŸ’¬ Discuss on Bluesky πŸ¦‹, on Mastodon 🐘 and on GitHub.

GH Sponsors badge

Don't miss a new gh-action-pypi-publish release

NewReleases is sending notifications on new releases.