Bug#1085757: optlang: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 12:59:35 BST 2024


Source: optlang
Version: 1.8.2-2
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/o/optlang.html


  Setting up python3-optlang (1.8.2-2) ...
  /usr/lib/python3/dist-packages/optlang/matrix_interface.py:60:
SyntaxWarning: invalid escape sequence '\m'
    """A representation of the convex optimizatgion problem in standard form.
  /usr/lib/python3/dist-packages/optlang/tests/data/parse_the_final_netlib_results.py:34:
SyntaxWarning: invalid escape sequence '\*'
    OBJ_REGEX = re.compile('\* Objvalue : -?\d+/\d+')
  /usr/lib/python3/dist-packages/optlang/tests/test_cplex_interface.py:222:
SyntaxWarning: invalid escape sequence '\s'
    self.assertRegexpMatches(str(self.model), '\s*Dummy_\d+:\s*y \+ z
\+ 2\.333 x - .*  = -300')



More information about the debian-science-maintainers mailing list