#1087070 sagenb-export: Python SyntaxWarning

#1087070#5
Date:
2024-11-08 15:40:13 UTC
From:
To:
Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/s/sagenb-export.html


  Setting up python3-sagenb-export (3.4-1) ...
  update-alternatives: using /usr/bin/sagenb-export-python3 to provide
/usr/bin/sagenb-export (sagenb-export) in auto mode
  update-alternatives: warning: not replacing /usr/bin/sagenb-export with a link
  /usr/lib/python3/dist-packages/sagenb_export/sagenb_reader.py:16:
SyntaxWarning: invalid escape sequence '\{'
    CELL_FRONT = re.compile(u'^\{\{\{id=(?P<index>[0-9]*)\|$')
  /usr/lib/python3/dist-packages/sagenb_export/sagenb_reader.py:18:
SyntaxWarning: invalid escape sequence '\}'
    CELL_BACK = re.compile(u'^\}\}\}$')