Skip to content

Conversation

@patchback
Copy link

@patchback patchback bot commented Sep 14, 2025

This is a backport of PR #962 as merged into main (30e5999).

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.

Fix publish failure when handling bad dist name metadata

(cherry picked from commit 30e5999)
@gerrod3 gerrod3 merged commit 680782b into 3.19 Sep 14, 2025
13 checks passed
@gerrod3 gerrod3 deleted the patchback/backports/3.19/30e5999ab986e1c7a2e6221cd5881afe54cb3fb3/pr-962 branch September 14, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants