Package: python3-reno
Version: 2.11.2-4
Severity: normal

On a testing system, Python 3.12 flags the following warnings when
setting up python3-reno:

Setting up python3-reno (2.11.2-4) ...
/usr/lib/python3/dist-packages/reno/config.py:68: SyntaxWarning: invalid escape 
sequence '\d'
  textwrap.dedent('''\
/usr/lib/python3/dist-packages/reno/config.py:79: SyntaxWarning: invalid escape 
sequence '\.'
  textwrap.dedent('''\
/usr/lib/python3/dist-packages/reno/tests/test_exts.py:102: SyntaxWarning: 
invalid escape sequence '\d'
  textwrap.dedent('''\
/usr/lib/python3/dist-packages/reno/tests/test_exts.py:113: SyntaxWarning: 
invalid escape sequence '\d'
  expected = textwrap.dedent("""\
/usr/lib/python3/dist-packages/reno/tests/test_scanner.py:71: SyntaxWarning: 
invalid escape sequence '\s'
  gnupg_version_re = re.compile('^gpg\s.*\s([\d+])\.([\d+])\.([\d+])')

These can presumably be fixed by making the strings raw or quoting the
backslashes (making the strings raw with the """\ wouldn't work,
though).

Best wishes,

   Julian

Reply via email to