-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv failed to install package with dot in name #3013
Comments
This problem does not happen in
|
I open another bug report in pip repo pypa/pip#5877 I don't know it's pipenv problem, which pass a normalize name, according to PEP 503 or |
Maybe issues like #2956 should be kept open until a new version that fixes it is relesed, not closed as soon as a fix is commited to git. For many people it doesn't work because they don't install from master but they cannot find the original github issue because it is already closed. |
@Mesa Unfortunately that isn’t really a viable option, at least not at the moment. We don’t have the person/time to actively hunt down issues and close them manually, and have to rely on the integrated issue-closing feature of GitHub to keep us on top of things. I am certainly open (and I believe others would be) if there is a technically realistic solution to this, or if there is spare personnel resource for this job (would you be that person?). |
I'm in the same boat as @messa -- I searched for "dot" in the open issues. When I didn't find any, I created yet another issue. I might suggest adding a "fix version" with the projected version the fix will land in to label to issues that are fixed in master but not yet released. An even simpler solution might just be to tag issues with When that version is released, you can just find all the issues with that tag and close them. Not sure if that is still to much work -- hopefully it would save a bit of work in closing the duplicate issues that inevitably get generated in the current workflow. |
I’ve sort of implied this in my previous comment, but I’ll be more blunt here. @rcoh Do you want to take the job and do the tagging from now on? This does not happen automatically. |
The described issue still happens. My pipenv is version
It adds "ufal-morphodita = "*" (which does not exists) to Pipfile. |
Thread summary for newcomers: The root of this issue is in pip, but the fix unfortunately missed the last release (18.1). pip 19.0 (expected January 2019) should resolve this. You can track the 19.0 release here: pypa/pip#6106 |
Ok, thanks for answer. |
@Westflame @uranusjr I am trying to install It's working fine when I use simple |
@Westflame I had to go to |
Issue description
pipenv vesion 2018.10.9 failed to install package with dot in name:
Expected result
dogpile.cache
installed succesfullyActual result
Steps to replicate
pipenv install dogpile.cache
pipenv --support
$ pipenv --support
Pipenv version:
'2018.10.9'
Pipenv location:
'/usr/local/lib/python2.7/dist-packages/pipenv'
Python location:
'/usr/bin/python'
Python installations found:
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 11, in
sys.exit(cli())
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 1114, in invoke
return Command.invoke(self, ctx)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pipenv/cli/command.py", line 142, in cli
get_pipenv_diagnostics()
File "/usr/local/lib/python2.7/dist-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics
python_paths = finder.find_all_python_versions()
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 108, in find_all_python_versions
major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch
File "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/models/path.py", line 221, in find_all_python_versions
return [c for c in sorted(path_filter, key=version_sort, reverse=True)]
AttributeError: 'list' object has no attribute 'as_python'
The text was updated successfully, but these errors were encountered: