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
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
If there are packages you want to exclude 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
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.
These packages will be upgraded: ['hypothesis', 'Pillow', 'pytest', 'setuptools']
Continue? (y/n): -e pytest hypothesis
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
- Feature - Query dependency informations of a package from pypi servers.
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.5.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for pip_upgrade_tool-0.4.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d2f1a23c89133951f87ba3cee632e1234d5c4f590b4dadde805a06c43b354fc |
|
MD5 | 0efec1b53f234a88f771543a0a606817 |
|
BLAKE2b-256 | 4044b09baed899b76f6b49231ca7489fb4e076190111a4c34d48c67f68ff9366 |