gh-action-pypi-publish

The blessed GitHub Action, for publishing your distribution files to PyPI: https://github.com/marketplace/actions/pypi-publish

BSD-3-CLAUSE License

Downloads
23
Stars
846
Committers
29

Bot releases are hidden (Show)

gh-action-pypi-publish - v1.10.3

Published by webknjaz 14 days ago

πŸ’… Cosmetic Output Improvements

In #270, @facutuescaπŸ’° made a follow-up to their previous PR #250, making the hints show up more granularly. This effectively makes sure that the suggestion to enable Trusted Publishing does not get displayed when it's already in use. It also makes the message nicer in a few places on the UI.

πŸ› οΈ Internal Dependencies

@mosfet80πŸ’° updated a few internal linter versions in #266, #267, and #271, no user impact. This is usually automated otherwise.

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.2...v1.10.3

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

gh-action-pypi-publish - v1.10.2

Published by webknjaz 27 days ago

πŸ’… Cosmetic Output Improvements

In #250 and #258, @facutuescaπŸ’° added a nudge message with a magic link to pre-fill the creation of new Trusted Publishers configurations on PyPI. The users are now suggested to configure tokenless publishing by clicking a link printed in the job summary when it's detected that they publish to PyPI or TestPyPI. Just like magic! πŸ¦„

πŸ› οΈ Internal Dependencies

@woodruffwπŸ’° bumped pypi-attestations to v0.0.12 in #262, hopefully fixing #263. 🀞 Nah.. that wasn't it.

[!TIP]
Please keep in mind that reusable workflows are not yet supported, even though they sometimes work, mostly by accident.

πŸ’ͺ New Contributors

@facutuesca made their first contribution in https://github.com/pypa/gh-action-pypi-publish/pull/258

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.1...v1.10.2

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

πŸ™ Special Thanks to @henryiiiπŸ’° for promptly pointing up possible fixes for #263.

gh-action-pypi-publish - v1.10.1 Latest Release

Published by webknjaz about 1 month ago

πŸš‘πŸ” Oopsie... We missed a tiny bug in the attestations feature the other day

The problem was that the distribution file validity check was failing on any valid distribution being present and ready to be signed. What a silly mistake! It's now been fixed via https://github.com/pypa/gh-action-pypi-publish/commit/0ab0b79, though. So everything's good!

-- @webknjazπŸ’°

[!IMPORTANT]
✨ Despite this minor hiccup, we invite you to still opt into trying this feature out early. It can be enabled like this:

  with:
    attestations: true

Leave feedback in the v1.10.0 release discussion or the PR.

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.0...v1.10.1

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

πŸ™ Special Thanks to @hugovkπŸ’° for promptly validating the bug fix, mere minutes after I pushed it β€” I even haven't finished writing this text by then!

gh-action-pypi-publish - v1.10.0

Published by webknjaz about 2 months ago

πŸ” Anything fancy, eh?

This time, @woodruffwπŸ’° implemented support for PEP 740 attestations functionality in #236 and #245. This is a big deal, as it is a huge step forward to replacing what the deprecated GPG signatures used to provide in a more meaningful way.

πŸ™ Please, thank William for working on this amazing improvement for the ecosystem! The overall effort is tracked @ https://github.com/pypi/warehouse/issues/15871, by the way.

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.9.0...v1.10.0

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

gh-action-pypi-publish - v1.9.0

Published by webknjaz 4 months ago

πŸ’… Cosmetic Output Improvements

πŸ› οΈ Internal Dependencies

  • pre-commit linters got auto-updated @ #225
  • some notable dependency bumps include
    • cryptography == 42.0.7
    • id == 1.4.0
    • idna == 3.7 via #228
    • requests == 2.32.0 via #240
    • Twine == 5.1.0

βš™οΈ Secret Stuff

In #241, @br3ndonlandπŸ’° added a Docker label linking the container image to this repository for GHCR to display it nicely. This is preparatory work for a big performance-focused refactoring he's working on in #230.

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.14...v1.9.0

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

πŸ™ Special Thanks to @pradyunsgπŸ’° for promptly unblocking this release to Marketplace as GitHub started asking for yet another developer agreement signature from the organization admins.

gh-action-pypi-publish - v1.8.14

Published by webknjaz 7 months ago

πŸ› οΈ Internal Dependencies

Nothing changed feature-wise. The only notable update is that the underlying container runtime now uses Python 3.12 and pip has been updated to v24.0 there.
This is should go unnoticed in terms of behavior. It's just a bit of maintenance burden to be done occasionally by @webknjazπŸ’°.
Enjoy!

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.13...v1.8.14

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

gh-action-pypi-publish - v1.8.13

Published by webknjaz 7 months ago

πŸ› What's Fixed

This action is now able to consume and publish distribution packages with Metadata-Version: 2.3 embedded.

πŸ› οΈ Internal Dependencies

@SigureMoπŸ’° sent us a bump of pkginfo version to version 1.10.0 in #219. It's a transitive dependency for us and is not an API-level change but upgrading it has a side effect of letting Twine recognize distribution packages declaring Metadata-Version: 2.3. In particular, it is known to affect distributions built with Maturin >= 1.5.0.

Following that, @webknjazπŸ’° upgraded other transitive and direct dependency pins, including, among others, the following notable bumps:

  • cryptography == 42.0.5
  • id == 1.3.0
  • readme-renderer == 43.0
  • Twine == 5.0.0

πŸ’ͺ New Contributors

@SigureMo made their first contribution in https://github.com/pypa/gh-action-pypi-publish/pull/219

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.12...v1.8.13

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

gh-action-pypi-publish - v1.8.12

Published by webknjaz 8 months ago

