Skip to content

Commit a563f2d

Browse files
Update accessors.py (#42)
* Update accessors.py core to namedarray * Update requirements.txt pinning xarray>=v2024.02.0 where the array API internal changes were introduced. * Update requirements.txt --------- Co-authored-by: Negin Sobhani <[email protected]>
1 parent 9c74191 commit a563f2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cupy_xarray/accessors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
register_dataarray_accessor,
66
register_dataset_accessor,
77
)
8-
from xarray.core.pycompat import DuckArrayModule
8+
from xarray.namedarray.pycompat import DuckArrayModule
99

1010
dsk = DuckArrayModule("dask")
1111
dask_array_type = dsk.type

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cupy
2-
xarray>=0.19.0
2+
xarray>=2024.02.0

0 commit comments

Comments
 (0)