Summary: | dev-python/xarray-2023.10.1-r1: test failures on hppa | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.debian.org/1053700 https://bugs.gentoo.org/show_bug.cgi?id=872959 https://bugs.gentoo.org/show_bug.cgi?id=890549 https://github.com/pandas-dev/pandas/issues/51041 https://github.com/numpy/numpy/issues/19059 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 916250 | ||
Attachments: | build.log.xz |
Description
Sam James
![]() ![]() ![]() ![]() Created attachment 873627 [details]
build.log.xz
var = Variable(["time"], times, encoding=encoding)
> assert var.dtype == np.dtype("<M8[ns]")
E AssertionError: assert dtype('>M8[ns]') == dtype('<M8[ns]')
E + where dtype('>M8[ns]') = <xarray.Variable (time: 3)>\narray(['1970-01-01T00:00:00.000000000', 'NaT',\n '1677-09-21T00:12:43.145224193'], dtype='datetime64[ns]').dtype
E + and dtype('<M8[ns]') = <class 'numpy.dtype'>('<M8[ns]')
E + where <class 'numpy.dtype'> = np.dtype
If it's the same thing as in https://github.com/pandas-dev/pandas/issues/51041, it's not ideal, but it's not critically broken either. I'll try 2023.8.0 and see what that has. (In reply to Sam James from comment #4) > I'll try 2023.8.0 and see what that has. FAILED xarray/tests/test_missing.py::test_interpolate_na_2d[coords1] - ModuleNotFoundError: No module named 'scipy' FAILED xarray/tests/test_plot.py::TestPlot::test2d_nonuniform_calls_contourf - assert False FAILED xarray/tests/test_plot.py::TestContourf::test_contourf_called - AssertionError: assert False hm, maybe this got introduced by https://github.com/pydata/xarray/commit/a4f80b23d32e9c3986e3342182fe382d8081c3c2, which would then make it susceptible to the numpy bug/quirk/feature linked? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214b26e564b13c56363258163cda0c16173b3636 commit 214b26e564b13c56363258163cda0c16173b3636 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-29 03:33:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-29 03:33:02 +0000 dev-python/xarray: skip tests caused by numpy quirk/bug See bug for details, it looks like it's a numpy quirk/feature/misfeature...? Closes: https://bugs.gentoo.org/916460 Signed-off-by: Sam James <sam@gentoo.org> dev-python/xarray/xarray-2023.10.1-r1.ebuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) |