Skip to content

Add support for Array API in NamedArray #173

Add support for Array API in NamedArray

Add support for Array API in NamedArray #173

GitHub Actions / Test Results failed Sep 2, 2024 in 0s

14 errors, 2 fail, 2 skipped in 46s

 1 files  + 1  1 suites  +1   46s ⏱️ +46s
18 tests +18  0 ✅ ±0  2 💤 +2  2 ❌ +2  14 🔥 +14 
60 runs  +60  0 ✅ ±0  2 💤 +2  2 ❌ +2  56 🔥 +56 

Results for commit d05791c. ± Comparison against earlier commit d31fe95.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_backends with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_combine with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_combine.py#x1B[0m:27: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_combine.py#x1B[0m:27: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_combine.py#x1B[0m:27: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_combine.py#x1B[0m:27: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_computation with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_computation.py#x1B[0m:2278: in <module>
    xr.DataArray([2, 3, 4], dims="degree", coords={"degree": [0, 1, 2]}),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2], dtype='int64'), dtype=dtype('int64')), dims=('degree',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_computation.py#x1B[0m:2278: in <module>
    xr.DataArray([2, 3, 4], dims="degree", coords={"degree": [0, 1, 2]}),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2], dtype='int64'), dtype=dtype('int64')), dims=('degree',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_computation.py#x1B[0m:2278: in <module>
    xr.DataArray([2, 3, 4], dims="degree", coords={"degree": [0, 1, 2]}),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2], dtype='int64'), dtype=dtype('int64')), dims=('degree',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_computation.py#x1B[0m:2278: in <module>
    xr.DataArray([2, 3, 4], dims="degree", coords={"degree": [0, 1, 2]}),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2], dtype='int64'), dtype=dtype('int64')), dims=('degree',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_concat with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_concat.py#x1B[0m:24: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_concat.py#x1B[0m:24: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_concat.py#x1B[0m:24: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_concat.py#x1B[0m:24: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_conventions with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_conventions.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import CFEncodedBase
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_conventions.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import CFEncodedBase
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_conventions.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import CFEncodedBase
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_conventions.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import CFEncodedBase
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_dask with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import create_tmp_file
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import create_tmp_file
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import create_tmp_file
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dask.py#x1B[0m:29: in <module>
    from xarray.tests.test_backends import create_tmp_file
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_dataarray with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:76: in <module>
    class TestDataArray:
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:3114: in TestDataArray
    DataArray([1], [("x", [1])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:76: in <module>
    class TestDataArray:
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:3114: in TestDataArray
    DataArray([1], [("x", [1])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:76: in <module>
    class TestDataArray:
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:3114: in TestDataArray
    DataArray([1], [("x", [1])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:76: in <module>
    class TestDataArray:
#x1B[1m#x1B[31mxarray/tests/test_dataarray.py#x1B[0m:3114: in TestDataArray
    DataArray([1], [("x", [1])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_dataset with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_distributed with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_distributed.py#x1B[0m:42: in <module>
    from xarray.tests.test_backends import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_distributed.py#x1B[0m:42: in <module>
    from xarray.tests.test_backends import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_distributed.py#x1B[0m:42: in <module>
    from xarray.tests.test_backends import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_distributed.py#x1B[0m:42: in <module>
    from xarray.tests.test_backends import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_backends.py#x1B[0m:89: in <module>
    from xarray.tests.test_dataset import (
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_groupby with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_groupby.py#x1B[0m:198: in <module>
    xr.DataArray([1, 2, 3, 4, 5, 6], [("x", [1, 1, 1, 2, 2, 2])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 1, 1, 2, 2, 2], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_groupby.py#x1B[0m:198: in <module>
    xr.DataArray([1, 2, 3, 4, 5, 6], [("x", [1, 1, 1, 2, 2, 2])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 1, 1, 2, 2, 2], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_groupby.py#x1B[0m:198: in <module>
    xr.DataArray([1, 2, 3, 4, 5, 6], [("x", [1, 1, 1, 2, 2, 2])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 1, 1, 2, 2, 2], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_groupby.py#x1B[0m:198: in <module>
    xr.DataArray([1, 2, 3, 4, 5, 6], [("x", [1, 1, 1, 2, 2, 2])]),
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 1, 1, 2, 2, 2], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_interp with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_interp.py#x1B[0m:23: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_interp.py#x1B[0m:23: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_interp.py#x1B[0m:23: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_interp.py#x1B[0m:23: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_merge with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_merge.py#x1B[0m:10: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_merge.py#x1B[0m:10: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_merge.py#x1B[0m:10: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_merge.py#x1B[0m:10: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_options with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_options.py#x1B[0m:9: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_options.py#x1B[0m:9: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_options.py#x1B[0m:9: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_options.py#x1B[0m:9: in <module>
    from xarray.tests.test_dataset import create_test_data
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1360: in _find_and_load
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:1331: in _find_and_load_unlocked
    ???
#x1B[1m#x1B[31m<frozen importlib._bootstrap>#x1B[0m:935: in _load_unlocked
    ???
#x1B[1m#x1B[31m../../../micromamba/envs/xarray-tests/lib/python3.12/site-packages/_pytest/assertion/rewrite.py#x1B[0m:174: in exec_module
    exec(co, module.__dict__)
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:280: in <module>
    class TestDataset:
#x1B[1m#x1B[31mxarray/tests/test_dataset.py#x1B[0m:2987: in TestDataset
    xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:478: in __init__
    variable = Variable(dims, data, attrs, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([1, 2], dtype='int64'), dtype=dtype('int64')), dims=('a',)#x1B[0m

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

xarray.tests.test_sparse with error

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
collection failure
collection failure
collection failure
collection failure
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:354: in <module>
    (do("assign_coords", x=make_xrarray({"x": 10}).x + 1), True),
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:47: in make_xrarray
    return xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:354: in <module>
    (do("assign_coords", x=make_xrarray({"x": 10}).x + 1), True),
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:47: in make_xrarray
    return xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:354: in <module>
    (do("assign_coords", x=make_xrarray({"x": 10}).x + 1), True),
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:47: in make_xrarray
    return xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:354: in <module>
    (do("assign_coords", x=make_xrarray({"x": 10}).x + 1), True),
#x1B[1m#x1B[31mxarray/tests/test_sparse.py#x1B[0m:47: in make_xrarray
    return xr.DataArray(
#x1B[1m#x1B[31mxarray/core/dataarray.py#x1B[0m:481: in __init__
    coords = create_coords_with_default_indexes(coords)
#x1B[1m#x1B[31mxarray/core/coordinates.py#x1B[0m:1001: in create_coords_with_default_indexes
    variable = as_variable(obj, name=name, auto_convert=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:131: in as_variable
    obj = obj.copy(deep=False)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2782: in copy
    return self._replace(data=ndata, attrs=attrs, encoding=encoding)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:960: in _replace
    return type(self)(dims, data, attrs, encoding, fastpath=True)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:2625: in __init__
    super().__init__(dims, data, attrs, encoding, fastpath)
#x1B[1m#x1B[31mxarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
#x1B[1m#x1B[31mxarray/namedarray/core.py#x1B[0m:268: in __init__
    raise NotImplementedError(
#x1B[1m#x1B[31mE   NotImplementedError: data is not a valid duckarray, got data=PandasIndexingAdapter(array=Index([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64'), dtype=dtype('int64')), dims=('x',)#x1B[0m

Check warning on line 0 in xarray.tests.test_tutorial.TestLoadDataset

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_download_from_github_load_without_cache (xarray.tests.test_tutorial.TestLoadDataset) failed

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
NotImplementedError: data is not a valid duckarray, got data=LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7fd972cc6f80>, key=BasicIndexer((slice(None, None, None),))), dims=('dim_0',)
self = <xarray.tests.test_tutorial.TestLoadDataset object at 0x7fd973524c20>
tmp_path = PosixPath('/tmp/pytest-of-runner/pytest-0/popen-gw1/test_download_from_github_load0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd976e3b7d0>

    def test_download_from_github_load_without_cache(
        self, tmp_path, monkeypatch
    ) -> None:
        cache_dir = tmp_path / tutorial._default_cache_dir_name
    
>       ds_nocache = tutorial.open_dataset(
            self.testfile, cache=False, cache_dir=cache_dir
        ).load()

#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/tests/test_tutorial.py#x1B[0m:26: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/tutorial.py#x1B[0m:162: in open_dataset
    ds = _open_dataset(filepath, engine=engine, **kws)
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/api.py#x1B[0m:611: in open_dataset
    backend_ds = backend.open_dataset(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:659: in open_dataset
    ds = store_entrypoint.open_dataset(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/store.py#x1B[0m:43: in open_dataset
    vars, attrs = filename_or_obj.load()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/common.py#x1B[0m:222: in load
    (_decode_variable_name(k), v) for k, v in self.get_variables().items()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:461: in get_variables
    return FrozenDict(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/core/utils.py#x1B[0m:416: in FrozenDict
    return Frozen(dict(*args, **kwargs))
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:462: in <genexpr>
    (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:458: in open_store_variable
    return Variable(dimensions, data, attributes, encoding)
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <[AttributeError("'Variable' object has no attribute '_data'") raised in repr()] Variable object at 0x7fd9724b0d00>
dims = ('dim_0',)
data = LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7fd972cc6f80>, key=BasicIndexer((slice(None, None, None),)))
attrs = {}

    def __init__(
        self,
        dims: _DimsLike,
        data: duckarray[Any, _DType_co],
        attrs: _AttrsLike = None,
    ):
        if not isinstance(data, _arrayfunction_or_api):
>           raise NotImplementedError(
                f"data is not a valid duckarray, got {data=}, {dims=}"
            )
#x1B[1m#x1B[31mE           NotImplementedError: data is not a valid duckarray, got data=LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7fd972cc6f80>, key=BasicIndexer((slice(None, None, None),))), dims=('dim_0',)#x1B[0m

#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/namedarray/core.py#x1B[0m:268: NotImplementedError

Check warning on line 0 in xarray.tests.test_tutorial.TestLoadDataset

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_download_from_github (xarray.tests.test_tutorial.TestLoadDataset) failed

artifacts/Test results for Linux-3.12 flaky/pytest.xml [took 0s]
Raw output
NotImplementedError: data is not a valid duckarray, got data=LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7f34b72e8b00>, key=BasicIndexer((slice(None, None, None),))), dims=('dim_0',)
self = <xarray.tests.test_tutorial.TestLoadDataset object at 0x7f34b8ec3b00>
tmp_path = PosixPath('/tmp/pytest-of-runner/pytest-0/popen-gw0/test_download_from_github0')

    def test_download_from_github(self, tmp_path) -> None:
        cache_dir = tmp_path / tutorial._default_cache_dir_name
>       ds = tutorial.open_dataset(self.testfile, cache_dir=cache_dir).load()

#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/tests/test_tutorial.py#x1B[0m:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/tutorial.py#x1B[0m:162: in open_dataset
    ds = _open_dataset(filepath, engine=engine, **kws)
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/api.py#x1B[0m:611: in open_dataset
    backend_ds = backend.open_dataset(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:659: in open_dataset
    ds = store_entrypoint.open_dataset(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/store.py#x1B[0m:43: in open_dataset
    vars, attrs = filename_or_obj.load()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/common.py#x1B[0m:222: in load
    (_decode_variable_name(k), v) for k, v in self.get_variables().items()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:461: in get_variables
    return FrozenDict(
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/core/utils.py#x1B[0m:416: in FrozenDict
    return Frozen(dict(*args, **kwargs))
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:462: in <genexpr>
    (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/backends/netCDF4_.py#x1B[0m:458: in open_store_variable
    return Variable(dimensions, data, attributes, encoding)
#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/core/variable.py#x1B[0m:400: in __init__
    super().__init__(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <[AttributeError("'Variable' object has no attribute '_data'") raised in repr()] Variable object at 0x7f34b72bd000>
dims = ('dim_0',)
data = LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7f34b72e8b00>, key=BasicIndexer((slice(None, None, None),)))
attrs = {}

    def __init__(
        self,
        dims: _DimsLike,
        data: duckarray[Any, _DType_co],
        attrs: _AttrsLike = None,
    ):
        if not isinstance(data, _arrayfunction_or_api):
>           raise NotImplementedError(
                f"data is not a valid duckarray, got {data=}, {dims=}"
            )
#x1B[1m#x1B[31mE           NotImplementedError: data is not a valid duckarray, got data=LazilyIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7f34b72e8b00>, key=BasicIndexer((slice(None, None, None),))), dims=('dim_0',)#x1B[0m

#x1B[1m#x1B[31m/home/runner/work/xarray/xarray/xarray/namedarray/core.py#x1B[0m:268: NotImplementedError

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 skipped tests found

There are 2 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
xarray.tests.test_cupy
xarray.tests.test_units

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

18 tests found

There are 18 tests, see "Raw output" for the full list of tests.
Raw output
xarray.tests.test_backends
xarray.tests.test_combine
xarray.tests.test_computation
xarray.tests.test_concat
xarray.tests.test_conventions
xarray.tests.test_cupy
xarray.tests.test_dask
xarray.tests.test_dataarray
xarray.tests.test_dataset
xarray.tests.test_distributed
xarray.tests.test_groupby
xarray.tests.test_interp
xarray.tests.test_merge
xarray.tests.test_options
xarray.tests.test_sparse
xarray.tests.test_tutorial.TestLoadDataset ‑ test_download_from_github
xarray.tests.test_tutorial.TestLoadDataset ‑ test_download_from_github_load_without_cache
xarray.tests.test_units