[Python-modules-team] Bug#924396: python3-scipy: FutureWarning in scipy.fftpack.ifftn
Aurelien Jarno
aurel32 at debian.org
Tue Mar 12 14:27:43 GMT 2019
Package: python3-scipy
Version: 1.1.0-3
Severity: normal
Tags: upstream
scipy.fftpack.ifftn emits the following warning when used:
/usr/lib/python3/dist-packages/scipy/fftpack/basic.py:160: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
z[index] = x
This happens for example with the following example from the
documentation:
https://docs.scipy.org/doc/scipy-1.1.0/reference/tutorial/fftpack.html#two-and-n-dimensional-discrete-fourier-transforms
This been upstream fixed by the following commit:
https://github.com/scipy/scipy/commit/f0c99c1336761c8716008e44ae360715e5486ba7
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (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 libatlas3-base [liblapack.so.3] 3.10.3-8
ii libblas3 [libblas.so.3] 3.8.0-2
ii libc6 2.28-8
ii libgcc1 1:8.3.0-2
ii libgfortran5 8.3.0-2
ii liblapack3 [liblapack.so.3] 3.8.0-2
ii libquadmath0 8.3.0-2
ii libstdc++6 8.3.0-2
ii python3 3.7.2-1
ii python3-decorator 4.3.0-1.1
ii python3-numpy [python3-numpy-abi9] 1:1.16.1-1
Versions of packages python3-scipy recommends:
ii g++ 4:8.3.0-1
ii g++-7 [c++-compiler] 7.4.0-6
ii g++-8 [c++-compiler] 8.3.0-2
ii gcc-snapshot [c++-compiler] 1:20190302-1
ii python3-pil 5.4.1-1
Versions of packages python3-scipy suggests:
pn python-scipy-doc <none>
-- no debconf information
More information about the Python-modules-team
mailing list