Skip to content

Commit 7dddbd5

Browse files
authored
Merge branch 'main' into order-handling
2 parents ea9fb77 + 0f0563b commit 7dddbd5

24 files changed

+404
-245
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
strategy:
2222
matrix:
2323
python-version: ['3.11', '3.12', '3.13']
24-
numpy-version: ['1.25', '2.2']
24+
numpy-version: ['1.26', '2.2']
2525
dependency-set: ["minimal", "optional"]
2626
os: ["ubuntu-latest"]
2727
include:
2828
- python-version: '3.11'
29-
numpy-version: '1.25'
29+
numpy-version: '1.26'
3030
dependency-set: 'optional'
3131
os: 'macos-latest'
3232
- python-version: '3.13'
3333
numpy-version: '2.2'
3434
dependency-set: 'optional'
3535
os: 'macos-latest'
3636
- python-version: '3.11'
37-
numpy-version: '1.25'
37+
numpy-version: '1.26'
3838
dependency-set: 'optional'
3939
os: 'windows-latest'
4040
- python-version: '3.13'

changes/3138.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/3140.bugfix.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

changes/3151.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes/3156.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/3193.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes/3195.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/3228.removal.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Removes default chunk encoding settings (filters, serializer, compressors) from the global
2+
configuration object.
3+
4+
This removal is justified on the basis that storing chunk encoding settings in the config required
5+
a brittle, confusing, and inaccurate categorization of array data types, which was particularly
6+
unsuitable after the recent addition of new data types that didn't fit naturally into the
7+
pre-existing categories.
8+
9+
The default chunk encoding is the same (Zstandard compression, and the required object codecs for
10+
variable length data types), but the chunk encoding is now generated by functions that cannot be
11+
reconfigured at runtime. Users who relied on setting the default chunk encoding via the global configuration object should
12+
instead specify the desired chunk encoding explicitly when creating an array.
13+
14+
This change also adds an extra validation step to the creation of Zarr V2 arrays, which ensures that
15+
arrays with a ``VariableLengthUTF8`` or ``VariableLengthBytes`` data type cannot be created without the
16+
correct "object codec".

changes/3232.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix the type of ``ArrayV2Metadata.codec`` to constrain it to ``numcodecs.abc.Codec | None``.
2+
Previously the type was more permissive, allowing objects that can be parsed into Codecs (e.g., the codec name).
3+
The constructor of ``ArrayV2Metadata`` still allows the permissive input when creating new objects.

changes/xxxx.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The minimum version of NumPy has increased to 1.26.

0 commit comments

Comments
 (0)