Skip to content

ci(release): bump pypi-publish so twine accepts metadata 2.5 - #143

Merged
benner merged 1 commit into
mainfrom
ci/bump-pypi-publish-for-metadata-2-5
Aug 29, 2026
Merged

benner merged 1 commit into
mainfrom
ci/bump-pypi-publish-for-metadata-2-5

Conversation

@benner

@benner benner commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Unpinned hatchling now emits Metadata-Version 2.5, which the twine 6 bundled in v1.14.0 rejects as invalid and aborts the upload before publishing. v1.14.2 ships twine 7, which understands 2.5.

hatchling is unpinned in [build-system], so uv build moved from 1.31.0
(Metadata-Version 2.4) to 1.32.0 (2.5) between releases; twine 6 inside
v1.14.0 rejects 2.5 before upload, twine 7 inside v1.14.2 accepts it.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Coverage

Coverage Report (Δ +0.0%)
FileStmtsMissCoverMissing
src/git_commit_guard
   __init__.py5250100% 
TOTAL5250100% 

@benner
benner force-pushed the ci/bump-pypi-publish-for-metadata-2-5 branch from 2d3d6d2 to 855beab Compare August 29, 2026 18:06
@benner
benner merged commit 1a6eb6a into main Aug 29, 2026
9 checks passed
@benner
benner deleted the ci/bump-pypi-publish-for-metadata-2-5 branch August 29, 2026 18:07
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.

1 participant