terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.84k stars 248 forks source link

ci: Drop support for python versions before v3.8 #371

Closed jdehaan closed 9 hours ago

jdehaan commented 1 year ago

As a matter of facts, I could not make the current codebase work at all under python2. IMHO this is also a waste of time and energy.

Current status of the python maintenance for each version.

https://devguide.python.org/versions/

Reasonably, I propose to support from v3.8 upwards, any older v3 might work... I updated the documentation and the CI configurations to have a more modern setup.

NOTE: I did not update the website generation related things. The changeset deals with the lizard tool alone

terryyin commented 5 months ago

I haven't been involved much in Python development for years. Is it time to drop Python 2 support?

stkw0 commented 5 months ago

Absolutely. Python2 have been EOL since 4 years ago. Most Linux distros don't support python2 packages anymore.