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

Say that distribution names should be lowercase in wheel filenames #1032

Merged
merged 3 commits into from
Jan 9, 2022

Conversation

takluyver
Copy link
Member

This should wait on the resolution of this Discourse thread about normalisation rules. I'm presuming it will come out in favour of keeping PEP 503 normalisation for wheel filenames.

This was an oversight on my part - I wanted the spec to directly describe the normalisation rule, not only refer to another spec, because I think this is clearer for people reading it. But I missed out the lower-casing step from PEP 503 in my description. The specs for .dist-info and for sdists both refer to PEP 503 without trying to copy the relevant details, so they don't have this issue.

Given that name normalisation here is relatively new, we might want a note saying that tools consuming packages should be prepared to accept capital letters and dots in wheel filenames, because we can't really change names for existing packages.

@webknjaz
Copy link
Member

Could you turn this into a draft, then?

@takluyver takluyver marked this pull request as draft December 15, 2021 12:53
@takluyver takluyver marked this pull request as ready for review January 2, 2022 12:45
@takluyver
Copy link
Member Author

The Discourse thread has come to a conclusion in favour of making the normalisation more consistent, so I believe this can go ahead.

@webknjaz webknjaz merged commit c9cb245 into pypa:main Jan 9, 2022
@takluyver takluyver deleted the wheel-dist-name-lower branch January 10, 2022 10:06
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.

3 participants