Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen .dist-info validation to accept arbitrary versions #2441

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

charliermarsh
Copy link
Member

Summary

It turns out that pip does not validate the normalization of the version specifier in the .dist-info directory. In particular, it seems that some tools replace the + in a local version segment with a _.

Closes #2424.

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label Mar 14, 2024
@charliermarsh charliermarsh merged commit 492ffbf into main Mar 14, 2024
28 checks passed
@charliermarsh charliermarsh deleted the charlie/dist-info branch March 14, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't find .dist-info for package with local version string
2 participants