Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

pip freeze shows me the packages installed, but how do I check against pypi which ones are outdated?

share|improve this question
up vote 40 down vote accepted

Since version 1.3, pip features a new command:

$ pip list --outdated
requests (Current: 1.1.0 Latest: 1.2.0)

See this post for more information.

share|improve this answer

Perhaps pip-tools, available at https://github.com/nvie/pip-tools, might help you achieve what you want?

An example from the README:

$ pip-review --interactive
requests==0.14.0 available (you have 0.13.2)
Upgrade now? [Y]es, [N]o, [A]ll, [Q]uit y
...
redis==2.6.2 available (you have 2.4.9)
Upgrade now? [Y]es, [N]o, [A]ll, [Q]uit n
rq==0.3.2 available (you have 0.3.0)
Upgrade now? [Y]es, [N]o, [A]ll, [Q]uit y
...
share|improve this answer

Use this pip fork:

https://github.com/dgladkov/pip

Which does exactly what you want using this command:

$ pip list --outdated
share|improve this answer
    
lol, thanks dsa. We both already commented on the fork before :) – Xster Apr 26 '11 at 2:44

Similar to pip list --outdated but updates a requirements.txt file:

pur -r requirements.txt

PyPi: https://pypi.python.org/pypi/pur

GitHub: https://github.com/alanhamlett/pip-update-requirements

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .