Skip to content

Commit f6895f3

Browse files
committed
Pin zarr and numcodecs for NumPy 2.x compatibility
- zarr >=2.18.3: Required for NumPy 2.1 support - numcodecs >=0.13.0: Required for NumPy 2.0 C ABI compatibility - Prevents boolean ambiguity and segmentation faults
1 parent 1221eb8 commit f6895f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ numba = ">=0.60.0"
2626
llvmlite = "*"
2727
scipy = "*"
2828
pandas = "*"
29-
zarr = ">=2.11, <3.0.0"
29+
zarr = ">=2.18.3, <3.0.0"
3030
# zarr<3.0.0 is not compatible with numcodecs 0.16.0
3131
# https://github.com/zarr-developers/zarr-python/issues/2963
32-
numcodecs = "<0.16"
32+
numcodecs = ">=0.13.0, <0.16"
3333
dask = {version="*", extras=["array"]}
3434
distributed = "*"
3535
fsspec = "*"

0 commit comments

Comments
 (0)