Skip to content

fix: zarr.create_array for better backward compatibility#12291

Merged
TomAugspurger merged 3 commits intodask:mainfrom
melonora:change_create_array
Feb 16, 2026
Merged

fix: zarr.create_array for better backward compatibility#12291
TomAugspurger merged 3 commits intodask:mainfrom
melonora:change_create_array

Conversation

@melonora
Copy link
Copy Markdown
Contributor

@melonora melonora commented Feb 8, 2026

Minor adjustment to allow or better backward compatibility. This PR solely uses zarr.create_array where previously if component or name was defined, Group.create_array was used.

cc: @joshua-gould, @TomAugspurger

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 8, 2026

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     21 files  ± 0       21 suites  ±0   5h 10m 2s ⏱️ + 5m 27s
 18 284 tests + 1   17 010 ✅ + 2   1 274 💤 ±0  0 ❌  - 1 
294 787 runs  +17  252 448 ✅ +16  42 339 💤 +2  0 ❌  - 1 

Results for commit 8182ef1. ± Comparison against base commit e5a9087.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
dask.array.tests.test_array_core ‑ test_zarr_roundtrip_with_path_like
dask.array.tests.test_array_core ‑ test_zarr_roundtrip_with_path_like[2]
dask.array.tests.test_array_core ‑ test_zarr_roundtrip_with_path_like[3]

@melonora
Copy link
Copy Markdown
Contributor Author

@jacobtomlinson @TomAugspurger When one of you has time, could you please have a look?:)

@TomAugspurger TomAugspurger merged commit 06bb168 into dask:main Feb 16, 2026
29 checks passed
@TomAugspurger
Copy link
Copy Markdown
Member

Thanks @melonora

@melonora
Copy link
Copy Markdown
Contributor Author

No problem! sorry for yet another PR but I did not know at first group.create_array does not respect the zarr_format of the store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

da.to_zarr 2026.1.2 not backwards compatible with dask<2025.12.0 with zarr_format keyword arg and component

2 participants