Skip to content

Commit 4073cff

Browse files
committed
Merge feat/byte-range-setter into perf/prepared-write-v2
# Conflicts: # src/zarr/abc/store.py
2 parents 2f01c48 + 2b9d804 commit 4073cff

24 files changed

Lines changed: 466 additions & 924 deletions

.github/workflows/codspeed.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929
persist-credentials: false
30-
- name: Set up Python
31-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
32-
with:
33-
python-version: "3.11"
3430
- name: Install Hatch
3531
uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc
3632
with:
@@ -39,4 +35,4 @@ jobs:
3935
uses: CodSpeedHQ/action@1c8ae4843586d3ba879736b7f6b7b0c990757fab # v4.12.1
4036
with:
4137
mode: walltime
42-
run: hatch run test.py3.11-minimal:pytest tests/benchmarks --codspeed
38+
run: hatch run test.py3.12-minimal:pytest tests/benchmarks --codspeed

changes/3897.misc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Bump the minimum version of `typing-extensions` to 4.13 to support the `extra_items`
2+
keyword argument on `TypedDict` (PEP 728).

changes/3900.misc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated `zarr.convenience` and `zarr.creation` modules.

changes/3903.misc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated `AsyncArray.create` and `Array.create` methods.

changes/3907.feature.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add protocols for stores that support byte-range-writes. This is necessary to support in-place writes of sharded arrays.

docs/api/zarr/convenience.md

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

docs/api/zarr/deprecated/convenience.md

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

docs/api/zarr/deprecated/creation.md

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

docs/api/zarr/index.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Complete reference documentation for the Zarr-Python API.
2121

2222
- **[Load](load.md)** - Loading data from Zarr stores
2323
- **[Save](save.md)** - Saving data to Zarr format
24-
- **[Convenience](convenience.md)** - High-level convenience functions
2524

2625
### Data Types and Configuration
2726

@@ -55,13 +54,6 @@ The ABC module defines interfaces for extending Zarr:
5554
- **[Testing](testing/index.md)** - Utilities for testing Zarr-based code
5655

5756

58-
## Migration and Compatibility
59-
60-
- **[Deprecated Functions](deprecated/convenience.md)** - Legacy convenience functions
61-
- **[Deprecated Creation](deprecated/creation.md)** - Legacy array creation functions
62-
63-
These deprecated modules are maintained for backward compatibility but should be avoided in new code.
64-
6557
## Getting Help
6658

6759
- Check the [User Guide](../../user-guide/index.md) for tutorials and examples

mkdocs.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ nav:
4343
- api/zarr/codecs.md
4444
- api/zarr/codecs/numcodecs.md
4545
- api/zarr/config.md
46-
- api/zarr/convenience.md
4746
- api/zarr/errors.md
4847
- api/zarr/metadata.md
4948
- api/zarr/registry.md
@@ -72,9 +71,6 @@ nav:
7271
- api/zarr/testing/store.md
7372
- api/zarr/testing/strategies.md
7473
- api/zarr/testing/utils.md
75-
- deprecated:
76-
- Convenience sub-module: api/zarr/deprecated/convenience.md
77-
- Creation sub-module: api/zarr/deprecated/creation.md
7874
- release-notes.md
7975
- contributing.md
8076
watch:
@@ -221,7 +217,6 @@ plugins:
221217
'developers/contributing.html.md': 'contributing.md'
222218
'developers/index.html.md': 'contributing.md'
223219
'developers/roadmap.html.md': 'https://zarr.readthedocs.io/en/v3.0.8/developers/roadmap.html'
224-
'api/zarr/creation.md': 'api/zarr/deprecated/creation.md'
225220
'api.md': 'api/zarr/index.md'
226221
'api/zarr/metadata/migrate_v3.md': 'api/zarr/metadata.md'
227222

0 commit comments

Comments
 (0)