pip¶
standard python package manager
updates and upgrades¶
new is always better!
list outdated packages¶
upgrade package¶
upgrade pip in this case:
upgrade all outdated packages:
pip list --outdated --format=json | jq -r '.[] | "\(.name)==\(.latest_version)"' | xargs --no-run-if-empty -n1 pip install -U
upgrade packages from file¶
versioning¶
put it like this in your requirements.txt
file to always stick to the latest minor version:
this will install gunicorn 19.9.1
and 19.9.2
and so on.