⚠️ Nightly upstream-dev CI failed ⚠️

Aperta
#11,749 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
numpy, pandas, python
Ambito
data, testing

Direzione di ricerca

Start with xarray/tests/test_groupby.py::test_groupby_bins_datetime_mean and inspect the failing test and the groupby bin mean implementation it exercises. Reproduce the failure from the linked workflow run or run that test locally; done means the test passes while preserving the expected datetime mean behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

CI upstream issue

Workflow Run URL

Python 3.13 Test Summary
xarray/tests/backends/test_api.py::TestGenericNetCDFData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_datatree.py::TestNetCDF4DataTree::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrWriteEmpty::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrWriteEmpty::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4ViaDaskData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF3ViaNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_netCDF4.py::TestNetCDF4ClassicViaNetCDF4Data::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyInMemoryData::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyFileObject::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_scipy.py::TestScipyFilePath::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDictStore::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDictStore::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrNoConsolidatedMetadataSupport::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/test_concat.py::TestConcatDataset::test_concat_simple[dim1-True-different]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_concat.py::TestConcatDataset::test_concat_simple[dim1-True-minimal]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_endian: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDirectoryStore::test_roundtrip_endian[2]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/backends/test_zarr.py::TestZarrDirectoryStore::test_roundtrip_endian[3]: pandas.errors.Pandas4Warning: Storing data with non-native byte order (got dtype '>i2') is deprecated and will raise in a future version. Convert with `arr.astype(arr.dtype.newbyteorder('='))` first.
xarray/tests/test_merge.py::TestMergeFunction::test_merge_datasets[False]: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_merge.py::TestNewDefaults::test_merge_datasets_false_warning: AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
R   var5     (dim1) int64[pyarrow] 64B 8 1 2 3 6 4 9 5
xarray/tests/test_missing.py::test_interpolate_pd_compat_non_uniform_index: AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0

Mismatched elements: 1 / 10000 (0.01%)
Mismatch at index:
 [67, 62]: -9.762716328576282e-06 (ACTUAL), -9.76271479558033e-06 (DESIRED)
Max absolute difference among violations: 1.53299595e-12
Max relative difference among violations: 1.5702558e-07
 ACTUAL: array([[-1.423825,  1.263728, -0.870662, ...,       nan, -0.965479,
         0.360035],
       [-0.244553, -1.995857, -0.155248, ...,  0.216059, -0.964824,...
 DESIRED: array([[-1.423825,  1.263728, -0.870662, ...,       nan, -0.965479,
         0.360035],
       [-0.244553, -1.995857, -0.155248, ...,  0.216059, -0.964824,...
properties/test_pandas_roundtrip.py::test_roundtrip_1d_pandas_extension_array[True-pyarrow]: TypeError: 'ArrowExtensionArray' with dtype bool[pyarrow] does not support operation 'all' with pyarrow version 27.0.0.dev151. 'all' may be supported by upgrading pyarrow.
properties/test_pandas_roundtrip.py::test_roundtrip_1d_pandas_extension_array[False-pyarrow]: TypeError: 'ArrowExtensionArray' with dtype bool[pyarrow] does not support operation 'all' with pyarrow version 27.0.0.dev151. 'all' may be supported by upgrading pyarrow.
Lingua principale
Python
Stelle
4.2k
Fork
1.5k
Merge medio
2g 20h
PR unite (30g)
70

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pydata/xarray

Tutte le issue di pydata/xarray

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.