[Debichem-devel] Bug#1086925: python-pymzml: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Thu Nov 7 11:15:53 GMT 2024


Source: python-pymzml
Version: 2.5.10+repack1-1
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/python-pymzml.html


  Setting up python3-pymzml (2.5.10+repack1-1) ...
  /usr/lib/python3/dist-packages/pymzml/file_classes/standardMzml.py:384:
SyntaxWarning: invalid escape sequence '\s'
    chromexp = re.compile(b'<\s*chromatogram[^>]*id="([^"]*)"')
  /usr/lib/python3/dist-packages/pymzml/file_classes/standardMzml.py:385:
SyntaxWarning: invalid escape sequence '\s'
    chromcntexp = re.compile(b'<\s*chromatogramList\s*count="([^"]*)"')
  /usr/lib/python3/dist-packages/pymzml/file_classes/standardMzml.py:386:
SyntaxWarning: invalid escape sequence '\s'
    specexp = re.compile(b'<\s*spectrum[^>]*id="([^"]*)"')
  /usr/lib/python3/dist-packages/pymzml/file_classes/standardMzml.py:387:
SyntaxWarning: invalid escape sequence '\s'
    speccntexp = re.compile(b'<\s*spectrumList\s*count="([^"]*)"')
  /usr/lib/python3/dist-packages/pymzml/file_classes/standardMzml.py:735:
SyntaxWarning: invalid escape sequence '\s'
    '<\s*spectrum[^>]*index="[0-9]+"\sid="({0})"\sdefaultArrayLength="[0-9]+">'.format(



More information about the Debichem-devel mailing list