From: Antonio Valentino Date: Sun, 28 Jun 2026 09:00:03 +0000 Subject: zarr-3.2-compat Origin: https://github.com/dask/dask/pull/12366/changes/4c2ad6d49feabe0498018804285f2218abb6eb9f Forwarded: not-needed --- dask/array/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask/array/core.py b/dask/array/core.py index 7dfff2b..4f121d2 100644 --- a/dask/array/core.py +++ b/dask/array/core.py @@ -3853,7 +3853,7 @@ def to_zarr( else: store = url - chunks = [c[0] for c in arr.chunks] + chunks = [max(c[0], 1) for c in arr.chunks] z = zarr.create( shape=arr.shape,