aMeta icon indicating copy to clipboard operation
aMeta copied to clipboard

Python syntax of Malt-build script doesn't work with Python 3.12.1

Open ZoePochon opened this issue 1 year ago • 10 comments

I was helping debug with @npsonis and it seems that the new python version 3.12.1 fails to read the syntax of one of the command in the malt-build.py script.

This is the command: regex = re.compile("version (?P\d+).(?P\d+)") And this is the warning but the malt-build eventually fails: :1: SyntaxWarning: invalid escape sequence '\d'

We tested it on the command line when activating python 3.12.1 and got the same error but we didn't get the error when running it with python 3.11.4. So it might be some python update that makes this syntax not readable anymore?

ZoePochon avatar Jan 31 '24 12:01 ZoePochon