#1131078 python-pot: autopkgtest regression with NumPy 2.4

#1131078#5
Date:
2026-03-17 10:46:22 UTC
From:
To:
Dear maintainer,

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

The following architectures failed: amd64, arm64.

Hopefully relevant excerpt from
https://ci.debian.net/packages/p/python-pot/unstable/amd64/69506967/
follows:

156s =================================== FAILURES ===================================
156s TypeError: only 0-dimensional arrays can be converted to Python scalars
156s E       ValueError: setting an array element with a sequence.
156s TypeError: only 0-dimensional arrays can be converted to Python scalars
156s E               ValueError: setting an array element with a sequence.
156s TypeError: only 0-dimensional arrays can be converted to Python scalars
156s E               ValueError: setting an array element with a sequence.
156s   /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1231: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`.
156s   /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:245: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`.
156s FAILED test/gromov/test_estimators.py::test_pointwise_gromov[numpy] - ValueEr...
156s FAILED test/test_regpath.py::test_fully_relaxed_path - ValueError: setting an...
156s FAILED test/test_regpath.py::test_semi_relaxed_path - ValueError: setting an ...
156s = 3 failed, 929 passed, 70 skipped, 4 xfailed, 2962 warnings in 103.06s (0:01:43) =
157s upstream.sh          FAIL non-zero exit status 1
157s upstream.sh          FAIL non-zero exit status 1