-
Notifications
You must be signed in to change notification settings - Fork 3k
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
When using --use-feature=2020-resolver - Pip fails installing some packages from site-packages in virtualenv #9035
Comments
We’re ignoring three packages, |
For getting all the libraries versions pinned in our libraries we compile our requirements using pip-tools, so argparse get's added as part of those requirements. For example using the library dateutils you get argparse as part of your requirements |
|
I opened jmcantrell/python-dateutils#10 for this. |
thanks guys, just to clarify; this scenario can happen only with libraries that have argparse or wsgiref as dependency in their requirements right ? |
@favipcj Correct. Technically there’s another package name |
understood, thanks! |
Closing this seems to be resolved. :) |
Hi, I tried looking for a similar issue but I couldn't find anything, although this issue is related with #8731
Environment
pip version: 20.2.4
Python version:3.7
OS: any
Dockerfile that illustrates this issue:
Description
When trying to install some packages like argparse the installation is failing if there is no connection to a remote repo that contains that package.
Using the same example from #8731, the issue seems to be happening only with some packages like argparse and not with requests for example.
Expected behavior
Pip installs argparse correctly in the virtualenv in the above example.
Output
The text was updated successfully, but these errors were encountered: