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

python-daemon-3K normalized incorrectly #45

Open
reidpr opened this issue Jul 21, 2015 · 0 comments
Open

python-daemon-3K normalized incorrectly #45

reidpr opened this issue Jul 21, 2015 · 0 comments

Comments

@reidpr
Copy link

reidpr commented Jul 21, 2015

The index directory for package python-daemon-3K is normalized incorrectly to python-daemon rather than python-daemon-3k.

Steps to reproduce

$ pip2pi -nz foo/ python-daemon-3K==1.5.8

Actual behavior

$ ls -l foo/simple
[...]
drwxrwx--- 2 reidpr reidpr  80 Jul 21 11:28 python-daemon
[...]

pip install then fails with:

  DEPRECATION: Failed to find 'python-daemon-3K' at file:///[...]/packages/simple/python-daemon-3k/. It is suggested to upgrade your index to support normalized names as the name in /simple/{name}.
  Could not find a version that satisfies the requirement python-daemon-3K==1.5.8 (from -r requirements.txt (line 19)) (from versions: )
No matching distribution found for python-daemon-3K==1.5.8 (from -r requirements.txt (line 19))

Expected behavior

$ ls -l foo/simple
[...]
drwxrwx--- 2 reidpr reidpr  80 Jul 21 11:28 python-daemon-3k
[...]

Comments

  • Manually re-naming the directory to append -3k makes it work.
  • I suspect that 3K is being erroneously interpreted as a version number.
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

No branches or pull requests

1 participant