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

Make .egg-info filename parsing spec compliant #4533

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

It turns out that .egg-info files and directories can both have up to four segments in the filename: https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html#filename-embedded-metadata. This PR upgrades the parsing and now uses the same parsing for files and directories.

Closes #4532.

@charliermarsh charliermarsh added bug Something isn't working compatibility Compatibility with another interface or tool labels Jun 25, 2024
@charliermarsh
Copy link
Member Author

\cc @samypr100

@charliermarsh charliermarsh force-pushed the charlie/egg branch 3 times, most recently from 2dd3ae7 to 7dacaaa Compare June 25, 2024 23:33
@charliermarsh charliermarsh enabled auto-merge (squash) June 25, 2024 23:38
@charliermarsh charliermarsh enabled auto-merge (squash) June 25, 2024 23:41
@charliermarsh charliermarsh merged commit ca92b55 into main Jun 25, 2024
47 checks passed
@charliermarsh charliermarsh deleted the charlie/egg branch June 25, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Compatibility with another interface or tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip install fails to read metadata when running on Docker container due to failure to parse egg version
2 participants