Bug#1094699: getfem: FTBFS with numpy 2.x: numpy.exceptions.AxisError

Andrey Rakhmatullin wrar at debian.org
Thu Jan 30 10:37:34 GMT 2025


Source: getfem
Version: 5.4.2+dfsg1-5.1
Severity: serious
Tags: ftbfs
Control: block 1082237 by -1

https://buildd.debian.org/status/fetch.php?pkg=getfem&arch=amd64&ver=5.4.2%2Bdfsg1-5.1%2Bb2&stamp=1738030604&raw=0

Traceback (most recent call last):
  File "/build/reproducible-
path/getfem-5.4.2+dfsg1/interface/tests/python/./check_asm.py", line 44, in
<module>
    U = mfu.eval('x+y')
  File "/build/reproducible-
path/getfem-5.4.2+dfsg1/interface/src/python/getfem.py", line 2196, in eval
    nbvars = min(P.shape[0],len(vars))
  File "/usr/lib/python3/dist-packages/numpy/_core/fromnumeric.py", line 3302,
in min
    return _wrapreduction(a, np.minimum, 'min', axis, None, out,
                          keepdims=keepdims, initial=initial, where=where)
  File "/usr/lib/python3/dist-packages/numpy/_core/fromnumeric.py", line 86, in
_wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy.exceptions.AxisError: axis 6 is out of bounds for array of dimension 0


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.8-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list