Upgrade python packages from requirements.txt using pip command
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
there was no easy way for upgrading package by package, and updating the requirements.txt file, I wrote this pip-upgrader which also updates the versions in your
requirements.txt
file for the packages chosen (or all packages).Installation
Usage
Activate your virtualenv (important, because it will also install the new versions of upgraded packages in current virtualenv).
cd
into your project directory, then run:Advanced usage
If the requirements are placed in a non-standard location, send them as arguments:
If you already know what package you want to upgrade, simply send them as arguments: