Skip to content

Repair Metadata 2.5 PyPI publishing - #12

Merged
emeisazam merged 2 commits into
mainfrom
release/python-publish-metadata-2026-08-11
Aug 11, 2026
Merged

Repair Metadata 2.5 PyPI publishing#12
emeisazam merged 2 commits into
mainfrom
release/python-publish-metadata-2026-08-11

Conversation

@emeisazam

@emeisazam emeisazam commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update the official PyPA publisher from v1.14.0 to immutable v1.14.2, whose Twine 7 runtime supports Core Metadata 2.5
  • retain OIDC trusted publishing, per-package environments, metadata verification, and automatic PEP 740 attestations
  • add an explicit manual recovery path that rebuilds an existing release tag while the workflow itself runs from reviewed main
  • verify a recovery ref is a v-prefixed exact tag whose project version matches the tag
  • pin the build's uv executable to 0.12.3

Why

The v0.10.0 build and independent Twine 7 verification succeeded, but the previously pinned publishing action bundled Twine 6.1 and rejected valid Core Metadata 2.5 before any upload. All four proposed PyPI versions remain unoccupied.

Validation

  • the v1.14.2 annotated upstream tag peels to the pinned commit and its release specifically adds Metadata 2.5 support
  • all eight verified v0.10.0 distributions contain the intended names, versions, and valid Core Metadata 2.5
  • workflow YAML parses successfully; git diff --check and targeted Gitleaks scans pass
  • no source tag is moved or replaced; recovery explicitly checks out and verifies the existing v0.10.0 tag

@emeisazam
emeisazam merged commit c595c22 into main Aug 11, 2026
6 checks passed
@emeisazam
emeisazam deleted the release/python-publish-metadata-2026-08-11 branch August 11, 2026 22:52
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