Skip to main content

Check your installed Python packages for version compatibility

Project description

🐍 pyupgradecheck

PyPI CI

💡 Check your Python packages before you upgrade. Find out which of your dependencies are ready for your next Python version — and which ones might ruin your day.

🚀 Installation

pip install pyupgradecheck

⚡️ Quickstart

# Test all installed packages
pyupgradecheck 3.14

Example Output:

requests 2.32.3: supported (PyPI requires_python: >=3.7)
some-old-lib 1.2.0: incompatible (PyPI requires_python: <3.10)

🧰 CLI Examples

# Check specific packages
pyupgradecheck 3.14 --packages packaging httpx halo
# or short form:
pyupgradecheck 3.14 --p packaging httpx halo
# Check a requirements.txt file
pyupgradecheck 3.14 --requirements requirements.txt
# or short form:
pyupgradecheck 3.14 -r requirements.txt
# Perfect for CI
pyupgradecheck 3.14 --json > compat-report.json

💬 CLI Help

pyupgradecheck --help

🤔 Why pyupgradecheck?

Because upgrading Python shouldn't be a trust fall.
Quickly see which of your installed packages can handle your target Python version — before you break your dev environment or CI build.

❤️ Contributing

Pull requests welcome 💖
Run tests with:

pytest

🧩 Perfect for

  • 🧪 CI/CD pipelines
  • 🐍 Devs upgrading their local environments
  • 🧠 Maintainers checking project compatibility

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

pyupgradecheck-0.1.7.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

pyupgradecheck-0.1.7-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pyupgradecheck-0.1.7.tar.gz.

File metadata

  • Download URL: pyupgradecheck-0.1.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyupgradecheck-0.1.7.tar.gz
Algorithm Hash digest
SHA256 04147b78ca84ef5fa8a4b42484b9d0406eda971c97f1083716787e054c7f5910
MD5 c6285b20f2fa9189839038a1d45d6f3d
BLAKE2b-256 4f15078e61ef0742cbd87c959e5b77be876a99c8566142bfa9541a2cc9edb91a

See more details on using hashes here.

File details

Details for the file pyupgradecheck-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pyupgradecheck-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyupgradecheck-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 29bbfc39818d386cd1ae3d83e12da13429c6a181c9aed09e6418b81c624011d6
MD5 c6ac76283bd3fb3f83e63d9dcfbf303c
BLAKE2b-256 4fb7b2b3830c78df91c2fdbc392b2fd8687b4594adc111a4fefa062f5432ec86

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