[Debian-med-packaging] Bug#1085655: iva: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Mon Oct 21 12:43:23 BST 2024


Source: iva
Version: 1.0.11+ds-5
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/i/iva.html


  Setting up iva (1.0.11+ds-5) ...
  /usr/lib/python3/dist-packages/iva/external_progs.py:33:
SyntaxWarning: invalid escape sequence '\('
    'kmc': ('kmc', re.compile('^K-Mer Counter \(KMC\) ver\. (.*) \(.*\)$')),
  /usr/lib/python3/dist-packages/iva/external_progs.py:34:
SyntaxWarning: invalid escape sequence '\('
    'kmc_dump': ('kmc_dump', re.compile('^KMC dump ver. (.*) \(.*\)$')),
  /usr/lib/python3/dist-packages/iva/external_progs.py:37:
SyntaxWarning: invalid escape sequence '\('
    'nucmer': ('nucmer --version', re.compile('^NUCmer \(NUCleotide
MUMmer\) version (.*)$')),
  /usr/lib/python3/dist-packages/iva/external_progs.py:38:
SyntaxWarning: invalid escape sequence '\('
    'R': ('R --version', re.compile('^R version (.*) \(.*\) --')),
  /usr/lib/python3/dist-packages/iva/external_progs.py:40:
SyntaxWarning: invalid escape sequence '\d'
    'samtools': ('samtools', re.compile('(\d+\.\d+[\.\d]*)')),
  /usr/lib/python3/dist-packages/iva/kraken.py:360: SyntaxWarning:
invalid escape sequence '\.'
    self._genbank2embl(fname, re.sub('\.gbk$', '', fname) + '.embl')
  /usr/lib/python3/dist-packages/iva/kraken.py:415: SyntaxWarning:
invalid escape sequence '\W'
    return re.sub('\W', '_', s).strip('_')
  /usr/lib/python3/dist-packages/iva/mapping.py:161: SyntaxWarning:
invalid escape sequence '\^'
    s = re.sub('\^.', '', s)



More information about the Debian-med-packaging mailing list