ctalkington / python-ipp

Asynchronous Python client for Internet Printing Protocol (IPP)
MIT License
36 stars 20 forks source link

Update pypa/gh-action-pypi-publish action to v1.12.2 #628

Closed renovate[bot] closed 2 days ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
pypa/gh-action-pypi-publish action minor v1.10.3 -> v1.12.2

Release Notes

pypa/gh-action-pypi-publish (pypa/gh-action-pypi-publish) ### [`v1.12.2`](https://redirect.github.com/pypa/gh-action-pypi-publish/releases/tag/v1.12.2) [Compare Source](https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2) #### πŸ› What's Fixed The fix for signing legacy zip sdists turned out to be incomplete, so [@​woodruffw](https://redirect.github.com/woodruffw)[πŸ’°](https://redirect.github.com/sponsors/woodruffw) promptly produced another follow-up that updated `pypi-attestations` from v0.0.13 to v0.0.15 in [#​297](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297). This is the only change since the previous release. **πŸͺž Full Diff**: https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2 **πŸ§”β€β™‚οΈ Release Manager:** [@​webknjaz](https://redirect.github.com/sponsors/webknjaz) [πŸ‡ΊπŸ‡¦](https://stand-with-ukraine.pp.ua) ### [`v1.12.1`](https://redirect.github.com/pypa/gh-action-pypi-publish/releases/tag/v1.12.1) [Compare Source](https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1) #### πŸ› What's Fixed Version v1.12.0 hit several rare corner cases we never considered fully supported, and this release fixes a few of those. In [#​294](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/294), [@​webknjaz](https://redirect.github.com/webknjaz)[πŸ’°](https://redirect.github.com/sponsors/webknjaz) improved the self-hosted runner experience by pre-installing Python if it's not there, and with [#​293](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/293) the ability to use the action on GitHub Enterprise instances has been restored. The latter should've also fixed the ability to invoke [`pypi-publish`][pypi-publish] from nested in-repo composite actions β€” another exotic use-case that was never tested in our CI. [@​woodruffw](https://redirect.github.com/woodruffw)[πŸ’°](https://redirect.github.com/sponsors/woodruffw) also managed to squeeze in a last-minute fix for detecting legacy `.zip` sdists while producing attestations via [#​295](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/295). **πŸͺž Full Diff**: https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1 **πŸ§”β€β™‚οΈ Release Manager:** [@​webknjaz](https://redirect.github.com/sponsors/webknjaz) [πŸ‡ΊπŸ‡¦](https://stand-with-ukraine.pp.ua) **πŸ™ Huge Thanks** to all the bug reporters for posting the logs, helping inspect the problems and verify the regression fixes! [`pypi-publish`]: https://redirect.github.com/marketplace/actions/pypi-publish ### [`v1.12.0`](https://redirect.github.com/pypa/gh-action-pypi-publish/releases/tag/v1.12.0) [Compare Source](https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0) #### ⚑️ Why Should You Update? This is a minor version bump, but it does not add any new user-facing interfaces. Still, I felt like it should not be a patch-release: this update brings *significant changes* to the action invocation and internal release process. Previously, each invocation of [`pypi-publish`][pypi-publish] required building a container image in the invoking CI job. This was inefficient and added about 30 seconds to the publishing jobs at their startup just to build the container. I wanted to improve this for over three years ([#​58](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58)) and a little over half a year ago [@​br3ndonland](https://redirect.github.com/br3ndonland)[πŸ’°](https://redirect.github.com/sponsors/br3ndonland) stepped up and offered a very comprehensive solution to the limitation I was hoping to overcome: [#​230](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230). Going forward, I'm going to pre-build per-version containers prior to cutting each release. And the action invocations will just pull the image from GitHub Container registry. > \[!CAUTION] > Known quirks: > > - This seems to not work on self-hosted runners without a `python` executable: [#​289](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/289). The workaround could be installing it prior to running the action. > - \~Pinning to commit hashes does not work: [#​290](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/290). Workaround: postpone updating until it's fixed or switch to Git tags for now. Subscribe to that issue to follow the progress.~ *UPD:* This was an issue during the first 12 hours post release and it has been addressed upstream by publishing a commit SHA-tagged image for the release on Nov 12, 2024 at 10:27 UTC+1. > - Calling `pypi-publish` from another nested repo-local composite action might be breaking file paths: [#​291](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/291). Workaround: postpone updating until it's fixed. Subscribe to that issue to follow the progress. > - Running within GitHub Enterprise fails on the action repo clone: [#​292](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/292). Workaround: postpone updating until it's fixed. Subscribe to that issue to follow the progress. **πŸͺž Full Diff**: https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0 **πŸ§”β€β™‚οΈ Release Manager:** [@​webknjaz πŸ‡ΊπŸ‡¦](https://redirect.github.com/sponsors/webknjaz) [`pypi-publish`]: https://redirect.github.com/marketplace/actions/pypi-publish ### [`v1.11.0`](https://redirect.github.com/pypa/gh-action-pypi-publish/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0) #### πŸ” Helping you become a trusted supply chain link πŸ”— Two months ago, in [v1.10.0](https://redirect.github.com/pypa/gh-action-pypi-publish/releases/tag/v1.10.0), [@​woodruffw](https://redirect.github.com/woodruffw)[πŸ’°](https://redirect.github.com/sponsors/woodruffw) integrated support for generating and uploading [PEP 740] digital attestations that can be used as provenance objects when analyzing dependency chains for the integrity. To make sure it works well, it was implemented as an opt-in, so a relatively small subset of projects was able to try it out, and a few issues have been determined and fixed during this time. That changes today! This version changes the feature toggle to [β€œon by default”](https://redirect.github.com/marketplace/actions/pypi-publish#generating-and-uploading-attestations). This means that from now on, every project making use of Trusted Publishing will start producing and publishing digital attestations without having to do any modifications to how they use this action. [@​woodruffw](https://redirect.github.com/woodruffw)[πŸ’°](https://redirect.github.com/sponsors/woodruffw) flipped the respective toggle in [#​277](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/277) with the possibility to opt-out. #### πŸ› οΈ Internal Dependencies [@​woodruffw](https://redirect.github.com/woodruffw)[πŸ’°](https://redirect.github.com/sponsors/woodruffw) bumped `sigstore` to v3.5.1 and `pypi-attestations` to v0.0.13 in lock files via [#​276](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/276). **πŸͺž Full Diff**: https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0 **πŸ§”β€β™‚οΈ Release Manager:** [@​webknjaz πŸ‡ΊπŸ‡¦](https://redirect.github.com/sponsors/webknjaz) **πŸ™ Special Thanks** to William for working on improving the supply chain provenance in the ecosystem! The overall effort is tracked @&#[https://github.com/pypi/warehouse/issues/15871](https://redirect.github.com/pypi/warehouse/issues/15871)/15871. [PEP 740]: https://peps.python.org/pep-0740/

Configuration

πŸ“… Schedule: Branch creation - " 0-3 " in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



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

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.36%. Comparing base (b73e751) to head (3130bf5). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #628 +/- ## ======================================= Coverage 94.36% 94.36% ======================================= Files 9 9 Lines 870 870 Branches 121 121 ======================================= Hits 821 821 Misses 22 22 Partials 27 27 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.