xarray: recent versions of sparse and dask seem to be incompatible with our tests
Python 3.9 Test Summary Info
FAILED xarray/tests/test_plot.py::TestFacetGrid::test_can_set_norm - ValueErr...
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_line_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_pcolormesh_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_contour_plot
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 28 (17 by maintainers)
This should be closed via https://github.com/pydata/xarray/pull/5751. Again, thanks all for your efforts!
I have fixed the reported issues and released version 0.13.0 with the fixes included.
Thanks Hameer! 😄
cc @pentschev (just so you are aware)
Narrowed it down.
numpy-1.20.1 dask-2021.3.0 sparse-0.11.2
Ah, that’s a good point @keewis. Stepping back a bit, my current situation locally is I’m able to reproduce the
xarray/tests/test_sparse.py::test_chunk
failure with:dask
(https://github.com/dask/dask/commit/76822dbc3da29767d7e6d70d73010046bd52604e)xarray
(https://github.com/pydata/xarray/commit/e26aec9500e04f3b926b248988b976dbfcb9c632)numpy=1.21.1
pandas=1.3.1
Rolling
dask
back to the 2021.7.2 release, but keeping everything else the same,test_chunk
passes. After runninggit bisect
between the latestdask
commit and the 2021.7.2 release, https://github.com/dask/dask/pull/7939 is the point wheretest_chunk
started failing (cc @jakirkham for visibility). I’ll try to dig in a bit more to see if I can find the root cause of the failureEDIT: I should note that the
test_chunk
failure has a similar traceback to https://github.com/dask/dask/issues/5259