Skip to content

Add support for Array API in NamedArray #14594

Add support for Array API in NamedArray

Add support for Array API in NamedArray #14594

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

ci.yaml

on: pull_request
detect ci trigger
6s
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 - {'__array_ufunc__', 'imag', 'real', '__array_function__'} _arrayapi - {'device', 'mT', 'to_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.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__', 'imag', 'real'} _arrayapi - {'mT', 'device', '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 - {'mT', 'to_device', '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
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', 'imag', '__array_function__'} _arrayapi - {'device', 'to_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: 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 - {'real', '__array_function__', '__array_ufunc__', 'imag'} _arrayapi - {'mT', 'device', 'to_device'}
ubuntu-latest py3.12
Process completed with exit code 1.
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 - {'real', '__array_function__', 'imag', '__array_ufunc__'} _arrayapi - {'mT', 'to_device', 'device'}
macos-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_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: xarray/tests/test_rolling.py#L207
TestDataArrayRolling.test_rolling_pandas_compat[numbagg-1-2-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-2-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-3-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-3-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 - {'real', '__array_ufunc__', 'imag', '__array_function__'} _arrayapi - {'to_device', 'device', 'mT'}
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[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#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
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_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
windows-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'}
windows-latest py3.12: 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.12: 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.12: 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.12: 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.12: 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.12: 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.12: 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.

Artifacts

Produced during runtime
Name Size
Event File
3.79 KB
Test results for Linux-3.10
195 KB
Test results for Linux-3.10 bare-minimum
234 KB
Test results for Linux-3.10 min-all-deps
396 KB
Test results for Linux-3.11 all-but-dask
216 KB
Test results for Linux-3.12
147 KB
Test results for Linux-3.12 all-but-numba
145 KB
Test results for Linux-3.12 flaky
662 Bytes
Test results for Windows-3.10
324 KB
Test results for Windows-3.12
308 KB
Test results for macOS-3.10
197 KB
Test results for macOS-3.12
159 KB