Skip to content

fix: validate Core Metadata 2.5 releases - #60

Merged
shan-nvidia merged 2 commits into
mainfrom
sthan/release-metadata-2.5
Aug 12, 2026
Merged

fix: validate Core Metadata 2.5 releases#60
shan-nvidia merged 2 commits into
mainfrom
sthan/release-metadata-2.5

Conversation

@shan-nvidia

Copy link
Copy Markdown
Collaborator

Summary

  • Raise the workspace release-validator floor from twine>=6.0.0 to twine>=7.0.0.
  • Refresh uv.lock from Twine 6.2.0 to 7.0.0.

Context

The corrected data-designer-retrieval-sdg/v0.2.0 publication passed its isolated Python 3.10 package suite, including the clean-provider regression fixed in #59, and built both distributions. It then stopped at twine check:

InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version

The current build backend emits Core Metadata 2.5. The release workflow uses the workspace lock, which selected Twine 6.2.0; that version rejects Metadata-Version 2.5. Twine 7.0.0 accepts the same wheel and source distribution.

The failed release stopped before the package-asset and package-index steps. The GitHub release and tag were removed again after confirming that no 0.2.0 assets were uploaded and packages.json still advertises 0.1.0.

This change affects release tooling only. The retrieval SDG 0.2.0 package source and artifact contents are unchanged.

Validation

  • Python 3.10 resolves Twine 7.0.0 from the updated workspace lock.
  • Twine 7.0.0 validates both data_designer_retrieval_sdg-0.2.0 wheel and sdist.
  • uv lock --check
  • Ruff lint and formatting checks
  • Release-tooling suite: 156 passed

Failed publication run: https://github.com/NVIDIA-NeMo/DataDesignerPlugins/actions/runs/31626299951

@shan-nvidia
shan-nvidia marked this pull request as ready for review August 12, 2026 18:45
@shan-nvidia
shan-nvidia requested a review from a team as a code owner August 12, 2026 18:45
@shan-nvidia
shan-nvidia merged commit b207034 into main Aug 12, 2026
6 checks passed
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