Bug#1131056: flox: autopkgtest regression with NumPy 2.4

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


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

Dear maintainer,

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

The following architectures failed: amd64, arm64.

Hopefully relevant excerpt from
https://ci.debian.net/packages/f/flox/unstable/amd64/69506543/
follows:

155s tests/test_core.py:1550 test_dtype[flox-float32-mode] - ValueError: …
155s tests/test_core.py:1550 test_dtype[flox-float64-mode] - ValueError: …
241s tests/test_core.py:1550 test_dtype[numpy-float32-mode] - ValueError:…
241s tests/test_core.py:1550 test_dtype[numpy-float64-mode] - ValueError:…
263s =================================== FAILURES ===================================
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s TypeError: only 0-dimensional arrays can be converted to Python scalars
263s E   ValueError: setting an array element with a sequence.
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s E   ValueError: `dtype` inference failed in `map_blocks`.
263s E   
263s E   Please specify the dtype explicitly using the `dtype` kwarg.
263s E   
263s E   Original error is below:
263s E   ------------------------
263s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
263s E   
263s E   Traceback:
263s E   ---------
263s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
263s E       o = func(*args, **kwargs)
263s         18 failed
267s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.bmdb72z9/downtmp/autopkgtest_tmp/build; python3.14 -m pytest --hypothesis-profile=ci --ignore={dir}/tests/test_asv.py -k "not test_groupby_reduce_all" {dir}/tests
330s tests/test_core.py:1550 test_dtype[flox-float32-mode] - ValueError: …
331s tests/test_core.py:1550 test_dtype[flox-float64-mode] - ValueError: …
420s tests/test_core.py:1550 test_dtype[numpy-float32-mode] - ValueError:…
420s tests/test_core.py:1550 test_dtype[numpy-float64-mode] - ValueError:…
436s =================================== FAILURES ===================================
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s TypeError: only 0-dimensional arrays can be converted to Python scalars
436s E   ValueError: setting an array element with a sequence.
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s E   ValueError: `dtype` inference failed in `map_blocks`.
436s E   
436s E   Please specify the dtype explicitly using the `dtype` kwarg.
436s E   
436s E   Original error is below:
436s E   ------------------------
436s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
436s E   
436s E   Traceback:
436s E   ---------
436s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
436s E       o = func(*args, **kwargs)
436s         18 failed
439s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.bmdb72z9/downtmp/autopkgtest_tmp/build; python3.13 -m pytest --hypothesis-profile=ci --ignore={dir}/tests/test_asv.py -k "not test_groupby_reduce_all" {dir}/tests
439s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
439s pybuild-autopkgtest: error: /tmp/g3587ixc6O/run pybuild-autopkgtest returned exit code 2
439s pybuild-autopkgtest  FAIL non-zero exit status 25
439s pybuild-autopkgtest  FAIL non-zero exit status 25



More information about the Pkg-grass-devel mailing list