You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/contributing.md
+30-3Lines changed: 30 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,6 @@ Create / activate a virtual environment:
45
45
uv sync
46
46
```
47
47
48
-
49
48
Install `maturin`:
50
49
51
50
=== "Venv"
@@ -85,8 +84,6 @@ Install `maturin`:
85
84
maturin develop --uv --extras=test,benchmark
86
85
```
87
86
88
-
89
-
90
87
#### Testing
91
88
92
89
The full Python test suite depends on S3 and Azure compatible object stores.
@@ -99,6 +96,34 @@ They can be run from the root of the repo with `docker compose up` (`ctrl-c` the
99
96
uv run pytest
100
97
```
101
98
99
+
#### Running Xarray Backend Tests
100
+
101
+
Icechunk includes integration tests that verify compatibility with Xarray's zarr backend API. These tests require the Xarray repository to be cloned locally.
102
+
103
+
Set the environment variables (adjust `XARRAY_DIR` to point to your local Xarray clone):
104
+
105
+
```bash
106
+
export ICECHUNK_XARRAY_BACKENDS_TESTS=1
107
+
export XARRAY_DIR=~/Documents/dev/xarray # or your xarray location
To run a specific Xarray test you have first specify a class defined in `@icechunk-python/tests/run_xarray_backends_tests.py` and then specify an xarray test. For example:
0 commit comments