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
{{ message }}
Repository navigation
da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg and component #12265
importdask.arrayasda# Group.create_array() got an unexpected keyword argument 'zarr_format'# works with dask<2025.12.0# fails with 2026.1.2da.to_zarr(
arr=da.random.random((2, 2)),
url="test1.zarr",
zarr_format=2,
component="0",
)
# works with dask<2025.12.0 and 2026.1.2da.to_zarr(
arr=da.random.random((2, 2)),
url="test2.zarr",
zarr_format=2,
)
changed the title [-]da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg[/-][+]da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg and component[/+]on Feb 2, 2026
The reason here is the zarr API, zarr.create is getting deprecated and now Group.create_array is used which does not have the zarr_format argument. There is no equivalent, unless we switch to zarr.create_array instead. which is what Group.create_array is lightly wrapping.
Activity
[-]da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg[/-][+]da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg and component[/+]joshua-gould commentedon Feb 2, 2026
Not that dask==2026.1.1 is also not backwards compatible with dask<2025.12.0-code runs but zarr_format parameter is ignored
abslock128w commentedon Feb 5, 2026
Hey I'd like to have a look at this...
TomAugspurger commentedon Feb 8, 2026
cc @melonora
melonora commentedon Feb 8, 2026
The reason here is the zarr API,
zarr.createis getting deprecated and nowGroup.create_arrayis used which does not have thezarr_formatargument. There is no equivalent, unless we switch tozarr.create_arrayinstead. which is whatGroup.create_arrayis lightly wrapping.