-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip 10.0.0b2 check false positives about some packages #5160
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
Comments
If you downgrade pip, does |
(It does complain about "launchpadlib 1.10.5 requires testresources, which is not installed.", which seems correct: I don't have testresources installed. I have launchpadlib from the Ubuntu package, which does not declare a dependency on testresources and seems to work anyway. Perhaps it's a test-only dependency.) |
Thanks for testing out the beta @mgedmin! :) I know what happened here. Working on a fix. |
Fixed in the release branch. Thanks again @mgedmin for reporting this. :) If you could confirm that this is fixed on |
It is fixed in pip 10.0.0b2 from your URL:
|
Great! Thanks for confirming @mgedmin. I'll close this issue now. |
(EDIT: accidentally commented on the wrong bug, now moved the comment where it belongs.) |
Oops, I commented on the wrong bug! Sorry about that. |
If people are experiencing this in Ubuntu and are unclear on the answer, installing the dependency:
Will fix the issue. |
I have tried the method above but it's not working I am getting this error: |
@HonkyCat @Kipngetich33 |
I also have this issue "launchpadlib 1.10.6 requires testresources, which is not installed." |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
I have a virtualenv in ~/.venv/ that was created with --system-site-packages and is on my $PATH so that I can
pip install
various tools (like py.test, or flake8, or ansible) and have them readily available for me.The --system-site-packages is so that I can avoid slow compilations by installing things like python-lxml, python-pillow, and python-gobject (the latter of which was not available on PyPI at all until recently).
To make things more interesting I sometimes use
pip install --user
as well (the actual reason I do that is that I need to haveflake8
in ~/.local/lib/python3.x/site-packages, or I can't lint Python-3-only packages, due to the wayflake8
relies on theast
module).I ran
pip check
for a lark after upgradingpip
to 10.0.0b2 and was surprised by this:The supposedly-missing packages are available (e.g.
mock
appears to be in ~/.local/lib/python2.7/site-packages/mock/), andpip
itself knows about them:Besides, I just did a
pip install -U certbot-apache
and it upgraded my certbot from 0.19 to 0.22.2, without trying to (re)install mock, while simultaneously complaining that mock is not installed!The text was updated successfully, but these errors were encountered: