-
Notifications
You must be signed in to change notification settings - Fork 150
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
wheel unpack
does not accept an archive with normalized .dist-info
directory name
#411
Comments
Although this was never mentioned in the wheel PEP, I think it's implied that wheel should normalize the name of the |
@agronholm My impression is that the PyPA spec pages were meant to be the authority on that topic, as long as they don't conflict with the PEPs. https://www.pypa.io/en/latest/specifications/
Anyway, I'd say |
Wheel code predates this specification. Up until now, nobody had raised the issue (and I didn't write the affected code). I'll look into using some of the functions in
I anticipate that the folks who care about reproducible wheels may raise an issue, but I think it's worth it to fix wheel code to work according to the (amended) specification. |
I gave this a go about some tests fail because I used |
Actually, the spec says |
There's a PR now, but I got to thinking: doesn't this spec imply that the file name generated by |
Sounds right. Are there any potential breakages by potentially changing the names? What happens if someone mixes wheel versions on the various platforms used to build wheels, could they get differently-named packages on PyPI? |
If a package with capital letters in the name ends up with lower-case
.dist-info
name,wheel unpack
complains:Per the spec, this is the proper naming and it should be accepted.
Repro:
The text was updated successfully, but these errors were encountered: