rohaquinlop / complexipy

An extremely fast Python library to calculate the cognitive complexity of Python files, written in Rust.
https://rohaquinlop.github.io/complexipy/
MIT License
135 stars 7 forks source link

Consider support for older versions of Python #31

Closed jmlemetayer closed 7 months ago

jmlemetayer commented 7 months ago

I can't install complexipy on my Ubuntu 22.04 LTS as my python version is 3.10.

But complexipy requires python version >= 3.11.

However:

Is there any reason why you force it to 3.11+? (https://github.com/rohaquinlop/complexipy/commit/e213ce8fd85768dca88d2186dc39efd1e56f9a15)

rohaquinlop commented 7 months ago

@jmlemetayer There's no reason why python >= 3.11 I just wanted to set a minimum version and thought that this could be a good choice because it was a stable one, but I will set it to >= 3.8 considering your comments, thank you for your feedback!

rohaquinlop commented 7 months ago

Solved

jmlemetayer commented 7 months ago

Tested on Ubuntu 22.04.4 LTS with Python 3.10.12 successfully. Thanks