[Debichem-devel] Bug#1085769: parmed: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 15:00:53 BST 2024


Source: parmed
Version: 4.2.2+dfsg-3
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/parmed.html


  Setting up python3-parmed (4.2.2+dfsg-3+b1) ...
  /usr/lib/python3/dist-packages/parmed/amber/parameters.py:28:
SyntaxWarning: invalid escape sequence '\s'
    '%(FLOATRE)s\s+%(FLOATRE)s\s+%(FLOATRE)s' % subs)
  /usr/lib/python3/dist-packages/parmed/amber/parameters.py:34:
SyntaxWarning: invalid escape sequence '\s'
    '%(FLOATRE)s\s+%(FLOATRE)s\s+%(FLOATRE)s' % subs)
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:329:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:331:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['](.*?)(?:[']\s|[']$))"       "|"  # single quoted strings
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:332:
SyntaxWarning: invalid escape sequence '\s'
    "(?:[\"](.*?)(?:[\"]\s|[\"]$))"    "|"  # double quoted strings
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:334:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:336:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:401:
SyntaxWarning: invalid escape sequence '\S'
    "(?:_(.+?)[.](\S+))"               "|"  # _category.attribute
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:403:
SyntaxWarning: invalid escape sequence '\s'
    "(?:['\"](.*?)(?:['\"]\s|['\"]$))" "|"  # quoted strings
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:405:
SyntaxWarning: invalid escape sequence '\s'
    "(?:\s*#.*$)"                      "|"  # comments (dumped)
  /usr/lib/python3/dist-packages/parmed/formats/pdbx/PdbxReader.py:407:
SyntaxWarning: invalid escape sequence '\S'
    "(\S+)"                                 # unquoted words



More information about the Debichem-devel mailing list