-
Notifications
You must be signed in to change notification settings - Fork 98
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
Normalize package names in simple index #37
Comments
And pip2pi 0.6.5 has been pushed to PyPI. Comments would be great! |
Works pretty well, but I still receive deprecation warnings on packages with underscores. Those underscores are checked as hyphens when the dependency is being grabbed. |
|
Installing httpretty with pip2pi --normalise-package-names errors with file not found readme.rst (file is README.rst). Installing without --normalise-package-names gives: WARNING: Non-normalized packages encountered. |
The most recent version, 0.7.0rc1, should correctly normalize package names. Would you be able to install it:
And, if it isn't fixed, can you comment on #55? |
It seems like pip[0] and bandersnatch[1] are now normalizing package names in the simple index, so for example
simple/Django/Django-1.7.tar.gz
becomessimple/dango/Django-1.7.tar.gz
.As of 0.6.5 pip2pi will include a
--normalize-package-names
option (default: disabled) and will issue a deprecation warning when it encounters a non-normalized package name. If no issues are found by about June 2015--normalize-package-names
will become the default.Thanks to @orodbhen for initially reporting this: #35. See also: pypa/pip#2136
0: pypa/pip#2001
1: https://bitbucket.org/pypa/bandersnatch/pull-request/7/prefer-normalized-directory-names-but-keep/diff
The text was updated successfully, but these errors were encountered: