Skip to content

Add support for Array API in NamedArray #13907

Add support for Array API in NamedArray

Add support for Array API in NamedArray #13907

Triggered via pull request August 22, 2024 21:09
Status Failure
Total duration 26m 28s
Artifacts 11

ci.yaml

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

Annotations

91 errors
ubuntu-latest py3.12 flaky
Process completed with exit code 1.
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_accessor_dt.py#L107
TestDatetimeAccessor.test_total_seconds DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_accessor_dt.py#L140
TestDatetimeAccessor.test_strftime DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_dataarray.py#L1462
TestDataArray.test_coords DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_coarsen.py#L244
test_coarsen_da_reduce[numpy-sum-1-1] DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_coarsen.py#L244
test_coarsen_da_reduce[numpy-sum-1-2] DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_assertions.py#L187
test_ensure_warnings_not_elevated[assert_duckarray_equal] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_assertions.py#L187
test_ensure_warnings_not_elevated[assert_duckarray_allclose] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_coarsen.py#L244
test_coarsen_da_reduce[numpy-sum-2-1] DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_coarsen.py#L244
test_coarsen_da_reduce[numpy-sum-2-2] DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.10 bare-minimum: xarray/tests/test_coarsen.py#L244
test_coarsen_da_reduce[numpy-sum-3-1] DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, 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. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L5827
TestZarrRegionAuto.test_zarr_region_auto_all ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_array_api.py#L33
test_arithmetic TypeError: Only numeric dtypes are allowed in add
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_array_api.py#L81
test_broadcast_during_arithmetic ValueError: operands could not be broadcast together with shapes (2,3) (2,)
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L5851
TestZarrRegionAuto.test_zarr_region_auto_mixed ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L5877
TestZarrRegionAuto.test_zarr_region_auto_noncontiguous ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L5909
TestZarrRegionAuto.test_zarr_region_auto_new_coord_vals ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L5930
TestZarrRegionAuto.test_zarr_region_index_write ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_backends.py#L6004
test_zarr_region ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_calendar_ops.py#L85
test_convert_calendar_360_days[year-standard-360_day-D] ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
ubuntu-latest py3.11 all-but-dask: xarray/tests/test_calendar_ops.py#L85
test_convert_calendar_360_days[year-360_day-proleptic_gregorian-D] ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
macos-latest py3.10: xarray/tests/test_array_api.py#L33
test_arithmetic TypeError: Only numeric dtypes are allowed in add
macos-latest py3.10: xarray/tests/test_array_api.py#L81
test_broadcast_during_arithmetic ValueError: operands could not be broadcast together with shapes (2,3) (2,)
macos-latest py3.10: xarray/tests/test_backends.py#L4725
TestDask.test_open_and_do_math ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
macos-latest py3.10: xarray/tests/test_backends.py#L5524
test_open_fsspec numpy._core._exceptions._UFuncBinaryResolutionError: ufunc 'add' cannot use operands with types dtype('<M8[ns]') and dtype('O')
macos-latest py3.10: xarray/tests/test_backends.py#L5827
TestZarrRegionAuto.test_zarr_region_auto_all ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.10: xarray/tests/test_backends.py#L5851
TestZarrRegionAuto.test_zarr_region_auto_mixed ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.10: xarray/tests/test_backends.py#L5877
TestZarrRegionAuto.test_zarr_region_auto_noncontiguous ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.10: xarray/tests/test_backends.py#L5909
TestZarrRegionAuto.test_zarr_region_auto_new_coord_vals ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.10: xarray/tests/test_backends.py#L5930
TestZarrRegionAuto.test_zarr_region_index_write ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.10: xarray/tests/test_backends.py#L6004
test_zarr_region ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10: xarray/tests/test_array_api.py#L33
test_arithmetic TypeError: Only numeric dtypes are allowed in add
ubuntu-latest py3.10: xarray/tests/test_array_api.py#L81
test_broadcast_during_arithmetic ValueError: operands could not be broadcast together with shapes (2,3) (2,)
ubuntu-latest py3.10: xarray/tests/test_backends.py#L4725
TestDask.test_open_and_do_math ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5524
test_open_fsspec numpy._core._exceptions._UFuncBinaryResolutionError: ufunc 'add' cannot use operands with types dtype('<M8[ns]') and dtype('O')
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5827
TestZarrRegionAuto.test_zarr_region_auto_all ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5851
TestZarrRegionAuto.test_zarr_region_auto_mixed ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5877
TestZarrRegionAuto.test_zarr_region_auto_noncontiguous ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5909
TestZarrRegionAuto.test_zarr_region_auto_new_coord_vals ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10: xarray/tests/test_dataarray.py#L860
TestDataArray.test_setitem_vectorized ValueError: operands could not be broadcast together with shapes (2,2,2,5) (2,)
ubuntu-latest py3.10: xarray/tests/test_backends.py#L5930
TestZarrRegionAuto.test_zarr_region_index_write ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_array_api.py#L33
test_arithmetic TypeError: Only numeric dtypes are allowed in add
macos-latest py3.12: xarray/tests/test_array_api.py#L81
test_broadcast_during_arithmetic ValueError: operands could not be broadcast together with shapes (2,3) (2,)
macos-latest py3.12: xarray/tests/test_backends.py#L4725
TestDask.test_open_and_do_math ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
macos-latest py3.12: xarray/tests/test_backends.py#L5524
test_open_fsspec numpy._core._exceptions._UFuncBinaryResolutionError: ufunc 'add' cannot use operands with types dtype('<M8[ns]') and dtype('O')
macos-latest py3.12: xarray/tests/test_backends.py#L5827
TestZarrRegionAuto.test_zarr_region_auto_all ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_backends.py#L5851
TestZarrRegionAuto.test_zarr_region_auto_mixed ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_backends.py#L5877
TestZarrRegionAuto.test_zarr_region_auto_noncontiguous ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_backends.py#L5909
TestZarrRegionAuto.test_zarr_region_auto_new_coord_vals ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_backends.py#L5930
TestZarrRegionAuto.test_zarr_region_index_write ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
macos-latest py3.12: xarray/tests/test_backends.py#L6004
test_zarr_region ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_array_api.py#L33
test_arithmetic TypeError: Only numeric dtypes are allowed in add
ubuntu-latest py3.12: xarray/tests/test_array_api.py#L81
test_broadcast_during_arithmetic ValueError: operands could not be broadcast together with shapes (2,3) (2,)
ubuntu-latest py3.12: xarray/tests/test_backends.py#L4725
TestDask.test_open_and_do_math ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5524
test_open_fsspec numpy._core._exceptions._UFuncBinaryResolutionError: ufunc 'add' cannot use operands with types dtype('<M8[ns]') and dtype('O')
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5827
TestZarrRegionAuto.test_zarr_region_auto_all ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5851
TestZarrRegionAuto.test_zarr_region_auto_mixed ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5877
TestZarrRegionAuto.test_zarr_region_auto_noncontiguous ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5909
TestZarrRegionAuto.test_zarr_region_auto_new_coord_vals ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_backends.py#L5930
TestZarrRegionAuto.test_zarr_region_index_write ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.12: xarray/tests/test_backends.py#L6004
test_zarr_region ValueError: dimensions () must have the same length as the number of data dimensions, ndim=2
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_accessor_dt.py#L107
TestDatetimeAccessor.test_total_seconds TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_accessor_dt.py#L140
TestDatetimeAccessor.test_strftime TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L3070
TestZarrWriteEmpty.test_write_read_select_write TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-all-nested-t] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-all-by_coords-None] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-minimal-nested-t] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-minimal-by_coords-None] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L800
TestZarrKVStoreV3.test_isel_dataarray TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-different-nested-t] TypeError: asarray() got an unexpected keyword argument 'device'
ubuntu-latest py3.10 min-all-deps: xarray/tests/test_backends.py#L4222
TestOpenMFDatasetWithDataVarsAndCoordsKw.test_open_mfdataset_does_same_as_concat[outer-different-by_coords-None] TypeError: asarray() got an unexpected keyword argument 'device'
windows-latest py3.10: xarray\tests\test_accessor_dt.py#L107
TestDatetimeAccessor.test_total_seconds FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_accessor_dt.py#L140
TestDatetimeAccessor.test_strftime FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L800
TestZarrKVStoreV3.test_isel_dataarray FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L800
TestH5NetCDFData.test_isel_dataarray FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L1346
TestZarrKVStoreV3.test_append_overwrite_values FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L1346
TestH5NetCDFData.test_append_overwrite_values FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L1355
TestH5NetCDFData.test_append_with_invalid_dim_raises FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_backends.py#L1493
TestH5NetCDFData.test_write_groups FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_array_api.py#L32
test_arithmetic FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.10: xarray\tests\test_array_api.py#L81
test_broadcast_during_arithmetic FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_accessor_dt.py#L107
TestDatetimeAccessor.test_total_seconds FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_accessor_dt.py#L140
TestDatetimeAccessor.test_strftime FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_backends.py#L800
TestZarrKVStoreV3.test_isel_dataarray FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_backends.py#L800
TestH5NetCDFData.test_isel_dataarray FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_backends.py#L1346
TestZarrKVStoreV3.test_append_overwrite_values FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_backends.py#L1346
TestH5NetCDFData.test_append_overwrite_values FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_array_api.py#L32
test_arithmetic FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_backends.py#L1355
TestH5NetCDFData.test_append_with_invalid_dim_raises FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: xarray\tests\test_array_api.py#L81
test_broadcast_during_arithmetic FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
windows-latest py3.12: 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_'?

Artifacts

Produced during runtime
Name Size
Event File Expired
3.88 KB
Test results for Linux-3.10 Expired
225 KB
Test results for Linux-3.10 bare-minimum Expired
346 KB
Test results for Linux-3.10 min-all-deps Expired
556 KB
Test results for Linux-3.11 all-but-dask Expired
233 KB
Test results for Linux-3.12 Expired
221 KB
Test results for Linux-3.12 flaky Expired
1.07 KB
Test results for Windows-3.10 Expired
466 KB
Test results for Windows-3.12 Expired
445 KB
Test results for macOS-3.10 Expired
228 KB
Test results for macOS-3.12 Expired
227 KB