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 rebost and reliable tool for upgrading all of your packages while not breaking dependencies
Installation
pip install pip-upgrade-tool
or
git clone https://github.com/realiti4/pip-upgrade.git
cd pip-upgrade
pip install .
Usage
Just run pip-upgrade
in your terminal while virtualenv is active.
$ pip-upgrade
Exclude packages you don't want to upgrade with -e
or --exclude
$ pip-upgrade -e numpy pandas
Checking outdated packages...
These packages will be upgraded: ['colorama>=0.4.3', 'isort<6']
Continue? (y/n): y
All packages are up to date! 🎉
Options
pip-upgrade -e
Exclude packages you don't want to upgrade. Can take multiple or single value.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
- With some packages, there might be name check errors, because of dependency and package name case differences. Tool skips these and gives a warning for now. I only run into Pillow so far, and there is a manual fix for that. There might be other packages, this will be improved.
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
pip-upgrade-tool-0.4.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for pip_upgrade_tool-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6816cae260f3e1e619c7378bf12dff6cd6286fb490daaf0bf6aa91e699fd726 |
|
MD5 | de3a6017b11d2ad3e6e4fa51fbe1aac7 |
|
BLAKE2b-256 | b2bca429ae24f9cc4bbf3f17b712af1a02deee0a0ee84a57ea0cdb8a75fe99b8 |