pycm is a command-line tool for checking which versions of Python are supported by a given package.
- Python 3.11+
- Run
python -m pip install git+https://github.com/DarkLight1337/pycm.gitto install the package from this repository.
pycm <package> --python=<versions>
Show the versions of TensorFlow that can be used with Python 3.11-3.14:
> pycm tensorflow --python=3.11,3.12,3.13,3.14
tensorflow (→) 2.12.1 2.13.1 2.14.1 2.15.1 2.16.2 2.17.1 2.18.1 2.19.1 2.20.0 2.21.0 2.22.0rc0
Python (↓)
3.11 Y Y Y Y Y Y Y Y Y Y Y
3.12 Y Y Y Y Y Y Y
3.13 Y Y Y
3.14 Y
(You can cross-check this table against the official compatibility matrix.)
- Clone this repository to your machine.
- Run
uv lock && uv syncto setup the Python enviroment.
- Setup the development environment.
- Run
uv run deptry . && uv run ruff check . && uv run pyright .to lint the code.
- Setup the development environment.
- Run
uv run pytestto test the code and output the coverage report.