Add support for Array API in NamedArray #14488
ci.yaml
on: pull_request
detect ci trigger
4s
Event File
3s
Matrix: test
Annotations
78 errors and 2 warnings
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_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
|
macos-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
|
macos-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
|
macos-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
|
macos-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
|
macos-latest py3.12:
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
|
macos-latest py3.12:
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__', 'imag', '__array_function__', 'real'}
_arrayapi - {'to_device', 'device', 'mT'}
|
macos-latest py3.12
Process completed with exit code 1.
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[year]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[month]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[day]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_backends_api.py#L47
test_custom_engine
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_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[hour]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_backends_api.py#L54
test_multiindex
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[minute]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[second]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[microsecond]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 bare-minimum:
xarray/tests/test_coding_times.py#L671
test_decode_cf[360_day]
TypeError: Failed to decode variable 'time': asarray() got an unexpected keyword argument 'copy'
|
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#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.11 all-but-dask:
xarray/tests/test_namedarray.py#L273
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#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 - {'real', '__array_function__', '__array_ufunc__', 'imag'}
_arrayapi - {'mT', 'device', 'to_device'}
|
ubuntu-latest py3.11 all-but-dask:
xarray/tests/test_namedarray.py#L384
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-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.11 all-but-dask:
xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-3-True-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
ubuntu-latest py3.12:
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.12:
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 - {'imag', '__array_ufunc__', '__array_function__', 'real'}
_arrayapi - {'mT', 'device', 'to_device'}
|
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#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:
xarray/tests/test_namedarray.py#L273
TestNamedArray.test_real_and_imag
ValueError: matrix transpose with ndim < 2 is undefined
|
ubuntu-latest py3.10:
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__', 'imag', 'real', '__array_function__'}
_arrayapi - {'mT', 'device', 'to_device'}
|
ubuntu-latest py3.10:
xarray/tests/test_namedarray.py#L384
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_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[year]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_backends.py#L2875
TestZarrWriteEmpty.test_write_region[True-True-True-True]
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_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[month]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_backends.py#L2875
TestZarrWriteEmpty.test_write_region[True-True-True-None]
AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 80B dask.array<chunksize=(2,), meta=np.ndarray>
R u (x) float64 80B dask.array<chunksize=(2,), meta=np.ndarray>
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[day]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_backends.py#L2888
TestZarrWriteEmpty.test_write_region[None-False-False-False]
AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 80B dask.array<chunksize=(2,), meta=np.ndarray>
R u (x) int64 80B 1 2 3 4 5 6 7 8 9 10
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[hour]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_backends.py#L2888
TestZarrWriteEmpty.test_write_region[None-False-False-True]
AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L u (x) float64 80B dask.array<chunksize=(2,), meta=np.ndarray>
R u (x) int64 80B 1 2 3 4 5 6 7 8 9 10
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_backends.py#L1841
TestH5NetCDFViaDaskData.test_raise_on_forward_slashes_in_names
TypeError: asarray() got an unexpected keyword argument 'copy'
|
ubuntu-latest py3.10 min-all-deps:
xarray/tests/test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[minute]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[year]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10
Canceling since a higher priority waiting request for 'CI-refs/pull/8344/merge' exists
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[month]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[year]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[day]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[month]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[hour]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[day]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_backends.py#L410
TestH5NetCDFData.test_roundtrip_test_data
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[hour]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_backends.py#L377
TestZarrKVStoreV3.test_zero_dimensional_variable
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_backends.py#L410
TestH5NetCDFData.test_roundtrip_test_data
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[minute]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_backends.py#L377
TestZarrKVStoreV3.test_zero_dimensional_variable
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[second]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[minute]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[microsecond]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_backends.py#L383
TestZarrKVStoreV3.test_write_store
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12:
xarray\tests\test_backends.py#L383
TestZarrKVStoreV3.test_write_store
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_accessor_dt.py#L103
TestDatetimeAccessor.test_field_access[second]
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.10:
xarray\tests\test_backends.py#L433
TestH5NetCDFData.test_load
TypeError: asarray() got an unexpected keyword argument 'copy'
|
windows-latest py3.12
No files were found with the provided path: pytest.xml. No artifacts will be uploaded.
|
windows-latest py3.10
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 |
|
Test results for Linux-3.10
|
190 KB |
|
Test results for Linux-3.10 bare-minimum
|
462 KB |
|
Test results for Linux-3.10 min-all-deps
|
1.24 MB |
|
Test results for Linux-3.11 all-but-dask
|
214 KB |
|
Test results for Linux-3.12
|
148 KB |
|
Test results for Linux-3.12 flaky
|
657 Bytes |
|
Test results for macOS-3.10
|
190 KB |
|
Test results for macOS-3.12
|
151 KB |
|