[Debian-astro-maintainers] Bug#1131057: gammapy: autopkgtest regression with NumPy 2.4

roehling at debian.org roehling at debian.org
Tue Mar 17 10:45:58 GMT 2026


Source: gammapy
Version: 2.0.1-1
Severity: important
User: debian-python at lists.debian.org
Usertags: numpy2.4

Dear maintainer,

According to https://ci.debian.net data, your package gammapy has an
autopkgtest regression with numpy.

The following architectures failed: amd64, arm64.

Hopefully relevant excerpt from
https://ci.debian.net/packages/g/gammapy/unstable/amd64/69506549/
follows:

316s =================================== FAILURES ===================================
316s E       AssertionError: 
316s E       Not equal to tolerance rtol=0.05, atol=0
316s E       
316s E       nan location mismatch:
316s E        ACTUAL: array([0.119217, 0.117149, 0.11746 ])
316s E        DESIRED: array([nan, nan, nan])
316s TypeError: only 0-dimensional arrays can be converted to Python scalars
316s E       SystemError: <function ABCMeta.__instancecheck__ at 0x7fd8cb90f9c0> returned a result with an exception set
316s TypeError: only 0-dimensional arrays can be converted to Python scalars
316s E       SystemError: <function ABCMeta.__instancecheck__ at 0x7fd8cb90f9c0> returned a result with an exception set
316s E       TypeError: only 0-dimensional arrays can be converted to Python scalars
318s FAILED estimators/map/tests/test_ts.py::test_ts_map_stat_scan - AssertionError: 
318s FAILED estimators/points/tests/test_sed.py::test_flux_points_recompute_ul - S...
318s FAILED estimators/points/tests/test_sed.py::test_resample_axis - SystemError:...
318s FAILED modeling/models/tests/test_spectral.py::test_models[bpl] - TypeError: ...
318s = 4 failed, 1546 passed, 815 skipped, 1 deselected, 11 xfailed, 1 xpassed, 275 warnings in 219.09s (0:03:39) =
319s basic                FAIL non-zero exit status 1
319s basic                FAIL non-zero exit status 1



More information about the Debian-astro-maintainers mailing list