πŸ’… Cosmetic Output Improvements

@woodruffwπŸ’° replaced the notice annotations with simplified debug messages related to authentication methanism selection via #196. The also improved the error clarity during OIDC exchange on PRs from forks via #203.

πŸ“ What's Documented

@virtualdπŸ’° updated the docs and pointer messages were updated to mention that reusable workflows aren't supported right now in #186 and @xuanzhi33πŸ’° later corrected the markdown syntax there via #216.

πŸ› οΈ Internal Dependencies

  • pre-commit linters got autoupdated @ #204
  • Cryptography was bumped from 41.0.6 to 42.0.4 @ #210, #213 and #214

βš™οΈ Secret Stuff

@woodruffw proactively updated the OIDC minting API endpoint used during the exchange via #206. Nothing you should be too concerned about, promise!

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.11...v1.8.12

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

gh-action-pypi-publish - v1.8.11

Published by webknjaz 11 months ago

πŸ’… Cosmetic output improvements

@woodruffw added a nudge suggesting the users storing passwords in a GitHub Actions repository secrets to switch to using secretless publishing in https://github.com/pypa/gh-action-pypi-publish/pull/190. This also reminds people that PyPI will start mandating two-factor authentication to perform uploads in 2024.

πŸ“ What's Documented

@di linked the configuration docs for Trusted Publishing in README via https://github.com/pypa/gh-action-pypi-publish/pull/179.

πŸ› οΈ Internal dependencies

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.10...v1.8.11

gh-action-pypi-publish - v1.8.10

Published by webknjaz about 1 year ago

πŸ› What's Fixed

@woodruffw fixed decoding OIDC claims in debug output on failure by applying correct padding to the encoded payload via https://github.com/pypa/gh-action-pypi-publish/pull/177.

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.9...v1.8.10

gh-action-pypi-publish - v1.8.9

Published by webknjaz about 1 year ago

πŸ’… Cosmetic output improvements

πŸ› οΈ Internal dependencies

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.8...v1.8.9

gh-action-pypi-publish - v1.8.8

Published by webknjaz over 1 year ago

πŸ’… Cosmetic output improvements

πŸ› οΈ Internal dependencies

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.7...v1.8.8

gh-action-pypi-publish - v1.8.7

Published by webknjaz over 1 year ago

πŸ’… Cosmetic output impovements

πŸ› οΈ Internal dependencies

πŸ’ͺ New Contributors

πŸͺž Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.6...v1.8.7

gh-action-pypi-publish - v1.8.6

Published by webknjaz over 1 year ago

What's Updated

New Contributors

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.5...v1.8.6

gh-action-pypi-publish - v1.8.5

Published by webknjaz over 1 year ago

What's Improved

@woodruffw improved the user-facing documentation and logging to make use of the Trusted Publishing flow terminology cohesive with PyPI in https://github.com/pypa/gh-action-pypi-publish/pull/143. Trusted Publishing used to be referred to as OpenID Connect (OIDC) β€” the underlying technology that is being used to make it work. He also made the action display the cause of the Trusted Publishing flow being selected by the action via https://github.com/pypa/gh-action-pypi-publish/pull/142.

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.4...v1.8.5

gh-action-pypi-publish - v1.8.4

Published by webknjaz over 1 year ago

What's Improved

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.3...v1.8.4

gh-action-pypi-publish - v1.8.3

Published by webknjaz over 1 year ago

What's New

This release improves the logging detalization of which authentication mode is selected when the action runs. It surfaces this detail to the workflow run summary page as annotations. The change was contributed by @woodruffw in https://github.com/pypa/gh-action-pypi-publish/pull/136.

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.2...v1.8.3

gh-action-pypi-publish - v1.8.2

Published by webknjaz over 1 year ago

What's Changed

This release started printing out full OIDC error messages to console, instead of just one line -- by @woodruffw in https://github.com/pypa/gh-action-pypi-publish/pull/134.

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.1...v1.8.2

gh-action-pypi-publish - v1.8.1

Published by webknjaz over 1 year ago

πŸ› What's Fixed

πŸ’” Unfortunately, a tiny mistake in v1.8.0 caused a far-reaching regression for the most used code path.
❗ But don't worry, it's fixed now thanks to @njzjz who promptly spotted it and @zhongjiajie who sent a bugfix.

πŸ™Œ New Contributors

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.0...v1.8.1

gh-action-pypi-publish - v1.8.0

Published by webknjaz over 1 year ago

The Coolest Release Ever!

In this release, @woodruffw implemented support for secretless OIDC-based publishing to PyPI-like package indexes. The OIDC flow is activated when neither username nor password action inputs are set.

The OIDC β€œtoken exchange”, is an authentication technique that PyPI (and TestPyPI, and hopefully some future others) supports as an alternative to long-lived username/password combinations or long-lived API tokens.

IMPORTANT: The PyPI-side configuration is only available to participants of the private beta test. Please, only try out the zero-config mode if you are a beta test participant having followed the PyPI configuration instructions.
It's gone GA during Python 2023 and is available to everyone now.

Setup prerequisites: https://github.com/marketplace/actions/pypi-publish#trusted-publishing
PyPI's documentation: https://pypi.org/help/#trusted-publishers
Beta test enrollment: https://github.com/pypi/warehouse/issues/12965

New Contributors

Full Diff: https://github.com/pypa/gh-action-pypi-publish/compare/v1.7.1...v1.8.0

Package Rankings
Top 23.44% on Pypi.org
Top 9.63% on Proxy.golang.org
Top 0.34% on Github actions
Badges
Extracted from project README
SWUbanner πŸ§ͺ GitHub Actions CI/CD workflow tests badge pre-commit.ci status badge