[Debian-astro-maintainers] Bug#1094893: astropy-healpix FTBFS with numpy 2
Adrian Bunk
bunk at debian.org
Sat Feb 1 02:38:07 GMT 2025
Source: astropy-healpix
Version: 1.0.3-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=astropy-healpix&ver=1.0.3-1%2Bb3
...
> value = np.array(
value, dtype=dtype, copy=copy, order=order, subok=True, ndmin=ndmin
)
E ValueError: Unable to avoid copy while creating an array as requested.
E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x).
E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.
E Falsifying example: test_interp_val(
E # The test always failed when commented parts were varied together.
E nside_pow=0, # or any other generated value
E nest=False, # or any other generated value
E lonlat=False, # or any other generated value
E lon=1.0, # or any other generated value
E lat=1.0, # or any other generated value
E )
/usr/lib/python3/dist-packages/astropy/units/quantity.py:531: ValueError
...
=========================== short test summary info ============================
FAILED astropy_healpix/tests/test_healpy.py::test_ang2pix - ValueError: Unabl...
FAILED astropy_healpix/tests/test_healpy.py::test_ang2pix_shape - ValueError:...
FAILED astropy_healpix/tests/test_healpy.py::test_ang2vec - ValueError: Unabl...
FAILED astropy_healpix/tests/test_healpy.py::test_interp_weights - ExceptionG...
FAILED astropy_healpix/tests/test_healpy.py::test_interp_val - ValueError: Un...
============ 5 failed, 124 passed, 2 xfailed, 3 warnings in 46.43s =============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/astropy-healpix-1.0.3/.pybuild/cpython3_3.13_astropy-healpix/build; python3.13 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
make: *** [debian/rules:18: binary-arch] Error 25
More information about the Debian-astro-maintainers
mailing list