Check your installed Python packages for version compatibility
Project description
🐍 pyupgradecheck
💡 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyupgradecheck-0.1.6.tar.gz.
File metadata
- Download URL: pyupgradecheck-0.1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33f2b3e1b1f2c22735d2aeb6225f897e063d4e317570acb8cf8b49b9afb5a9a
|
|
| MD5 |
396f4958f62e7b85684cb9d8a449fa93
|
|
| BLAKE2b-256 |
200d5681993dabd0a4d5223b3a2cd0224aff12a03ddd0394689e614dfb64d774
|
File details
Details for the file pyupgradecheck-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pyupgradecheck-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9710a39bda6f9a6470266860f9cd05015573225cb0271581bc19e484012837f8
|
|
| MD5 |
0905b6778962731f811f3195794e3c34
|
|
| BLAKE2b-256 |
2768bdfd60dd13c5915a5e27ac7ccd6f85819a70d5f27e384ef572bad5d8ffdd
|