Skip to content

fix(build): pin hatchling==1.27.0 so the wheel is twine-publishable - #3

Merged
epd11183 merged 1 commit into
mainfrom
fix/pin-hatchling-metadata
Aug 12, 2026
Merged

fix(build): pin hatchling==1.27.0 so the wheel is twine-publishable#3
epd11183 merged 1 commit into
mainfrom
fix/pin-hatchling-metadata

Conversation

@epd11183

Copy link
Copy Markdown
Member

The v0.3.2 release failed at the PyPI publish step: hatchling 1.28+ stamps wheels with Metadata-Version: 2.5, which no released twine accepts yet (InvalidDistribution: '2.5' is not a valid metadata version). Nothing was published — it failed before upload.

Pinning hatchling==1.27.0 makes the backend emit Metadata-Version: 2.4. Verified locally: twine check PASSES on both wheel and sdist. No code change.

After merge, the v0.3.2 tag is re-pointed to this commit and the release re-runs.

🤖 Generated with Claude Code

hatchling 1.28+ stamps Metadata-Version 2.5, which no released twine
accepts yet — the v0.3.2 publish failed with InvalidDistribution.
1.27.0 emits 2.4 (twine PASSED locally, wheel + sdist). No code change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Bmmmgcida7VUntvBm16Xt
@epd11183
epd11183 merged commit d9ed6e2 into main Aug 12, 2026
1 check passed
@epd11183
epd11183 deleted the fix/pin-hatchling-metadata branch August 12, 2026 15:49
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