Bug#951592: sagemath-common: SyntaxWarnings setting up sagemath-common
John Scott
jscott at posteo.net
Tue Feb 18 15:35:02 GMT 2020
Package: sagemath-common
Version: 9.0-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On upgrading to the new version in Buster, I've gotten these warnings during
installation:
Setting up sagemath-common (9.0-1) ...
/usr/lib/python3/dist-packages/sage/combinat/root_system/branching_rules.py:1753: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(stypes) is not 2:
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1159: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1168: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1175: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1182: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1189: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1196: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1203: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
raise TypeError('%s option must be a dictionary, not %s' (name, value))
Fortunately this appears to be a cosmetic issue, but creates a lot of
noise and I can't discern its meaning.
- -- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sagemath-common depends on:
ii python3 3.7.5-3
sagemath-common recommends no packages.
sagemath-common suggests no packages.
- -- debconf-show failed
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQT287WtmxUhmhucNnhyvHFIwKstpwUCXkwEIAAKCRByvHFIwKst
p2S0AP9UYGdJ4INOLiisNpKn8n3SNJb8Bx24Rx+Wr6EFcPR8+QEA0BBPqBud0jmw
Fj37PXhBlgyMP7F3tnzn+3GBc3MzVQg=
=E945
-----END PGP SIGNATURE-----
More information about the debian-science-maintainers
mailing list