Skip to content

Add support for Array API in NamedArray #14614

Add support for Array API in NamedArray

Add support for Array API in NamedArray #14614

Triggered via pull request October 1, 2024 05:19
Status Failure
Total duration 23m 34s
Artifacts 12

ci.yaml

on: pull_request
detect ci trigger
2s
detect ci trigger
Event File
3s
Event File
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

79 errors and 2 warnings
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_assertions.py#L64
test_assert_allclose[Dataset] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_assertions.py#L189
test_ensure_warnings_not_elevated[assert_duckarray_equal] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_dataset.py#L3024
TestDataset.test_copy_coords[False-expected_orig1] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_computation.py#L286
test_apply_missing_dims FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'real', '__array_function__', '__array_ufunc__', 'imag'} _arrayapi - {'mT', 'to_device', 'device'}
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[None-3-expected_shape0-expected_dims0] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[dim1-3-expected_shape1-expected_dims1] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[z-3-expected_shape2-expected_dims2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims0-expected_sizes0] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
macos-latest py3.10: xarray/tests/test_array_api.py#L41
test_aggregation ValueError: x must be at least 2-dimensional for matrix_transpose
macos-latest py3.10: xarray/tests/test_array_api.py#L49
test_aggregation_skipna ValueError: x must be at least 2-dimensional for matrix_transpose
macos-latest py3.10: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
macos-latest py3.10: xarray/tests/test_namedarray.py#L280
TestNamedArray.test_real_and_imag ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_ufunc__', 'real', '__array_function__', 'imag'} _arrayapi - {'to_device', 'device', 'mT'}
macos-latest py3.10: xarray/tests/test_namedarray.py#L391
TestNamedArray.test_duck_array_class_array_api ValueError: x must be at least 2-dimensional for matrix_transpose
macos-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-True] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-False] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-1-True] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-1-False] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.12 all-but-numba: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.12 all-but-numba: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_function__', '__array_ufunc__', 'imag', 'real'} _arrayapi - {'to_device', 'device', 'mT'}
ubuntu-latest py3.12 all-but-numba
Process completed with exit code 1.
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_array_api.py#L41
test_aggregation ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_array_api.py#L49
test_aggregation_skipna ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_namedarray.py#L280
TestNamedArray.test_real_and_imag ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_ufunc__', 'real', '__array_function__', 'imag'} _arrayapi - {'to_device', 'mT', 'device'}
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_namedarray.py#L391
TestNamedArray.test_duck_array_class_array_api ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-3-3-False-2] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-None-True-2] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-None-False-2] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-1-True-2] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.12: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
macos-latest py3.12: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_ufunc__', 'imag', 'real', '__array_function__'} _arrayapi - {'mT', 'to_device', 'device'}
macos-latest py3.12
Process completed with exit code 1.
ubuntu-latest py3.12: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.12: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_ufunc__', 'imag', 'real', '__array_function__'} _arrayapi - {'to_device', 'device', 'mT'}
ubuntu-latest py3.12
Process completed with exit code 1.
ubuntu-latest py3.10: xarray/tests/test_array_api.py#L41
test_aggregation ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10: xarray/tests/test_array_api.py#L49
test_aggregation_skipna ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.10: xarray/tests/test_namedarray.py#L280
TestNamedArray.test_real_and_imag ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.10: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'__array_ufunc__', 'imag', 'real', '__array_function__'} _arrayapi - {'to_device', 'mT', 'device'}
ubuntu-latest py3.10: xarray/tests/test_namedarray.py#L391
TestNamedArray.test_duck_array_class_array_api ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-True] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-False] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-1-True] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.10: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-1-False] ValueError: matrix transpose with ndim < 2 is undefined
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_array_api.py#L41
test_aggregation ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_array_api.py#L49
test_aggregation_skipna ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_assertions.py#L189
test_ensure_warnings_not_elevated[assert_duckarray_equal] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed assert False + where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable) + where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs: _arrayfunction - {'imag', '__array_ufunc__', 'real', '__array_function__'} _arrayapi - {'device', 'mT', 'to_device'}
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L391
TestNamedArray.test_duck_array_class_array_api ValueError: x must be at least 2-dimensional for matrix_transpose
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[None-3-expected_shape0-expected_dims0] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[dim1-3-expected_shape1-expected_dims1] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L527
TestNamedArray.test_expand_dims[z-3-expected_shape2-expected_dims2] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims0-expected_sizes0] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
windows-latest py3.10: xarray\tests\test_array_api.py#L41
test_aggregation ValueError: x must be at least 2-dimensional for matrix_transpose
windows-latest py3.10: xarray\tests\test_array_api.py#L49
test_aggregation_skipna ValueError: x must be at least 2-dimensional for matrix_transpose
windows-latest py3.10: xarray\tests\test_assertions.py#L189
test_ensure_warnings_not_elevated[assert_duckarray_equal] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
windows-latest py3.10: xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[None-3-expected_shape0-expected_dims0] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[dim1-3-expected_shape1-expected_dims1] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[z-3-expected_shape2-expected_dims2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims0-expected_sizes0] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims1-expected_sizes1] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims2-expected_sizes2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L555
TestNamedArray.test_permute_dims_errors FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_assertions.py#L189
test_ensure_warnings_not_elevated[assert_duckarray_equal] AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-True-std] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-True-median] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-False-std] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-False-median] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-None-std] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-numbagg-numpy-None-None-median] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-None-numpy-1-True-std] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-None-numpy-1-True-median] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_rolling.py#L124
TestDataArrayRolling.test_rolling_wrapped_bottleneck[1-None-numpy-1-False-std] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.12 flaky
Failed to save: Unable to reserve cache with key Linux-X64-py3.12-2024-10-01-eab6c91e6ec0ddd65a58a667bf2eac0cfc1597afc982481ab29a79b2e88a0d43-linux-64-xarray-tests-args-ad891c7-root-dcc80ee-file-f54552b1b31ccc60cbed6c92fd81de37dc0b783f0661df95f6ef74a7279bdb28, another job may be creating this cache. More details: Cache already exists. Scope: refs/pull/8344/merge, Key: Linux-X64-py3.12-2024-10-01-eab6c91e6ec0ddd65a58a667bf2eac0cfc1597afc982481ab29a79b2e88a0d43-linux-64-xarray-tests-args-ad891c7-root-dcc80ee-file-f54552b1b31ccc60cbed6c92fd81de37dc0b783f0661df95f6ef74a7279bdb28, Version: a2d23e1ed2659ed82c2139af6b060439ac5345ea8dad0c956f30fdd3bfee6aca
ubuntu-latest py3.12
Failed to save: Unable to reserve cache with key Linux-X64-py3.12-2024-10-01-eab6c91e6ec0ddd65a58a667bf2eac0cfc1597afc982481ab29a79b2e88a0d43-linux-64-xarray-tests-args-ad891c7-root-dcc80ee-file-f54552b1b31ccc60cbed6c92fd81de37dc0b783f0661df95f6ef74a7279bdb28, another job may be creating this cache. More details: Cache already exists. Scope: refs/pull/8344/merge, Key: Linux-X64-py3.12-2024-10-01-eab6c91e6ec0ddd65a58a667bf2eac0cfc1597afc982481ab29a79b2e88a0d43-linux-64-xarray-tests-args-ad891c7-root-dcc80ee-file-f54552b1b31ccc60cbed6c92fd81de37dc0b783f0661df95f6ef74a7279bdb28, Version: a2d23e1ed2659ed82c2139af6b060439ac5345ea8dad0c956f30fdd3bfee6aca

Artifacts

Produced during runtime
Name Size
Event File
3.78 KB
Test results for Linux-3.10
191 KB
Test results for Linux-3.10 bare-minimum
232 KB
Test results for Linux-3.10 min-all-deps
401 KB
Test results for Linux-3.11 all-but-dask
216 KB
Test results for Linux-3.12
148 KB
Test results for Linux-3.12 all-but-numba
145 KB
Test results for Linux-3.12 flaky
660 Bytes
Test results for Windows-3.10
320 KB
Test results for Windows-3.12
320 KB
Test results for macOS-3.10
192 KB
Test results for macOS-3.12
155 KB