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

  • 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


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.3.8.tar.gz (6.1 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.3.8-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip-upgrade-tool-0.3.8.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pip-upgrade-tool-0.3.8.tar.gz
Algorithm Hash digest
SHA256 d59502ce6682d9df9562289771273066d87f0ff3be80f5c33af4272d7a247686
MD5 c2d1d0d5127d8fc1ee499ae2ed1354c9
BLAKE2b-256 93369c1ee32f89e9114d8f02cf9ef77a7c35790419cb9c63fec7e462111700a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pip_upgrade_tool-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pip_upgrade_tool-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a359c74b670be21ea6943ce2505d9444be97a5411a1680d54ded1356564faac4
MD5 d5fa03863fb931748269bff1e5bd1cc6
BLAKE2b-256 98dda95f1c0f402035cec7ebf7022e3f974c7999212e668dd0396abddb308d13

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