themoken / canto-curses

Curses frontend for Canto daemon
GNU General Public License v2.0
92 stars 7 forks source link

Possible Python 3.12 related changes? #56

Open Narrat opened 6 months ago

Narrat commented 6 months ago

Didn't take a deeper look as of now, but there seems to be changes between 3.11 and 3.12? At least I cannot remember seeing this before, but it's a long time since I built this with 3.11 :D Building a package with 3.12 throws those lines around:

/usr/lib/python3.12/site-packages/canto_curses/guibase.py:56: SyntaxWarning: invalid escape sequence '\ '
/usr/lib/python3.12/site-packages/canto_curses/guibase.py:56: SyntaxWarning: invalid escape sequence '\ '
/usr/lib/python3.12/site-packages/canto_curses/html.py:201: SyntaxWarning: invalid escape sequence '\w'
/usr/lib/python3.12/site-packages/canto_curses/html.py:201: SyntaxWarning: invalid escape sequence '\w'