BbRest icon indicating copy to clipboard operation
BbRest copied to clipboard

Python 3.12 error.

Open mafudge opened this issue 1 year ago • 3 comments

:1: SyntaxWarning: invalid escape sequence '['

mafudge avatar Sep 19 '24 18:09 mafudge

This was introduced in Python 3.12: https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes. Seems like the correct way to fix it is to use raw strings in all the regular expressions.

eflage avatar Sep 30 '24 19:09 eflage

likely a dependency issue? Seem like the bbrest.py uses raw strings.

mafudge avatar Oct 02 '24 15:10 mafudge

I agree. Looking at the imports, it looks like maya might be the culprit. https://github.com/kennethreitz/maya/issues/202

eflage avatar Oct 10 '24 16:10 eflage