Skip to content
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

chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 #917

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2024

This PR contains the following updates:

Package Type Update Change
pypa/gh-action-pypi-publish action minor v1.1.0 -> v1.10.2

Release Notes

pypa/gh-action-pypi-publish (pypa/gh-action-pypi-publish)

v1.10.2

Compare Source

💅 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. 🤞

💪 New Contributors

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

🪞 Full Diff: pypa/gh-action-pypi-publish@v1.10.1...v1.10.2

🧔‍♂️ Release Manager: @​webknjaz 🇺🇦

🙏 Special Thanks to @​henryiii💰 for promptly pointing up possible fixes for #​263.

v1.10.1

Compare Source

🚑🔏 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 pypa/gh-action-pypi-publish@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: pypa/gh-action-pypi-publish@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!

v1.10.0

Compare Source

🔏 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.

[!IMPORTANT]
✨ Please, do opt into trying this feature out early. It can be enabled as follows:

  with:
    attestations: true

Leave any feedback on this in this release discussion or the PR.

🙏 And please, thank William for working on this amazing improvement for the ecosystem! The overall effort is tracked @&#https://github.com/pypi/warehouse/issues/15871/15871, by the way.

🪞 Full Diff: pypa/gh-action-pypi-publish@v1.9.0...v1.10.0

🧔‍♂️ Release Manager: @​webknjaz 🇺🇦

v1.9.0

Compare Source

💅 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: pypa/gh-action-pypi-publish@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.

v1.8.14

Compare Source

🛠️ 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: pypa/gh-action-pypi-publish@v1.8.13...v1.8.14

🧔‍♂️ Release Manager: @​webknjaz 🇺🇦

v1.8.13

Compare Source

🐛 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: pypa/gh-action-pypi-publish@v1.8.12...v1.8.13

🧔‍♂️ Release Manager: @​webknjaz 🇺🇦

v1.8.12

Compare Source

💅 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

⚙️ 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: pypa/gh-action-pypi-publish@v1.8.11...v1.8.12

🧔‍♂️ Release Manager: @​webknjaz 🇺🇦

v1.8.11

Compare Source

💅 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: pypa/gh-action-pypi-publish@v1.8.10...v1.8.11

v1.8.10

Compare Source

🐛 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: pypa/gh-action-pypi-publish@v1.8.9...v1.8.10

v1.8.9

Compare Source

💅 Cosmetic output improvements

🛠️ Internal dependencies

Full Diff: pypa/gh-action-pypi-publish@v1.8.8...v1.8.9

v1.8.8

Compare Source

💅 Cosmetic output improvements

🛠️ Internal dependencies

💪 New Contributors

🪞 Full Diff: pypa/gh-action-pypi-publish@v1.8.7...v1.8.8

v1.8.7

Compare Source

💅 Cosmetic output impovements

🛠️ Internal dependencies

💪 New Contributors

🪞 Full Diff: pypa/gh-action-pypi-publish@v1.8.6...v1.8.7

v1.8.6

Compare Source

What's Updated

New Contributors

Full Diff: pypa/gh-action-pypi-publish@v1.8.5...v1.8.6

v1.8.5

Compare Source

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: pypa/gh-action-pypi-publish@v1.8.4...v1.8.5

v1.8.4

Compare Source

What's Improved

Full Diff: pypa/gh-action-pypi-publish@v1.8.3...v1.8.4

v1.8.3

Compare Source

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: pypa/gh-action-pypi-publish@v1.8.2...v1.8.3

v1.8.2

Compare Source

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: pypa/gh-action-pypi-publish@v1.8.1...v1.8.2

v1.8.1

Compare Source

🐛 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: pypa/gh-action-pypi-publish@v1.8.0...v1.8.1

v1.8.0

Compare Source

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/129655~

New Contributors

Full Diff: pypa/gh-action-pypi-publish@v1.7.1...v1.8.0

v1.7.1

Compare Source

Regression?

There was a small setback with v1.7.0 — the snake_case fallbacks didn't work because the check for the kebab-case env vars with default values set was always truthy. This bugfix release promptly fixes that.

Full Diff: pypa/gh-action-pypi-publish@v1.7.0...v1.7.1

v1.7.0

Compare Source

What should I care about?

TL;DR The action input names have been converted to use kebab-case and marked deprecated. But the old names still work.

This is made to align the public API with the de-facto conventions in the ecosystem. We've used snake_case names, which the maintainer considers a historical mistake. New kebab-case inputs will make the end-users' workflows look more consistent and and visually distinguishable from other identifiers one may encounter in YAML.

There is no timeline for removing the old names, but it will happen in v3 or later versions of the action. If the maintainer doesn't forget to do this, that is.

The patch is here: https://github.com/pypa/gh-action-pypi-publish/pull/125.

Full Diff: pypa/gh-action-pypi-publish@v1.6.5...v1.7.0

v1.6.5

Compare Source

What's Changed

  • Added an explicit warning when the password passed into the action is empty — thanks @​colindean

New Contributors

Full Diff: pypa/gh-action-pypi-publish@v1.6.4...v1.6.5

