Skip to content

Add support for Array API in NamedArray #14593

Add support for Array API in NamedArray

Add support for Array API in NamedArray #14593

Triggered via pull request September 27, 2024 18:51
Status Failure
Total duration 24m 33s
Artifacts 12

ci.yaml

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

Annotations

79 errors
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_dataarray.py#L2187
TestDataArray.test_reset_index FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
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_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-True] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-None-False] 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', 'imag', '__array_ufunc__', '__array_function__'} _arrayapi - {'to_device', 'mT', '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_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-1-True] 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_function__', '__array_ufunc__', 'imag', 'real'} _arrayapi - {'device', 'mT', 'to_device'}
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#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-2-1-False-2] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-2-2-True-2] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-2-2-False-2] ValueError: matrix transpose with ndim < 2 is undefined
macos-latest py3.10: xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-2-3-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__', 'real', 'imag', '__array_function__'} _arrayapi - {'mT', 'device', 'to_device'}
macos-latest py3.12
Process completed with exit code 1.
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_ufunc__', '__array_function__', 'real', 'imag'} _arrayapi - {'device', 'mT', 'to_device'}
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__', 'imag', 'real', '__array_function__'} _arrayapi - {'device', 'mT', 'to_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-4-1-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-1-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-2-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-2-False-2] ValueError: matrix transpose with ndim < 2 is undefined
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 - {'imag', '__array_ufunc__', 'real', '__array_function__'} _arrayapi - {'device', 'to_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__', 'real', 'imag', '__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 - {'__array_ufunc__', 'real', '__array_function__', 'imag'} _arrayapi - {'to_device', 'mT', '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#L574
TestNamedArray.test_broadcast_to[broadcast_dims1-3] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_namedarray.py#L574
TestNamedArray.test_broadcast_to[broadcast_dims2-3] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-sum-2-None-False-1] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-sum-2-None-False-2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-sum-2-1-True-1] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-sum-2-1-True-2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-sum-2-1-False-1] 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-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-numbagg-numpy-1-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-1-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-1-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-1-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-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.

Artifacts

Produced during runtime
Name Size
Event File
3.79 KB
Test results for Linux-3.10
190 KB
Test results for Linux-3.10 bare-minimum
226 KB
Test results for Linux-3.10 min-all-deps
400 KB
Test results for Linux-3.11 all-but-dask
217 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
317 KB
Test results for Windows-3.12
313 KB
Test results for macOS-3.10
194 KB
Test results for macOS-3.12
152 KB