-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Build releases with the pinned hatchling and a publish action that accepts Metadata 2.5 #3380
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ | |
| uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | ||
| with: | ||
| enable-cache: false | ||
| version: 0.9.5 | ||
| version: 0.12.5 | ||
|
Check notice on line 24 in .github/workflows/publish-pypi.yml
|
||
|
Comment on lines
21
to
+24
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟣 nit (pre-existing): the release build's setup-uv step lacks the manifest-fetch retry that shared.yml applies to the identical pinned setup-uv@ v8.2.0 invocation (comment there cites astral-sh/setup-uv#869: single request, hard 5s timeout), so the flake the repo already works around elsewhere can still fail the highest-stakes run of this step Extended reasoning...During a release ( Verification: pre-existing — The candidate is factually accurate. In |
||
|
|
||
| - name: Set up Python 3.12 | ||
| run: uv python install 3.12 | ||
|
|
@@ -57,7 +57,7 @@ | |
| path: dist/ | ||
|
|
||
| - name: Publish package distributions to PyPI | ||
| uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 | ||
| uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 | ||
| with: | ||
| # Lets a re-run after a partially failed upload publish the remaining | ||
| # files instead of erroring on the ones already on PyPI. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.