Skip to main content

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 with pip 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


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.7.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_upgrade_tool-0.4.7-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pip-upgrade-tool-0.4.7.tar.gz.

File metadata

  • Download URL: pip-upgrade-tool-0.4.7.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pip-upgrade-tool-0.4.7.tar.gz
Algorithm Hash digest
SHA256 7e47bfd50330bb2cf872f37b51635c723931b6850f4aa108d1220c26a2914954
MD5 fa8c3c06f591dba9a1900302c56cdf52
BLAKE2b-256 5b51cab6b4d4b49e11cdb36c9ce57316d928fe5def4fea0a0f35251735803177

See more details on using hashes here.

File details

Details for the file pip_upgrade_tool-0.4.7-py3-none-any.whl.

File metadata

  • Download URL: pip_upgrade_tool-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pip_upgrade_tool-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c58de7bdd38740f202b9bd5bff3ddf34425dcfad72fe46bddbcf70c104fb79af
MD5 844ed05882a57d59deed63aa62ead9b1
BLAKE2b-256 56c62f9b9cae26e8658af9531188b4c2b0f0a71221677d0fe127f45cb2400b15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page