Skip to content
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

pip-review does not find updates, pip list --outdated does #18

Closed
caedn opened this issue Dec 15, 2016 · 3 comments
Closed

pip-review does not find updates, pip list --outdated does #18

caedn opened this issue Dec 15, 2016 · 3 comments
Labels
Milestone

Comments

@caedn
Copy link

caedn commented Dec 15, 2016

$ pip2 list --outdated                                                                                                                                                           
arrow (0.8.0) - Latest: 0.10.0 [sdist]
beets (1.3.19) - Latest: 1.4.1 [sdist]
cheat (2.1.26) - Latest: 2.1.27 [sdist]
Cython (0.25.1) - Latest: 0.25.2 [wheel]
[...]

$ pip-review
Everything up-to-date

$ python2 -m pip_review
Everything up-to-date

$ pip2 show pip_review                                                                                                                                                            
Name: pip-review
Version: 0.5
[...]
Location: /usr/local/lib/python2.7/site-packages
Requires: packaging

$ pip2 --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

$ uname -rs
Darwin 16.1.0

This happens with Python 2.7.12, the builtin version of macOS and with Python 3.6.0rc1 as well.

As a workaround I've used: pip2 list --outdated|cut -d' ' -f1|xargs pip2 install --upgrade.
If you want it to be interactive you could do something like pip2 list --outdated|vipe|cut -d' ' -f1|xargs pip2 install --upgrade.

@jgonggrijp jgonggrijp added the bug label Dec 15, 2016
@jgonggrijp jgonggrijp added this to the Version 1.0 milestone Dec 15, 2016
@jgonggrijp
Copy link
Owner

Just for completeness: does this only happen with global packages, or also in a virtual environment? In the former case, using a virtual environment may be another possible workaround.

@k4rtik
Copy link

k4rtik commented Apr 5, 2017

Facing the same issue.

$ pip2 list -o
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
autopep8 (1.2.4) - Latest: 1.3.1 [sdist]
... [many more packages here]
wrapt (1.10.8) - Latest: 1.10.10 [sdist]

while

$ pip2 install pip-review
Collecting pip-review
  Using cached pip_review-0.5.2-py2.py3-none-any.whl
Requirement already satisfied: packaging in /usr/local/lib/python2.7/site-packages (from pip-review)
Requirement already satisfied: pip in /usr/local/lib/python2.7/site-packages (from pip-review)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from packaging->pip-review)
Requirement already satisfied: pyparsing in /usr/local/lib/python2.7/site-packages (from packaging->pip-review)
Installing collected packages: pip-review
Successfully installed pip-review-0.5.2
$ pip-review
Everything up-to-date

About @jgonggrijp's question, I am not using virtual environments.

@jgonggrijp
Copy link
Owner

Fixed in version 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants