I can use pip list -o
to get a list of outdated packages but I would like to only get a list of outdated packages which are listed in a particular requirements file. Basically the equivalent of pip freeze -r requirements.txt
for outdated packages.
I could use --not-required
but this would still list packages installed which are installed but not listed in the requirements file.
Use this tool: https://github.com/simion/pip-upgrader
All you have to do is the following:
pip install pip-upgrader
pip-upgrade
This then walks you through all packages that can be upgraded in the requirements.txt
in an interactive fashion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With