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

Package name and .tar.gz names should be consistent #4

Closed
michalrus opened this issue Sep 6, 2018 · 0 comments · Fixed by #24
Closed

Package name and .tar.gz names should be consistent #4

michalrus opened this issue Sep 6, 2018 · 0 comments · Fixed by #24

Comments

@michalrus
Copy link

E.g. websocket-client’s file name is websocket_client which breaks tools like Nixpkgs’ fetchPypi, c.f. https://github.com/NixOS/nixpkgs/blob/56a605c8b9bce331bd562778b8f56cd957a8c90f/pkgs/top-level/python-packages.nix#L72-L88.

A discussion from freenode/#pypa:

21:42 <michalrus> Hello, can you tell my why this URL returns 404? https://files.pythonhosted.org/packages/source/w/websocket-client/websocket-client-0.52.0.tar.gz

21:42 <michalrus> While it should redirect to https://files.pythonhosted.org/packages/30/c8/82ac8ae45073034af51c6296c35346caab4fa26456c19f9cf64d2b978971/websocket_client-0.52.0.tar.gz

21:42 <michalrus> … as happens for any other package.

21:46 <di_codes> michalrus: the package name is sensitive to the format used when uploading, it's websocket_client-0.52.0, not websocket-client-0.52.0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-0.52.0.tar.gz

[…]

21:52 <di_codes> we probably should be normalizing the name? feel free to file a bug: https://github.com/pypa/conveyor/issues

21:56 <michalrus> It would be more consistent.

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 a pull request may close this issue.

1 participant