-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
Is your feature request related to a problem? Please describe.
As python2 reaching end of life. I tried to upgrade my system, which doesn't come with python2 anymore.
My first attempt to manual install python2 (and especially the mysql module) failed, so I start digging if a transition to python3 wasn't going to be more straight forward.
I endup on a dead-end because (at least) the dispachter use the "tornado" and "torndb" module which isn't supported anymore.
Even though they still exists:
$ python3 --version
Python 3.10.6
$ python3 -m pip list | grep torn
tornado 6.3.2
torndb 0.3
$ ./klara-dispatcher
Traceback (most recent call last):
File "/dispatcher/./klara-dispatcher", line 9, in <module>
import torndb
File "/.local/lib/python3.10/site-packages/torndb.py", line 260, in <module>
CONVERSIONS[field_type] = [(FLAG.BINARY, str)] + CONVERSIONS[field_type]
TypeError: can only concatenate list (not "type") to list
Thus the question, would it be possible to port the project to python3 using "recent" or at least still maintain library ?
Maybe tornado/torndb aren't the only one who'll need a rewrite.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels