Ragout icon indicating copy to clipboard operation
Ragout copied to clipboard

Six is not supported in Python3.12. Isn't it time to drop Python2 compatibility

Open tillea opened this issue 1 year ago • 1 comments

Hi, in file six.py you are implementing "Utilities for writing code that runs on Python 2 and 3". Unfortunately this stops working for Python3.12. Debian (and probably other distributions) will move on to this or later Python3 versions which will break Ragout while Python 2.x is deprecated since years. Do you intend to drop compatibility Python 2.x and enable later Python3 versions? Kind regards, Andreas.

tillea avatar Feb 02 '24 07:02 tillea

I've found a solution for this issue which is basically droping the code copy of six.py and replace ragout.six by just six in the import statements. There is a patch for the Debian package you might like to take over.

tillea avatar Feb 02 '24 13:02 tillea