On Tue, 17 Mar 2026 11:45:57 +0100 [email protected] wrote:
Source: flox
Version: 0.11.2-1
Severity: important
User: [email protected]
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
The issue seems to be due to an incompatibility of dask 2024.12.1 with
recent versions of numpy.
In this specific case the "interpolation" keyword argument has been
removed from the "quantile" function in numpy v2.4 but it is still
used in dask.
Please note that this specific issue has been fixed upstream in
https://github.com/dask/dask/pull/12108.
kind regards
--
Antonio Valentino