Skip to content

Commit 9d0f413

Browse files
committed
docs: add changelog fragment for #4376
Assisted-by: ClaudeCode:claude-fable-5-1
1 parent e118ab8 commit 9d0f413

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎changes/4376.bugfix.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Chunk specifications are judged only by the chunk normalizer: the separate duck-typed check for rectilinear input is gone, so the v2 and sharding restrictions apply to what the normalized grid says was declared. numpy values are accepted everywhere a chunk or shard shape is: 0-d arrays unwrap to their scalar, and the legacy `zarr.create(chunks=np.array(...), zarr_format=2)` no longer fails on the truth value of an array. A non-integer scalar chunk specification raises a `TypeError` naming the problem.

0 commit comments

Comments
 (0)