Skip to main content

Find outdated dependencies in your requirements.txt or setup.cfg

Project description

https://travis-ci.com/eight04/pip-outdated.svg?branch=master https://codecov.io/gh/eight04/pip-outdated/branch/master/graph/badge.svg

Find outdated dependencies in your requirements.txt or setup.cfg file. Report missing/outdated/incompatible packages with table and colors.

This tool compares the version number with the version specifier in requirements.txt or setup.cfg. If you just want to list all updatable package, simply use pip list --outdated command.

Installation

From pypi

pip install pip-outdated

Usage

usage: pip-outdated [-h] [-v] [-q] [<file> [<file> ...]]

Find outdated dependencies in your requirements.txt or setup.cfg file.

positional arguments:
  <file>         Read dependencies from requirements files. This option
                 accepts glob pattern. (default: ['requirements.txt',
                 'setup.cfg'])

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Print verbose information. (default: False)
  -q, --quiet    Don't return exit code 1 if not everything is up to date.
                 (default: False)

Check multiple files e.g. test-requirements.txt and dev-requirements.txt:

pip-outdated *-requirements.txt

Check files under requirements folder:

pip-outdated requirements/*.txt

Todos

  • Add options to update the package?

  • Add options to update the requirements.txt/setup.cfg file?

  • Add options to list all packages? (e.g. -g, --global)

Changelog

  • 0.8.0 (Aug 9, 2025)

    • Change: drop setuptools dependency, switch to configparse for reading setup.cfg.

  • 0.7.0 (Aug 13, 2024)

    • Change: ignore InvalidVersion error.

  • 0.6.0 (Jan 1, 2023)

    • Bump dependencies.

    • Drop cchardet.

    • Change: fetch package version from pip CLI, so we can get package version in venv.

  • 0.5.0 (Jan 12, 2022)

    • Bump dependencies.

    • Add: typehint.

  • 0.4.0 (Jan 30, 2020)

    • Breaking: bump Python to 3.7

    • Add: request in parallel.

    • Add: --quiet option.

  • 0.3.0 (Oct 13, 2019)

    • Breaking: set exit code to 1 if not all good.

    • Fix: don’t check prereleases.

    • Add: check setup_requires and extras_require in cfg files.

  • 0.2.0 (Feb 10, 2019)

  • 0.1.0 (May 12, 2018)

    • First release.

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

Uploaded Source

Built Distribution

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

pip_outdated-0.8.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pip_outdated-0.8.0.tar.gz.

File metadata

  • Download URL: pip_outdated-0.8.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pip_outdated-0.8.0.tar.gz
Algorithm Hash digest
SHA256 0a73f3261ee045e2fc682f4abe16043824c81eb2d667c76a13d687a581a66391
MD5 97f958605c83a72a4f5975c8dc76776a
BLAKE2b-256 beab839bc3128302e921a7ee395e2dcbba172c79dcd54ec9173e1f594db50449

See more details on using hashes here.

File details

Details for the file pip_outdated-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: pip_outdated-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pip_outdated-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 383124bcde4dd3c8751a290044d3627934369608d5c34ff59b51ae1d10ad5a72
MD5 74d088d6552acf119a026e80ed4e528b
BLAKE2b-256 1ae1851a1fc3a86e8ee030dfb3571aa6e18679fb1d681511c6728d5ed5287802

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