Skip to main content

Check your project requirements for Python version compatibility

Project description

checkmyreqs allows you to check the packages in your requirements file against a specified Python version.

This command will check 2 requirements files, to see if their packages are compatible with Python 3.3

checkmyreqs -f requirements.txt,requirements_dev.txt -p 3.3

If you don’t pass in a filename, it will use requirements.txt in the directory it is called

checkmyreqs -p 3.2

The output is a list of packages not supported by the given Python version.

For each package, checkmyreqs will tell you if updating them will give you support.

Caveat

checkmyreqs looks at packages on pypi.python.org to see if their author has included a classifier saying which Python versions are supported.

If the package has incorrect or missing classifiers, checkmyreqs will show it as unsupported.

This tool is meant as an addition to other porting tools. 2to3 and six can help you make your code Python 3 ready, and checkmyreqs lets you quickly check if your packages are ready to move as well.

Installation

pip install checkmyreqs

Supports Python 2.7, 3.2, 3.3

Python <=2.6, 3.0 and 3.1 are not supported, they don’t have argparse

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

checkmyreqs-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file checkmyreqs-0.1.1.tar.gz.

File metadata

File hashes

Hashes for checkmyreqs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 67d21b6da47dcd42ac62ebd44c196bf6702f7108bd6c468f994f50b221a97296
MD5 66c7fd6ab1b0cf575580b709f32a3739
BLAKE2b-256 3d8670fc4d9233f8231a7c1bb53bad9c974bf54f890bfe371943522f2e7c6f45

See more details on using hashes here.

Supported by

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