Skip to content

pip list --not-required still not work with --outdated #5737

Closed
@eirnym

Description

@eirnym

Environment

  • pip version: 18.0
  • Python version: 3.7
  • OS: macOS
  • Use virtual environment installed with python -m venv /some/path/

Description
pip list -o --not-required still list automatic dependencies despite I asked to check requested wheels.

Expected behavior
In my example I want to see empty list when explicitely requested packages has been updated

How to Reproduce
You can install packages listed below and some of them depends on outdated versions and usually incompatible with newer onces.

Output

$ pip list --not-required 
Package          Version
---------------- -------
aiohttp-devtools 0.10.1 
aiojobs          0.2.1  
aiomysql         0.0.19 
aiozeroconf      0.1.3  
colorama         0.3.9  
future           0.16.0 
Geofront         0.4.0  
ipython          6.5.0  
jwcrypto         0.5.0  
mycli            1.17.0 
pandas           0.23.4 
pipdeptree       0.13.0 
pycrypto         2.6.1  
PyJWT            1.6.4  
pysnmp           4.4.5  
pytest-flake8    1.0.2  
safety           1.8.4  
tox              3.2.1  
ujson            1.35   
wheel            0.31.1 
xlwt             1.3.0  

$ pip list -o --not-required
Package        Version Latest Type 
-------------- ------- ------ -----
more-itertools 4.2.0   4.3.0  wheel
oauthlib       1.1.2   2.1.0  wheel
prompt-toolkit 1.0.15  2.0.4  wheel
pycodestyle    2.3.1   2.4.0  wheel
pyflakes       1.6.0   2.0.0  wheel

$ pip list -o 
Package        Version Latest Type 
-------------- ------- ------ -----
more-itertools 4.2.0   4.3.0  wheel
oauthlib       1.1.2   2.1.0  wheel
prompt-toolkit 1.0.15  2.0.4  wheel
pycodestyle    2.3.1   2.4.0  wheel
pyflakes       1.6.0   2.0.0  wheel

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions