Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Nightly upstream-dev CI failed ⚠️ #9277

Open
github-actions bot opened this issue Jul 25, 2024 · 9 comments
Open

⚠️ Nightly upstream-dev CI failed ⚠️ #9277

github-actions bot opened this issue Jul 25, 2024 · 9 comments
Labels
CI Continuous Integration tools

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Jul 25, 2024

Workflow Run URL

Python 3.12 Test Summary
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
xarray/tests/test_cftimeindex.py::test_multiindex: KeyError: '2001-01'
@github-actions github-actions bot added the CI Continuous Integration tools label Jul 25, 2024
@dcherian
Copy link
Contributor

dcherian commented Aug 7, 2024

Lots of failures!

@spencerkclark
Copy link
Member

The failures below all happen to be fixed by #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: [].

@kmuehlbauer
Copy link
Contributor

kmuehlbauer commented Sep 7, 2024

New h5netcdf errors are due to upstream changes. I'll fix this as soon as possible.

Update: #9509

@keewis
Copy link
Collaborator

keewis commented Sep 22, 2024

@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?

@keewis
Copy link
Collaborator

keewis commented Oct 5, 2024

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

@TomNicholas
Copy link
Member

TomNicholas commented Oct 24, 2024

@pydata/xarray are any of these failures blocking us from releasing? I'm itching to release both xarray.DataTree (tracked here #8572 (comment)) and zarr-python v3 compatibility.

@keewis
Copy link
Collaborator

keewis commented Oct 24, 2024

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.

@dcherian
Copy link
Contributor

Filed scipy/scipy#21747

@keewis
Copy link
Collaborator

keewis commented Oct 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools
Projects
None yet
Development

No branches or pull requests

5 participants