#2760: SyntaxWarnings Raised During Build Process with Python 3.12
Reporter:Thiago Assumpcao
Status:new
Milestone:
Version:ET_2023_05
Type:bug
Priority:major
Component:SimFactory

Comment (by Steven R. Brandt):

The main problem seems to be the ini parser in 3.12. It complains about things like this:

submitpattern   = 'Submitted batch job (\d+)'

The problem is that a \d is invalid inside a quoted string. To fix it, replace it with

submitpattern   = 'Submitted batch job (\\d+)'

or

submitpattern   = Submitted batch job (\d+)

Both seem to work.

There are also some problems with a few strings inside simfactory that need to be r-strings.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2760/syntaxwarnings-raised-during-build-process