Commit 27cf315
authored
Add ZARR_V3_API_AVAILABLE environment variable (#1007)
* add ZARR_V3_API_AVAILABLE environment variable
controls whether or not v3 stores are imported into the top-level zarr namespace
* move StoreV3 implementations from storage.py to storage_v3.py
* fix
* move zarr/storage_v3.py to zarr/_storage/v3.py
* Run Linux tests with ZARR_V3_API_AVAILABLE=1 defined
* add # pragma nocover to environment-variable dependent branches
* flake8 fix
* fix outdated import path
* fix mypy error1 parent 07c8505 commit 27cf315
File tree
15 files changed
+686
-591
lines changed- .github/workflows
- zarr
- _storage
- tests
15 files changed
+686
-591
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
264 | | - | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
0 commit comments