An easy tool for upgrading all of your packages while not breaking dependencies
Project description
pip-upgrade
The purpose of pip-upgrade is to be a simple yet robust and reliable tool for upgrading all of your packages while not breaking dependencies
Installation
pip install pip-upgrade-tool
or
pip install git+https://github.com/realiti4/pip-upgrade.git@master --upgrade
Usage
Just run pip-upgrade
in your terminal while virtualenv is active.
$ pip-upgrade
Checking outdated packages...
These packages will be upgraded: ['colorama', 'isort']
Continue? (y/n): y
...
All packages are up to date! 🎉
Tip: You can use -e
to exclude packages in Continue? (y/n):
after seeing which packages are going to be upgraded. This is super useful for packages like gohlke's Numpy+mkl for example.
These packages will be upgraded: ['hypothesis', 'Pillow', 'pytest', 'setuptools']
Continue? (y/n): -e pytest hypothesis
You can also exclude packages beforehand. Use -e
or --exclude
. The tool won't upgrade dependency breaking packages already, this is extra for packages that you want to keep it at a version.
$ pip-upgrade -e numpy pandas
Options
pip-upgrade -e
Exclude packages you don't want to upgrade. Can take multiple or single value.pip-upgrade --clear
Clear pip's cache.pip-upgrade --local
By default locally installed editable packages (installed withpip install . -e
) won't be upgraded. Use this option to upgrade everything.pip-upgrade --novenv
By default the tool won't work if virtualenv is not active. Use this if you want use it globally and pass the assertion error.
TODO / known issues
- Feature - Update directly from Gohlke's packages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pip_upgrade_tool-0.4.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58de7bdd38740f202b9bd5bff3ddf34425dcfad72fe46bddbcf70c104fb79af |
|
MD5 | 844ed05882a57d59deed63aa62ead9b1 |
|
BLAKE2b-256 | 56c62f9b9cae26e8658af9531188b4c2b0f0a71221677d0fe127f45cb2400b15 |