Skip to content

Add support for Array API in NamedArray #14494

Add support for Array API in NamedArray

Add support for Array API in NamedArray #14494

Triggered via pull request September 21, 2024 22:51
Status Cancelled
Total duration 1m 51s
Artifacts 1

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

40 errors and 10 warnings
windows-latest py3.10
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
windows-latest py3.10
Could not find micromamba activate xarray-tests in C:\Users\runneradmin\.bash_profile
windows-latest py3.10
The operation was canceled.
windows-latest py3.12
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
windows-latest py3.12
The operation was canceled.
windows-latest py3.12
Could not find micromamba activate xarray-tests in C:\Users\runneradmin\.bash_profile
ubuntu-latest py3.10
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
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
The operation was canceled.
ubuntu-latest py3.11 all-but-dask
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
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
The operation was canceled.
ubuntu-latest py3.12 flaky
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
ubuntu-latest py3.12 flaky
The operation was canceled.
ubuntu-latest py3.10 min-all-deps
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
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#L187
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
The operation was canceled.
ubuntu-latest py3.12
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
ubuntu-latest py3.12
The operation was canceled.
macos-latest py3.10
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
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
The operation was canceled.
ubuntu-latest py3.10 bare-minimum
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
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#L187
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_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_namedarray.py#L258
TestNamedArray.test_from_array_with_explicitly_indexed AssertionError: 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) = <Namedarray, shape=(3, 4, 5), dims=('x', 'y', 'z'), dtype=float32, data=[[[ 0. 1. 2. 3. 4.]\n [ 5. 6. 7. 8. 9..... 36. 37. 38. 39.]]\n\n [[40. 41. 42. 43. 44.]\n [45. 46. 47. 48. 49.]\n [50. 51. 52. 53. 54.]\n [55. 56. 57. 58. 59.]]]>.data
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L375
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 - {'mT', 'to_device', 'device'}
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_namedarray.py#L520
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#L520
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#L520
TestNamedArray.test_expand_dims[z-3-expected_shape2-expected_dims2] FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
macos-latest py3.12
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
macos-latest py3.12
The operation was canceled.
windows-latest py3.10
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
windows-latest py3.12
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.10
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.11 all-but-dask
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.12 flaky
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.10 min-all-deps
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.12
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
macos-latest py3.10
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
ubuntu-latest py3.10 bare-minimum
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
macos-latest py3.12
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
Event File
3.78 KB