question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enable pip to upgrade all outdated packages

See original GitHub issue
  • Pip version: all
  • Python version: all
  • Operating System: all

Description:

I would like pip to upgrade all outdated packages identified by pip list --outdated in one simple command. It would also be nice to have pip outdated show the outdated package too.

What I’ve run:

this works for me (so far), but from a usability stand point, people shouldn’t have to do this just to keep their packages up to date:

pip list --outdated | cut -d' ' -f1 | xargs pip install --upgrade

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:71
  • Comments:28 (5 by maintainers)

github_iconTop GitHub Comments

40reactions
nschloecommented, Sep 13, 2017

For anyone who’s tired googling that command line, I’ve added a command line tool to pipdate. Simply

sudo -H pip install pipdate

and then

sudo -H pipdate

anytime you like.

22reactions
its0x08commented, Jul 19, 2017

pip freeze > requirements.txt && pip install --upgrade -r requirements.txt && rm requirements.txt super easy !

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade all Python packages with pip?
To upgrade all local packages, you can install pip-review : $ pip install pip-review. After that, you can either upgrade the packages ......
Read more >
The one-liner for updating PIP and all outdated packages
The one-liner for updating PIP and all outdated packages ... On Windows I use the new, aptly named, Windows Terminal, and on macOS...
Read more >
Upgrade all packages in Python using pip
This is the easier way to upgrade packages by using pip in conjunction with Windows PowerShell. Open your command shell and enter the...
Read more >
pip-upgrade-outdated
Run pip install --upgrade for all outdated packages ( pip list --outdated ). Allow specifying which version of pip to run, and parallel...
Read more >
How to Upgrade Python Packages with Pip
How to use pip to upgrade Python packages · 1. List outdated packages. Listing the outdated packages is the best idea to plan...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found