Bug#1085556: drslib: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Sun Oct 20 18:01:36 BST 2024


Source: drslib
Version: 0.3.2-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/d/drslib.html


  Setting up python3-drslib (0.3.2-1) ...
  /usr/lib/python3/dist-packages/drslib/mip_table.py:28:
SyntaxWarning: invalid escape sequence '\s'
    expt_id_ok_rexp =
re.compile('(?P<sep1>[\'"])(?P<desc>.*?)(?P=sep1)\s*(?P<sep2>[\'"])(?P<id>.*?)(?P=sep2)')
  /usr/lib/python3/dist-packages/drslib/p_cmip5/product.py:541:
SyntaxWarning: invalid escape sequence '\d'
    mm = re.findall( 'days since ([\d]{4})-', ii[0] )



More information about the debian-science-maintainers mailing list