Bug#1139201: flox: autopkgtest regression with NumPy 2.4

roehling at debian.org roehling at debian.org
Sun Jun 7 07:20:43 BST 2026


Source: flox
Version: 0.11.2-1
Severity: normal
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, loong64, ppc64el,
riscv64, s390x.

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

144s tests/test_core.py:1550 test_dtype[flox-float32-mode] - ValueError: …
145s tests/test_core.py:1550 test_dtype[flox-float64-mode] - ValueError: …
194s tests/test_core.py:1550 test_dtype[numpy-float32-mode] - ValueError:…
194s tests/test_core.py:1550 test_dtype[numpy-float64-mode] - ValueError:…
204s =================================== FAILURES ===================================
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s TypeError: only 0-dimensional arrays can be converted to Python scalars
204s E   ValueError: setting an array element with a sequence.
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s E   ValueError: `dtype` inference failed in `map_blocks`.
204s E   
204s E   Please specify the dtype explicitly using the `dtype` kwarg.
204s E   
204s E   Original error is below:
204s E   ------------------------
204s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
204s E   
204s E   Traceback:
204s E   ---------
204s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
204s E       o = func(*args, **kwargs)
204s         18 failed
206s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.vq60p978/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
245s tests/test_core.py:1550 test_dtype[flox-float32-mode] - ValueError: …
245s tests/test_core.py:1550 test_dtype[flox-float64-mode] - ValueError: …
294s tests/test_core.py:1550 test_dtype[numpy-float32-mode] - ValueError:…
294s tests/test_core.py:1550 test_dtype[numpy-float64-mode] - ValueError:…
304s =================================== FAILURES ===================================
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s TypeError: only 0-dimensional arrays can be converted to Python scalars
304s E   ValueError: setting an array element with a sequence.
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s E   ValueError: `dtype` inference failed in `map_blocks`.
304s E   
304s E   Please specify the dtype explicitly using the `dtype` kwarg.
304s E   
304s E   Original error is below:
304s E   ------------------------
304s E   TypeError("quantile() got an unexpected keyword argument 'interpolation'")
304s E   
304s E   Traceback:
304s E   ---------
304s E     File "/usr/lib/python3/dist-packages/dask/array/core.py", line 469, in apply_infer_dtype
304s E       o = func(*args, **kwargs)
304s         18 failed
305s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.vq60p978/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
305s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
305s pybuild-autopkgtest: error: /tmp/K67fAp8ylG/run pybuild-autopkgtest returned exit code 2
306s pybuild-autopkgtest  FAIL non-zero exit status 25
306s pybuild-autopkgtest  FAIL non-zero exit status 25



More information about the Pkg-grass-devel mailing list