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 ⚠️ #9810

Closed
github-actions bot opened this issue Nov 22, 2024 · 2 comments · Fixed by #9879
Closed

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

github-actions bot opened this issue Nov 22, 2024 · 2 comments · Fixed by #9879
Labels
CI Continuous Integration tools

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 22, 2024

Workflow Run URL

Python 3.12 Test Summary
xarray/tests/test_cftimeindex.py::test_multiindex: KeyError: '2001-01'
xarray/tests/test_formatting.py::test_display_nbytes: AssertionError: assert '<xarray.Data...197 1198 1199' == '<xarray.Data...197 1198 1199'
  
  Skipping 86 identical leading characters in diff, use -v to show
  - 8, 1199], dtype=int16)
  + 8, 1199], shape=(1200,), dtype=int16)
  ?          +++++++++++++++
    Coordinates:
      * foo      (foo) int16 2kB 0 1 2 3 4 5 6 ... 1194 1195 1196 1197 1198 1199
@github-actions github-actions bot added the CI Continuous Integration tools label Nov 22, 2024
@keewis
Copy link
Collaborator

keewis commented Nov 23, 2024

xarray/tests/test_formatting.py::test_display_nbytes: AssertionError: assert '<xarray.Data...197 1198 1199' == '<xarray.Data...197 1198 1199'

it looks like numpy changed their repr to sometimes include the shape, which I'm not sure we'd want? Not sure, though, because this only affects the data section of Variable / DataArray.

Other than that, we have a bunch of zarr errors:

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

three dask / distributed errors:

xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe: AssertionError: DataFrame.index are different

Attribute "dtype" are different
[left]:  object
[right]: StringDtype(storage=pyarrow, na_value=<NA>)
xarray/tests/test_distributed.py::test_async: IndexError: tuple index out of range
xarray/tests/test_variable.py::TestVariableWithDask::test_multiindex: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

a CFTimeIndex error:

xarray/tests/test_cftimeindex.py::test_multiindex: KeyError: '2001-01'

and two datetime + dask errors:

xarray/tests/test_variable.py::TestVariableWithDask::test_datetime64_conversion: assert True == False
xarray/tests/test_variable.py::TestVariableWithDask::test_timedelta64_conversion: assert True == False

@dcherian
Copy link
Contributor

Zarr failures will be fixed upstream: zarr-developers/zarr-python#2501, zarr-developers/zarr-python#2515

dcherian added a commit to dcherian/xarray that referenced this issue Dec 11, 2024
1. Fix numpy formatting test (Closes pydata#9873)
2. xfail cftimeindex test (pydata#9878)

Closes pydata#9810
dcherian added a commit to dcherian/xarray that referenced this issue Dec 11, 2024
1. Fix numpy formatting test (Closes pydata#9873)
2. xfail cftimeindex test (pydata#9878)

Closes pydata#9810
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

Successfully merging a pull request may close this issue.

2 participants