[Python-modules-team] Bug#945093: python3-scipy: SyntaxWarnings on upgrade

Christian Göttsche cgzones at googlemail.com
Tue Nov 19 14:11:45 GMT 2019


Package: python3-scipy
Version: 1.2.2-8

During package upgrade some syntax warnings are printed:

Setting up python3-scipy (1.2.2-8) ...
/usr/lib/python3/dist-packages/scipy/io/netcdf.py:770: SyntaxWarning:
"is not" with a literal. Did you mean "!="?
  if typecode is not 'c':
/usr/lib/python3/dist-packages/scipy/optimize/_shgo.py:495:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if cons['type'] is 'ineq':
/usr/lib/python3/dist-packages/scipy/optimize/_shgo.py:743:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(self.X_min) is not 0:


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-scipy depends on:
ii  libblas3 [libblas.so.3]             3.8.0-8
ii  libc6                               2.29-3
ii  libgcc1                             1:9.2.1-19
ii  libgfortran5                        9.2.1-19
ii  liblapack3 [liblapack.so.3]         3.8.0-8
ii  liblbfgsb0                          3.0+dfsg.3-7
ii  libstdc++6                          9.2.1-19
ii  python3                             3.7.5-3
ii  python3-decorator                   4.3.0-1.1
ii  python3-numpy [python3-numpy-abi9]  1:1.17.4-3

Versions of packages python3-scipy recommends:
ii  clang-9 [c++-compiler]  1:9.0.0-3+b1
ii  g++ [c++-compiler]      4:9.2.1-3.1
ii  g++-9 [c++-compiler]    9.2.1-19
ii  python3-pil             6.2.1-2+b1

Versions of packages python3-scipy suggests:
pn  python-scipy-doc  <none>

-- no debconf information



More information about the Python-modules-team mailing list