Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tillea opened this issue Feb 2, 2024 · 1 comment

Comments

@tillea
Copy link

tillea commented Feb 2, 2024

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
Copy link
Author

tillea commented Feb 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant