<html>#2760: SyntaxWarnings Raised During Build Process with Python 3.12
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Thiago Assumpcao</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2023_05</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Comment (by Steven R. Brandt):</p>
<p>The main problem seems to be the ini parser in 3.12. It complains about things like this:  </p>
<div class="codehilite"><pre><span></span><code><span>submitpattern   = 'Submitted batch job (\d+)'</span>
</code></pre></div>

<p>The problem is that a <code>\d</code> is invalid inside a quoted string. To fix it, replace it with</p>
<div class="codehilite"><pre><span></span><code><span>submitpattern   = 'Submitted batch job (\\d+)'</span>
</code></pre></div>

<p>or</p>
<div class="codehilite"><pre><span></span><code><span>submitpattern   = Submitted batch job (\d+)</span>
</code></pre></div>

<p>Both seem to work.</p>
<p>There are also some problems with a few strings inside simfactory that need to be r-strings.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2760/syntaxwarnings-raised-during-build-process'>https://bitbucket.org/einsteintoolkit/tickets/issues/2760/syntaxwarnings-raised-during-build-process</a></p>
</html>