Bug#1085551: dolfin: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Sun Oct 20 17:53:54 BST 2024


Source: dolfin
Version: 2019.2.0~legacy20240219.1c52e83-10
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/dolfin.html


  Setting up python3-dolfin (2019.2.0~legacy20240219.1c52e83-10+b2) ...
  /usr/lib/python3/dist-packages/dolfin_utils/meshconvert/meshconvert.py:509:
SyntaxWarning: invalid escape sequence '\ '
    _error("Missing data, unable to convert \n\ Did you use version
2.0 of the gmsh file format?")
  /usr/lib/python3/dist-packages/dolfin_utils/meshconvert/meshconvert.py:865:
SyntaxWarning: invalid escape sequence '\s'
    x = list(map(float, re.split("[\s,]+", m.group(1))))
  /usr/lib/python3/dist-packages/dolfin_utils/meshconvert/meshconvert.py:1187:
SyntaxWarning: invalid escape sequence '\s'
    dim = int(re.match(".*\s=\s(\d+)\s;",line).group(1))
  /usr/lib/python3/dist-packages/dolfin_utils/meshconvert/meshconvert.py:1189:
SyntaxWarning: invalid escape sequence '\s'
    num_vertices = int(re.match(".*\s=\s(\d+)\s;",line).group(1))
  /usr/lib/python3/dist-packages/dolfin_utils/meshconvert/meshconvert.py:1191:
SyntaxWarning: invalid escape sequence '\s'
    num_cells = int(re.match(".*\s=\s(\d+)\s;",line).group(1))



More information about the debian-science-maintainers mailing list