[Debian-med-packaging] Bug#1086983: pyxnat: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Thu Nov 7 17:44:58 GMT 2024


Source: pyxnat
Version: 1.6.2-2
User: debian-python at lists.debian.org
Usertags: syntaxwarning

Hi Maintainer

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

Regards
Graham


[1] https://piuparts.debian.org/sid/source/p/pyxnat.html


  Setting up python3-pyxnat (1.6.2-2) ...
  /usr/lib/python3/dist-packages/pyxnat/core/attributes.py:140:
SyntaxWarning: invalid escape sequence '\s'
    replaceSlashS = lambda x: x.replace('\s', ' ')
  /usr/lib/python3/dist-packages/pyxnat/core/attributes.py:144:
SyntaxWarning: invalid escape sequence '\s'
    return jdata.get(header).replace('\s', ' ')
  /usr/lib/python3/dist-packages/pyxnat/core/attributes.py:184:
SyntaxWarning: invalid escape sequence '\s'
    results.append(jdata.get(header).replace('\s', ' '))
  /usr/lib/python3/dist-packages/pyxnat/core/xpath_store.py:12:
SyntaxWarning: invalid escape sequence '\s'
    subject = re.findall('<xnat:Subject\sID="(.*?)"\s', content)



More information about the Debian-med-packaging mailing list