Bug#1040292: python3-pysph: SyntaxWarning during package installation
Andreas Beckmann
anbe at debian.org
Tue Jul 4 06:50:16 BST 2023
Package: python3-pysph
Version: 1.0~b1-5
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package emits a SyntaxWarning
during installation:
Setting up python3-pysph (1.0~b1-5+b1) ...
/usr/lib/python3/dist-packages/pysph/solver/vtk_output.py:36: SyntaxWarning: "is" with a literal. Did you mean "=="?
assert (len(vector) is 3)
/usr/lib/python3/dist-packages/pysph/tools/read_mesh.py:88: SyntaxWarning: "is" with a literal. Did you mean "=="?
if file_format is 'stl':
Andreas
More information about the debian-science-maintainers
mailing list