Source: python-rosettasciio
Version: 0.14.0-1
Severity: serious
Tags: ftbfs sid forky
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: s390x
Dear maintainer,
python-rosettasciio FTBFS on s390x:
2 workers [398 items]
s.ss.sssss.ssssssssss.s.sss.sssssssssssssssssssssssssss.sss............. [ 18%]
........................................................................ [ 36%]
........................................................................ [ 54%]
.......................................................................F [ 72%]
....................................................s................... [ 90%]
.................................s.... [100%]
=================================== FAILURES ===================================
__________________________ test_numpy_unicore_header ___________________________
[gw0] linux -- Python 3.14.7 /usr/bin/python3.14
tmp_path =
PosixPath('/tmp/pytest-of-sbuild/pytest-0/popen-gw0/test_numpy_unicore_header0')
def test_numpy_unicore_header(tmp_path):
filename = tmp_path / "test_utf8_containing_dtype.npy"
# Create a sample numpy array with UTF-8 string dtype
# Define a structured dtype with a unicode field
dtype = np.dtype([("ΔT", "f4"), ("Time", "f4")])
# Create a structured array with sample data
original_array = np.array([(1.5, 0.0), (2.3, 1.0)], dtype=dtype)
with pytest.warns(UserWarning, match="Stored array in format 3.0"):
np.save(filename, original_array)
offset, shape, dtype = inspect_npy_file(filename)
assert offset == 128 # Check the offset for the header
assert shape == (2,) # Check the shape of the array
> assert dtype == [("ΔT", "<f4"), ("Time", "<f4")] # Check the dtype of
> the array
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AssertionError: assert [('ΔT', '>f4'...Time', '>f4')] == [('ΔT',
'<f4'...Time', '<f4')]
E
E At index 0 diff: ('ΔT', '>f4') != ('ΔT', '<f4')
E Use -v to get more diff
../../../rsciio/tests/test_numpy.py:126: AssertionError
See
https://buildd.debian.org/status/fetch.php?pkg=python-rosettasciio&arch=s390x&ver=0.14.0-1&stamp=1788456658&raw=0
for full details.
Cheers
--
Sebastian Ramacher