Skip to content

Commit

Permalink
build(deps): bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.0 (#…
Browse files Browse the repository at this point in the history
…333)

Bumps
[pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)
from 1.11.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's
releases</a>.</em></p>
<blockquote>
<h2>v1.12.0</h2>
<h2>⚡️ Why Should You Update?</h2>
<p>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 <em>significant changes</em> to the action invocation and
internal release process.</p>
<p>Previously, each invocation of <a
href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a>
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.</p>
<p>I wanted to improve this for over three years (<a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58">#58</a>)
and a little over half a year ago <a
href="https://github.com/br3ndonland"><code>@​br3ndonland</code></a><a
href="https://github.com/sponsors/br3ndonland">💰</a> stepped up and
offered a very comprehensive solution to the limitation I was hoping to
overcome: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>.</p>
<p>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.</p>
<blockquote>
<p>[!CAUTION]
Known quirks:</p>
<ul>
<li>This seems to not work on self-hosted runners without a
<code>python</code> executable: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/289">#289</a>.
The workaround could be installing it prior to running the action.</li>
<li><del>Pinning to commit hashes does not work: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/290">#290</a>.
Workaround: postpone updating until it's fixed or switch to Git tags for
now. Subscribe to that issue to follow the progress.</del> <em>UPD:</em>
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.</li>
<li>Calling <code>pypi-publish</code> from another nested repo-local
composite action might be breaking file paths: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/291">#291</a>.
Workaround: postpone updating until it's fixed. Subscribe to that issue
to follow the progress.</li>
<li>Running within GitHub Enterprise fails on the action repo clone: <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/292">#292</a>.
Workaround: postpone updating until it's fixed. Subscribe to that issue
to follow the progress.</li>
</ul>
</blockquote>
<p><strong>🪞 Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0</a></p>
<p><strong>🧔‍♂️ Release Manager:</strong> <a
href="https://github.com/sponsors/webknjaz"><code>@​webknjaz
🇺🇦</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/61da13deb5f5124fb1536194f82ed3d9bbc7e8f3"><code>61da13d</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>
from br3ndonland/ghcr</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/36965cb24aed76043aeb8f19062b6a31fa56b990"><code>36965cb</code></a>
Run smoke tests before Docker builds</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/da554410b00985409d772ab68bf845b44bbf5f4c"><code>da55441</code></a>
Move smoke test to reusable workflow</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/80b1d50e0dd4d304b48449d781099aee65e1ee35"><code>80b1d50</code></a>
Make <code>workflow_dispatch</code> Docker tag input required</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/1b9f21a74186d118c2657dfb4595b0526ecde1a8"><code>1b9f21a</code></a>
[pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/cfb9d93a2623522535b927826fc87684f70365d6"><code>cfb9d93</code></a>
Add Docker tags for major and minor versions</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/153ccde9bc89de7fabd26026009f28e4c3f5bae1"><code>153ccde</code></a>
Verify fail-fast in unsupported environments</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/d03addb8e640d5bc0f05e40dfc630b3fa59776d8"><code>d03addb</code></a>
Drop args from create-docker-action.py</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/bacb62682c754871d3471af8890de22d03b01199"><code>bacb626</code></a>
Fail-fast in unsupported environments</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/7ea8313fc2c8774b7904a970426f44c5a8defbcc"><code>7ea8313</code></a>
Check repo ID instead of repo owner ID</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/fb13cb306901256ace3dab689990e13a5550ffaa...61da13deb5f5124fb1536194f82ed3d9bbc7e8f3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pypa/gh-action-pypi-publish&package-manager=github_actions&previous-version=1.11.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 6, 2024
1 parent 4af7a38 commit 4ee8bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa
uses: pypa/gh-action-pypi-publish@61da13deb5f5124fb1536194f82ed3d9bbc7e8f3
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 4ee8bca

Please sign in to comment.