Skip to content

Commit 9703b96

Browse files
authored
Merge branch 'main' into fix/localstore-partial-listing
2 parents e4076b3 + bd0dc84 commit 9703b96

57 files changed

Lines changed: 1432 additions & 613 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/downstream.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,16 @@ jobs:
6868
import xarray; print(f'xarray {xarray.__version__}')
6969
"
7070
71-
- name: Run xarray zarr backend tests
71+
# xarray keeps its backend tests in the `xarray/tests/backends` package
72+
# (pydata/xarray#11633 split the former `test_backends*.py` modules into
73+
# it). Running the package covers the zarr store, region/append, API and
74+
# DataTree tests; the other backends are installed by the `io` extra, so
75+
# their tests run too, as they did before the split.
76+
- name: Run xarray backend tests
7277
working-directory: xarray
7378
run: |
7479
uv run --no-sync python -m pytest --no-header -q \
75-
xarray/tests/test_backends.py \
76-
xarray/tests/test_backends_api.py \
77-
xarray/tests/test_backends_datatree.py
80+
xarray/tests/backends
7881
7982
numcodecs:
8083
name: numcodecs zarr3 codec tests

‎.github/workflows/issue-metrics.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
3434
3535
- name: Run issue-metrics tool
36-
uses: github-community-projects/issue-metrics@a7dc2fb675661e208d4fc6fa321a6b95fc4a06f9 # v5.0.2
36+
uses: github-community-projects/issue-metrics@671528652402b9b8a33da44b5c693b3161bc090f # v5.0.3
3737
env:
3838
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
SEARCH_QUERY: 'repo:zarr-developers/zarr-python is:issue created:${{ env.last_month }} -reason:"not planned"'

‎.pre-commit-config.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ default_language_version:
1717

1818
repos:
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.16.6
20+
rev: v0.16.10
2121
hooks:
2222
- id: ruff-check
2323
args: ["--fix", "--show-fixes"]
@@ -34,7 +34,7 @@ repos:
3434
exclude: mkdocs.yml
3535
- id: trailing-whitespace
3636
- repo: https://github.com/DavidAnson/markdownlint-cli2
37-
rev: v0.23.2
37+
rev: v0.23.3
3838
hooks:
3939
# Markdown structure/hygiene. Rule selection and ignores are in
4040
# .markdownlint-cli2.jsonc; complements ci/lint_docs.py (RST residue,
@@ -76,7 +76,7 @@ repos:
7676
hooks:
7777
- id: sp-repo-review
7878
- repo: https://github.com/numpy/numpydoc
79-
rev: v1.11.0rc0
79+
rev: v1.11.0
8080
hooks:
8181
- id: numpydoc-validation
8282
- repo: local
@@ -89,7 +89,7 @@ repos:
8989
types: [python]
9090
files: ^(src|tests)/
9191
- repo: https://github.com/zizmorcore/zizmor-pre-commit
92-
rev: v1.30.0
92+
rev: v1.30.1
9393
hooks:
9494
- id: zizmor
9595
- repo: https://github.com/twisted/towncrier

‎changes/3850.doc.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Document the removal of `LRUStoreCache` in the v3 migration guide, and point to the experimental `zarr.experimental.cache_store.CacheStore` as its replacement.

‎changes/4051.doc.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Added a deprecation policy to the contributing guide. It defines when a
2+
deprecation cycle is required for public API changes, a shared framework for
3+
deciding whether a removal is worthwhile, the mechanics a deprecation must
4+
follow (warning class, message contents, documentation, and changelog entry),
5+
and a minimum deprecation period of at least 6 months and at least one minor
6+
release before removal.

‎changes/4334.bugfix.md‎

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

‎changes/4340.bugfix.md‎

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

‎changes/4342.bugfix.md‎

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

‎changes/4344.bugfix.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Resizing an array with `delete_outside_chunks=True` now generates only the
2+
out-of-bounds chunk coordinates and deletes them with a bounded pool of
3+
workers, instead of materializing the entire old and new grids and all
4+
deletion tasks. This bounds auxiliary memory during shrinking and mixed
5+
growing/shrinking resizes while preserving retained chunks. Growing, or
6+
shrinking within the last chunk of each axis, no longer schedules any
7+
deletion work. When a deletion fails, the remaining deletions are now
8+
cancelled before the error is raised; previously they ran to completion.

‎changes/4353.bugfix.md‎

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

0 commit comments

Comments
 (0)