Skip to content

Commit ccdf751

Browse files
d-v-bclaude
andcommitted
Merge claude/zarr-metadata-property-tests-4758bf into claude/zarr-metadata-nested-strategies
Bring in main's definitions API through #414 and port the nested strategies to it: the strategies' scope is a `ZarrV3Context` filed by slot, a read field is an `AcceptedField`, and `read_name` gives way to an isinstance check, as in main's `cast_value`. Data type fields are drawn from names looked up in that scope rather than from a list of definitions, which Hypothesis printed member by member into the strategy's repr. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 parents 75928ae + 7f4f9ed commit ccdf751

252 files changed

Lines changed: 32504 additions & 7811 deletions

File tree

Some content is hidden

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

‎.github/workflows/big-endian.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ jobs:
5757
run: |
5858
docker run --rm --platform linux/s390x -v "$PWD":/src:ro zarr-big-endian bash -euc '
5959
cp -r /src /work && cd /work
60-
pip install -q --no-deps --no-build-isolation .
60+
# Resolve dependencies against pyproject.toml rather than trusting whatever the
61+
# image provides, then fail if any installed package falls outside the constraints.
62+
pip install -q --no-build-isolation .
63+
pip check
6164
python -c "import sys; assert sys.byteorder == \"big\", sys.byteorder"
6265
python -m pytest -p no:cacheprovider --hypothesis-profile ci -n auto \
6366
tests/test_dtype tests/test_dtype_registry.py \

‎.github/workflows/check_changelogs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
persist-credentials: false
2323

2424
- name: Install uv
25-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
25+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
2626

2727
- name: Install just
2828
uses: extractions/setup-crate@7577c1bdf2d95e6d65d532788f35ed79d4b1dda2 # v2.0.1

‎.github/workflows/codspeed.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
repo: casey/just
4242
version: 1.58.0
4343
- name: Run the benchmarks
44-
uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1
44+
uses: CodSpeedHQ/action@821a40cd6c80e3cfe387caf55668287addd808da # v5.5.0
4545
env:
4646
ZARR_BENCHMARK_CLEAR_CACHE: '1'
4747
with:

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
persist-credentials: false
25-
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
25+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
2626
- name: Install just
2727
uses: extractions/setup-crate@7577c1bdf2d95e6d65d532788f35ed79d4b1dda2 # v2.0.1
2828
with:

‎.github/workflows/downstream.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
python-version: '3.13'
4646

4747
- name: Install uv
48-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
48+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
4949

5050
- name: Install xarray and test dependencies
5151
working-directory: xarray
@@ -106,7 +106,7 @@ jobs:
106106
python-version: '3.13'
107107

108108
- name: Install uv
109-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
109+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
110110

111111
- name: Install numcodecs with test-zarr-main group
112112
working-directory: numcodecs

‎.github/workflows/gpu_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
python-version: ${{ matrix.python-version }}
6363
cache: 'pip'
6464
- name: Install uv
65-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
65+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
6666
- name: Install Hatch
6767
uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60
6868
with:

‎.github/workflows/hypothesis.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
python-version: ${{ matrix.python-version }}
6161
cache: 'pip'
6262
- name: Install uv
63-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
63+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
6464
- name: Install Hatch
6565
uses: pypa/hatch@f647ed70d49adb885f53a27d1c7f5bdaeacf2c60
6666
with:

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version: "3.12"
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
30+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3131
with:
3232
enable-cache: true
3333
- name: Install just

‎.github/workflows/releases.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
version: '1.16.5'
4444
- name: Build wheel and sdist
4545
run: hatch build
46-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
46+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
4747
with:
4848
name: releases
4949
path: dist
@@ -53,7 +53,7 @@ jobs:
5353
needs: [build_artifacts]
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
56+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
5757
with:
5858
name: releases
5959
path: dist
@@ -76,7 +76,7 @@ jobs:
7676
attestations: write # Required for artifact attestation
7777
artifact-metadata: write # Required for artifact attestation metadata
7878
steps:
79-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
79+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
8080
with:
8181
name: releases
8282
path: dist

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
python-version: ${{ matrix.python-version }}
6767
cache: 'pip'
6868
- name: Install uv
69-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
69+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
7070
- name: Install Hatch
7171
run: python -m pip install hatch==1.16.5
7272
- name: Install just
@@ -119,7 +119,7 @@ jobs:
119119
python-version: ${{ matrix.python-version }}
120120
cache: 'pip'
121121
- name: Install uv
122-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
122+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
123123
- name: Install Hatch
124124
run: python -m pip install hatch==1.16.5
125125
- name: Install just
@@ -158,7 +158,7 @@ jobs:
158158
python-version: '3.13'
159159
cache: 'pip'
160160
- name: Install uv
161-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
161+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
162162
- name: Install Hatch
163163
run: python -m pip install hatch==1.16.5
164164
- name: Install just
@@ -187,7 +187,7 @@ jobs:
187187
python-version: '3.13'
188188
cache: 'pip'
189189
- name: Install uv
190-
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
190+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
191191
- name: Install Hatch
192192
run: python -m pip install hatch==1.16.5
193193
- name: Install just

0 commit comments

Comments
 (0)