Open github-actions[bot] opened 3 months ago
Lots of failures!
The failures below all happen to be fixed by https://github.com/pydata/xarray/pull/9403 (see for example this upstream CI run):
xarray/tests/test_variable.py::TestVariable::test_datetime64_conversion_scalar: AssertionError: assert dtype('<M8[D]') == dtype('<M8[ns]')
+ where dtype('<M8[D]') = <xarray.Variable ()> Size: 8B\nnp.datetime64('2000-01-01').dtype
+ and dtype('<M8[ns]') = <class 'numpy.dtype'>('datetime64[ns]')
+ where <class 'numpy.dtype'> = np.dtype
xarray/tests/test_variable.py::TestVariable::test_timedelta64_conversion_scalar: AssertionError: assert dtype('<m8[D]') == dtype('<m8[ns]')
+ where dtype('<m8[D]') = <xarray.Variable ()> Size: 8B\nnp.timedelta64(1,'D').dtype
+ and dtype('<m8[ns]') = <class 'numpy.dtype'>('timedelta64[ns]')
+ where <class 'numpy.dtype'> = np.dtype
xarray/tests/test_variable.py::TestVariable::test_0d_timedelta: AssertionError: assert dtype('<m8[s]') == dtype('<m8[ns]')
+ where dtype('<m8[s]') = <xarray.Variable ()> Size: 8B\nnp.timedelta64(1,'s').dtype
+ and dtype('<m8[ns]') = <class 'numpy.dtype'>('timedelta64[ns]')
+ where <class 'numpy.dtype'> = np.dtype
xarray/tests/test_variable.py::TestVariable::test_index_0d_numpy_string: TypeError: byte indices must be integers or slices, not tuple
xarray/tests/test_variable.py::TestAsCompatibleData::test_datetime: AssertionError: assert <class 'numpy.ndarray'> is <class 'numpy.datetime64'>
+ where <class 'numpy.ndarray'> = np.ndarray
+ and <class 'numpy.datetime64'> = type(np.datetime64('2000-01-01'))
xarray/tests/test_variable.py::test_datetime_conversion_warning[2000-01-01T00:00:00-True]: Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].
xarray/tests/test_variable.py::test_timedelta_conversion_warning[10 seconds-True]: Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].
New h5netcdf errors are due to upstream changes. I'll fix this as soon as possible.
Update: #9509
@dcherian, there's a new groupby failure:
xarray/tests/test_groupby.py::test_gappy_resample_reductions[any]: IndexError: bool index 1 has shape (11,) instead of (13,)
Do you have any idea about what could cause this?
looks like there's a upcoming change to scipy.sparse
that causes flox
to break. Not sure what exactly, but this should be fixed within flox
.
Edit: looks like it's the same as xarray-contrib/flox#369
@pydata/xarray are any of these failures blocking us from releasing? I'm itching to release both xarray.DataTree
(tracked here https://github.com/pydata/xarray/issues/8572#issuecomment-2436055217) and zarr-python v3 compatibility.
zarr
might be fixed by #9673, and the failing gappy
tests will have to be fixed in flox
(the issue is a change in upstream-dev scipy.sparse
).
I think since the PR for zarr
is there we should wait on that, but no need to wait on fixes for flox
.
we've got a couple new errors related to zarr
(first seen two days ago):
xarray/tests/test_backends.py::TestZarrDictStore::test_manual_chunk[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrDictStore::test_warning_on_bad_chunks[2]: Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].
xarray/tests/test_backends.py::TestZarrDictStore::test_write_uneven_dask_chunks[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrDictStore::test_encoding_chunksizes[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_manual_chunk[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_warning_on_bad_chunks[2]: Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_write_uneven_dask_chunks[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrDirectoryStore::test_encoding_chunksizes[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_manual_chunk[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_warning_on_bad_chunks[2]: Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
Emitted warnings: [].
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_write_uneven_dask_chunks[2]: ValueError: ndarray is not C-contiguous
xarray/tests/test_backends.py::TestZarrWriteEmpty::test_encoding_chunksizes[2]: ValueError: ndarray is not C-contiguous
cc @jhamman
Some new errors related to zarr
:
TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode'
Workflow Run URL
Python 3.12 Test Summary
``` xarray/tests/test_backends.py::TestInstrumentedZarrStore::test_append: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestInstrumentedZarrStore::test_region_write: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_zero_dimensional_variable[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_write_store[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_test_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_load[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_dataset_compute[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_pickle[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_pickle_dataarray[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_None_variable[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_object_dtype[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_string_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_string_encoded_characters[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_numpy_datetime_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_cftime_datetime_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_timedelta_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_float64_data[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_example_1_netcdf[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_coordinates[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_global_coordinates[2]: TypeError: MemoryStore.__init__() got an unexpected keyword argument 'mode' xarray/tests/test_backends.py::TestZarrDictStore::test_roundtrip_coordinates_with_space[2]: Failed: DID NOT WARN. No warnings of type (