Skip to content

Commit

Permalink
chore(deps): update pypa/gh-action-pypi-publish action to v1.12.2 (#1155
Browse files Browse the repository at this point in the history
)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pypa/gh-action-pypi-publish](https://redirect.github.com/pypa/gh-action-pypi-publish)
| action | minor | `v1.10.3` -> `v1.12.2` |

---

### Release Notes

<details>
<summary>pypa/gh-action-pypi-publish
(pypa/gh-action-pypi-publish)</summary>

###
[`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
[@&#8203;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
[#&#8203;297](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297).
This is the only change since the previous release.

**🪞 Full Diff**:
pypa/gh-action-pypi-publish@v1.12.1...v1.12.2

**🧔‍♂️ Release Manager:**
[@&#8203;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/compare/v1.12.0...v1.12.1)

[Compare
Source](https://redirect.github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1)

###
[`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
([#&#8203;58](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58))
and a little over half a year ago
[@&#8203;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:
[#&#8203;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.

**🪞 Full Diff**:
pypa/gh-action-pypi-publish@v1.11.0...v1.12.0

**🧔‍♂️ Release Manager:** [@&#8203;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),
[@&#8203;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.


[@&#8203;woodruffw](https://redirect.github.com/woodruffw)[💰](https://redirect.github.com/sponsors/woodruffw)
flipped the respective toggle in
[#&#8203;277](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/277)
with the possibility to opt-out.

#### 🛠️ Internal Dependencies


[@&#8203;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
[#&#8203;276](https://redirect.github.com/pypa/gh-action-pypi-publish/issues/276).

**🪞 Full Diff**:
pypa/gh-action-pypi-publish@v1.10.3...v1.11.0

**🧔‍♂️ Release Manager:** [@&#8203;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/

</details>

---

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/openapi-generators/openapi-python-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 23, 2024
1 parent 46dcdc5 commit 7aac7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Build
run: hatchling build
- name: Push to PyPI
uses: pypa/gh-action-pypi-publish@v1.10.3
uses: pypa/gh-action-pypi-publish@v1.12.2
with:
attestations: true

0 comments on commit 7aac7c5

Please sign in to comment.