-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clearly specify that the name and version should be normalized for .dist-info and .data directories in wheels
#1789
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
Conversation
…dist-info` and `.data` directories in wheels It's implied by https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-dist-info-directory as the resulting directory upon unpacking is supposed to be normalized.
for more information, see https://pre-commit.ci
|
I opened https://discuss.python.org/t/exlpicitly-requiring-dist-info-and-data-in-wheel-files-use-normalized-name-and-version/77275 to get clearance for this to be merged. |
Co-authored-by: Paul Moore <[email protected]>
|
Please add a line to the History section, too. |
|
As per my comment on the Discourse thread: I do plan to approve & merge this, I'm just waiting until early next week to give folks a chance to object if they consider this a spec change, rather than just a clarification. |
ncoghlan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections have been raised here or on the Discourse thread, so approving and merging :)
Thanks for the additional reviews, folks!
It's implied by https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-dist-info-directory as the resulting directory upon unpacking is supposed to be normalized.
📚 Documentation preview 📚: