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:
- Created 7 years ago
- Reactions:71
- Comments:28 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone who’s tired googling that command line, I’ve added a command line tool to pipdate. Simply
and then
anytime you like.
pip freeze > requirements.txt && pip install --upgrade -r requirements.txt && rm requirements.txt
super easy !