#1131060 ml-dtypes: autopkgtest regression with NumPy 2.4

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

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

The following architectures failed: amd64, arm64.

Hopefully relevant excerpt from
https://ci.debian.net/packages/m/ml-dtypes/unstable/amd64/69506652/
follows:

 36s tests/custom_float_test.py::CustomFloatNumPyTest::testArange_float8_e4m3b11fnuz FAILED [ 43%]
 36s tests/custom_float_test.py::CustomFloatNumPyTest::testArange_float8_e4m3b11fnuz_multi_threaded FAILED [ 43%]
 39s =================================== FAILURES ===================================
 39s E     AssertionError:
 39s E     Arrays are not equal
 39s E
 39s E     Mismatched elements: 69 / 99 (69.7%)
 39s E     First 5 mismatches are at indices:
 39s E      [30]: nan (ACTUAL), nan (DESIRED)
 39s E      [31]: nan (ACTUAL), nan (DESIRED)
 39s E      [32]: nan (ACTUAL), nan (DESIRED)
 39s E      [33]: nan (ACTUAL), nan (DESIRED)
 39s E      [34]: nan (ACTUAL), nan (DESIRED)
 39s E     Max absolute difference among violations: nan
 39s E     Max relative difference among violations: nan
 39s E      ACTUAL: array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 18, 20,
 39s E            20, 20, 22, 24, 24, 24, 26, 28, 28, 28, 30, nan, nan, nan, nan,
 39s E            nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,...
 39s E      DESIRED: array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 18, 20,
 39s E            20, 20, 22, 24, 24, 24, 26, 28, 28, 28, 30, nan, nan, nan, nan,
 39s E            nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,...
 39s E     AssertionError:
 39s E     Arrays are not equal
 39s E
 39s E     Mismatched elements: 69 / 99 (69.7%)
 39s E     First 5 mismatches are at indices:
 39s E      [30]: nan (ACTUAL), nan (DESIRED)
 39s E      [31]: nan (ACTUAL), nan (DESIRED)
 39s E      [32]: nan (ACTUAL), nan (DESIRED)
 39s E      [33]: nan (ACTUAL), nan (DESIRED)
 39s E      [34]: nan (ACTUAL), nan (DESIRED)
 39s E     Max absolute difference among violations: nan
 39s E     Max relative difference among violations: nan
 39s E      ACTUAL: array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 18, 20,
 39s E            20, 20, 22, 24, 24, 24, 26, 28, 28, 28, 30, nan, nan, nan, nan,
 39s E            nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,...
 39s E      DESIRED: array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 18, 20,
 39s E            20, 20, 22, 24, 24, 24, 26, 28, 28, 28, 30, nan, nan, nan, nan,
 39s E            nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan,...
 39s FAILED tests/custom_float_test.py::CustomFloatNumPyTest::testArange_float8_e4m3b11fnuz
 39s FAILED tests/custom_float_test.py::CustomFloatNumPyTest::testArange_float8_e4m3b11fnuz_multi_threaded
 39s ======= 2 failed, 2087 passed, 17 skipped, 2720 subtests passed in 5.54s =======
 40s command1             FAIL non-zero exit status 1
 40s command1             FAIL non-zero exit status 1