v1.6.4

Compare Source

oh, boi! again?

This is the last one tonight, promise! It fixes this embarrassing bug that was actually caught by the CI but got overlooked due to the lack of sleep.
TL;DR GH passed $HOME from the external env into the container and that tricked the Python's site module to think that the home directory is elsewhere, adding non-existent paths to the env vars. See #​115.

Full Diff: pypa/gh-action-pypi-publish@v1.6.3...v1.6.4

v1.6.3

Compare Source

Another Release!? Why?

In https://github.com/pypa/gh-action-pypi-publish/issues/112#issuecomment-1340133013, it was discovered that passing a $PATH variable even breaks the shebang. So this version adds more safeguards to make sure it keeps working with a fully broken $PATH.

Full Diff: pypa/gh-action-pypi-publish@v1.6.2...v1.6.3

v1.6.2

Compare Source

What's Fixed

  • Made the $PATH and $PYTHONPATH environment variables resilient to broken values passed from the host runner environment, which previously allowed the users to accidentally break the container's internal runtime as reported in https://github.com/pypa/gh-action-pypi-publish/issues/112

Internal Maintenance Improvements

New Contributors

Full Diff: pypa/gh-action-pypi-publish@v1.6.1...v1.6.2

v1.6.1

Compare Source

What's happened?!

There was a sneaky bug in v1.6.0 which caused Twine to be outside the import path in the Python runtime. It is fixed in v1.6.1 by updating $PYTHONPATH to point to a correct location of the user-global site-packages/ directory.

Full Diff: pypa/gh-action-pypi-publish@v1.6.0...v1.6.1

v1.6.0

Compare Source

Anything's changed?

The only update is that the Python runtime has been upgraded from 3.9 to 3.11. There are no functional changes in this release.

Full Changelog: pypa/gh-action-pypi-publish@v1.5.2...v1.6.0

v1.5.2

Compare Source

What's Improved

Full Diff: pypa/gh-action-pypi-publish@v1.5.1...v1.5.2

v1.5.1

Compare Source

What's Changed

Full Diff: pypa/gh-action-pypi-publish@v1.5.0...v1.5.1

v1.5.0

Compare Source

What's Changed

New Contributors

Full Diff: pypa/gh-action-pypi-publish@v1.4.2...v1.5.0

v1.4.2

Compare Source

  • Upgraded the runtime Python to v3.9
  • Upgraded pip so that it'd understand the manylinux2010 tag (bug #​56)
  • Made pip prefer wheels over sdists whenever possible (this helps with
    the publishing race conditions like #​50/#​51)

v1.4.1

Compare Source

  • Fixed referring to an undefined $VERBOSE var contributed earlier in PR #​39 (bug report #​41)

v1.4.0

Compare Source

  • Exposed verbose setting useful for debugging the upload issues (PR #​39) -- by @​sub-mod

v1.3.1

Compare Source

  • Improved packages_dir validation warnings

v1.3.0

Compare Source

  • Exposed skip_existing setting

v1.2.2

Compare Source

  • Fixed outputting $INPUT_PACKAGES_DIR in the warning message
  • Clarified "titles" of the warnings

v1.2.1

Compare Source

v1.2.0

Compare Source

Implement dists metadata validation by running twine check before upload.
This is enabled by default and can be disabled using verify_metadata input:

   with:
     verify_metadata: false

This feature has been contributed by @​henryiii.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/pypa-gh-action-pypi-publish-1.x branch from 240fecd to d5b0ce0 Compare June 16, 2024 21:05
@renovate renovate bot changed the title chore(deps): update pypa/gh-action-pypi-publish action to v1.8.14 chore(deps): update pypa/gh-action-pypi-publish action to v1.9.0 Jun 16, 2024
@renovate renovate bot force-pushed the renovate/pypa-gh-action-pypi-publish-1.x branch from d5b0ce0 to 64961b7 Compare September 1, 2024 03:52
@renovate renovate bot changed the title chore(deps): update pypa/gh-action-pypi-publish action to v1.9.0 chore(deps): update pypa/gh-action-pypi-publish action to v1.10.0 Sep 1, 2024
@renovate renovate bot force-pushed the renovate/pypa-gh-action-pypi-publish-1.x branch from 64961b7 to b898d0a Compare September 3, 2024 09:19
@renovate renovate bot changed the title chore(deps): update pypa/gh-action-pypi-publish action to v1.10.0 chore(deps): update pypa/gh-action-pypi-publish action to v1.10.1 Sep 3, 2024
@renovate renovate bot force-pushed the renovate/pypa-gh-action-pypi-publish-1.x branch from b898d0a to e906699 Compare September 20, 2024 22:47
@renovate renovate bot changed the title chore(deps): update pypa/gh-action-pypi-publish action to v1.10.1 chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 Sep 20, 2024
@AndreMiras AndreMiras merged commit 7374d24 into master Sep 21, 2024
16 of 18 checks passed
@AndreMiras AndreMiras deleted the renovate/pypa-gh-action-pypi-publish-1.x branch September 21, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant