mikolmogorov / Ragout

Chromosome-level scaffolding using multiple references
Other
146 stars 27 forks source link

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

Open tillea opened 7 months ago

tillea commented 7 months ago

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 commented 7 months ago

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.