👷 build: bump gh-action-pypi-publish to v1.14.2 - #48
Merged
nstarman merged 1 commit intoAug 19, 2026
Merged
Conversation
v1.13.0 pins packaging==25.0, whose metadata validator tops out at
Metadata-Version 2.4. hatchling now emits 2.5, so the v1.6.0 release
failed in the TestPyPI job with:
InvalidDistribution: Invalid distribution metadata: '2.5' is not a
valid metadata version
v1.14.2 pins packaging==26.2 / twine==7.0.0, which accept 2.5. Verified
locally: twine 7.0.0 passes `twine check` on the exact dists the failed
run produced.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #48 +/- ##
=======================================
Coverage ? 98.30%
=======================================
Files ? 5
Lines ? 177
Branches ? 0
=======================================
Hits ? 174
Misses ? 3
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
nstarman
added a commit
that referenced
this pull request
Aug 19, 2026
Co-authored-by: Nathaniel Starkman <nstarman@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The v1.6.0 CD run failed in the TestPyPI job, blocking the release (PyPI is still at 1.5.2):
Root cause
Not the package — the publisher.
pypa/gh-action-pypi-publish@v1.13.0(Sept 2025) pinspackaging==25.0/twine==6.1.0, andpackaging25.0's validator tops out at Metadata-Version 2.4:1.0 … 2.3, 2.41.0 … 2.4, 2.5, 2.6hatchling 1.32 now emits
Metadata-Version: 2.5, so the pinned validator rejects a perfectly valid wheel.Verification
Downloaded the exact artifacts from the failed run and checked them with twine 7.0.0 (what v1.14.2 ships):
The dists were always fine; only the publish action was stale.
Follow-ups (not in this PR)
506de69, which is currentmain— the tag no longer exists upstream. Re-running the failed job would replay the old workflow, so this has to land first, then the release gets re-created..github/dependabot.ymlschedules github-actions updatesquarterly. v1.14.2 shipped 2026-07-29, three weeks before the release. Worth consideringweeklyfor a pin that gates publishing.🤖 Generated with Claude Code