-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior
Milestone
Description
- Pip version: 516adb4 (current
release/10.0.0
HEAD) - Python version:
3.6.4
- Operating system:
Darwin 17.5.0 x86_64 i386
Description:
Running pip install <package>
will emit warnings about missing dependencies for unrelated packages (essentially, the output of pip check
). I would expect to see warnings only related to the package I'm attempting to install.
This seems similar to some fixed issues (#5134, #5160, #5195) but still occurs after the fixes for those issues.
What I've run:
The actual packages used don't matter: when a package A has unmet dependency B, installing C (with no shared dependencies with A) will warn that B is missing.
$ pip install freezegun
Collecting freezegun
Using cached freezegun-0.3.10-py2.py3-none-any.whl
Collecting six (from freezegun)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting python-dateutil!=2.0,>=1.0 (from freezegun)
Using cached python_dateutil-2.7.2-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, freezegun
Successfully installed freezegun-0.3.10 python-dateutil-2.7.2 six-1.11.0
$ pip uninstall six
Uninstalling six-1.11.0:
Would remove:
/private/tmp/env/lib/python3.6/site-packages/six-1.11.0.dist-info/*
/private/tmp/env/lib/python3.6/site-packages/six.py
Proceed (y/n)? y
Successfully uninstalled six-1.11.0
$ pip install black
Collecting black
Using cached black-18.4a0-py36-none-any.whl
Collecting attrs>=17.4.0 (from black)
Using cached attrs-17.4.0-py2.py3-none-any.whl
Collecting click (from black)
Using cached click-6.7-py2.py3-none-any.whl
python-dateutil 2.7.2 requires six>=1.5, which is not installed. <============== I don't expect to see this line
freezegun 0.3.10 requires six, which is not installed. <============== I don't expect to see this line
Installing collected packages: attrs, click, black
Successfully installed attrs-17.4.0 black-18.4a0 click-6.7
ben-albrecht
Metadata
Metadata
Assignees
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior