Your message dated Fri, 16 Sep 2022 07:58:06 +0200
with message-id <f504c659-68b5-54ed-c54e-c2a7d53ab...@debian.org>
and subject line closed wrong bug
has caused the Debian Bug report #1019758,
regarding python-xarray: new autopkgtest regression on s390x
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1019758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019758
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-xarray
Version: 2022.06.0-1
Severity: serious
Forwarded: https://github.com/pydata/xarray/pull/7026
User: debian...@lists.debian.org
Usertags: regression
Hi Maintainer
Since the upload of python-xarray 2022.06.0-1, some new failing tests
appeared on the big-endian s390x architecture [1]. I've copied what I
hope is the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/p/python-xarray/testing/s390x/
=================================== FAILURES ===================================
__________________________ TestPandasIndex.test_join ___________________________
self = <xarray.tests.test_indexes.TestPandasIndex object at 0x3ff91bba350>
def test_join(self) -> None:
index1 = PandasIndex(["a", "aa", "aaa"], "x", coord_dtype="<U3")
index2 = PandasIndex(["aa", "aaa", "aaaa"], "x", coord_dtype="<U4")
expected = PandasIndex(["aa", "aaa"], "x")
actual = index1.join(index2)
print(actual.index)
assert actual.equals(expected)
> assert actual.coord_dtype == "<U4"
E AssertionError: assert dtype('>U4') == '<U4'
E + where dtype('>U4') = <xarray.core.indexes.PandasIndex
object at 0x3ff885850d0>.coord_dtype
/usr/lib/python3/dist-packages/xarray/tests/test_indexes.py:267: AssertionError
----------------------------- Captured stdout call -----------------------------
Index(['aa', 'aaa'], dtype='object', name='x')
_______________________ TestPandasMultiIndex.test_concat _______________________
self = <xarray.tests.test_indexes.TestPandasMultiIndex object at 0x3ff92a8c9d0>
def test_concat(self) -> None:
pd_midx = pd.MultiIndex.from_product(
[[0, 1, 2], ["a", "b"]], names=("foo", "bar")
)
level_coords_dtype = {"foo": np.int32, "bar": "<U1"}
midx1 = PandasMultiIndex(
pd_midx[:2], "x", level_coords_dtype=level_coords_dtype
)
midx2 = PandasMultiIndex(
pd_midx[2:], "x", level_coords_dtype=level_coords_dtype
)
expected = PandasMultiIndex(pd_midx, "x",
level_coords_dtype=level_coords_dtype)
actual = PandasMultiIndex.concat([midx1, midx2], "x")
assert actual.equals(expected)
> assert actual.level_coords_dtype == expected.level_coords_dtype
E AssertionError: assert {'bar': dtype...type('int32')} ==
{'bar': '<U1'...numpy.int32'>}
E Omitting 1 identical items, use -vv to show
E Differing items:
E {'bar': dtype('>U1')} != {'bar': '<U1'}
E Full diff:
E - {'bar': '<U1', 'foo': <class 'numpy.int32'>}
E + {'bar': dtype('>U1'), 'foo': dtype('int32')}
/usr/lib/python3/dist-packages/xarray/tests/test_indexes.py:395: AssertionError
________________________ TestPandasMultiIndex.test_join ________________________
self = <xarray.tests.test_indexes.TestPandasMultiIndex object at 0x3ff91bb90c0>
def test_join(self):
midx = pd.MultiIndex.from_product([["a", "aa"], [1, 2]],
names=("one", "two"))
level_coords_dtype = {"one": "<U2", "two": "i"}
index1 = PandasMultiIndex(midx, "x",
level_coords_dtype=level_coords_dtype)
index2 = PandasMultiIndex(midx[0:2], "x",
level_coords_dtype=level_coords_dtype)
actual = index1.join(index2)
assert actual.equals(index2)
> assert actual.level_coords_dtype == level_coords_dtype
E AssertionError: assert {'one': dtype...type('int32')} ==
{'one': '<U2', 'two': 'i'}
E Omitting 1 identical items, use -vv to show
E Differing items:
E {'one': dtype('>U2')} != {'one': '<U2'}
E Full diff:
E - {'one': '<U2', 'two': 'i'}
E + {'one': dtype('>U2'), 'two': dtype('int32')}
/usr/lib/python3/dist-packages/xarray/tests/test_indexes.py:493: AssertionError
--- End Message ---
--- Begin Message ---
Version: 2022.06.0-7
python-xarray (2022.06.0-7) unstable; urgency=medium
.
* Patch test_indexes-big-endian.patch from Graham Inggs. Closes:
#1018758
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---