⚠️ Nightly upstream-dev CI failed ⚠️

Abierto
#11,749 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
numpy, pandas, python
Área
data, testing

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
4.2k
Forks
1.5k
Merge medio
2 d 20 h
PR fusionados (30 d)
70

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pydata/xarray

Todos los issues de pydata/xarray

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.