Skip to content

ci: bump gh-action-pypi-publish for metadata 2.5 support - #6836

Merged
longcw merged 1 commit into
mainfrom
jason/bump-pypi-publish-action
Aug 13, 2026
Merged

ci: bump gh-action-pypi-publish for metadata 2.5 support#6836
longcw merged 1 commit into
mainfrom
jason/bump-pypi-publish-action

Conversation

@u9g

@u9g u9g commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

All 73 publish jobs for v1.6.10 failed with InvalidDistribution: '2.5' is not a valid metadata version; nothing reached PyPI.

hatchling 1.32.0 (2026-08-11) emits Metadata-Version: 2.5, and [build-system] requires = ["hatchling"] is unpinned. The pinned action image (2026-02-18) ships packaging==25.0, which tops out at 2.4, so verify-metadata rejects the wheel before upload. PyPI itself accepts 2.5.

v1.14.2 ships packaging==26.2 + twine==7.0.0, which accept 2.5.

hatchling 1.32.0 emits Metadata-Version: 2.5, which the pinned image's
packaging 25.0 rejects during verify-metadata. v1.14.2 ships packaging
26.2, which accepts it.
@u9g
u9g requested a review from a team as a code owner August 13, 2026 03:12

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@longcw
longcw merged commit 9b2882d into main Aug 13, 2026
25 checks passed
@longcw
longcw deleted the jason/bump-pypi-publish-action branch August 13, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants