Skip to content

Conversation

@gerrod3
Copy link
Contributor

@gerrod3 gerrod3 commented Sep 13, 2025

fixes: #907

A weird edge case that I'm unsure if this is the best way to handle it. The metadata in the package is "incorrect" that the SDist and Wheel names don't match (see test example). PyPI accepts both packages and sets the metadata in the json api correctly so if you sync these packages the publish would work fine, but if you uploaded them then the publish would fail since the packages would have different wheel names.

@gerrod3 gerrod3 merged commit 30e5999 into pulp:main Sep 14, 2025
12 of 13 checks passed
@patchback
Copy link

patchback bot commented Sep 14, 2025

Backport to 3.19: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.19/30e5999ab986e1c7a2e6221cd5881afe54cb3fb3/pr-962

Backported as #969

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@gerrod3 gerrod3 deleted the mismatch-names branch September 14, 2025 17:03
patchback bot pushed a commit that referenced this pull request Sep 14, 2025
Fix publish failure when handling bad dist name metadata

(cherry picked from commit 30e5999)
gerrod3 added a commit that referenced this pull request Sep 14, 2025
…86e1c7a2e6221cd5881afe54cb3fb3/pr-962

[PR #962/30e5999a backport][3.19] Fix publish failure when handling bad dist name metadata
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.

Can't create repository with some packages

2 participants