From 7f38776668743ef3deefc13a5e3b8c22378f9cf1 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Fri, 13 Nov 2026 21:55:47 +0100 Subject: [PATCH 01/21] fix(sharding): validate the inner codec chain against the array's fill value Creating a sharded array failed when the inner codec chain could not encode the data type's default scalar, e.g. a `scale_offset` filter that maps only a subrange of the data type, even when the array's own fill value encodes fine (#4511). `ShardingCodec.validate` probed the inner chain with `dtype.default_scalar()`, since `validate` never receives the fill value. Run the inner-chain check from `ShardingCodec.evolve_from_array_spec` instead, which receives the threaded spec: each inner codec is evolved, validated and resolved against the spec the codecs before it leave, including the fill value as those codecs encode it. An array whose fill value the inner chain cannot encode is still rejected, because an unwritten chunk holds the fill value. Also drop the per-codec `validate` loop from `ArrayV3Metadata._validate_metadata`. `__init__` has already validated each codec against the threaded spec; the loop re-validated them against the array's own data type, which rejected valid chains such as int16 -> `cast_value` float32 -> `scale_offset` with a scale of 0.5. Assisted-by: ClaudeCode:claude-opus-5-5 --- src/zarr/codecs/sharding.py | 66 +++++++++++---------- src/zarr/core/metadata/v3.py | 5 +- tests/test_codecs/test_cast_value.py | 23 +++++++- tests/test_codecs/test_sharding.py | 85 ++++++++++++++++++++++++++++ 4 files changed, 142 insertions(+), 37 deletions(-) diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index d4ccf71cb9..e156d94c57 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -588,27 +588,47 @@ def to_dict(self) -> dict[str, JSON]: } def evolve_from_array_spec(self, array_spec: ArraySpec) -> Self: - """Thread the spec through the inner chain. + """Evolve and validate the inner chain against the chunks it encodes. - Each codec is evolved against the spec produced by the previous one. - Evolving every codec against the same unthreaded spec is the bug shape that - strips `BytesCodec.endian` behind a dtype-changing codec — and this - method runs on the real array-creation path, baking the damaged chain - into the evolved instance before the transform builders ever run. + Each inner codec is evolved against, validated against, and resolved through + the spec the codecs before it leave, as array metadata does for its own codecs, + with a regular grid of one inner chunk as its chunk grid. A sharding codec among + them is thereby checked against the chunk it splits. + + The spec is threaded for two reasons. A dtype-changing codec changes what the + codecs after it see: evolving every codec against the unthreaded spec strips + `BytesCodec.endian` behind one. And the fill value the inner chain must encode + is the array's fill value as the codecs before this one leave it, which is what + an unwritten inner chunk holds. Probing the chain with any other value, such as + the data type's default scalar, rejects chains that never see that value. Parameters ---------- array_spec - The base spec to be evolved as we thread it. + The spec of the shards this codec encodes. Returns ------- - This codec with the evolved code chain. - """ - from zarr.core.chunk_utils import evolve_codecs + This codec with the evolved codec chain. - shard_spec = self._get_chunk_spec(array_spec) - evolved_codecs = evolve_codecs(self.codecs, shard_spec) + Raises + ------ + ValueError + If an inner codec is incompatible with the chunk it encodes, or cannot + encode the fill value it receives. + """ + evolved: list[Codec] = [] + spec = self._get_chunk_spec(array_spec) + for codec in self.codecs: + evolved_codec = codec.evolve_from_array_spec(spec) + evolved_codec.validate( + shape=spec.shape, + dtype=spec.dtype, + chunk_grid=RegularChunkGridMetadata(chunk_shape=spec.shape), + ) + evolved.append(evolved_codec) + spec = evolved_codec.resolve_metadata(spec) + evolved_codecs = tuple(evolved) if evolved_codecs != self.codecs: return replace(self, codecs=evolved_codecs) return self @@ -642,28 +662,6 @@ def validate( f"Chunk edge length {edge} in dimension {i} is not " f"divisible by the shard's inner chunk size {inner}." ) - self._validate_inner_codecs(dtype) - - def _validate_inner_codecs(self, dtype: ZDType[TBaseDType, TBaseScalar]) -> None: - """Validate the codecs that encode each inner chunk, as array metadata validates - its codecs: each against the chunk the codecs before it leave it, a regular - grid of one inner chunk. A sharding codec among them is thereby checked against - the chunk it splits, which `validate` of the outer codec alone does not see. - """ - spec = ArraySpec( - shape=self.chunk_shape, - dtype=dtype, - fill_value=dtype.default_scalar(), - config=ArrayConfig.from_dict({}), - prototype=default_buffer_prototype(), - ) - for codec in self.codecs: - codec.validate( - shape=spec.shape, - dtype=spec.dtype, - chunk_grid=RegularChunkGridMetadata(chunk_shape=spec.shape), - ) - spec = codec.resolve_metadata(spec) def _get_inner_chunk_transform(self, shard_spec: ArraySpec) -> Any: """The synchronous transform for the inner codec chain. diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index 63d525ba2d..aa611d4289 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -604,8 +604,9 @@ def _validate_metadata(self) -> None: ) if self.fill_value is None: raise ValueError("`fill_value` is required.") - for codec in self.codecs: - codec.validate(shape=self.shape, dtype=self.data_type, chunk_grid=self.chunk_grid) + # The codecs were validated in `__init__`, each against the spec the codecs + # before it leave. Validating them again here against the array's own data type + # would reject a codec that only ever sees the output of a dtype-changing codec. @property def ndim(self) -> int: diff --git a/tests/test_codecs/test_cast_value.py b/tests/test_codecs/test_cast_value.py index d6c703767f..37d1cb385a 100644 --- a/tests/test_codecs/test_cast_value.py +++ b/tests/test_codecs/test_cast_value.py @@ -8,7 +8,7 @@ import zarr from tests.conftest import Expect, ExpectFail -from zarr.codecs import BytesCodec, TransposeCodec +from zarr.codecs import BytesCodec, ScaleOffset, TransposeCodec from zarr.codecs.cast_value import CAST_VALUE_RS_MIN_VERSION, CastValue from zarr.storage import MemoryStore @@ -610,3 +610,24 @@ def make_array(filters: list[Any]) -> Any: array[:] = data assert_array_equal(array[:], data) + + +@requires_cast_value_rs +@pytest.mark.parametrize("shards", [None, (8,)], ids=["unsharded", "sharded"]) +def test_codec_validated_against_the_dtype_it_sees(shards: tuple[int, ...] | None) -> None: + """A codec behind `cast_value` is validated against the cast's target data type, + not the array's: a `scale_offset` scale of 0.5 is representable in float32, which + the codec sees, though not in the array's int16.""" + store = MemoryStore() + data = np.arange(8, dtype="int16") + arr = zarr.create_array( + store, + shape=data.shape, + dtype=data.dtype, + chunks=(4,), + shards=shards, + filters=[CastValue(data_type="float32"), ScaleOffset(scale=0.5)], + compressors=None, + ) + arr[:] = data + assert_array_equal(zarr.open_array(store, mode="r")[:], data) diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 5712c9576d..52e23164ad 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -19,6 +19,7 @@ BytesCodec, Crc32cCodec, GzipCodec, + ScaleOffset, ShardingCodec, TransposeCodec, ) @@ -1522,3 +1523,87 @@ def test_open_rejects_stored_nested_sharding_with_indivisible_inner_chunk_shape( doc["codecs"][0]["configuration"]["codecs"][0]["configuration"]["chunk_shape"] = (4, 7) with pytest.raises(ValueError, match="not divisible"): ArrayV3Metadata.from_dict(doc) + + +# Each layout pairs codecs with a fill value the inner chain can encode, as the codecs +# before it leave that value, and one it cannot. The accepted fill value is chosen so +# that neither the data type's default scalar (0) nor, where a filter precedes the +# sharding codec, the array's fill value as given would pass the inner chain. +_INNER_CHAIN_FILL_LAYOUTS: dict[str, tuple[dict[str, Any], int, int]] = { + # `scale_offset` inside the shard: the inner chain encodes [100, 65535]. + "inside-shard": ( + {"chunks": (4,), "shards": (16,), "filters": [ScaleOffset(offset=100)]}, + 100, + 0, + ), + # `scale_offset` before the sharding codec doubles the fill value, so the inner + # chain sees 120 for an array fill value of 60, and 80 for 40. Its own + # `scale_offset` encodes [100, 65535]. + "behind-filter": ( + { + "chunks": (16,), + "filters": [ScaleOffset(scale=2)], + "serializer": ShardingCodec( + chunk_shape=(4,), codecs=[ScaleOffset(offset=100), BytesCodec()] + ), + }, + 60, + 40, + ), + # The fill value reaches a sharding codec nested in another one. + "nested": ( + { + "chunks": (16,), + "serializer": ShardingCodec( + chunk_shape=(8,), + codecs=[ + ShardingCodec(chunk_shape=(4,), codecs=[ScaleOffset(offset=100), BytesCodec()]) + ], + ), + }, + 100, + 0, + ), +} + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize("layout", _INNER_CHAIN_FILL_LAYOUTS) +def test_sharding_inner_chain_probed_with_array_fill_value(layout: str) -> None: + """A sharding codec's inner chain is validated against the array's fill value, as + the codecs before it leave it, not against the data type's default scalar + (https://github.com/zarr-developers/zarr-python/issues/4511). The array is created, + reads its fill value before any write, and round-trips a partial write.""" + codecs, fill_value, _ = _INNER_CHAIN_FILL_LAYOUTS[layout] + store = MemoryStore() + arr = zarr.create_array( + store, shape=(16,), dtype="uint16", fill_value=fill_value, compressors=None, **codecs + ) + expected = np.full(16, fill_value, dtype="uint16") + np.testing.assert_array_equal(arr[:], expected) + written = np.arange(110, 114, dtype="uint16") + arr[4:8] = written + expected[4:8] = written + np.testing.assert_array_equal(zarr.open_array(store, mode="r")[:], expected) + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize("layout", _INNER_CHAIN_FILL_LAYOUTS) +def test_sharding_rejects_fill_value_inner_chain_cannot_encode(layout: str) -> None: + """An array whose fill value the inner chain cannot encode is rejected: an + unwritten inner chunk holds the fill value, so the array could not be read before + its first write.""" + codecs, _, fill_value = _INNER_CHAIN_FILL_LAYOUTS[layout] + with pytest.raises(ValueError, match="outside the range"): + zarr.create_array( + MemoryStore(), + shape=(16,), + dtype="uint16", + fill_value=fill_value, + compressors=None, + **codecs, + ) From 9942717067473b6b00df365fdf4ac27501f00617 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Fri, 13 Nov 2026 21:56:25 +0100 Subject: [PATCH 02/21] docs: add changelog fragments for #446 Assisted-by: ClaudeCode:claude-opus-5-5 --- changes/446.bugfix.1.md | 1 + changes/446.bugfix.2.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 changes/446.bugfix.1.md create mode 100644 changes/446.bugfix.2.md diff --git a/changes/446.bugfix.1.md b/changes/446.bugfix.1.md new file mode 100644 index 0000000000..a8293c2cd6 --- /dev/null +++ b/changes/446.bugfix.1.md @@ -0,0 +1 @@ +Creating a sharded array no longer fails when the codecs inside the shard cannot encode the data type's default value, for example a `scale_offset` filter that maps only part of the data type's range. The inner codecs are now checked against the array's fill value, which must still be encodable. diff --git a/changes/446.bugfix.2.md b/changes/446.bugfix.2.md new file mode 100644 index 0000000000..ca87b8037a --- /dev/null +++ b/changes/446.bugfix.2.md @@ -0,0 +1 @@ +Creating an array no longer rejects a codec placed after a data-type-changing codec such as `cast_value` because its configuration would be invalid for the array's original data type. Each codec is now checked against the data type it receives. From 39eba055f645d832dd2a2b5c102eb1e5e36f8f49 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Sat, 14 Nov 2026 11:18:45 +0100 Subject: [PATCH 03/21] docs: renumber changelog fragments for #4633 Assisted-by: ClaudeCode:claude-opus-5-5 --- changes/{446.bugfix.1.md => 4633.bugfix.1.md} | 0 changes/{446.bugfix.2.md => 4633.bugfix.2.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename changes/{446.bugfix.1.md => 4633.bugfix.1.md} (100%) rename changes/{446.bugfix.2.md => 4633.bugfix.2.md} (100%) diff --git a/changes/446.bugfix.1.md b/changes/4633.bugfix.1.md similarity index 100% rename from changes/446.bugfix.1.md rename to changes/4633.bugfix.1.md diff --git a/changes/446.bugfix.2.md b/changes/4633.bugfix.2.md similarity index 100% rename from changes/446.bugfix.2.md rename to changes/4633.bugfix.2.md From 8d801dd87a1451e962fb6577af4b21edc2fa41ca Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Sat, 14 Nov 2026 13:27:05 +0100 Subject: [PATCH 04/21] test: check zarr-python's verdict on zarr-metadata's array documents Draw array documents from zarr-metadata's hypothesis strategies and hand each to `ArrayV3Metadata.from_dict`. zarr-python may refuse a valid document only for a fill value its codecs cannot encode, and must then refuse it too with each shard's codecs moved out of the shard. Two slices run: every definition, and the integer/float data types with the value-transforming codecs, where fill value refusals are common. Before this branch's fix the property fails for both bugs it fixes: the unthreaded re-validation in `_validate_metadata`, and the sharding probe with the data type's default scalar. Known divergences are left out of the draw where possible and each is pinned by a strict xfail test: object-spelled data types, `r*` raw bits, integer-array `bytes` fill values, sharding behind `transpose`, hex `cast_value` scalar map values, and zarr-metadata accepting empty rectilinear edge lists (barred since zarr-extensions#78). Adds `zarr-metadata[testing]==0.8.0` to the test dependency group. Assisted-by: ClaudeCode:claude-opus-5-5 --- pyproject.toml | 2 + tests/test_zarr_metadata_conformance.py | 315 ++++++++++++++++++++++++ uv.lock | 24 ++ 3 files changed, 341 insertions(+) create mode 100644 tests/test_zarr_metadata_conformance.py diff --git a/pyproject.toml b/pyproject.toml index 839b5fdef8..633fcec4d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,6 +122,8 @@ test = [ "pytest-benchmark==5.3.1", "pytest-codspeed==5.0.4", "uv==0.13.7", + # tests/test_zarr_metadata_conformance.py draws array documents from its strategies. + "zarr-metadata[testing]==0.8.0", ] remote-tests = [ {include-group = "test"}, diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py new file mode 100644 index 0000000000..5c0339238f --- /dev/null +++ b/tests/test_zarr_metadata_conformance.py @@ -0,0 +1,315 @@ +"""zarr-python's verdict on the array documents zarr-metadata's strategies draw. + +zarr-metadata's strategies draw documents that the spec allows. Each codec in them +is drawn for the data type and the chunk the codecs before it hand on, so new codecs +and nestings are covered as soon as zarr-metadata defines them. + +zarr-python refuses one kind of valid document on purpose: one whose fill value the +codecs cannot encode, because an unwritten chunk holds the fill value. A document +refused for any other reason is a divergence from the spec. + +`_DIVERGENCES` lists the known divergences. The strategies here leave out each one +they can, and a strict xfail test below pins each one, so that fixing it fails that +test and prompts removing the exclusion. +""" + +from __future__ import annotations + +import base64 +import copy +import dataclasses +import importlib.util +import json +import traceback +import warnings +from functools import partial +from typing import TYPE_CHECKING, Any, Final + +import pytest +from hypothesis import event, given, reject +from hypothesis import strategies as st +from zarr_metadata.model import read_array_metadata_v3 +from zarr_metadata.testing.strategies import ( + DEFAULT_STRATEGIES, + ChunkGridStrategy, + DataTypeStrategy, + array_documents, +) +from zarr_metadata.v3.chunk_grid import RECTILINEAR_CHUNK_GRID +from zarr_metadata.v3.codec import CAST_VALUE_CODEC +from zarr_metadata.v3.data_type import BYTES_DATA_TYPE, RAW_BYTES_DATA_TYPE +from zarr_metadata.v3.definition import ChunkGridDefinition, CodecDefinition, DataTypeDefinition + +import zarr +from zarr.abc.codec import ArrayArrayCodec +from zarr.core.metadata.v3 import ArrayV3Metadata +from zarr.registry import get_codec_class + +if TYPE_CHECKING: + from collections.abc import Callable, Mapping + + from zarr_metadata.testing.strategies import Configurations, Strategies + +_HAS_CAST_VALUE_RS: Final = importlib.util.find_spec("cast_value_rs") is not None + +_DIVERGENCES: Final = { + "data type spellings": ( + "A data type written as an object, such as `{'name': 'int8'}` or one with " + "`must_understand`, is refused. Documents are drawn in canonical spelling." + ), + "raw bits": "The core `r*` data types are not implemented. None are drawn.", + "bytes fill value": ( + "A `bytes` fill value written as an array of integers is refused. Only the " + "base64 spelling is drawn." + ), + "sharding behind transpose": ( + "A sharding codec after a `transpose` is validated against the untransposed " + "chunk. Such documents are rejected from the draw." + ), + "cast_value hex scalar map": ( + "A `scalar_map` value written as a hex string is refused while the fill value " + "is encoded, so the property counts it as a fill value rejection. Not excluded." + ), + # zarr-metadata's side: it follows the spec as of zarr-extensions 4da7b37a, before + # https://github.com/zarr-developers/zarr-extensions/pull/78 required at least one + # edge. zarr-python refuses an empty list, as the spec now says. + "empty rectilinear edges": ( + "zarr-metadata accepts an empty list of edge lengths for an axis of length 0. " + "No such grid is drawn." + ), +} + + +def _base64_fill_values( + _configuration: Mapping[str, Any], _strategies: Strategies +) -> st.SearchStrategy[str]: + return st.binary(max_size=16).map(lambda data: base64.standard_b64encode(data).decode()) + + +def _has_edges(configuration: Mapping[str, Any]) -> bool: + return all(dimension != () for dimension in configuration["chunk_shapes"]) + + +def _with_edges( + configurations: Callable[[tuple[int, ...] | None, Strategies], Configurations], + shape: tuple[int, ...] | None, + strategies: Strategies, +) -> Configurations: + return configurations(shape, strategies).filter(_has_edges) + + +def _supported(strategies: Strategies) -> Strategies: + """`strategies` without the known divergences in `_DIVERGENCES`.""" + out = { + definition: strategy + for definition, strategy in strategies.items() + if definition is not RAW_BYTES_DATA_TYPE + and (_HAS_CAST_VALUE_RS or definition is not CAST_VALUE_CODEC) + } + bytes_strategy = out.get(BYTES_DATA_TYPE) + if isinstance(bytes_strategy, DataTypeStrategy): + out[BYTES_DATA_TYPE] = dataclasses.replace(bytes_strategy, fill_values=_base64_fill_values) + grid_strategy = out.get(RECTILINEAR_CHUNK_GRID) + if isinstance(grid_strategy, ChunkGridStrategy): + out[RECTILINEAR_CHUNK_GRID] = dataclasses.replace( + grid_strategy, configurations=partial(_with_edges, grid_strategy.configurations) + ) + return out + + +_VALUE_DATA_TYPES: Final = frozenset( + {"int8", "uint8", "int16", "uint16", "int32", "uint32", "float32", "float64"} +) +_VALUE_CODECS: Final = frozenset( + {"bytes", "cast_value", "scale_offset", "sharding_indexed", "transpose"} +) + + +def _value_transforming(strategies: Strategies) -> Strategies: + """Integer and float data types, regular grids, and the codecs that change values. + + In this slice a fill value is often one the codecs cannot encode, which is where + zarr-python's one deliberate refusal is decided. + """ + return { + definition: strategy + for definition, strategy in strategies.items() + if not ( + isinstance(definition, DataTypeDefinition) and definition.name not in _VALUE_DATA_TYPES + ) + and not (isinstance(definition, CodecDefinition) and definition.name not in _VALUE_CODECS) + and not (isinstance(definition, ChunkGridDefinition) and definition.name != "regular") + } + + +_DOCUMENTS: Final = { + "every-definition": array_documents( + spellings="canonical", strategies=_supported(DEFAULT_STRATEGIES) + ), + "value-transforming": array_documents( + shapes=st.lists(st.integers(1, 16), min_size=1, max_size=2).map(tuple), + spellings="canonical", + strategies=_value_transforming(_supported(DEFAULT_STRATEGIES)), + ), +} + + +def _codec_name(codec: str | Mapping[str, Any]) -> str: + return codec if isinstance(codec, str) else codec["name"] + + +def _is_array_array(codec: str | Mapping[str, Any]) -> bool: + return issubclass(get_codec_class(_codec_name(codec)), ArrayArrayCodec) + + +def _shard_behind_transpose(codecs: tuple[Any, ...]) -> bool: + """Whether the array's own codecs hold a transpose and a sharding codec, which follows it. + + Only the array's own codecs: inside a shard, each codec is validated against the + chunk the codecs before it leave. + """ + names = [_codec_name(codec) for codec in codecs] + return "transpose" in names and "sharding_indexed" in names + + +def _spliced(codecs: tuple[Any, ...]) -> list[Any]: + """The codecs up to the array -> bytes codec, each shard replaced by the codecs it holds. + + The codecs inside a shard see the fill value as the codecs before the shard leave + it, so these codecs can encode the same fill values as `codecs`. + """ + out: list[Any] = [] + for codec in codecs: + if _is_array_array(codec): + out.append(codec) + elif _codec_name(codec) == "sharding_indexed": + return out + _spliced(codec["configuration"]["codecs"]) + else: + return [*out, codec] + return out + + +def _verdict(document: dict[str, Any]) -> Exception | None: + """The error zarr-python refuses `document` with, or None if it accepts it.""" + try: + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + ArrayV3Metadata.from_dict(document) + except Exception as error: # noqa: BLE001 + return error + return None + + +def _raised_encoding_fill_value(error: Exception) -> bool: + """Whether `error` was raised by a codec encoding the fill value.""" + frames = traceback.extract_tb(error.__traceback__) + return isinstance(error, ValueError) and any(f.name == "resolve_metadata" for f in frames) + + +@pytest.mark.parametrize("slice_", list(_DOCUMENTS)) +@given(data=st.data()) +def test_refuses_only_fill_values_the_codecs_cannot_encode( + slice_: str, data: st.DataObject +) -> None: + """zarr-python accepts each document, or refuses its fill value as the codecs + cannot encode it, and then refuses it too with the shards' codecs moved out of + the shards.""" + # As a reader sees it: zarr-metadata draws JSON arrays as tuples. + document = json.loads(json.dumps(data.draw(_DOCUMENTS[slice_]))) + if _shard_behind_transpose(document["codecs"]): + reject() # "sharding behind transpose" in _DIVERGENCES + with zarr.config.set({"array.rectilinear_chunks": True}): + error = _verdict(document) + if error is None: + event("accepted") + return + event("refused") + assert _raised_encoding_fill_value(error), ( + f"zarr-python refuses a document the spec allows: {error!r}" + ) + spliced = copy.deepcopy(document) + spliced["codecs"] = _spliced(document["codecs"]) + assert _verdict(spliced) is not None, ( + f"zarr-python refuses the fill value inside a shard ({error!r}) but accepts it " + "with the shard's codecs outside the shard" + ) + + +def _document( + data_type: Any, fill_value: Any, codecs: list[Any], chunk_shape: tuple[int, ...] = (4,) +) -> dict[str, Any]: + return { + "zarr_format": 3, + "node_type": "array", + "shape": chunk_shape, + "data_type": data_type, + "fill_value": fill_value, + "chunk_grid": {"name": "regular", "configuration": {"chunk_shape": chunk_shape}}, + "chunk_key_encoding": {"name": "default"}, + "codecs": codecs, + } + + +@pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["data type spellings"]) +@pytest.mark.parametrize( + "data_type", + [ + {"name": "int8"}, + {"name": "int8", "configuration": {}}, + {"name": "int8", "must_understand": True}, + ], +) +def test_data_type_object_spelling(data_type: dict[str, Any]) -> None: + ArrayV3Metadata.from_dict(_document(data_type, 0, [{"name": "bytes"}])) + + +@pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["raw bits"]) +def test_raw_bits_data_type() -> None: + ArrayV3Metadata.from_dict(_document("r16", [0, 0], [{"name": "bytes"}])) + + +@pytest.mark.xfail(strict=True, raises=TypeError, reason=_DIVERGENCES["bytes fill value"]) +def test_bytes_fill_value_as_integers() -> None: + ArrayV3Metadata.from_dict(_document("bytes", [1, 2], [{"name": "vlen-bytes"}])) + + +@pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["sharding behind transpose"]) +def test_sharding_behind_transpose() -> None: + # The transposed chunk is (4, 2), which inner chunks of (4, 1) divide. + sharding = { + "name": "sharding_indexed", + "configuration": { + "chunk_shape": (4, 1), + "codecs": [{"name": "bytes", "configuration": {"endian": "little"}}], + "index_codecs": [{"name": "bytes", "configuration": {"endian": "little"}}], + }, + } + transpose = {"name": "transpose", "configuration": {"order": (1, 0)}} + ArrayV3Metadata.from_dict(_document("uint8", 0, [transpose, sharding], chunk_shape=(2, 4))) + + +@pytest.mark.skipif(not _HAS_CAST_VALUE_RS, reason="cast-value-rs not installed") +@pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["cast_value hex scalar map"]) +def test_cast_value_scalar_map_hex_float() -> None: + cast = { + "name": "cast_value", + "configuration": { + "data_type": "float32", + "scalar_map": {"encode": [[1, "0x7fc00000"]]}, + }, + } + ArrayV3Metadata.from_dict( + _document("uint8", 0, [cast, {"name": "bytes", "configuration": {"endian": "little"}}]) + ) + + +@pytest.mark.xfail( + strict=True, raises=AssertionError, reason=_DIVERGENCES["empty rectilinear edges"] +) +def test_zarr_metadata_refuses_empty_rectilinear_edges() -> None: + document = _document("bool", False, [{"name": "bytes"}], chunk_shape=(0,)) + document["chunk_grid"] = { + "name": "rectilinear", + "configuration": {"kind": "inline", "chunk_shapes": [[]]}, + } + assert len(read_array_metadata_v3(document).problems) != 0 diff --git a/uv.lock b/uv.lock index 8dbf06aab4..fc63b6245b 100644 --- a/uv.lock +++ b/uv.lock @@ -3862,6 +3862,7 @@ dev = [ { name = "towncrier" }, { name = "universal-pathlib" }, { name = "uv" }, + { name = "zarr-metadata", extra = ["testing"] }, ] docs = [ { name = "astroid" }, @@ -3900,6 +3901,7 @@ remote-tests = [ { name = "requests" }, { name = "s3fs" }, { name = "uv" }, + { name = "zarr-metadata", extra = ["testing"] }, ] test = [ { name = "coverage" }, @@ -3913,6 +3915,7 @@ test = [ { name = "pytest-reportlog" }, { name = "pytest-xdist" }, { name = "uv" }, + { name = "zarr-metadata", extra = ["testing"] }, ] [package.metadata] @@ -3966,6 +3969,7 @@ dev = [ { name = "towncrier", specifier = "==26.9.0" }, { name = "universal-pathlib" }, { name = "uv", specifier = "==0.13.7" }, + { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, ] docs = [ { name = "astroid", specifier = "==4.3.4" }, @@ -4002,6 +4006,7 @@ remote-tests = [ { name = "requests", specifier = "==2.34.2" }, { name = "s3fs", specifier = ">=2023.10.0" }, { name = "uv", specifier = "==0.13.7" }, + { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, ] test = [ { name = "coverage", specifier = "==7.17.2" }, @@ -4015,4 +4020,23 @@ test = [ { name = "pytest-reportlog", specifier = "==1.0.0" }, { name = "pytest-xdist", specifier = "==3.8.0" }, { name = "uv", specifier = "==0.13.7" }, + { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, +] + +[[package]] +name = "zarr-metadata" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/95/e2/8e1f15171c0a21e9fda74e17ba6ed5820dc2ee10e500d2594ceec4eaf1ff/zarr_metadata-0.8.0.tar.gz", hash = "sha256:cd91855317118014f84c670a6f73c568cafdc781750e4f071651084a73b5c71f", size = 607925, upload-time = "2026-11-13T08:15:50.448Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9a/da/f7d2d72d44a6bd4f361d9e6b4f81166fed0254ff3856573ca2949c0eb150/zarr_metadata-0.8.0-py3-none-any.whl", hash = "sha256:6cb20d7c96665dbf5ba2eaebe49f9a2f416a73b8f8dbb2e0ed95ece67cf5a0b6", size = 336024, upload-time = "2026-11-13T08:15:49.029Z" }, +] + +[package.optional-dependencies] +testing = [ + { name = "hypothesis" }, ] From a5497b81bfe9773233bed69640b1bceb9982a8e3 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Sat, 14 Nov 2026 14:07:19 +0100 Subject: [PATCH 05/21] test: bound drawn rectilinear runs and keep zarr-metadata out of min_deps The conformance test exhausted memory on CI: zarr-python expands each run-length pair of rectilinear edges into a list, and zarr-metadata draws runs of up to millions of chunks. Draw no grid listing more than 10,000 chunks along an axis, and pin the divergence with a strict xfail test. The min_deps env could not resolve: zarr-metadata 0.8.0 needs typing-extensions>=4.16, and min_deps pins 4.14. Move zarr-metadata into its own `conformance` dependency group, which the test envs include and min_deps does not, and skip the module where it is not installed. Assisted-by: ClaudeCode:claude-opus-5-5 --- pyproject.toml | 9 +++-- tests/test_zarr_metadata_conformance.py | 46 ++++++++++++++++++++++--- uv.lock | 8 ++--- 3 files changed, 52 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 633fcec4d4..8dce367304 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,11 @@ test = [ "pytest-benchmark==5.3.1", "pytest-codspeed==5.0.4", "uv==0.13.7", - # tests/test_zarr_metadata_conformance.py draws array documents from its strategies. +] +# tests/test_zarr_metadata_conformance.py draws array documents from zarr-metadata's +# strategies. Its own group, because zarr-metadata needs a newer typing-extensions than +# the `min_deps` env pins; the test skips where it is not installed. +conformance = [ "zarr-metadata[testing]==0.8.0", ] remote-tests = [ @@ -158,6 +162,7 @@ docs = [ ] dev = [ {include-group = "test"}, + {include-group = "conformance"}, {include-group = "remote-tests"}, {include-group = "docs"}, "universal-pathlib", @@ -190,7 +195,7 @@ hooks.vcs.version-file = "src/zarr/_version.py" dependency-groups = ["dev"] [tool.hatch.envs.test] -dependency-groups = ["test"] +dependency-groups = ["test", "conformance"] [tool.hatch.envs.test.env-vars] diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index 5c0339238f..765eccb574 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -26,6 +26,10 @@ from typing import TYPE_CHECKING, Any, Final import pytest + +# Not installed in the `min_deps` env: see the `conformance` dependency group. +pytest.importorskip("zarr_metadata.testing") + from hypothesis import event, given, reject from hypothesis import strategies as st from zarr_metadata.model import read_array_metadata_v3 @@ -77,8 +81,15 @@ "zarr-metadata accepts an empty list of edge lengths for an axis of length 0. " "No such grid is drawn." ), + "expanded rectilinear runs": ( + "zarr-python expands each run-length pair of rectilinear edges into a list, so a " + "valid run of many chunks exhausts memory. No grid listing more than " + "`_MAX_LISTED_CHUNKS` chunks along an axis is drawn." + ), } +_MAX_LISTED_CHUNKS: Final = 10_000 + def _base64_fill_values( _configuration: Mapping[str, Any], _strategies: Strategies @@ -86,16 +97,27 @@ def _base64_fill_values( return st.binary(max_size=16).map(lambda data: base64.standard_b64encode(data).decode()) -def _has_edges(configuration: Mapping[str, Any]) -> bool: - return all(dimension != () for dimension in configuration["chunk_shapes"]) +def _listed_chunks(dimension: Any) -> int: + """How many chunks a dimension's edges list, counting each run; 0 for a bare length.""" + if isinstance(dimension, int): + return 0 + return sum(edge[1] if isinstance(edge, tuple | list) else 1 for edge in dimension) -def _with_edges( +def _readable(configuration: Mapping[str, Any]) -> bool: + """Whether zarr-python reads the rectilinear grid without a known divergence.""" + return all( + dimension != () and _listed_chunks(dimension) <= _MAX_LISTED_CHUNKS + for dimension in configuration["chunk_shapes"] + ) + + +def _readable_grids( configurations: Callable[[tuple[int, ...] | None, Strategies], Configurations], shape: tuple[int, ...] | None, strategies: Strategies, ) -> Configurations: - return configurations(shape, strategies).filter(_has_edges) + return configurations(shape, strategies).filter(_readable) def _supported(strategies: Strategies) -> Strategies: @@ -112,7 +134,7 @@ def _supported(strategies: Strategies) -> Strategies: grid_strategy = out.get(RECTILINEAR_CHUNK_GRID) if isinstance(grid_strategy, ChunkGridStrategy): out[RECTILINEAR_CHUNK_GRID] = dataclasses.replace( - grid_strategy, configurations=partial(_with_edges, grid_strategy.configurations) + grid_strategy, configurations=partial(_readable_grids, grid_strategy.configurations) ) return out @@ -313,3 +335,17 @@ def test_zarr_metadata_refuses_empty_rectilinear_edges() -> None: "configuration": {"kind": "inline", "chunk_shapes": [[]]}, } assert len(read_array_metadata_v3(document).problems) != 0 + + +@pytest.mark.xfail( + strict=True, raises=MemoryError, reason=_DIVERGENCES["expanded rectilinear runs"] +) +def test_rectilinear_run_is_not_expanded() -> None: + """A run of 2**62 chunks of length 2 is read without listing them.""" + document = _document("uint8", 0, [{"name": "bytes"}], chunk_shape=(2**63 - 1,)) + document["chunk_grid"] = { + "name": "rectilinear", + "configuration": {"kind": "inline", "chunk_shapes": [[[2, 2**62]]]}, + } + with zarr.config.set({"array.rectilinear_chunks": True}): + ArrayV3Metadata.from_dict(document) diff --git a/uv.lock b/uv.lock index fc63b6245b..c111f2bddc 100644 --- a/uv.lock +++ b/uv.lock @@ -3830,6 +3830,9 @@ remote = [ ] [package.dev-dependencies] +conformance = [ + { name = "zarr-metadata", extra = ["testing"] }, +] dev = [ { name = "astroid" }, { name = "botocore" }, @@ -3901,7 +3904,6 @@ remote-tests = [ { name = "requests" }, { name = "s3fs" }, { name = "uv" }, - { name = "zarr-metadata", extra = ["testing"] }, ] test = [ { name = "coverage" }, @@ -3915,7 +3917,6 @@ test = [ { name = "pytest-reportlog" }, { name = "pytest-xdist" }, { name = "uv" }, - { name = "zarr-metadata", extra = ["testing"] }, ] [package.metadata] @@ -3937,6 +3938,7 @@ requires-dist = [ provides-extras = ["cast-value-rs", "cli", "gpu", "optional", "remote"] [package.metadata.requires-dev] +conformance = [{ name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }] dev = [ { name = "astroid", specifier = "==4.3.4" }, { name = "botocore" }, @@ -4006,7 +4008,6 @@ remote-tests = [ { name = "requests", specifier = "==2.34.2" }, { name = "s3fs", specifier = ">=2023.10.0" }, { name = "uv", specifier = "==0.13.7" }, - { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, ] test = [ { name = "coverage", specifier = "==7.17.2" }, @@ -4020,7 +4021,6 @@ test = [ { name = "pytest-reportlog", specifier = "==1.0.0" }, { name = "pytest-xdist", specifier = "==3.8.0" }, { name = "uv", specifier = "==0.13.7" }, - { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, ] [[package]] From 9bee0c029052722fcbfc9f44a81d766a9aea2ef9 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 16 Nov 2026 15:11:34 +0100 Subject: [PATCH 06/21] fix(metadata): validate codecs after a transpose against the transposed chunk grid `ArrayV3Metadata` validated every codec against the stored chunk grid, even after a `TransposeCodec` filter had permuted the chunk shape. A sharding serializer whose inner chunk shape divided only the stored grid was accepted and then wrote data that read back wrong; one that divided the chunks it actually receives was rejected. Codecs gain a `resolve_chunk_grid` hook, the grid counterpart of `resolve_metadata`, which defaults to the identity. `TransposeCodec` permutes the grid's dimensions with it, moving a rectilinear grid's edge lists with their dimensions. Array metadata threads the grid through the codecs alongside the spec, and drops the second, unthreaded validate loop. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 --- docs/user-guide/extending.md | 3 + src/zarr/abc/codec.py | 18 ++++++ src/zarr/codecs/transpose.py | 14 +++++ src/zarr/core/metadata/v3.py | 40 ++++++------- tests/test_codecs/test_transpose.py | 87 ++++++++++++++++++++++++++++- 5 files changed, 141 insertions(+), 21 deletions(-) diff --git a/docs/user-guide/extending.md b/docs/user-guide/extending.md index bf0eb442c9..e211afec2a 100644 --- a/docs/user-guide/extending.md +++ b/docs/user-guide/extending.md @@ -45,6 +45,9 @@ Custom codecs should also implement the following methods: array metadata. It should raise errors if not. - `resolve_metadata` (optional), which is important for codecs that change the shape, dtype or fill value of a chunk. +- `resolve_chunk_grid` (optional), which codecs that change the shape of a chunk use to + return the array's chunk grid as the codecs after them see it. The `validate` method of + each later codec receives that grid. - `evolve_from_array_spec` (optional), which can be useful for automatically filling in codec configuration metadata from the array metadata. diff --git a/src/zarr/abc/codec.py b/src/zarr/abc/codec.py index c5e753d120..38b21a92cd 100644 --- a/src/zarr/abc/codec.py +++ b/src/zarr/abc/codec.py @@ -148,6 +148,24 @@ def resolve_metadata(self, chunk_spec: ArraySpec) -> ArraySpec: """ return chunk_spec + def resolve_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> ChunkGridMetadata: + """The array's chunk grid as the codecs after this one see it. + + A codec that changes the shape of a chunk returns the grid of the chunks it + encodes to, as `resolve_metadata` returns their spec. Array metadata validates + each codec against the grid the codecs before it leave. The default returns + `chunk_grid` unchanged, which holds for any codec that keeps a chunk's shape. + + Parameters + ---------- + chunk_grid : ChunkGridMetadata + + Returns + ------- + ChunkGridMetadata + """ + return chunk_grid + def evolve_from_array_spec(self, array_spec: ArraySpec) -> Self: """Fills in codec configuration parameters that can be automatically inferred from the array metadata. diff --git a/src/zarr/codecs/transpose.py b/src/zarr/codecs/transpose.py index 5756fba2b4..51ac9dac9b 100644 --- a/src/zarr/codecs/transpose.py +++ b/src/zarr/codecs/transpose.py @@ -9,6 +9,7 @@ from zarr.abc.codec import ArrayArrayCodec from zarr.core.array_spec import ArraySpec from zarr.core.common import JSON, parse_named_configuration +from zarr.core.metadata.v3 import RegularChunkGridMetadata if TYPE_CHECKING: from typing import Self @@ -95,6 +96,19 @@ def resolve_metadata(self, chunk_spec: ArraySpec) -> ArraySpec: prototype=chunk_spec.prototype, ) + def resolve_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> ChunkGridMetadata: + """Permute the grid's dimensions as `resolve_metadata` permutes the chunk shape. + + A rectilinear grid's edge lists move with their dimensions. + """ + if isinstance(chunk_grid, RegularChunkGridMetadata): + return replace( + chunk_grid, chunk_shape=tuple(chunk_grid.chunk_shape[i] for i in self.order) + ) + return replace( + chunk_grid, chunk_shapes=tuple(chunk_grid.chunk_shapes[i] for i in self.order) + ) + def _decode_sync( self, chunk_array: NDBuffer, diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index 63d525ba2d..043f2ef7cc 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -563,28 +563,10 @@ def __init__( config=ArrayConfig.from_dict({}), # TODO: config is not needed here. prototype=default_buffer_prototype(), # TODO: prototype is not needed here. ) - # Thread the spec through evolution: each codec must be evolved against - # the spec it will actually see at run-time, not the original array spec. - # Earlier array->array codecs may transform the dtype (e.g. cast_value), - # so the spec passed to later codecs must reflect those transformations. - # Per-codec validate() must run before resolve_metadata(), since the - # latter may rely on invariants the former checks (e.g. cast_value - # rejects complex source dtypes that would otherwise crash _do_cast). - evolved: list[Codec] = [] - spec = array_spec - for c in codecs_parsed_partial: - evolved_codec = c.evolve_from_array_spec(spec) - evolved_codec.validate(shape=spec.shape, dtype=spec.dtype, chunk_grid=chunk_grid_parsed) - evolved.append(evolved_codec) - spec = evolved_codec.resolve_metadata(spec) - codecs_parsed = tuple(evolved) - validate_codecs(codecs_parsed_partial, data_type) - object.__setattr__(self, "shape", shape_parsed) object.__setattr__(self, "data_type", data_type) object.__setattr__(self, "chunk_grid", chunk_grid_parsed) object.__setattr__(self, "chunk_key_encoding", chunk_key_encoding_parsed) - object.__setattr__(self, "codecs", codecs_parsed) object.__setattr__(self, "dimension_names", dimension_names_parsed) object.__setattr__(self, "fill_value", fill_value_parsed) object.__setattr__(self, "attributes", attributes_parsed) @@ -593,6 +575,26 @@ def __init__( self._validate_metadata() + # Thread the spec and the chunk grid through evolution: each codec is + # evolved and validated against what it will actually see at run-time, + # not the original array spec and grid. Earlier array->array codecs may + # transform the dtype (e.g. cast_value) or permute the chunk shape + # (transpose), so later codecs must see those transformations. + # Per-codec validate() must run before resolve_metadata(), since the + # latter may rely on invariants the former checks (e.g. cast_value + # rejects complex source dtypes that would otherwise crash _do_cast). + evolved: list[Codec] = [] + spec = array_spec + grid = chunk_grid_parsed + for c in codecs_parsed_partial: + evolved_codec = c.evolve_from_array_spec(spec) + evolved_codec.validate(shape=spec.shape, dtype=spec.dtype, chunk_grid=grid) + evolved.append(evolved_codec) + spec = evolved_codec.resolve_metadata(spec) + grid = evolved_codec.resolve_chunk_grid(grid) + validate_codecs(codecs_parsed_partial, data_type) + object.__setattr__(self, "codecs", tuple(evolved)) + def _validate_metadata(self) -> None: if len(self.shape) != self.chunk_grid.ndim: raise ValueError("`chunk_grid` and `shape` need to have the same number of dimensions.") @@ -604,8 +606,6 @@ def _validate_metadata(self) -> None: ) if self.fill_value is None: raise ValueError("`fill_value` is required.") - for codec in self.codecs: - codec.validate(shape=self.shape, dtype=self.data_type, chunk_grid=self.chunk_grid) @property def ndim(self) -> int: diff --git a/tests/test_codecs/test_transpose.py b/tests/test_codecs/test_transpose.py index 949bb72a62..f4354b4fd5 100644 --- a/tests/test_codecs/test_transpose.py +++ b/tests/test_codecs/test_transpose.py @@ -5,7 +5,7 @@ from zarr import AsyncArray, config from zarr.abc.codec import SupportsSyncCodec from zarr.abc.store import Store -from zarr.codecs import TransposeCodec +from zarr.codecs import ShardingCodec, TransposeCodec from zarr.core.array_spec import ArrayConfig, ArraySpec from zarr.core.buffer import NDBuffer, default_buffer_prototype from zarr.core.common import MemoryOrder @@ -99,6 +99,91 @@ def test_transpose_invalid( ) +# Each case pairs a chunk grid with array->array filters and a sharding serializer whose +# inner chunk shape divides the grid only as the filters leave it, not as stored. +# The rectilinear cases use a square array, whose shape a transpose leaves unchanged, +# so only the permuted edge lists tell the grids apart. +TRANSPOSED_SHARDING_CASES = [ + pytest.param((12, 40), (6, 20), [TransposeCodec(order=(1, 0))], (10, 3), id="regular"), + pytest.param( + (12, 40), + (6, 20), + [TransposeCodec(order=(1, 0)), TransposeCodec(order=(1, 0))], + (3, 10), + id="regular-transposed-twice", + ), + pytest.param( + (4, 12, 40), (2, 6, 20), [TransposeCodec(order=(1, 2, 0))], (3, 5, 2), id="regular-3d" + ), + pytest.param( + (12, 12), [[4, 8], [6, 6]], [TransposeCodec(order=(1, 0))], (6, 4), id="rectilinear" + ), + pytest.param( + (12, 40), [6, [10, 10, 20]], [TransposeCodec(order=(1, 0))], (10, 3), id="rectilinear-int" + ), +] + + +# A transpose before the sharding codec disables partial reads and writes, which warns. +@pytest.mark.filterwarnings("ignore:Combining a `sharding_indexed` codec") +@pytest.mark.parametrize(("shape", "chunks", "filters", "inner_chunks"), TRANSPOSED_SHARDING_CASES) +def test_sharding_after_transpose( + shape: tuple[int, ...], + chunks: tuple[int, ...] | list[int | list[int]], + filters: list[TransposeCodec], + inner_chunks: tuple[int, ...], +) -> None: + """ + A serializer after a transpose filter is validated against the transposed chunk + grid, and the array round-trips. + """ + data = np.arange(np.prod(shape), dtype="uint16").reshape(shape) + with config.set({"array.rectilinear_chunks": True}): + a = zarr.create_array( + zarr.storage.MemoryStore(), + shape=shape, + chunks=chunks, + dtype=data.dtype, + filters=filters, + serializer=ShardingCodec(chunk_shape=inner_chunks), + ) + a[...] = data + assert np.array_equal(a[...], data) + + +@pytest.mark.parametrize( + ("shape", "chunks", "filters", "inner_chunks"), + [ + pytest.param((12, 40), (6, 20), [TransposeCodec(order=(1, 0))], (3, 10), id="regular"), + pytest.param( + (12, 12), [[4, 8], [6, 6]], [TransposeCodec(order=(1, 0))], (4, 6), id="rectilinear" + ), + ], +) +def test_sharding_after_transpose_indivisible( + shape: tuple[int, ...], + chunks: tuple[int, ...] | list[list[int]], + filters: list[TransposeCodec], + inner_chunks: tuple[int, ...], +) -> None: + """ + An inner chunk shape that divides the stored chunk grid but not the transposed one + is rejected. + """ + with ( + config.set({"array.rectilinear_chunks": True}), + pytest.raises(ValueError, match="is not divisible by the shard's inner chunk size"), + ): + zarr.create_array( + zarr.storage.MemoryStore(), + shape=shape, + chunks=chunks, + dtype="uint16", + filters=filters, + serializer=ShardingCodec(chunk_shape=inner_chunks), + ) + + def test_transpose_codec_supports_sync() -> None: assert isinstance(TransposeCodec(order=(0, 1)), SupportsSyncCodec) From 4528fc73f83a980ff4f6c40e39586be5e4f6e216 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 16 Nov 2026 15:13:09 +0100 Subject: [PATCH 07/21] docs: add changelog fragment for #449 Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 --- changes/449.bugfix.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/449.bugfix.md diff --git a/changes/449.bugfix.md b/changes/449.bugfix.md new file mode 100644 index 0000000000..9c1cc51bd7 --- /dev/null +++ b/changes/449.bugfix.md @@ -0,0 +1 @@ +Fix array metadata validating each codec against the stored chunk grid even after a `TransposeCodec` filter had permuted the chunk shape. A sharding serializer whose inner chunk shape divided only the stored grid was accepted, then read back wrong data. A valid one was rejected. Codecs gain a `resolve_chunk_grid` method, the chunk-grid counterpart of `resolve_metadata`, which `TransposeCodec` uses to permute the grid. From 0431a035a26760353578e50b0e95163c33a6a208 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 16:16:18 +0100 Subject: [PATCH 08/21] fix(sharding): open stored arrays whose shards the inner chunk shape does not divide Validation runs when a stored array is opened, so checking that a sharding codec's inner chunk shape divides its shards in `ShardingCodec.validate` made such arrays, and every group holding one, unopenable. Older versions stored them: a transposed shard that the inner chunk shape divides only untransposed, or a nested sharding codec. The check moves to `ShardingCodec.check_chunk_grid`, which `ArrayV3Metadata.to_buffer_dict` runs (via `check_shard_chunk_grids`) on the grid each sharding codec receives, so such metadata is still never stored. Reading or writing such a shard now raises in `_get_chunks_per_shard` instead of returning data from the wrong place or dropping data. The zarr-metadata conformance test no longer excludes sharding behind a transpose, which the merged transpose fix reads correctly. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- changes/449.bugfix.md | 2 +- src/zarr/codecs/sharding.py | 79 ++++++++++++-- src/zarr/core/metadata/v3.py | 14 +++ tests/test_codecs/test_sharding.py | 133 ++++++++++++++++++++---- tests/test_zarr_metadata_conformance.py | 20 +--- 5 files changed, 204 insertions(+), 44 deletions(-) diff --git a/changes/449.bugfix.md b/changes/449.bugfix.md index 9c1cc51bd7..7912ced8d1 100644 --- a/changes/449.bugfix.md +++ b/changes/449.bugfix.md @@ -1 +1 @@ -Fix array metadata validating each codec against the stored chunk grid even after a `TransposeCodec` filter had permuted the chunk shape. A sharding serializer whose inner chunk shape divided only the stored grid was accepted, then read back wrong data. A valid one was rejected. Codecs gain a `resolve_chunk_grid` method, the chunk-grid counterpart of `resolve_metadata`, which `TransposeCodec` uses to permute the grid. +Fix array metadata validating each codec against the stored chunk grid even after a `TransposeCodec` filter had permuted the chunk shape. A sharding serializer whose inner chunk shape divided only the stored grid was accepted, then read back wrong data, and a valid one was rejected. Codecs gain a `resolve_chunk_grid` method, the chunk-grid counterpart of `resolve_metadata`, which `TransposeCodec` uses to permute the grid. A sharding codec whose inner chunk shape does not divide the shards it receives is now refused when array metadata is stored, not when it is read. Arrays that older versions stored that way open again, along with their groups. Reading or writing one of their shards raises an error instead of returning wrong data or dropping data. diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index e156d94c57..3827789f21 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -640,10 +640,40 @@ def validate( dtype: ZDType[TBaseDType, TBaseScalar], chunk_grid: ChunkGridMetadata, ) -> None: + """Check that the inner chunk shape has the array's number of dimensions and that + the chunk grid is one sharding supports. + + Whether the inner chunk shape divides each shard is not checked here, because + validation also runs when a stored array is opened, and an array whose shards + it does not divide must still open. `check_chunk_grid` checks it before array + metadata is stored, and reading or writing such a shard raises. + """ if len(self.chunk_shape) != len(shape): raise ValueError( "The shard's `chunk_shape` and array's `shape` need to have the same number of dimensions." ) + if not isinstance(chunk_grid, RegularChunkGridMetadata | RectilinearChunkGridMetadata): + raise TypeError( + f"Sharding is only compatible with regular and rectilinear chunk grids, " + f"got {type(chunk_grid)}" + ) + + def check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: + """Raise if the inner chunk shape does not divide every shard of `chunk_grid`, + the grid of the shards this codec receives, or if a sharding codec among the + inner codecs does not divide the inner chunks it receives. + + Parameters + ---------- + chunk_grid + The chunk grid as the codecs before this one leave it. + + Raises + ------ + ValueError + If a shard edge length is not a multiple of the inner chunk size along its + dimension. + """ if isinstance(chunk_grid, RegularChunkGridMetadata): edges_per_dim: tuple[tuple[int, ...], ...] = tuple((s,) for s in chunk_grid.chunk_shape) elif isinstance(chunk_grid, RectilinearChunkGridMetadata): @@ -662,6 +692,7 @@ def validate( f"Chunk edge length {edge} in dimension {i} is not " f"divisible by the shard's inner chunk size {inner}." ) + check_shard_chunk_grids(self.codecs, RegularChunkGridMetadata(chunk_shape=self.chunk_shape)) def _get_inner_chunk_transform(self, shard_spec: ArraySpec) -> Any: """The synchronous transform for the inner codec chain. @@ -1658,14 +1689,25 @@ def _get_chunk_spec(self, shard_spec: ArraySpec) -> ArraySpec: ) def _get_chunks_per_shard(self, shard_spec: ArraySpec) -> tuple[int, ...]: - return tuple( - s // c - for s, c in zip( - shard_spec.shape, - self.chunk_shape, - strict=False, + """The number of inner chunks along each dimension of a shard. + + Raises + ------ + ValueError + If the inner chunk shape does not divide the shard shape. The shard index + then covers only part of the shard, so reading the shard would return data + from the wrong place and writing it would drop data. Array metadata whose + shards the inner chunk shape does not divide is never stored (see + `check_chunk_grid`), but such a stored array can still be opened. + """ + if any(s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)): + raise ValueError( + f"The shard shape {shard_spec.shape} is not divisible by the inner chunk " + f"shape {self.chunk_shape} of the sharding codec, so the shard cannot be " + "read or written. Recreate the array with an inner chunk shape that divides " + "the shape of each shard as the codecs before the sharding codec leave it." ) - ) + return tuple(s // c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)) def _shard_index_byte_range( self, chunks_per_shard: tuple[int, ...] @@ -1870,3 +1912,26 @@ def _load_partial_shard_maybe_sync( def compute_encoded_size(self, input_byte_length: int, shard_spec: ArraySpec) -> int: chunks_per_shard = self._get_chunks_per_shard(shard_spec) return input_byte_length + self._shard_index_size(chunks_per_shard) + + +def check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetadata) -> None: + """Check each sharding codec among `codecs` against the chunk grid as the codecs + before it leave it (see `ShardingCodec.check_chunk_grid`). + + Parameters + ---------- + codecs + A codec chain, in encoding order. + chunk_grid + The grid of the chunks the chain encodes. + + Raises + ------ + ValueError + If the inner chunk shape of a sharding codec does not divide the shards it + receives. + """ + for codec in codecs: + if isinstance(codec, ShardingCodec): + codec.check_chunk_grid(chunk_grid) + chunk_grid = codec.resolve_chunk_grid(chunk_grid) diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index 043f2ef7cc..69a3ea0bd5 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -663,7 +663,21 @@ def encode_chunk_key(self, chunk_coords: tuple[int, ...]) -> str: return self.chunk_key_encoding.encode_chunk_key(chunk_coords) def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]: + """Encode this array's `zarr.json` document for a store. + + Raises + ------ + ValueError + If the metadata may not be stored (see `check_storable`), or if a sharding + codec's inner chunk shape does not divide the shards it receives. An array + stored that way can be opened, but its shards cannot be read or written, so + zarr does not store its metadata. Consolidated metadata copies the documents + of arrays already stored, so it does not check this. + """ + from zarr.codecs.sharding import check_shard_chunk_grids + check_storable(self) + check_shard_chunk_grids(self.codecs, self.chunk_grid) indent = config.get("json_indent") return {ZARR_JSON: json_to_buffer(self.to_dict(), prototype=prototype, indent=indent)} diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 52e23164ad..3a38927155 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1,4 +1,5 @@ import enum +import json import math import pickle import warnings @@ -34,7 +35,6 @@ _ShardReader, ) from zarr.core.buffer import NDArrayLike, default_buffer_prototype -from zarr.core.dtype import Int32 from zarr.core.indexing import lexicographic_order_coords from zarr.core.metadata.v3 import ArrayV3Metadata from zarr.storage import MemoryStore, StorePath, ZipStore @@ -1502,27 +1502,124 @@ def test_sharding_codec_rejects_inner_chunk_size_zero(chunk_shape: Any) -> None: ShardingCodec(chunk_shape=chunk_shape) +# Each case pairs codecs that zarr stores with codecs that differ only in a sharding +# codec's inner chunk shape, which does not divide the shards that codec receives. +# zarr refuses to store the second, but may find it stored: older zarr versions +# stored such metadata, and with it shards that read back wrong data. +_INDIVISIBLE_SHARDING_CASES = [ + pytest.param( + (ShardingCodec(chunk_shape=(4, 6)),), (ShardingCodec(chunk_shape=(3, 5)),), id="top-level" + ), + pytest.param( + (TransposeCodec(order=(1, 0)), ShardingCodec(chunk_shape=(6, 4))), + (TransposeCodec(order=(1, 0)), ShardingCodec(chunk_shape=(4, 6))), + id="after-transpose", + ), + pytest.param( + (ShardingCodec(chunk_shape=(8, 12), codecs=(ShardingCodec(chunk_shape=(4, 6)),)),), + (ShardingCodec(chunk_shape=(8, 12), codecs=(ShardingCodec(chunk_shape=(3, 5)),)),), + id="nested", + ), +] + + +def _store_indivisible_sharding( + store: MemoryStore, codecs: tuple[Any, ...], indivisible: tuple[Any, ...] +) -> None: + """Store a group holding a valid array `"valid"` and an array `"indivisible"` + whose data was written with `codecs` and whose metadata declares `indivisible` + in their place.""" + group = zarr.create_group(store) + group.create_array("valid", shape=(4,), dtype="int32", fill_value=0)[...] = np.arange(4) + array = group.create_array( + "indivisible", + shape=(8, 12), + chunks=(8, 12), + dtype="int32", + fill_value=0, + filters=codecs[:-1], + serializer=codecs[-1], + compressors=None, + ) + array[...] = np.arange(96).reshape(8, 12) + document = json.loads(store._store_dict["indivisible/zarr.json"].to_bytes()) + document["codecs"] = [codec.to_dict() for codec in indivisible] + store._store_dict["indivisible/zarr.json"] = default_buffer_prototype().buffer.from_bytes( + json.dumps(document).encode() + ) + + @pytest.mark.filterwarnings( "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" ) -def test_open_rejects_stored_nested_sharding_with_indivisible_inner_chunk_shape() -> None: - """A stored array document whose nested sharding codec has an inner chunk shape - that does not divide the chunk it encodes is rejected when the metadata is parsed, - not when chunks are read or written.""" - valid = ArrayV3Metadata( - shape=(6, 20), - data_type=Int32(), - chunk_grid={"name": "regular", "configuration": {"chunk_shape": (6, 20)}}, - chunk_key_encoding={"name": "default"}, - fill_value=0, - codecs=(ShardingCodec(chunk_shape=(6, 20), codecs=(ShardingCodec(chunk_shape=(3, 10)),)),), - attributes={}, - dimension_names=None, +@pytest.mark.parametrize(("codecs", "indivisible"), _INDIVISIBLE_SHARDING_CASES) +def test_open_stored_indivisible_sharding( + codecs: tuple[Any, ...], indivisible: tuple[Any, ...] +) -> None: + """A stored array whose sharding codec's inner chunk shape does not divide its + shards opens, and its group lists and opens its members.""" + store = MemoryStore() + _store_indivisible_sharding(store, codecs, indivisible) + group = zarr.open_group(store, mode="r") + assert sorted(name for name, _ in group.members()) == ["indivisible", "valid"] + assert np.array_equal(zarr.open_array(store, path="valid", mode="r")[...], np.arange(4)) + array = zarr.open_array(store, path="indivisible", mode="r") + assert array.shape == (8, 12) + assert json.dumps(array.metadata.to_dict()["codecs"]) == json.dumps( + [codec.to_dict() for codec in indivisible] ) - doc: Any = valid.to_dict() - doc["codecs"][0]["configuration"]["codecs"][0]["configuration"]["chunk_shape"] = (4, 7) - with pytest.raises(ValueError, match="not divisible"): - ArrayV3Metadata.from_dict(doc) + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize(("codecs", "indivisible"), _INDIVISIBLE_SHARDING_CASES) +def test_read_stored_indivisible_sharding( + codecs: tuple[Any, ...], indivisible: tuple[Any, ...] +) -> None: + """Reading a shard whose inner chunk shape does not divide it raises, where it + used to return data from the wrong place.""" + store = MemoryStore() + _store_indivisible_sharding(store, codecs, indivisible) + array = zarr.open_array(store, path="indivisible", mode="r") + with pytest.raises(ValueError, match="is not divisible by the inner chunk shape"): + array[...] + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize(("codecs", "indivisible"), _INDIVISIBLE_SHARDING_CASES) +def test_write_stored_indivisible_sharding( + codecs: tuple[Any, ...], indivisible: tuple[Any, ...] +) -> None: + """Writing a shard whose inner chunk shape does not divide it raises, where it + used to drop data, and the store is unchanged.""" + store = MemoryStore() + _store_indivisible_sharding(store, codecs, indivisible) + stored = dict(store._store_dict) + array = zarr.open_array(store, path="indivisible", mode="r+") + with pytest.raises(ValueError, match="is not divisible by the inner chunk shape"): + array[...] = 1 + assert store._store_dict == stored + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize(("codecs", "indivisible"), _INDIVISIBLE_SHARDING_CASES) +def test_store_metadata_of_stored_indivisible_sharding( + codecs: tuple[Any, ...], indivisible: tuple[Any, ...] +) -> None: + """The metadata of an array whose sharding codec's inner chunk shape does not + divide its shards is not stored again, and the store is unchanged.""" + store = MemoryStore() + _store_indivisible_sharding(store, codecs, indivisible) + stored = dict(store._store_dict) + array = zarr.open_array(store, path="indivisible", mode="r+") + with pytest.raises(ValueError, match="not divisible by the shard's inner chunk size"): + array.update_attributes({"key": "value"}) + assert store._store_dict == stored # Each layout pairs codecs with a fill value the inner chain can encode, as the codecs diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index 765eccb574..328a7f97bb 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -30,7 +30,7 @@ # Not installed in the `min_deps` env: see the `conformance` dependency group. pytest.importorskip("zarr_metadata.testing") -from hypothesis import event, given, reject +from hypothesis import event, given from hypothesis import strategies as st from zarr_metadata.model import read_array_metadata_v3 from zarr_metadata.testing.strategies import ( @@ -66,10 +66,6 @@ "A `bytes` fill value written as an array of integers is refused. Only the " "base64 spelling is drawn." ), - "sharding behind transpose": ( - "A sharding codec after a `transpose` is validated against the untransposed " - "chunk. Such documents are rejected from the draw." - ), "cast_value hex scalar map": ( "A `scalar_map` value written as a hex string is refused while the fill value " "is encoded, so the property counts it as a fill value rejection. Not excluded." @@ -184,16 +180,6 @@ def _is_array_array(codec: str | Mapping[str, Any]) -> bool: return issubclass(get_codec_class(_codec_name(codec)), ArrayArrayCodec) -def _shard_behind_transpose(codecs: tuple[Any, ...]) -> bool: - """Whether the array's own codecs hold a transpose and a sharding codec, which follows it. - - Only the array's own codecs: inside a shard, each codec is validated against the - chunk the codecs before it leave. - """ - names = [_codec_name(codec) for codec in codecs] - return "transpose" in names and "sharding_indexed" in names - - def _spliced(codecs: tuple[Any, ...]) -> list[Any]: """The codecs up to the array -> bytes codec, each shard replaced by the codecs it holds. @@ -238,8 +224,6 @@ def test_refuses_only_fill_values_the_codecs_cannot_encode( the shards.""" # As a reader sees it: zarr-metadata draws JSON arrays as tuples. document = json.loads(json.dumps(data.draw(_DOCUMENTS[slice_]))) - if _shard_behind_transpose(document["codecs"]): - reject() # "sharding behind transpose" in _DIVERGENCES with zarr.config.set({"array.rectilinear_chunks": True}): error = _verdict(document) if error is None: @@ -295,8 +279,8 @@ def test_bytes_fill_value_as_integers() -> None: ArrayV3Metadata.from_dict(_document("bytes", [1, 2], [{"name": "vlen-bytes"}])) -@pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["sharding behind transpose"]) def test_sharding_behind_transpose() -> None: + """A sharding codec after a `transpose` is read against the transposed chunk.""" # The transposed chunk is (4, 2), which inner chunks of (4, 1) divide. sharding = { "name": "sharding_indexed", From f27f64c3cf6c7d206adf814a9372cf3779aa1ab7 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 16:21:45 +0100 Subject: [PATCH 09/21] test: check shard divisibility through check_chunk_grid The divisibility check left `ShardingCodec.validate`, so the rectilinear grid tests call `check_chunk_grid`. Creating an array after a transpose now warns about partial reads before its metadata is refused, as the round-trip test already expects. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- tests/test_codecs/test_transpose.py | 1 + tests/test_unified_chunk_grid.py | 20 ++++---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/tests/test_codecs/test_transpose.py b/tests/test_codecs/test_transpose.py index f4354b4fd5..46b309d1fb 100644 --- a/tests/test_codecs/test_transpose.py +++ b/tests/test_codecs/test_transpose.py @@ -151,6 +151,7 @@ def test_sharding_after_transpose( assert np.array_equal(a[...], data) +@pytest.mark.filterwarnings("ignore:Combining a `sharding_indexed` codec") @pytest.mark.parametrize( ("shape", "chunks", "filters", "inner_chunks"), [ diff --git a/tests/test_unified_chunk_grid.py b/tests/test_unified_chunk_grid.py index 1262af7484..7fe099882d 100644 --- a/tests/test_unified_chunk_grid.py +++ b/tests/test_unified_chunk_grid.py @@ -1417,59 +1417,47 @@ def test_sharding_accepts_rectilinear_outer_grid() -> None: def test_sharding_rejects_non_divisible_rectilinear() -> None: """Rectilinear shard sizes not divisible by inner chunk_shape should raise.""" from zarr.codecs.sharding import ShardingCodec - from zarr.core.dtype import Float32 from zarr.core.metadata.v3 import RectilinearChunkGridMetadata codec = ShardingCodec(chunk_shape=(5, 5)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 20, 17), (50, 50))) with pytest.raises(ValueError, match="divisible"): - codec.validate( - shape=(47, 100), - dtype=Float32(), - chunk_grid=grid_meta, - ) + codec.check_chunk_grid(grid_meta) def test_sharding_accepts_divisible_rectilinear() -> None: """Rectilinear shard sizes all divisible by inner chunk_shape should pass.""" from zarr.codecs.sharding import ShardingCodec - from zarr.core.dtype import Float32 from zarr.core.metadata.v3 import RectilinearChunkGridMetadata codec = ShardingCodec(chunk_shape=(5, 5)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 20, 30), (50, 50))) - codec.validate( - shape=(60, 100), - dtype=Float32(), - chunk_grid=grid_meta, - ) + codec.check_chunk_grid(grid_meta) def test_sharding_rejects_non_divisible_among_repeated_edges() -> None: """Shard validation catches a non-divisible edge even among many repeated valid ones.""" from zarr.codecs.sharding import ShardingCodec - from zarr.core.dtype import Float32 from zarr.core.metadata.v3 import RectilinearChunkGridMetadata # edges (10, 10, 7) — 7 is not divisible by 5 codec = ShardingCodec(chunk_shape=(5,)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 10, 7),)) with pytest.raises(ValueError, match="divisible"): - codec.validate(shape=(27,), dtype=Float32(), chunk_grid=grid_meta) + codec.check_chunk_grid(grid_meta) def test_sharding_accepts_all_repeated_divisible_edges() -> None: """Shard validation passes when all distinct edges are divisible by inner chunk size.""" from zarr.codecs.sharding import ShardingCodec - from zarr.core.dtype import Float32 from zarr.core.metadata.v3 import RectilinearChunkGridMetadata # edges (10, 10, 20, 10) — unique values {10, 20}, both divisible by 5 codec = ShardingCodec(chunk_shape=(5,)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 10, 20, 10),)) - codec.validate(shape=(50,), dtype=Float32(), chunk_grid=grid_meta) + codec.check_chunk_grid(grid_meta) # --------------------------------------------------------------------------- From 24ab145855063dd9f4900fe9a348c16391e3c55a Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 16:37:57 +0100 Subject: [PATCH 10/21] fix(sharding): skip shard checks against a grid of another dimensionality Review fixes for the stored-array opening change: - `_check_chunk_grid` no longer compares an inner chunk shape with a grid of another number of dimensions (a filter such as `PackBits` that flattens chunks without declaring its grid). It compared dimension 0 only, which refused `PackBits` followed by a sharding codec whose inner chunk shape divides the flattened shard. Reading or writing checks the shard itself. - `TransposeCodec.resolve_chunk_grid` returns such a grid unchanged instead of raising `IndexError` when the array is opened. - The shard checks are private (`_check_chunk_grid`, `_check_shard_chunk_grids`) rather than new public API. - Docstrings no longer claim checks that moved, and say that a group's consolidated metadata is not checked. - Tests: a codec after a transpose is validated against the transposed grid; `PackBits` followed by sharding round-trips; the conformance test for sharding behind a transpose stores the metadata, so it fails without the transpose fix. - The changelog splits the new `resolve_chunk_grid` hook into a feature fragment. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- changes/449.bugfix.md | 2 +- changes/449.feature.md | 1 + docs/user-guide/extending.md | 5 +- src/zarr/abc/codec.py | 7 ++- src/zarr/codecs/sharding.py | 56 +++++++++++------- src/zarr/codecs/transpose.py | 7 ++- src/zarr/core/metadata/v3.py | 16 ++--- tests/test_codecs/test_sharding.py | 24 +++++++- tests/test_codecs/test_transpose.py | 77 ++++++++++++++++++++++++- tests/test_unified_chunk_grid.py | 8 +-- tests/test_zarr_metadata_conformance.py | 6 +- 11 files changed, 164 insertions(+), 45 deletions(-) create mode 100644 changes/449.feature.md diff --git a/changes/449.bugfix.md b/changes/449.bugfix.md index 7912ced8d1..6ca4ec6bcf 100644 --- a/changes/449.bugfix.md +++ b/changes/449.bugfix.md @@ -1 +1 @@ -Fix array metadata validating each codec against the stored chunk grid even after a `TransposeCodec` filter had permuted the chunk shape. A sharding serializer whose inner chunk shape divided only the stored grid was accepted, then read back wrong data, and a valid one was rejected. Codecs gain a `resolve_chunk_grid` method, the chunk-grid counterpart of `resolve_metadata`, which `TransposeCodec` uses to permute the grid. A sharding codec whose inner chunk shape does not divide the shards it receives is now refused when array metadata is stored, not when it is read. Arrays that older versions stored that way open again, along with their groups. Reading or writing one of their shards raises an error instead of returning wrong data or dropping data. +Fix validation of the codecs after a `TransposeCodec`, which used the untransposed chunk grid: a sharding codec whose inner chunk shape divided only the untransposed chunk was accepted and read back wrong data, and a valid one was refused. A sharding codec whose inner chunk shape does not divide its shards is now refused when array metadata is stored instead of when it is read, so arrays stored that way open, and so do their groups. Reading their shards, or writing anything but the fill value to them, raises an error instead of returning wrong data or dropping data. diff --git a/changes/449.feature.md b/changes/449.feature.md new file mode 100644 index 0000000000..bf6e4b5fa3 --- /dev/null +++ b/changes/449.feature.md @@ -0,0 +1 @@ +Add `resolve_chunk_grid` to codecs, the chunk-grid counterpart of `resolve_metadata`. A codec that changes the shape of a chunk implements it to give the chunk grid that the codecs after it see. `TransposeCodec` permutes the grid. diff --git a/docs/user-guide/extending.md b/docs/user-guide/extending.md index e211afec2a..217fdb6ba2 100644 --- a/docs/user-guide/extending.md +++ b/docs/user-guide/extending.md @@ -45,9 +45,10 @@ Custom codecs should also implement the following methods: array metadata. It should raise errors if not. - `resolve_metadata` (optional), which is important for codecs that change the shape, dtype or fill value of a chunk. -- `resolve_chunk_grid` (optional), which codecs that change the shape of a chunk use to +- `resolve_chunk_grid`, which codecs that change the shape of a chunk must implement to return the array's chunk grid as the codecs after them see it. The `validate` method of - each later codec receives that grid. + each later codec in the array's codecs receives that grid. Codecs that keep the shape + of a chunk can rely on the default, which returns the grid unchanged. - `evolve_from_array_spec` (optional), which can be useful for automatically filling in codec configuration metadata from the array metadata. diff --git a/src/zarr/abc/codec.py b/src/zarr/abc/codec.py index 38b21a92cd..cd294987a0 100644 --- a/src/zarr/abc/codec.py +++ b/src/zarr/abc/codec.py @@ -153,8 +153,11 @@ def resolve_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> ChunkGridMetadata A codec that changes the shape of a chunk returns the grid of the chunks it encodes to, as `resolve_metadata` returns their spec. Array metadata validates - each codec against the grid the codecs before it leave. The default returns - `chunk_grid` unchanged, which holds for any codec that keeps a chunk's shape. + each of its codecs against the grid the codecs before it leave, and checks that + a sharding codec's inner chunk shape divides the shards of that grid before the + metadata is stored. The default returns `chunk_grid` unchanged, which holds for + any codec that keeps a chunk's shape. A codec that changes the shape of a chunk + and keeps the default passes on a grid that does not describe its chunks. Parameters ---------- diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index 3827789f21..955ae3fc08 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -592,8 +592,9 @@ def evolve_from_array_spec(self, array_spec: ArraySpec) -> Self: Each inner codec is evolved against, validated against, and resolved through the spec the codecs before it leave, as array metadata does for its own codecs, - with a regular grid of one inner chunk as its chunk grid. A sharding codec among - them is thereby checked against the chunk it splits. + with a regular grid of one inner chunk as its chunk grid. Whether a sharding + codec among them divides the chunk it splits is not checked here (see + `validate`). The spec is threaded for two reasons. A dtype-changing codec changes what the codecs after it see: evolving every codec against the unthreaded spec strips @@ -645,8 +646,9 @@ def validate( Whether the inner chunk shape divides each shard is not checked here, because validation also runs when a stored array is opened, and an array whose shards - it does not divide must still open. `check_chunk_grid` checks it before array - metadata is stored, and reading or writing such a shard raises. + it does not divide must still open. `ArrayV3Metadata.to_buffer_dict` checks it + before an array's metadata is stored (see `_check_chunk_grid`), and reading or + writing such a shard raises (see `_get_chunks_per_shard`). """ if len(self.chunk_shape) != len(shape): raise ValueError( @@ -658,11 +660,17 @@ def validate( f"got {type(chunk_grid)}" ) - def check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: + def _check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: """Raise if the inner chunk shape does not divide every shard of `chunk_grid`, the grid of the shards this codec receives, or if a sharding codec among the inner codecs does not divide the inner chunks it receives. + A codec before this one that changes the number of dimensions of a chunk + without declaring its grid (see `BaseCodec.resolve_chunk_grid`) leaves a grid + with another number of dimensions than the inner chunk shape. That grid does + not describe the shards, so it is not checked; reading or writing a shard + checks the shard itself (see `_get_chunks_per_shard`). + Parameters ---------- chunk_grid @@ -685,14 +693,17 @@ def check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: f"Sharding is only compatible with regular and rectilinear chunk grids, " f"got {type(chunk_grid)}" ) - for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=False)): - for edge in set(edges): - if edge % inner != 0: - raise ValueError( - f"Chunk edge length {edge} in dimension {i} is not " - f"divisible by the shard's inner chunk size {inner}." - ) - check_shard_chunk_grids(self.codecs, RegularChunkGridMetadata(chunk_shape=self.chunk_shape)) + if len(edges_per_dim) == len(self.chunk_shape): + for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): + for edge in set(edges): + if edge % inner != 0: + raise ValueError( + f"Chunk edge length {edge} in dimension {i} is not " + f"divisible by the shard's inner chunk size {inner}." + ) + _check_shard_chunk_grids( + self.codecs, RegularChunkGridMetadata(chunk_shape=self.chunk_shape) + ) def _get_inner_chunk_transform(self, shard_spec: ArraySpec) -> Any: """The synchronous transform for the inner codec chain. @@ -1554,9 +1565,9 @@ def _is_total_shard( self, all_chunk_coords: set[tuple[int, ...]], chunks_per_shard: tuple[int, ...] ) -> bool: # `all_chunk_coords` comes from an indexer over this shard's chunk grid, so - # it is always a subset of that grid (`validate` requires the shard shape to - # be divisible by the inner chunk shape, so the indexer cannot produce an - # out-of-grid coordinate). A subset whose size equals the grid's is the + # it is always a subset of that grid (`_get_chunks_per_shard` requires the + # shard shape to be divisible by the inner chunk shape, so the indexer cannot + # produce an out-of-grid coordinate). A subset whose size equals the grid's is the # whole grid, so the count check alone proves totality — no need to build # and membership-test the full coordinate set on this hot path. return len(all_chunk_coords) == product(chunks_per_shard) @@ -1696,9 +1707,10 @@ def _get_chunks_per_shard(self, shard_spec: ArraySpec) -> tuple[int, ...]: ValueError If the inner chunk shape does not divide the shard shape. The shard index then covers only part of the shard, so reading the shard would return data - from the wrong place and writing it would drop data. Array metadata whose - shards the inner chunk shape does not divide is never stored (see - `check_chunk_grid`), but such a stored array can still be opened. + from the wrong place and writing it would drop data. zarr does not store + an array's metadata when it can tell that the inner chunk shape does not + divide its shards (see `_check_chunk_grid`), but such a stored array can + still be opened. """ if any(s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)): raise ValueError( @@ -1914,9 +1926,9 @@ def compute_encoded_size(self, input_byte_length: int, shard_spec: ArraySpec) -> return input_byte_length + self._shard_index_size(chunks_per_shard) -def check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetadata) -> None: +def _check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetadata) -> None: """Check each sharding codec among `codecs` against the chunk grid as the codecs - before it leave it (see `ShardingCodec.check_chunk_grid`). + before it leave it (see `ShardingCodec._check_chunk_grid`). Parameters ---------- @@ -1933,5 +1945,5 @@ def check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetada """ for codec in codecs: if isinstance(codec, ShardingCodec): - codec.check_chunk_grid(chunk_grid) + codec._check_chunk_grid(chunk_grid) chunk_grid = codec.resolve_chunk_grid(chunk_grid) diff --git a/src/zarr/codecs/transpose.py b/src/zarr/codecs/transpose.py index 51ac9dac9b..101867cdc6 100644 --- a/src/zarr/codecs/transpose.py +++ b/src/zarr/codecs/transpose.py @@ -99,8 +99,13 @@ def resolve_metadata(self, chunk_spec: ArraySpec) -> ArraySpec: def resolve_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> ChunkGridMetadata: """Permute the grid's dimensions as `resolve_metadata` permutes the chunk shape. - A rectilinear grid's edge lists move with their dimensions. + A rectilinear grid's edge lists move with their dimensions. A grid with another + number of dimensions than `order` is returned unchanged: a codec before this + one changed the number of dimensions of a chunk without declaring its grid, so + the grid no longer describes the chunks. """ + if chunk_grid.ndim != len(self.order): + return chunk_grid if isinstance(chunk_grid, RegularChunkGridMetadata): return replace( chunk_grid, chunk_shape=tuple(chunk_grid.chunk_shape[i] for i in self.order) diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index 69a3ea0bd5..f1a85791f9 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -409,7 +409,8 @@ def check_storable(metadata: ArrayV3Metadata) -> None: Every serialization of array metadata for a store calls this, before the store is touched: `ArrayV3Metadata.to_buffer_dict` and, for the arrays in a group's - consolidated metadata, `GroupMetadata.to_buffer_dict`. + consolidated metadata, `GroupMetadata.to_buffer_dict`. `ArrayV3Metadata.to_buffer_dict` + also checks the shards of its sharding codecs. """ if isinstance(metadata.chunk_grid, RectilinearChunkGridMetadata): _check_rectilinear_chunks_enabled() @@ -669,15 +670,16 @@ def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]: ------ ValueError If the metadata may not be stored (see `check_storable`), or if a sharding - codec's inner chunk shape does not divide the shards it receives. An array - stored that way can be opened, but its shards cannot be read or written, so - zarr does not store its metadata. Consolidated metadata copies the documents - of arrays already stored, so it does not check this. + codec's inner chunk shape does not divide the shards it receives, as the + codecs before it leave the chunk grid (see `BaseCodec.resolve_chunk_grid`). + An array stored that way can be opened, but its shards cannot be read or + written. The arrays in a group's consolidated metadata are not checked for + this, so a group that holds such an array can still be consolidated. """ - from zarr.codecs.sharding import check_shard_chunk_grids + from zarr.codecs.sharding import _check_shard_chunk_grids check_storable(self) - check_shard_chunk_grids(self.codecs, self.chunk_grid) + _check_shard_chunk_grids(self.codecs, self.chunk_grid) indent = config.get("json_indent") return {ZARR_JSON: json_to_buffer(self.to_dict(), prototype=prototype, indent=indent)} diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 3a38927155..b17627d7fb 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -24,7 +24,7 @@ ShardingCodec, TransposeCodec, ) -from zarr.codecs.numcodecs import CRC32 +from zarr.codecs.numcodecs import CRC32, PackBits from zarr.codecs.sharding import ( INDEX_LOCATION, MAX_UINT_64, @@ -1502,6 +1502,28 @@ def test_sharding_codec_rejects_inner_chunk_size_zero(chunk_shape: Any) -> None: ShardingCodec(chunk_shape=chunk_shape) +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize("inner_chunk_shape", [(13,), (1,)]) +def test_sharding_after_flattening_filter(inner_chunk_shape: tuple[int, ...]) -> None: + """A sharding codec after a filter that flattens each chunk is used with the + flattened shard shape: `PackBits` turns a chunk of 8 * 12 booleans into 13 bytes, + which the inner chunk shape divides.""" + data = np.arange(96).reshape(8, 12) % 3 == 0 + array = zarr.create_array( + MemoryStore(), + shape=(8, 12), + chunks=(8, 12), + dtype=bool, + filters=[PackBits()], + serializer=ShardingCodec(chunk_shape=inner_chunk_shape), + compressors=None, + ) + array[...] = data + assert np.array_equal(array[...], data) + + # Each case pairs codecs that zarr stores with codecs that differ only in a sharding # codec's inner chunk shape, which does not divide the shards that codec receives. # zarr refuses to store the second, but may find it stored: older zarr versions diff --git a/tests/test_codecs/test_transpose.py b/tests/test_codecs/test_transpose.py index 46b309d1fb..be88a9cbcd 100644 --- a/tests/test_codecs/test_transpose.py +++ b/tests/test_codecs/test_transpose.py @@ -1,15 +1,25 @@ +from dataclasses import dataclass +from typing import Any, Self + import numpy as np import pytest import zarr from zarr import AsyncArray, config -from zarr.abc.codec import SupportsSyncCodec +from zarr.abc.codec import ArrayArrayCodec, SupportsSyncCodec from zarr.abc.store import Store -from zarr.codecs import ShardingCodec, TransposeCodec +from zarr.codecs import BytesCodec, ShardingCodec, TransposeCodec from zarr.core.array_spec import ArrayConfig, ArraySpec from zarr.core.buffer import NDBuffer, default_buffer_prototype from zarr.core.common import MemoryOrder -from zarr.core.dtype import get_data_type_from_native_dtype +from zarr.core.dtype import ZDType, get_data_type_from_native_dtype +from zarr.core.dtype.npy.int import UInt16 +from zarr.core.metadata.v3 import ( + ArrayV3Metadata, + ChunkGridMetadata, + RectilinearChunkGridMetadata, + RegularChunkGridMetadata, +) from zarr.storage import StorePath from .test_codecs import _AsyncArrayProxy @@ -185,6 +195,67 @@ def test_sharding_after_transpose_indivisible( ) +@dataclass(frozen=True) +class _ExpectChunkGrid(ArrayArrayCodec): + """A codec whose `validate` refuses any chunk grid but `expected`.""" + + expected: ChunkGridMetadata + is_fixed_size = True + + @classmethod + def from_dict(cls, data: Any) -> Self: + raise NotImplementedError + + def to_dict(self) -> dict[str, Any]: + return {"name": "expect_chunk_grid"} + + def validate( + self, *, shape: tuple[int, ...], dtype: ZDType[Any, Any], chunk_grid: ChunkGridMetadata + ) -> None: + if chunk_grid != self.expected: + raise ValueError(f"validated against {chunk_grid}, expected {self.expected}") + + def compute_encoded_size(self, input_byte_length: int, _chunk_spec: ArraySpec) -> int: + return input_byte_length + + +@pytest.mark.parametrize( + ("chunk_grid", "transposed"), + [ + pytest.param( + RegularChunkGridMetadata(chunk_shape=(6, 20)), + RegularChunkGridMetadata(chunk_shape=(20, 6)), + id="regular", + ), + pytest.param( + RectilinearChunkGridMetadata(chunk_shapes=((4, 8), 6)), + RectilinearChunkGridMetadata(chunk_shapes=(6, (4, 8))), + id="rectilinear", + ), + ], +) +def test_validate_after_transpose( + chunk_grid: ChunkGridMetadata, transposed: ChunkGridMetadata +) -> None: + """A codec after a transpose is validated against the transposed chunk grid, and a + codec before it against the stored one.""" + ArrayV3Metadata( + shape=(12, 12), + data_type=UInt16(), + chunk_grid=chunk_grid, + chunk_key_encoding={"name": "default"}, + fill_value=0, + codecs=( + _ExpectChunkGrid(expected=chunk_grid), + TransposeCodec(order=(1, 0)), + _ExpectChunkGrid(expected=transposed), + BytesCodec(), + ), + attributes={}, + dimension_names=None, + ) + + def test_transpose_codec_supports_sync() -> None: assert isinstance(TransposeCodec(order=(0, 1)), SupportsSyncCodec) diff --git a/tests/test_unified_chunk_grid.py b/tests/test_unified_chunk_grid.py index 7fe099882d..e268ca9c3f 100644 --- a/tests/test_unified_chunk_grid.py +++ b/tests/test_unified_chunk_grid.py @@ -1423,7 +1423,7 @@ def test_sharding_rejects_non_divisible_rectilinear() -> None: grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 20, 17), (50, 50))) with pytest.raises(ValueError, match="divisible"): - codec.check_chunk_grid(grid_meta) + codec._check_chunk_grid(grid_meta) def test_sharding_accepts_divisible_rectilinear() -> None: @@ -1434,7 +1434,7 @@ def test_sharding_accepts_divisible_rectilinear() -> None: codec = ShardingCodec(chunk_shape=(5, 5)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 20, 30), (50, 50))) - codec.check_chunk_grid(grid_meta) + codec._check_chunk_grid(grid_meta) def test_sharding_rejects_non_divisible_among_repeated_edges() -> None: @@ -1446,7 +1446,7 @@ def test_sharding_rejects_non_divisible_among_repeated_edges() -> None: codec = ShardingCodec(chunk_shape=(5,)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 10, 7),)) with pytest.raises(ValueError, match="divisible"): - codec.check_chunk_grid(grid_meta) + codec._check_chunk_grid(grid_meta) def test_sharding_accepts_all_repeated_divisible_edges() -> None: @@ -1457,7 +1457,7 @@ def test_sharding_accepts_all_repeated_divisible_edges() -> None: # edges (10, 10, 20, 10) — unique values {10, 20}, both divisible by 5 codec = ShardingCodec(chunk_shape=(5,)) grid_meta = RectilinearChunkGridMetadata(chunk_shapes=((10, 10, 20, 10),)) - codec.check_chunk_grid(grid_meta) + codec._check_chunk_grid(grid_meta) # --------------------------------------------------------------------------- diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index 328a7f97bb..9f0d291a93 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -280,7 +280,8 @@ def test_bytes_fill_value_as_integers() -> None: def test_sharding_behind_transpose() -> None: - """A sharding codec after a `transpose` is read against the transposed chunk.""" + """A sharding codec after a `transpose` is checked against the transposed chunk, + so its metadata is stored.""" # The transposed chunk is (4, 2), which inner chunks of (4, 1) divide. sharding = { "name": "sharding_indexed", @@ -291,7 +292,8 @@ def test_sharding_behind_transpose() -> None: }, } transpose = {"name": "transpose", "configuration": {"order": (1, 0)}} - ArrayV3Metadata.from_dict(_document("uint8", 0, [transpose, sharding], chunk_shape=(2, 4))) + document = _document("uint8", 0, [transpose, sharding], chunk_shape=(2, 4)) + ArrayV3Metadata.from_dict(document).to_buffer_dict(zarr.core.buffer.default_buffer_prototype()) @pytest.mark.skipif(not _HAS_CAST_VALUE_RS, reason="cast-value-rs not installed") From 1051fc0cce6299c2080bf0ff797c2a6d2800b4f0 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 16:55:15 +0100 Subject: [PATCH 11/21] fix(sharding): check shards against the chunk spec the codecs leave The store-time shard check read shard shapes from `resolve_chunk_grid`, whose default leaves the grid unchanged even for a codec whose `resolve_metadata` changes the chunk shape. Behind `PackBits` it refused valid shards (a nested sharding codec that `main` accepts) and stored metadata whose shards it could tell were indivisible. `_check_shards` now passes a chunk spec through `resolve_metadata`, as reading and writing do. A regular grid's shards and every shard's inner chunks are checked against that spec, exactly for any codec. Only the shards of a rectilinear grid, whose shapes differ, are checked against the grid. The zarr-metadata conformance property now also stores each document it reads, so it covers the store-time check. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- changes/449.bugfix.md | 2 +- docs/user-guide/extending.md | 9 +-- src/zarr/abc/codec.py | 11 ++-- src/zarr/codecs/sharding.py | 78 +++++++++++++++---------- src/zarr/core/metadata/v3.py | 20 ++++++- tests/test_codecs/test_sharding.py | 70 ++++++++++++++++++---- tests/test_zarr_metadata_conformance.py | 8 ++- 7 files changed, 140 insertions(+), 58 deletions(-) diff --git a/changes/449.bugfix.md b/changes/449.bugfix.md index 6ca4ec6bcf..a706f09179 100644 --- a/changes/449.bugfix.md +++ b/changes/449.bugfix.md @@ -1 +1 @@ -Fix validation of the codecs after a `TransposeCodec`, which used the untransposed chunk grid: a sharding codec whose inner chunk shape divided only the untransposed chunk was accepted and read back wrong data, and a valid one was refused. A sharding codec whose inner chunk shape does not divide its shards is now refused when array metadata is stored instead of when it is read, so arrays stored that way open, and so do their groups. Reading their shards, or writing anything but the fill value to them, raises an error instead of returning wrong data or dropping data. +Fix validation of the codecs after a `TransposeCodec`, which used the untransposed chunk grid: a sharding codec whose inner chunk shape divided only the untransposed chunk was accepted and read back wrong data, and a valid one was refused. A sharding codec whose inner chunk shape does not divide its shards is now refused when array metadata is stored instead of when it is read, so arrays stored that way open, and so do their groups. Reading their shards, or writing data to them, raises an error instead of returning wrong data or dropping data. A sharding codec after a filter that flattens chunks, such as `PackBits`, is checked against the flattened shards. diff --git a/docs/user-guide/extending.md b/docs/user-guide/extending.md index 217fdb6ba2..898c9467a2 100644 --- a/docs/user-guide/extending.md +++ b/docs/user-guide/extending.md @@ -45,10 +45,11 @@ Custom codecs should also implement the following methods: array metadata. It should raise errors if not. - `resolve_metadata` (optional), which is important for codecs that change the shape, dtype or fill value of a chunk. -- `resolve_chunk_grid`, which codecs that change the shape of a chunk must implement to - return the array's chunk grid as the codecs after them see it. The `validate` method of - each later codec in the array's codecs receives that grid. Codecs that keep the shape - of a chunk can rely on the default, which returns the grid unchanged. +- `resolve_chunk_grid` (optional), which codecs that change the shape of a chunk + implement to return the array's chunk grid as the codecs after them see it. The + `validate` method of each later codec in the array's codecs receives that grid. The + default returns the grid unchanged, which is right for codecs that keep the shape of a + chunk. - `evolve_from_array_spec` (optional), which can be useful for automatically filling in codec configuration metadata from the array metadata. diff --git a/src/zarr/abc/codec.py b/src/zarr/abc/codec.py index cd294987a0..2a9683f69d 100644 --- a/src/zarr/abc/codec.py +++ b/src/zarr/abc/codec.py @@ -153,11 +153,12 @@ def resolve_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> ChunkGridMetadata A codec that changes the shape of a chunk returns the grid of the chunks it encodes to, as `resolve_metadata` returns their spec. Array metadata validates - each of its codecs against the grid the codecs before it leave, and checks that - a sharding codec's inner chunk shape divides the shards of that grid before the - metadata is stored. The default returns `chunk_grid` unchanged, which holds for - any codec that keeps a chunk's shape. A codec that changes the shape of a chunk - and keeps the default passes on a grid that does not describe its chunks. + each of its codecs against the grid the codecs before it leave, and, for a + rectilinear grid, checks against it that a sharding codec's inner chunk shape + divides its shards before the metadata is stored. The default returns + `chunk_grid` unchanged, which holds for any codec that keeps a chunk's shape. A + codec that changes the shape of a chunk and keeps the default passes on a grid + that does not describe its chunks. Parameters ---------- diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index 955ae3fc08..f0091d6c93 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -641,13 +641,14 @@ def validate( dtype: ZDType[TBaseDType, TBaseScalar], chunk_grid: ChunkGridMetadata, ) -> None: - """Check that the inner chunk shape has the array's number of dimensions and that - the chunk grid is one sharding supports. + """Check that the inner chunk shape has the number of dimensions of `shape` (the + array's shape as the codecs before this one leave it) and that the chunk grid is + one sharding supports. Whether the inner chunk shape divides each shard is not checked here, because validation also runs when a stored array is opened, and an array whose shards it does not divide must still open. `ArrayV3Metadata.to_buffer_dict` checks it - before an array's metadata is stored (see `_check_chunk_grid`), and reading or + before an array's metadata is stored (see `_check_shards`), and reading or writing such a shard raises (see `_get_chunks_per_shard`). """ if len(self.chunk_shape) != len(shape): @@ -662,14 +663,13 @@ def validate( def _check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: """Raise if the inner chunk shape does not divide every shard of `chunk_grid`, - the grid of the shards this codec receives, or if a sharding codec among the - inner codecs does not divide the inner chunks it receives. + the grid of the shards this codec receives. - A codec before this one that changes the number of dimensions of a chunk - without declaring its grid (see `BaseCodec.resolve_chunk_grid`) leaves a grid - with another number of dimensions than the inner chunk shape. That grid does - not describe the shards, so it is not checked; reading or writing a shard - checks the shard itself (see `_get_chunks_per_shard`). + A grid with another number of dimensions than the inner chunk shape is not + checked: a codec before this one changed the number of dimensions of a chunk + without declaring its grid (see `BaseCodec.resolve_chunk_grid`), so the grid + does not describe the shards. Reading or writing a shard checks the shard + itself (see `_get_chunks_per_shard`). Parameters ---------- @@ -684,26 +684,21 @@ def _check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: """ if isinstance(chunk_grid, RegularChunkGridMetadata): edges_per_dim: tuple[tuple[int, ...], ...] = tuple((s,) for s in chunk_grid.chunk_shape) - elif isinstance(chunk_grid, RectilinearChunkGridMetadata): + else: edges_per_dim = tuple( (s,) if isinstance(s, int) else s for s in chunk_grid.chunk_shapes ) - else: - raise TypeError( - f"Sharding is only compatible with regular and rectilinear chunk grids, " - f"got {type(chunk_grid)}" - ) - if len(edges_per_dim) == len(self.chunk_shape): - for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): - for edge in set(edges): - if edge % inner != 0: - raise ValueError( - f"Chunk edge length {edge} in dimension {i} is not " - f"divisible by the shard's inner chunk size {inner}." - ) - _check_shard_chunk_grids( - self.codecs, RegularChunkGridMetadata(chunk_shape=self.chunk_shape) - ) + if len(edges_per_dim) != len(self.chunk_shape): + return + for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): + for edge in set(edges): + if edge % inner != 0: + raise ValueError( + f"Chunk edge length {edge} in dimension {i} is not divisible by " + f"the shard's inner chunk size {inner}. Dimensions and edge " + "lengths are those of the chunk as the codecs before the " + "sharding codec leave it." + ) def _get_inner_chunk_transform(self, shard_spec: ArraySpec) -> Any: """The synchronous transform for the inner codec chain. @@ -1709,7 +1704,7 @@ def _get_chunks_per_shard(self, shard_spec: ArraySpec) -> tuple[int, ...]: then covers only part of the shard, so reading the shard would return data from the wrong place and writing it would drop data. zarr does not store an array's metadata when it can tell that the inner chunk shape does not - divide its shards (see `_check_chunk_grid`), but such a stored array can + divide its shards (see `_check_shards`), but such a stored array can still be opened. """ if any(s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)): @@ -1926,14 +1921,25 @@ def compute_encoded_size(self, input_byte_length: int, shard_spec: ArraySpec) -> return input_byte_length + self._shard_index_size(chunks_per_shard) -def _check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetadata) -> None: - """Check each sharding codec among `codecs` against the chunk grid as the codecs - before it leave it (see `ShardingCodec._check_chunk_grid`). +def _check_shards( + codecs: Iterable[Codec], chunk_spec: ArraySpec, chunk_grid: ChunkGridMetadata +) -> None: + """Check that each sharding codec among `codecs`, and each one nested in them, + has an inner chunk shape that divides the shards it receives. + + The spec and the grid of the chunks are passed through each codec + (`resolve_metadata`, `resolve_chunk_grid`). A regular grid has one chunk shape, so + its shards are those of the spec, which is exact for any codec; so are the inner + chunks of a shard. The shards of a rectilinear grid differ in shape, so they are + checked against the grid (see `ShardingCodec._check_chunk_grid`). Parameters ---------- codecs A codec chain, in encoding order. + chunk_spec + The spec of a chunk the chain encodes. For a rectilinear grid, any one chunk: + its data type and fill value are those of every chunk. chunk_grid The grid of the chunks the chain encodes. @@ -1945,5 +1951,13 @@ def _check_shard_chunk_grids(codecs: Iterable[Codec], chunk_grid: ChunkGridMetad """ for codec in codecs: if isinstance(codec, ShardingCodec): - codec._check_chunk_grid(chunk_grid) + if isinstance(chunk_grid, RegularChunkGridMetadata): + codec._check_chunk_grid(RegularChunkGridMetadata(chunk_shape=chunk_spec.shape)) + else: + codec._check_chunk_grid(chunk_grid) + inner_spec = codec._get_chunk_spec(chunk_spec) + _check_shards( + codec.codecs, inner_spec, RegularChunkGridMetadata(chunk_shape=inner_spec.shape) + ) + chunk_spec = codec.resolve_metadata(chunk_spec) chunk_grid = codec.resolve_chunk_grid(chunk_grid) diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index f1a85791f9..0aad781301 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -663,6 +663,20 @@ def inner_codecs(self) -> tuple[Codec, ...]: def encode_chunk_key(self, chunk_coords: tuple[int, ...]) -> str: return self.chunk_key_encoding.encode_chunk_key(chunk_coords) + def _first_chunk_spec(self) -> ArraySpec: + """The spec of the array's first chunk, as its codecs receive it.""" + if isinstance(self.chunk_grid, RegularChunkGridMetadata): + shape = self.chunk_grid.chunk_shape + else: + shape = tuple(s if isinstance(s, int) else s[0] for s in self.chunk_grid.chunk_shapes) + return ArraySpec( + shape=shape, + dtype=self.data_type, + fill_value=self.fill_value, + config=ArrayConfig.from_dict({}), + prototype=default_buffer_prototype(), + ) + def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]: """Encode this array's `zarr.json` document for a store. @@ -671,15 +685,15 @@ def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]: ValueError If the metadata may not be stored (see `check_storable`), or if a sharding codec's inner chunk shape does not divide the shards it receives, as the - codecs before it leave the chunk grid (see `BaseCodec.resolve_chunk_grid`). + codecs before it leave the chunks (see `zarr.codecs.sharding._check_shards`). An array stored that way can be opened, but its shards cannot be read or written. The arrays in a group's consolidated metadata are not checked for this, so a group that holds such an array can still be consolidated. """ - from zarr.codecs.sharding import _check_shard_chunk_grids + from zarr.codecs.sharding import _check_shards check_storable(self) - _check_shard_chunk_grids(self.codecs, self.chunk_grid) + _check_shards(self.codecs, self._first_chunk_spec(), self.chunk_grid) indent = config.get("json_indent") return {ZARR_JSON: json_to_buffer(self.to_dict(), prototype=prototype, indent=indent)} diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index b17627d7fb..5bcd499a95 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1502,28 +1502,78 @@ def test_sharding_codec_rejects_inner_chunk_size_zero(chunk_shape: Any) -> None: ShardingCodec(chunk_shape=chunk_shape) +# `PackBits` packs a chunk of 96 booleans into 13 bytes, a chunk of 16 into 3. +_FLATTENED_SHARDING_CASES = [ + pytest.param((96,), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="1d"), + pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="2d"), + pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(1,)), id="2d-unit"), + pytest.param( + (96,), + [], + ShardingCodec(chunk_shape=(16,), codecs=(PackBits(), ShardingCodec(chunk_shape=(3,)))), + id="nested", + ), +] + + @pytest.mark.filterwarnings( "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" ) -@pytest.mark.parametrize("inner_chunk_shape", [(13,), (1,)]) -def test_sharding_after_flattening_filter(inner_chunk_shape: tuple[int, ...]) -> None: - """A sharding codec after a filter that flattens each chunk is used with the - flattened shard shape: `PackBits` turns a chunk of 8 * 12 booleans into 13 bytes, - which the inner chunk shape divides.""" - data = np.arange(96).reshape(8, 12) % 3 == 0 +@pytest.mark.parametrize(("chunks", "filters", "serializer"), _FLATTENED_SHARDING_CASES) +def test_sharding_after_flattening_filter( + chunks: tuple[int, ...], filters: list[Any], serializer: ShardingCodec +) -> None: + """A sharding codec after a filter that flattens each chunk is checked against the + flattened shard, and the array round-trips.""" + data = np.arange(np.prod(chunks)).reshape(chunks) % 3 == 0 array = zarr.create_array( MemoryStore(), - shape=(8, 12), - chunks=(8, 12), + shape=chunks, + chunks=chunks, dtype=bool, - filters=[PackBits()], - serializer=ShardingCodec(chunk_shape=inner_chunk_shape), + filters=filters, + serializer=serializer, compressors=None, ) array[...] = data assert np.array_equal(array[...], data) +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +@pytest.mark.parametrize( + ("chunks", "filters", "serializer"), + [ + pytest.param((96,), [PackBits()], ShardingCodec(chunk_shape=(12,)), id="1d"), + pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(5,)), id="2d"), + pytest.param( + (96,), + [], + ShardingCodec(chunk_shape=(16,), codecs=(PackBits(), ShardingCodec(chunk_shape=(2,)))), + id="nested", + ), + ], +) +def test_sharding_after_flattening_filter_indivisible( + chunks: tuple[int, ...], filters: list[Any], serializer: ShardingCodec +) -> None: + """A sharding codec after a filter that flattens each chunk, whose inner chunk shape + does not divide the flattened shard, is refused and nothing is stored.""" + store = MemoryStore() + with pytest.raises(ValueError, match="is not divisible by the shard's inner chunk size"): + zarr.create_array( + store, + shape=chunks, + chunks=chunks, + dtype=bool, + filters=filters, + serializer=serializer, + compressors=None, + ) + assert store._store_dict == {} + + # Each case pairs codecs that zarr stores with codecs that differ only in a sharding # codec's inner chunk shape, which does not divide the shards that codec receives. # zarr refuses to store the second, but may find it stored: older zarr versions diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index 9f0d291a93..c4e8e10728 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -46,6 +46,7 @@ import zarr from zarr.abc.codec import ArrayArrayCodec +from zarr.core.buffer import default_buffer_prototype from zarr.core.metadata.v3 import ArrayV3Metadata from zarr.registry import get_codec_class @@ -198,11 +199,12 @@ def _spliced(codecs: tuple[Any, ...]) -> list[Any]: def _verdict(document: dict[str, Any]) -> Exception | None: - """The error zarr-python refuses `document` with, or None if it accepts it.""" + """The error zarr-python refuses to read or to store `document` with, or None if it + accepts it.""" try: with warnings.catch_warnings(): warnings.simplefilter("ignore") - ArrayV3Metadata.from_dict(document) + ArrayV3Metadata.from_dict(document).to_buffer_dict(default_buffer_prototype()) except Exception as error: # noqa: BLE001 return error return None @@ -293,7 +295,7 @@ def test_sharding_behind_transpose() -> None: } transpose = {"name": "transpose", "configuration": {"order": (1, 0)}} document = _document("uint8", 0, [transpose, sharding], chunk_shape=(2, 4)) - ArrayV3Metadata.from_dict(document).to_buffer_dict(zarr.core.buffer.default_buffer_prototype()) + ArrayV3Metadata.from_dict(document).to_buffer_dict(default_buffer_prototype()) @pytest.mark.skipif(not _HAS_CAST_VALUE_RS, reason="cast-value-rs not installed") From db7d0b81eece3171dce9827bde31575afed9c238 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 17:12:33 +0100 Subject: [PATCH 12/21] fix(sharding): skip a rectilinear grid that a codec left stale A codec that changes the shape of a chunk without declaring its grid (`PackBits`) leaves the rectilinear grid describing unpacked chunks. The store-time check compared those edges with the inner chunk shape and refused a valid 1-D array whose packed shards the inner chunks divide. `_check_shards` now checks the grid only while its first chunk matches the threaded chunk spec, which also replaces the dimension-count guard in `_check_chunk_grid`; reading or writing checks a stale grid's shards. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- changes/449.bugfix.md | 2 +- src/zarr/codecs/sharding.py | 17 +++++------- src/zarr/core/metadata/v3.py | 13 +++++---- tests/test_codecs/test_sharding.py | 42 ++++++++++++++++++------------ 4 files changed, 41 insertions(+), 33 deletions(-) diff --git a/changes/449.bugfix.md b/changes/449.bugfix.md index a706f09179..b767addfde 100644 --- a/changes/449.bugfix.md +++ b/changes/449.bugfix.md @@ -1 +1 @@ -Fix validation of the codecs after a `TransposeCodec`, which used the untransposed chunk grid: a sharding codec whose inner chunk shape divided only the untransposed chunk was accepted and read back wrong data, and a valid one was refused. A sharding codec whose inner chunk shape does not divide its shards is now refused when array metadata is stored instead of when it is read, so arrays stored that way open, and so do their groups. Reading their shards, or writing data to them, raises an error instead of returning wrong data or dropping data. A sharding codec after a filter that flattens chunks, such as `PackBits`, is checked against the flattened shards. +Fix validation of the codecs after a `TransposeCodec`, which used the untransposed chunk grid: a sharding codec whose inner chunk shape divided only the untransposed chunk was accepted and read back wrong data, and a valid one was refused. A sharding codec whose inner chunk shape does not divide its shards is now refused when array metadata is stored instead of when it is read, so arrays stored that way open, and so do their groups. Reading their shards, or writing data to them, raises an error instead of returning wrong data or dropping data. A sharding codec after a filter that flattens chunks, such as `PackBits`, is checked against the flattened shards of a regular chunk grid. diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index f0091d6c93..3c6289cb8b 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -71,6 +71,7 @@ ChunkGridMetadata, RectilinearChunkGridMetadata, RegularChunkGridMetadata, + first_chunk_shape, parse_codecs, ) from zarr.registry import get_ndbuffer_class, get_pipeline_class @@ -665,12 +666,6 @@ def _check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: """Raise if the inner chunk shape does not divide every shard of `chunk_grid`, the grid of the shards this codec receives. - A grid with another number of dimensions than the inner chunk shape is not - checked: a codec before this one changed the number of dimensions of a chunk - without declaring its grid (see `BaseCodec.resolve_chunk_grid`), so the grid - does not describe the shards. Reading or writing a shard checks the shard - itself (see `_get_chunks_per_shard`). - Parameters ---------- chunk_grid @@ -688,8 +683,6 @@ def _check_chunk_grid(self, chunk_grid: ChunkGridMetadata) -> None: edges_per_dim = tuple( (s,) if isinstance(s, int) else s for s in chunk_grid.chunk_shapes ) - if len(edges_per_dim) != len(self.chunk_shape): - return for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): for edge in set(edges): if edge % inner != 0: @@ -1931,7 +1924,11 @@ def _check_shards( (`resolve_metadata`, `resolve_chunk_grid`). A regular grid has one chunk shape, so its shards are those of the spec, which is exact for any codec; so are the inner chunks of a shard. The shards of a rectilinear grid differ in shape, so they are - checked against the grid (see `ShardingCodec._check_chunk_grid`). + checked against the grid (see `ShardingCodec._check_chunk_grid`), unless a codec + before the sharding codec changed the shape of a chunk without declaring its grid + (see `BaseCodec.resolve_chunk_grid`): the grid's first chunk then differs from + the spec, and the grid does not describe the shards. Reading or writing a shard + checks the shard itself (see `ShardingCodec._get_chunks_per_shard`). Parameters ---------- @@ -1953,7 +1950,7 @@ def _check_shards( if isinstance(codec, ShardingCodec): if isinstance(chunk_grid, RegularChunkGridMetadata): codec._check_chunk_grid(RegularChunkGridMetadata(chunk_shape=chunk_spec.shape)) - else: + elif first_chunk_shape(chunk_grid) == chunk_spec.shape: codec._check_chunk_grid(chunk_grid) inner_spec = codec._get_chunk_spec(chunk_spec) _check_shards( diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index 0aad781301..b99447efe9 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -384,6 +384,13 @@ def from_dict(cls, data: RectilinearChunkGridMetadataJSON) -> Self: # type: ign ChunkGridMetadata = RegularChunkGridMetadata | RectilinearChunkGridMetadata +def first_chunk_shape(chunk_grid: ChunkGridMetadata) -> tuple[int, ...]: + """The shape of the first chunk of `chunk_grid`.""" + if isinstance(chunk_grid, RegularChunkGridMetadata): + return chunk_grid.chunk_shape + return tuple(s if isinstance(s, int) else s[0] for s in chunk_grid.chunk_shapes) + + class RectilinearChunksDisabledError(ValueError): """Rectilinear chunk grids are used while the `array.rectilinear_chunks` flag is off.""" @@ -665,12 +672,8 @@ def encode_chunk_key(self, chunk_coords: tuple[int, ...]) -> str: def _first_chunk_spec(self) -> ArraySpec: """The spec of the array's first chunk, as its codecs receive it.""" - if isinstance(self.chunk_grid, RegularChunkGridMetadata): - shape = self.chunk_grid.chunk_shape - else: - shape = tuple(s if isinstance(s, int) else s[0] for s in self.chunk_grid.chunk_shapes) return ArraySpec( - shape=shape, + shape=first_chunk_shape(self.chunk_grid), dtype=self.data_type, fill_value=self.fill_value, config=ArrayConfig.from_dict({}), diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 5bcd499a95..34aa83f932 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1504,10 +1504,14 @@ def test_sharding_codec_rejects_inner_chunk_size_zero(chunk_shape: Any) -> None: # `PackBits` packs a chunk of 96 booleans into 13 bytes, a chunk of 16 into 3. _FLATTENED_SHARDING_CASES = [ - pytest.param((96,), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="1d"), - pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="2d"), - pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(1,)), id="2d-unit"), + pytest.param((96,), (96,), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="1d"), + pytest.param((8, 12), (8, 12), [PackBits()], ShardingCodec(chunk_shape=(13,)), id="2d"), + pytest.param((8, 12), (8, 12), [PackBits()], ShardingCodec(chunk_shape=(1,)), id="2d-unit"), + pytest.param( + (192,), [[96, 96]], [PackBits()], ShardingCodec(chunk_shape=(13,)), id="rectilinear" + ), pytest.param( + (96,), (96,), [], ShardingCodec(chunk_shape=(16,), codecs=(PackBits(), ShardingCodec(chunk_shape=(3,)))), @@ -1519,24 +1523,28 @@ def test_sharding_codec_rejects_inner_chunk_size_zero(chunk_shape: Any) -> None: @pytest.mark.filterwarnings( "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" ) -@pytest.mark.parametrize(("chunks", "filters", "serializer"), _FLATTENED_SHARDING_CASES) +@pytest.mark.parametrize(("shape", "chunks", "filters", "serializer"), _FLATTENED_SHARDING_CASES) def test_sharding_after_flattening_filter( - chunks: tuple[int, ...], filters: list[Any], serializer: ShardingCodec + shape: tuple[int, ...], + chunks: tuple[int, ...] | list[list[int]], + filters: list[Any], + serializer: ShardingCodec, ) -> None: """A sharding codec after a filter that flattens each chunk is checked against the flattened shard, and the array round-trips.""" - data = np.arange(np.prod(chunks)).reshape(chunks) % 3 == 0 - array = zarr.create_array( - MemoryStore(), - shape=chunks, - chunks=chunks, - dtype=bool, - filters=filters, - serializer=serializer, - compressors=None, - ) - array[...] = data - assert np.array_equal(array[...], data) + data = np.arange(np.prod(shape)).reshape(shape) % 3 == 0 + with zarr.config.set({"array.rectilinear_chunks": True}): + array = zarr.create_array( + MemoryStore(), + shape=shape, + chunks=chunks, + dtype=bool, + filters=filters, + serializer=serializer, + compressors=None, + ) + array[...] = data + assert np.array_equal(array[...], data) @pytest.mark.filterwarnings( From bbd2212c485289b297fd08faa98b0ab0abb4101a Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 17:22:58 +0100 Subject: [PATCH 13/21] fix(sharding): explain a shard with another number of dimensions A codec whose output's number of dimensions depends on the chunk shape (such as one that drops axes of length 1) can leave the shards with another number of dimensions than the inner chunk shape, which validation against the array's shape does not see. Storing such metadata raised a bare `zip()` error. `_check_shards` now refuses it with an explanation, and reading or writing such a shard raises the shard error. A stale rectilinear grid now checks the first shard, whose shape the spec gives exactly, instead of nothing. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- src/zarr/codecs/sharding.py | 38 ++++++++++++++++-------- tests/test_codecs/test_sharding.py | 47 +++++++++++++++++++++++++++++- 2 files changed, 72 insertions(+), 13 deletions(-) diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index 3c6289cb8b..73b8fdd463 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -1693,21 +1693,24 @@ def _get_chunks_per_shard(self, shard_spec: ArraySpec) -> tuple[int, ...]: Raises ------ ValueError - If the inner chunk shape does not divide the shard shape. The shard index + If the inner chunk shape does not divide the shard shape, or has another + number of dimensions. The shard index then covers only part of the shard, so reading the shard would return data from the wrong place and writing it would drop data. zarr does not store an array's metadata when it can tell that the inner chunk shape does not divide its shards (see `_check_shards`), but such a stored array can still be opened. """ - if any(s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)): + if len(shard_spec.shape) != len(self.chunk_shape) or any( + s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False) + ): raise ValueError( f"The shard shape {shard_spec.shape} is not divisible by the inner chunk " f"shape {self.chunk_shape} of the sharding codec, so the shard cannot be " "read or written. Recreate the array with an inner chunk shape that divides " "the shape of each shard as the codecs before the sharding codec leave it." ) - return tuple(s // c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False)) + return tuple(s // c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=True)) def _shard_index_byte_range( self, chunks_per_shard: tuple[int, ...] @@ -1924,11 +1927,13 @@ def _check_shards( (`resolve_metadata`, `resolve_chunk_grid`). A regular grid has one chunk shape, so its shards are those of the spec, which is exact for any codec; so are the inner chunks of a shard. The shards of a rectilinear grid differ in shape, so they are - checked against the grid (see `ShardingCodec._check_chunk_grid`), unless a codec - before the sharding codec changed the shape of a chunk without declaring its grid - (see `BaseCodec.resolve_chunk_grid`): the grid's first chunk then differs from - the spec, and the grid does not describe the shards. Reading or writing a shard - checks the shard itself (see `ShardingCodec._get_chunks_per_shard`). + checked against the grid (see `ShardingCodec._check_chunk_grid`). If the grid's + first chunk differs from the spec, a codec before the sharding codec changed the + shape of a chunk without declaring its grid (see `BaseCodec.resolve_chunk_grid`), + so the grid does not describe the shards, and only the first shard, the spec's, is + checked. A codec can also change shapes so that the first chunk still matches; the + grid is then checked as it is. Reading or writing a shard checks the shard itself + (see `ShardingCodec._get_chunks_per_shard`). Parameters ---------- @@ -1944,14 +1949,23 @@ def _check_shards( ------ ValueError If the inner chunk shape of a sharding codec does not divide the shards it - receives. + receives, or has another number of dimensions. """ for codec in codecs: if isinstance(codec, ShardingCodec): - if isinstance(chunk_grid, RegularChunkGridMetadata): - codec._check_chunk_grid(RegularChunkGridMetadata(chunk_shape=chunk_spec.shape)) - elif first_chunk_shape(chunk_grid) == chunk_spec.shape: + if len(chunk_spec.shape) != len(codec.chunk_shape): + raise ValueError( + f"The shard's inner chunk shape {codec.chunk_shape} has " + f"{len(codec.chunk_shape)} dimensions, but the shards it receives, as " + f"the codecs before the sharding codec leave them, have shape " + f"{chunk_spec.shape}." + ) + if isinstance(chunk_grid, RectilinearChunkGridMetadata) and ( + first_chunk_shape(chunk_grid) == chunk_spec.shape + ): codec._check_chunk_grid(chunk_grid) + else: + codec._check_chunk_grid(RegularChunkGridMetadata(chunk_shape=chunk_spec.shape)) inner_spec = codec._get_chunk_spec(chunk_spec) _check_shards( codec.codecs, inner_spec, RegularChunkGridMetadata(chunk_shape=inner_spec.shape) diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 34aa83f932..913d17929c 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -3,7 +3,8 @@ import math import pickle import warnings -from typing import TYPE_CHECKING, Any, cast, get_args +from dataclasses import dataclass, replace +from typing import TYPE_CHECKING, Any, Self, cast, get_args from unittest.mock import AsyncMock import numpy as np @@ -14,6 +15,7 @@ import zarr.api import zarr.api.asynchronous from zarr import Array +from zarr.abc.codec import ArrayArrayCodec from zarr.abc.store import Store from zarr.codecs import ( BloscCodec, @@ -34,6 +36,7 @@ _ShardIndex, _ShardReader, ) +from zarr.core.array_spec import ArraySpec from zarr.core.buffer import NDArrayLike, default_buffer_prototype from zarr.core.indexing import lexicographic_order_coords from zarr.core.metadata.v3 import ArrayV3Metadata @@ -1582,6 +1585,48 @@ def test_sharding_after_flattening_filter_indivisible( assert store._store_dict == {} +@dataclass(frozen=True) +class _Squeeze(ArrayArrayCodec): + """A codec that drops the axes of length 1 of each chunk, so the number of + dimensions it leaves depends on the shape it receives.""" + + is_fixed_size = True + + @classmethod + def from_dict(cls, data: Any) -> Self: + return cls() + + def to_dict(self) -> dict[str, Any]: + return {"name": "squeeze"} + + def resolve_metadata(self, chunk_spec: ArraySpec) -> ArraySpec: + return replace(chunk_spec, shape=tuple(s for s in chunk_spec.shape if s != 1)) + + def compute_encoded_size(self, input_byte_length: int, _chunk_spec: ArraySpec) -> int: + return input_byte_length + + +@pytest.mark.filterwarnings( + "ignore:Combining a `sharding_indexed` codec:zarr.errors.ZarrUserWarning" +) +def test_sharding_inner_chunk_ndim_mismatch() -> None: + """A sharding codec whose inner chunk shape has another number of dimensions than + the shards it receives is refused, and nothing is stored. Here the array's shape + keeps two dimensions through `_Squeeze`, but its (1, 4) chunks lose one.""" + store = MemoryStore() + with pytest.raises(ValueError, match="has 2 dimensions, but the shards it receives"): + zarr.create_array( + store, + shape=(4, 4), + chunks=(1, 4), + dtype="int32", + filters=[_Squeeze()], + serializer=ShardingCodec(chunk_shape=(1, 2)), + compressors=None, + ) + assert store._store_dict == {} + + # Each case pairs codecs that zarr stores with codecs that differ only in a sharding # codec's inner chunk shape, which does not divide the shards that codec receives. # zarr refuses to store the second, but may find it stored: older zarr versions From e3d425503e28164af0674ad6bfbb2059a261f7bf Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 17:27:53 +0100 Subject: [PATCH 14/21] fix(sharding): name a dimension mismatch when reading or writing a shard Reading or writing a shard whose shape has another number of dimensions than the inner chunk shape now says so, instead of calling the shapes indivisible. A test covers the first-shard check of a rectilinear grid that `PackBits` left stale. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- src/zarr/codecs/sharding.py | 10 +++++++--- tests/test_codecs/test_sharding.py | 13 ++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index 73b8fdd463..c5a45b08ea 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -1701,9 +1701,13 @@ def _get_chunks_per_shard(self, shard_spec: ArraySpec) -> tuple[int, ...]: divide its shards (see `_check_shards`), but such a stored array can still be opened. """ - if len(shard_spec.shape) != len(self.chunk_shape) or any( - s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=False) - ): + if len(shard_spec.shape) != len(self.chunk_shape): + raise ValueError( + f"The shard shape {shard_spec.shape} and the inner chunk shape " + f"{self.chunk_shape} of the sharding codec have different numbers of " + "dimensions, so the shard cannot be read or written." + ) + if any(s % c for s, c in zip(shard_spec.shape, self.chunk_shape, strict=True)): raise ValueError( f"The shard shape {shard_spec.shape} is not divisible by the inner chunk " f"shape {self.chunk_shape} of the sharding codec, so the shard cannot be " diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 913d17929c..348e2b1544 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1558,6 +1558,9 @@ def test_sharding_after_flattening_filter( [ pytest.param((96,), [PackBits()], ShardingCodec(chunk_shape=(12,)), id="1d"), pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(5,)), id="2d"), + # The grid still lists 96 booleans per chunk, so only the first shard of 13 + # bytes is checked. + pytest.param([[96, 96]], [PackBits()], ShardingCodec(chunk_shape=(5,)), id="rectilinear"), pytest.param( (96,), [], @@ -1567,15 +1570,19 @@ def test_sharding_after_flattening_filter( ], ) def test_sharding_after_flattening_filter_indivisible( - chunks: tuple[int, ...], filters: list[Any], serializer: ShardingCodec + chunks: tuple[int, ...] | list[list[int]], filters: list[Any], serializer: ShardingCodec ) -> None: """A sharding codec after a filter that flattens each chunk, whose inner chunk shape does not divide the flattened shard, is refused and nothing is stored.""" store = MemoryStore() - with pytest.raises(ValueError, match="is not divisible by the shard's inner chunk size"): + shape = (sum(chunks[0]),) if isinstance(chunks, list) else chunks + with ( + zarr.config.set({"array.rectilinear_chunks": True}), + pytest.raises(ValueError, match="is not divisible by the shard's inner chunk size"), + ): zarr.create_array( store, - shape=chunks, + shape=shape, chunks=chunks, dtype=bool, filters=filters, From eccbae556f0e55103e4aaab2256c8193443cfe5e Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Mon, 30 Nov 2026 17:32:50 +0100 Subject: [PATCH 15/21] test: pin the first-shard check of a stale rectilinear grid An inner chunk size of 12 divides the stale grid's edge of 96 but not the 13-byte first shard, so the test fails if the stale grid is checked. Assisted-by: ClaudeCode:claude-opus-5.5 Co-Authored-By: Claude Opus 5.5 --- tests/test_codecs/test_sharding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index 348e2b1544..c8a2f7100b 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1558,9 +1558,9 @@ def test_sharding_after_flattening_filter( [ pytest.param((96,), [PackBits()], ShardingCodec(chunk_shape=(12,)), id="1d"), pytest.param((8, 12), [PackBits()], ShardingCodec(chunk_shape=(5,)), id="2d"), - # The grid still lists 96 booleans per chunk, so only the first shard of 13 - # bytes is checked. - pytest.param([[96, 96]], [PackBits()], ShardingCodec(chunk_shape=(5,)), id="rectilinear"), + # The grid still lists 96 booleans per chunk, which 12 divides, so only the + # first shard of 13 bytes, which it does not, is checked. + pytest.param([[96, 96]], [PackBits()], ShardingCodec(chunk_shape=(12,)), id="rectilinear"), pytest.param( (96,), [], From be853eba1ecec4ac721d2f55742b3ff8f21d7979 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Tue, 1 Dec 2026 12:01:43 +0100 Subject: [PATCH 16/21] test: drop the integer-array bytes fill value divergence main now accepts a `bytes` fill value written as an array of integers (#4493), so its strict xfail passed. Remove the test and the base64-only fill value strategy, so the property draws both spellings again. Assisted-by: ClaudeCode:claude-opus-5-5 --- tests/test_zarr_metadata_conformance.py | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index 765eccb574..c2a2c17864 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -15,7 +15,6 @@ from __future__ import annotations -import base64 import copy import dataclasses import importlib.util @@ -36,12 +35,11 @@ from zarr_metadata.testing.strategies import ( DEFAULT_STRATEGIES, ChunkGridStrategy, - DataTypeStrategy, array_documents, ) from zarr_metadata.v3.chunk_grid import RECTILINEAR_CHUNK_GRID from zarr_metadata.v3.codec import CAST_VALUE_CODEC -from zarr_metadata.v3.data_type import BYTES_DATA_TYPE, RAW_BYTES_DATA_TYPE +from zarr_metadata.v3.data_type import RAW_BYTES_DATA_TYPE from zarr_metadata.v3.definition import ChunkGridDefinition, CodecDefinition, DataTypeDefinition import zarr @@ -62,10 +60,6 @@ "`must_understand`, is refused. Documents are drawn in canonical spelling." ), "raw bits": "The core `r*` data types are not implemented. None are drawn.", - "bytes fill value": ( - "A `bytes` fill value written as an array of integers is refused. Only the " - "base64 spelling is drawn." - ), "sharding behind transpose": ( "A sharding codec after a `transpose` is validated against the untransposed " "chunk. Such documents are rejected from the draw." @@ -91,12 +85,6 @@ _MAX_LISTED_CHUNKS: Final = 10_000 -def _base64_fill_values( - _configuration: Mapping[str, Any], _strategies: Strategies -) -> st.SearchStrategy[str]: - return st.binary(max_size=16).map(lambda data: base64.standard_b64encode(data).decode()) - - def _listed_chunks(dimension: Any) -> int: """How many chunks a dimension's edges list, counting each run; 0 for a bare length.""" if isinstance(dimension, int): @@ -128,9 +116,6 @@ def _supported(strategies: Strategies) -> Strategies: if definition is not RAW_BYTES_DATA_TYPE and (_HAS_CAST_VALUE_RS or definition is not CAST_VALUE_CODEC) } - bytes_strategy = out.get(BYTES_DATA_TYPE) - if isinstance(bytes_strategy, DataTypeStrategy): - out[BYTES_DATA_TYPE] = dataclasses.replace(bytes_strategy, fill_values=_base64_fill_values) grid_strategy = out.get(RECTILINEAR_CHUNK_GRID) if isinstance(grid_strategy, ChunkGridStrategy): out[RECTILINEAR_CHUNK_GRID] = dataclasses.replace( @@ -290,11 +275,6 @@ def test_raw_bits_data_type() -> None: ArrayV3Metadata.from_dict(_document("r16", [0, 0], [{"name": "bytes"}])) -@pytest.mark.xfail(strict=True, raises=TypeError, reason=_DIVERGENCES["bytes fill value"]) -def test_bytes_fill_value_as_integers() -> None: - ArrayV3Metadata.from_dict(_document("bytes", [1, 2], [{"name": "vlen-bytes"}])) - - @pytest.mark.xfail(strict=True, raises=ValueError, reason=_DIVERGENCES["sharding behind transpose"]) def test_sharding_behind_transpose() -> None: # The transposed chunk is (4, 2), which inner chunks of (4, 1) divide. From 7097a8088edd057bcb87db35938f1a9c114cc84f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 17:46:21 +0100 Subject: [PATCH 17/21] chore(deps): bump the python-dependencies group with 9 updates (#4690) Bumps the python-dependencies group with 9 updates: | Package | From | To | | --- | --- | --- | | [packaging](https://github.com/pypa/packaging) | `26.3` | `26.4` | | [universal-pathlib](https://github.com/fsspec/universal_pathlib) | `0.3.10` | `0.3.11` | | [coverage](https://github.com/coveragepy/coveragepy) | `7.17.3` | `7.17.5` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.170.15` | `6.170.17` | | [uv](https://github.com/astral-sh/uv) | `0.13.9` | `0.13.10` | | [moto[s3,server]](https://github.com/getmoto/moto) | `5.2.5` | `5.2.6` | | [mkdocs-material[imaging]](https://github.com/squidfunk/mkdocs-material) | `9.8.1` | `9.8.2` | | [markdown-exec[ansi]](https://github.com/pawamoy/markdown-exec) | `1.13.0` | `1.14.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.5` | `0.17.6` | Updates `packaging` from 26.3 to 26.4 - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/26.3...26.4) Updates `universal-pathlib` from 0.3.10 to 0.3.11 - [Release notes](https://github.com/fsspec/universal_pathlib/releases) - [Changelog](https://github.com/fsspec/universal_pathlib/blob/main/CHANGELOG.md) - [Commits](https://github.com/fsspec/universal_pathlib/compare/v0.3.10...v0.3.11) Updates `coverage` from 7.17.3 to 7.17.5 - [Release notes](https://github.com/coveragepy/coveragepy/releases) - [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst) - [Commits](https://github.com/coveragepy/coveragepy/compare/7.17.3...7.17.5) Updates `hypothesis` from 6.170.15 to 6.170.17 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/v6.170.15...v6.170.17) Updates `uv` from 0.13.9 to 0.13.10 - [Release notes](https://github.com/astral-sh/uv/releases) - [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/uv/compare/0.13.9...0.13.10) Updates `moto[s3,server]` from 5.2.5 to 5.2.6 - [Release notes](https://github.com/getmoto/moto/releases) - [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md) - [Commits](https://github.com/getmoto/moto/compare/5.2.5...5.2.6) Updates `mkdocs-material[imaging]` from 9.8.1 to 9.8.2 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.8.1...9.8.2) Updates `markdown-exec[ansi]` from 1.13.0 to 1.14.0 - [Release notes](https://github.com/pawamoy/markdown-exec/releases) - [Changelog](https://github.com/pawamoy/markdown-exec/blob/main/CHANGELOG.md) - [Commits](https://github.com/pawamoy/markdown-exec/compare/1.13.0...1.14.0) Updates `ruff` from 0.17.5 to 0.17.6 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.17.5...0.17.6) --- updated-dependencies: - dependency-name: packaging dependency-version: '26.4' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-dependencies - dependency-name: universal-pathlib dependency-version: 0.3.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: coverage dependency-version: 7.17.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: hypothesis dependency-version: 6.170.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: uv dependency-version: 0.13.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: moto[s3,server] dependency-version: 5.2.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: mkdocs-material[imaging] dependency-version: 9.8.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: markdown-exec[ansi] dependency-version: 1.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-dependencies - dependency-name: ruff dependency-version: 0.17.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Davis Bennett --- pyproject.toml | 14 +- uv.lock | 510 ++++++++++++++++++++++++------------------------- 2 files changed, 262 insertions(+), 262 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0b2216ef3c..97901a73df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,17 +111,17 @@ homepage = "https://github.com/zarr-developers/zarr-python" # pins deliberately, e.g. via dependabot or `uv lock --upgrade`. [dependency-groups] test = [ - "coverage==7.17.3", + "coverage==7.17.5", "pytest==9.2.0", "pytest-asyncio==1.5.0", "pytest-cov==7.1.0", "numpydoc==1.11.0", - "hypothesis==6.170.15", + "hypothesis==6.170.17", "pytest-reportlog==1.0.0", "pytest-xdist==3.8.0", "pytest-benchmark==5.3.1", "pytest-codspeed==5.0.4", - "uv==0.13.9", + "uv==0.13.10", ] remote-tests = [ {include-group = "test"}, @@ -129,7 +129,7 @@ remote-tests = [ "obstore>=0.5.1", "botocore", "s3fs>=2023.10.0", - "moto[s3,server]==5.2.5", + "moto[s3,server]==5.2.6", "requests==2.34.2", ] release = [ @@ -137,15 +137,15 @@ release = [ ] docs = [ # Doc building - "mkdocs-material[imaging]==9.8.1", + "mkdocs-material[imaging]==9.8.2", "mkdocs==1.6.1", "mkdocstrings==1.0.8", "mkdocstrings-python==2.0.11", "mike==2.2.0", "mkdocs-redirects==1.2.3", - "markdown-exec[ansi]==1.13.0", + "markdown-exec[ansi]==1.14.0", "griffe-inherited-docstrings==1.1.4", - "ruff==0.17.5", + "ruff==0.17.6", # Changelog generation {include-group = "release"}, # Optional dependencies to run examples diff --git a/uv.lock b/uv.lock index 85a4c2ade8..856be74a78 100644 --- a/uv.lock +++ b/uv.lock @@ -699,113 +699,113 @@ wheels = [ [[package]] name = "coverage" -version = "7.17.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ed/8f/19651ed6f648de7e1383bb759207078e2ad8addeca711187e1cb3a495f14/coverage-7.17.3.tar.gz", hash = "sha256:6695d1bb2a9a2fbd7806d69d78cf30f35eb0f65045da0ec5b5045242fadd6a78", size = 1004507, upload-time = "2026-11-12T12:26:44.986Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/72/8a/f8f26089835e9fc5e969d73d26f4d159c522ac9f4a32e07fccbce711264a/coverage-7.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:203aa5e42c88e9accfa18a0cc91950499efaa5b179a1da14bcbf5b995afdbcb6", size = 228508, upload-time = "2026-11-12T12:24:20.866Z" }, - { url = "https://files.pythonhosted.org/packages/76/a8/aa6d208d9d81c2f80af848d97887afb2ddff51aae7333f7aace68faebe57/coverage-7.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:61138b3a51d91ee443b04962ec9990fa140208a7a082b1754135ebd1378a420f", size = 228760, upload-time = "2026-11-12T12:24:22.248Z" }, - { url = "https://files.pythonhosted.org/packages/55/d7/d2b47e1b177758211509243d7540eae642f633c98de29203258cff9b4b83/coverage-7.17.3-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d0e0fc055d4436f4b6de83f50cbd9da38af18fb36341b162b408ad7842068a33", size = 261171, upload-time = "2026-11-12T12:24:23.689Z" }, - { url = "https://files.pythonhosted.org/packages/7a/9f/fa0545021ba561812c64cf680f4c9fe49dec93fe74049f3fd38f33c7dd19/coverage-7.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0860a5f27ceccd53ee4070acc182588ed4f15b7401cdcca09d8c0cece9c2ad7d", size = 264512, upload-time = "2026-11-12T12:24:24.955Z" }, - { url = "https://files.pythonhosted.org/packages/8c/b9/cf9791e66c73f7530724cc5ee5e306f4e1bdde8951e3069d337105109e0a/coverage-7.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:84b5a474040b33f3d805c0b19fadf5a2e78fdd46e0bcb8b813631e5cac64195e", size = 265022, upload-time = "2026-11-12T12:24:26.315Z" }, - { url = "https://files.pythonhosted.org/packages/47/af/0d88bdf1e4a274a717faf91edf1b970605c32722c2fa563428a398c67f5f/coverage-7.17.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a5fa43619c0a53a0424783cc08dbb26a2115e3a890ab566fef811b77d04d5501", size = 267310, upload-time = "2026-11-12T12:24:27.523Z" }, - { url = "https://files.pythonhosted.org/packages/44/27/798abcf5038335fa1b7e8d739a74e53dfa4a6569ef69db2eec941d1901d9/coverage-7.17.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dc6f3c1406fe7e8e2d59eed1f476c5429dcdd11cd3fbe1341acf8ddc4bb9b383", size = 261399, upload-time = "2026-11-12T12:24:29.144Z" }, - { url = "https://files.pythonhosted.org/packages/2d/92/92625c36222c3e75af20054521b53fff2b2aef907528a8748eccaa3c8126/coverage-7.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a1dc44fba727d1cbd8daa88ced7dd867aebef5631b116210f2a2d4da08622d03", size = 262916, upload-time = "2026-11-12T12:24:30.371Z" }, - { url = "https://files.pythonhosted.org/packages/9b/71/a14cfe5a3525ad3a942aff0bbb1737a3b536d899bcc60307607c9f17df24/coverage-7.17.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:1e7a015f952798d7d5120e8122c160fce7322b0b9d144b9be6af71552a3e68da", size = 261078, upload-time = "2026-11-12T12:24:31.679Z" }, - { url = "https://files.pythonhosted.org/packages/9d/7a/40d1f7488a000d5dc97d70a478686ba4d8f2f752da1d98b4aeaec23d8117/coverage-7.17.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:b6876123ce43459a4b39d5778108010b06164225c3a25c6a43cb85a97f80c549", size = 265138, upload-time = "2026-11-12T12:24:33.428Z" }, - { url = "https://files.pythonhosted.org/packages/ca/ac/7f160d9cfdf0a6d81eb2dcaa262225248b50042959d8ab72f05eccc5827c/coverage-7.17.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:76a3ddca94ef96b477b7edceac08b1abe0ff26e1ebe1d7000e35bdd17dcde5c4", size = 260584, upload-time = "2026-11-12T12:24:34.758Z" }, - { url = "https://files.pythonhosted.org/packages/c5/25/11c7a20e326c8acb23fe94a1ce8bcc4711757ee87ae48c50e806c4be7cf3/coverage-7.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c45c4e99a09c70e7d6fe101f59fe4556b89d99bfc80cd4e7f5e13ebb6c1e4854", size = 263083, upload-time = "2026-11-12T12:24:36.226Z" }, - { url = "https://files.pythonhosted.org/packages/34/67/94e93cfbbb5e73cd929040a9e51a58e1f5bbffdb7d7ac919ddb39faab4fd/coverage-7.17.3-cp312-cp312-win32.whl", hash = "sha256:1b358585003cf99a13d1327e11582af19154d2cf3dea366fe0d10ce479a5c9f9", size = 230371, upload-time = "2026-11-12T12:24:37.663Z" }, - { url = "https://files.pythonhosted.org/packages/67/54/da7c1a906013e008c00e752f1fffe8f4688a747d7037f85b79e83d7b7442/coverage-7.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:df0faa493ab92bbf33ff8bdab442c5b75089baa5ba752844871b5ce9d009a026", size = 230953, upload-time = "2026-11-12T12:24:38.892Z" }, - { url = "https://files.pythonhosted.org/packages/9c/78/c54e323d40fd5832b51baa0f403fb3c3fd51785f16ffc7d6168a612aa9ab/coverage-7.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:d5a3cd933fdffb958b4046d6f19d3138c7c8a28c439aac800badf61fab6d655e", size = 230757, upload-time = "2026-11-12T12:24:40.119Z" }, - { url = "https://files.pythonhosted.org/packages/ca/f9/32cfe0942a05d63f501d8c66ff61e658f82c277a46dc9dd21c2d691aa52d/coverage-7.17.3-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:28d082105e1ead78de56eb46edde029b5af88e22f8bde74fd092ca164bf15492", size = 229799, upload-time = "2026-11-12T12:24:41.464Z" }, - { url = "https://files.pythonhosted.org/packages/59/6f/f1bc0d3e1d72063b1ca4caf7238770ec11ff0747e4e04c2e0fdd72734855/coverage-7.17.3-cp313-cp313-android_24_x86_64.whl", hash = "sha256:683a204e9773f3127ef836640712270bc4893f10bd7e1ce8a21735dca4c14429", size = 229871, upload-time = "2026-11-12T12:24:42.801Z" }, - { url = "https://files.pythonhosted.org/packages/21/2c/1a3329fa772949a376d64362c2829a0718798ba503fb55338cc4002d132c/coverage-7.17.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:e4d18e90c87621590a0b1cf2e4caa96f0aa511073f8a1caa3244e09e569564cc", size = 228142, upload-time = "2026-11-12T12:24:44.03Z" }, - { url = "https://files.pythonhosted.org/packages/83/c6/73d97609380203ca8e763094563f631b76a34974da6940a4b5c91397a07a/coverage-7.17.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f3347c72d0f4cb3803f4ccdd4331a49a90ef2daa683ce89e2480278400bd2eee", size = 228442, upload-time = "2026-11-12T12:24:45.278Z" }, - { url = "https://files.pythonhosted.org/packages/f6/40/5d529e99978d20bb049d76b4496c55a090896a70961b28ab4e3607802899/coverage-7.17.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c4ae9befec714c867f42bbea99e1ec25eecdbe51c8faf1cc82164bd65bf4db0c", size = 228540, upload-time = "2026-11-12T12:24:46.509Z" }, - { url = "https://files.pythonhosted.org/packages/36/ce/c9f97fe1cda3e9985e6e5fe88505712bdad72032b2ecce1cbda9cf77b13b/coverage-7.17.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8a0aef07b2eaeee9d82ca62241d5c6586aed5dd729300507d2d3f612588c2634", size = 228824, upload-time = "2026-11-12T12:24:47.868Z" }, - { url = "https://files.pythonhosted.org/packages/ed/8c/084855adc7d953c222d4271e2265ad08ee6b690b7394475833640eca4543/coverage-7.17.3-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4b1300f07904db81508b87a72471e80d37fb6d48debf1168e12edccc81cd0225", size = 260008, upload-time = "2026-11-12T12:24:49.375Z" }, - { url = "https://files.pythonhosted.org/packages/f9/81/287400710ece16ca6421593c6426b1dcf43809466bfe8fe143857fc8e34f/coverage-7.17.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:222bc51858b0f64cb15d51380541712f8d5dc9bb5ce4fd9828bf466503d6debb", size = 262996, upload-time = "2026-11-12T12:24:50.863Z" }, - { url = "https://files.pythonhosted.org/packages/1d/b5/1b668b30b528cadb26fb404b0fb09f5ec21d03e6e8fae88eb302d243d77f/coverage-7.17.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39c063c038b710e0bca3afd4997ccee680674bece468fac13cb8aee9af530d31", size = 263934, upload-time = "2026-11-12T12:24:54.175Z" }, - { url = "https://files.pythonhosted.org/packages/41/a1/bf82406278a1d6bd273400a6950e9f51370f2c414e0a2ccee96f6f606cf9/coverage-7.17.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1d26daefd513c4775a6d06846389da9a9e3498b6ddba24982359b75b703dd341", size = 266119, upload-time = "2026-11-12T12:24:55.486Z" }, - { url = "https://files.pythonhosted.org/packages/62/a3/7f518c0350fd3a5ad27991acb50b843361aea6755f593c1ed503ef378cec/coverage-7.17.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f848ec842cb95fddae4b88830b249e8bade41697f16909688d2af80e8b51e7b6", size = 260259, upload-time = "2026-11-12T12:24:56.997Z" }, - { url = "https://files.pythonhosted.org/packages/da/59/d74e18b4ba02fab1dafa4267260ca80761d2f3c82917c3ce5e46d3ade4eb/coverage-7.17.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d64248cb7c995aa66dac34c66286c80fb78b13c19bee1503720cc6e55e5de17", size = 262154, upload-time = "2026-11-12T12:24:58.311Z" }, - { url = "https://files.pythonhosted.org/packages/eb/4a/af3b009eaa4565e59caf6c51c12a8909c5acc5186a6e95f366691f86156e/coverage-7.17.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:59b4bd56882387b5a957048a77531669d53d641ce8148c23149d2550e9fd4e25", size = 259946, upload-time = "2026-11-12T12:24:59.583Z" }, - { url = "https://files.pythonhosted.org/packages/a6/5b/d1a9f7b8097065b82a87335215008822354d43d534e330aa023fe42e7f33/coverage-7.17.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba5c445d4c7718422753a393bcb0feb6d9834321cdb43dcb585725a392b3edd", size = 264285, upload-time = "2026-11-12T12:25:01.22Z" }, - { url = "https://files.pythonhosted.org/packages/32/8b/b186fb0075d4d5d1cd290f9e0b15c9666ce1cc656fd6beb816ef29c2f7eb/coverage-7.17.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:b355277f181890fdfc7f49af89f398f8735f031b2f9a5801082e678e9ae85972", size = 259995, upload-time = "2026-11-12T12:25:03.022Z" }, - { url = "https://files.pythonhosted.org/packages/cb/66/f5c3fcfe4981bce212dde6504eb28dd00b49520fdfe487d5aaf0edb0e20d/coverage-7.17.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:16ed46c0d461a3972e8474268c22bf5d88cdd1088435313edc7e220050c5ac97", size = 262034, upload-time = "2026-11-12T12:25:04.584Z" }, - { url = "https://files.pythonhosted.org/packages/1b/c5/f2709522b213b00a9d3cbc01573666c62c8ddc6d16f1c7f1b45cf00efc99/coverage-7.17.3-cp313-cp313-win32.whl", hash = "sha256:dcd6ea389b3da63f467b05c0f47db037a672592ab2035d4bfbb1f662eef4f4a3", size = 230341, upload-time = "2026-11-12T12:25:06.03Z" }, - { url = "https://files.pythonhosted.org/packages/ff/d1/e6875a808ef55eef9c235cb0a9752390860255dbaf7ff792b8cc8d099a80/coverage-7.17.3-cp313-cp313-win_amd64.whl", hash = "sha256:49fff24117050f1784447ae8181e75a78b01cfef4b6a8ccba676d466d1d68d9b", size = 231060, upload-time = "2026-11-12T12:25:07.318Z" }, - { url = "https://files.pythonhosted.org/packages/09/33/8c966bd7588350df9f56fb0c57cf786b743c622b7f0af4c58cd45de121a7/coverage-7.17.3-cp313-cp313-win_arm64.whl", hash = "sha256:d3353cb2ad4254fa433cc53d1ee1fe80eebde529085b238393f3f6d5af821f70", size = 230780, upload-time = "2026-11-12T12:25:08.652Z" }, - { url = "https://files.pythonhosted.org/packages/98/bd/86199a63e36d1ec253e128aa3df186933c7c5993945be114b9e5102b7c77/coverage-7.17.3-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:6f8f925262bc0d6fea12d5dde6998aa57f162e05d5a7d50b95d400ab05bb4537", size = 229914, upload-time = "2026-11-12T12:25:10.352Z" }, - { url = "https://files.pythonhosted.org/packages/d5/43/e0366c117f7cd88889674837e2146e9114d7c045fd7383c9f3c551f5b863/coverage-7.17.3-cp314-cp314-android_24_x86_64.whl", hash = "sha256:9e888603ea67c63ba264f39f3459f4cf68adc78dcd9f8bfa65dde601265a40f1", size = 230030, upload-time = "2026-11-12T12:25:11.794Z" }, - { url = "https://files.pythonhosted.org/packages/a6/b6/1f7e3f29bb0700586d6709d533a0421ed96e1372b608facc6870c05b0489/coverage-7.17.3-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:fab6f713a1f2f0ab7fb7d55f3aea15d1f3fbd31ace61b585ecd87c8e34f898fb", size = 228215, upload-time = "2026-11-12T12:25:13.133Z" }, - { url = "https://files.pythonhosted.org/packages/9e/cd/81261279e5a47a1295992e5d648fa30626af692c05b0767a037120953a17/coverage-7.17.3-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4300ad360b21af19584c4cc82022979544d776ba2fb2df5418b2f3cae1eee6d2", size = 228518, upload-time = "2026-11-12T12:25:14.389Z" }, - { url = "https://files.pythonhosted.org/packages/78/37/3a28b845dc06bcf17e0501fd641020760b61754444b904aa4973fd7c8098/coverage-7.17.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e033255f24c1df6e046b6c4e9f91baacae08426beb5296bea8d46176b3a137d8", size = 228726, upload-time = "2026-11-12T12:25:15.693Z" }, - { url = "https://files.pythonhosted.org/packages/79/dd/b770682a17e5e911e9c4db6af947641ed334dfd6155632f71fa54375f4a3/coverage-7.17.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:22a80bbdee3c22fb3319befaa112a2ed2d6e1417aa75c310f048235170ceca44", size = 228894, upload-time = "2026-11-12T12:25:17.47Z" }, - { url = "https://files.pythonhosted.org/packages/e9/e4/420e4d6f9ce1e6b8234bafad3508974950ec926063eb4d5e8d71c498b0a5/coverage-7.17.3-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cfb1d2c52bb66e847669000658a5394d50aba835df8e31c2146034f978c8a4cf", size = 260939, upload-time = "2026-11-12T12:25:18.67Z" }, - { url = "https://files.pythonhosted.org/packages/26/2c/c871c22a11981f58895e4dd167f4aa64c04853c5a0e91de853408c0f2d3e/coverage-7.17.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eb25b51a30d07db8493901e3040284f2e756ec2b6549ee392798b9ef4c0607b3", size = 263872, upload-time = "2026-11-12T12:25:20Z" }, - { url = "https://files.pythonhosted.org/packages/43/f3/f90e9619f2b0e1dc4d5f487163c3e9fd21629acfe3cd8abb97fa2afa12b2/coverage-7.17.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2b9a39e25bf0e6fe072c6f3bceaa02f5303b9f975e83f590d118c4e92aacf6d8", size = 264877, upload-time = "2026-11-12T12:25:21.341Z" }, - { url = "https://files.pythonhosted.org/packages/f3/8e/b45330abc908d11c65e68be5f240237ad433c8e03dcb99b474541f129e3e/coverage-7.17.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e331bc028b44496ad85d4a2656dbad0feb35baf4a66500042c4aaa878ea132c", size = 267361, upload-time = "2026-11-12T12:25:22.549Z" }, - { url = "https://files.pythonhosted.org/packages/38/80/06eaca23adf2d3b1526fca9e6d3433b0b4aa91e653b59774ea9fc44e1c03/coverage-7.17.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:17a4bd9edd312744035e1298a6ac30dd7332a7f1ecdc63c9eb0685589b161eb1", size = 260674, upload-time = "2026-11-12T12:25:23.869Z" }, - { url = "https://files.pythonhosted.org/packages/58/1b/cf0a2d4d5aaf87b6b9f7d5f0c2e5d110079e9c2a23e11c04f20c98e98689/coverage-7.17.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:cc12f44ac4d5d6be301285c0a4f9c4ae52e673672e284b2a2744e20d24025573", size = 262658, upload-time = "2026-11-12T12:25:25.255Z" }, - { url = "https://files.pythonhosted.org/packages/fb/23/ede764173d08bd9cefeeee344826c22e93d7111fd17b0677436616c98662/coverage-7.17.3-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:0241e03dd65a1edf2e841eb19d8d72dca21ada5c869dcef6c9fde1b166d519a9", size = 260759, upload-time = "2026-11-12T12:25:26.949Z" }, - { url = "https://files.pythonhosted.org/packages/e1/44/b93c258ecbe1848f2117f7466e8c3060554b419f6eabd3761ef95d095c4b/coverage-7.17.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:42a1f511a334745a66b8f580c4d561e728243e35f3ada0ada35444c4b2fb9fa9", size = 265227, upload-time = "2026-11-12T12:25:28.493Z" }, - { url = "https://files.pythonhosted.org/packages/9f/fc/09a224782b0720b6a4c9e2fba0a479b87a2b046c523ffdd56339d2d8d516/coverage-7.17.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:095ad10d17a28c845f2e5f99e398db2f0c680401731ff63a3a1789f2e61ef1e0", size = 260428, upload-time = "2026-11-12T12:25:29.799Z" }, - { url = "https://files.pythonhosted.org/packages/1d/c9/3027a58b3db40ded4dc43a8040a45a91e61ebb9f32a4de86e30a29d8effb/coverage-7.17.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:28b05f6b2622551805324196c32f3f20f4fa639bade8ac299ca83073253f6663", size = 262489, upload-time = "2026-11-12T12:25:31.127Z" }, - { url = "https://files.pythonhosted.org/packages/69/a5/f9f767f731fd5a314e66fecd55d8ae320da95467feaf0f3742edf890049f/coverage-7.17.3-cp314-cp314-win32.whl", hash = "sha256:8b8188229ab3b3769a1c4aaa22357447555416deb440326c665a3bd25fd45ce0", size = 230582, upload-time = "2026-11-12T12:25:32.302Z" }, - { url = "https://files.pythonhosted.org/packages/5b/1f/d377b98f63d876649083ce837f0e7cc2eefbfcb4088dc4a1428612ccd741/coverage-7.17.3-cp314-cp314-win_amd64.whl", hash = "sha256:957ba72e11d26b6e6e1abdaa72e41020871f4108c8ff64ff571fc50c81fb57a3", size = 231206, upload-time = "2026-11-12T12:25:33.558Z" }, - { url = "https://files.pythonhosted.org/packages/89/2e/2c1607f6f1505fbed80910d95e51ce520945ad34a640c532123f75de5580/coverage-7.17.3-cp314-cp314-win_arm64.whl", hash = "sha256:f7ff8b21efcbdf9c7a6c051dc158c9bb9e938b7af33e55ed264d2e529b836d17", size = 231047, upload-time = "2026-11-12T12:25:34.908Z" }, - { url = "https://files.pythonhosted.org/packages/11/79/428dc7fe065893833222ef604a261a5e16aa304be055ee99dff0fbb3bd66/coverage-7.17.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:3f6d942e066ca009bd1f7ebf5450287a5e9bfc5a6e20a8d8c408a61b433c7f94", size = 229254, upload-time = "2026-11-12T12:25:36.209Z" }, - { url = "https://files.pythonhosted.org/packages/fe/e8/60ce9cf304d2505cff1389a98e13bd67792f44bed530935bcce48db693f1/coverage-7.17.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e3948b2e5c3af0133af3e117ee033e6cc656c43d7549d3296e4b3807908dec9f", size = 229584, upload-time = "2026-11-12T12:25:37.567Z" }, - { url = "https://files.pythonhosted.org/packages/42/b3/f209433ec9dde9dd4e471afafd6b467b51653af4a678e39792638832c85e/coverage-7.17.3-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0bad8245a15bc7b15d26d25ece243bbf5d1b1229144f3db189014174429b63bb", size = 269701, upload-time = "2026-11-12T12:25:38.827Z" }, - { url = "https://files.pythonhosted.org/packages/4a/0c/34a2caf1e74950efe9f24de673767ec67fe60470c900610e58fa639366f7/coverage-7.17.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bdf8fefb9f1acb3e92842fb42e29968d053e9545e4e9d9edb5c32a30fab8f899", size = 272171, upload-time = "2026-11-12T12:25:40.298Z" }, - { url = "https://files.pythonhosted.org/packages/ac/1b/1e87f731b4e930cb636cc15bfb55855d52a1f31e9193d645e96ad7ebe0ab/coverage-7.17.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:499acdc43bf1addf7fecc59a3123847bb96873c07001cfbeb709a71b181fa03d", size = 274823, upload-time = "2026-11-12T12:25:41.529Z" }, - { url = "https://files.pythonhosted.org/packages/c8/1f/e6e2cfe9d4f4df4228587b7f528d8b9985005e9f904c2e59ce51d236dbd4/coverage-7.17.3-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:11116ab42247d55980b51ab49b5c066de9b6baa56fe371fd555e54feae338619", size = 276333, upload-time = "2026-11-12T12:25:42.834Z" }, - { url = "https://files.pythonhosted.org/packages/9e/1f/3937e3745b511d67228dcbf15f7f24cec9da7fdacee443ecf837465c1663/coverage-7.17.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:56b469b63d8270aa67bc919ab8457f4d83115459556a76d09238052a3ab094db", size = 269560, upload-time = "2026-11-12T12:25:44.059Z" }, - { url = "https://files.pythonhosted.org/packages/33/73/1b597ea0d77d062ed62d556e3a94c85fb7d3e56cac526d8a273f4e8872ea/coverage-7.17.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:95da285cf77352d4a527e1fd16c1c5c3762e42d1d71cfa9ef2c72a5c796cce36", size = 272118, upload-time = "2026-11-12T12:25:45.643Z" }, - { url = "https://files.pythonhosted.org/packages/60/8a/1daee0aeb0a1d16884f5da92e2cf9300913bb216f42dff221329b3bd5651/coverage-7.17.3-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:c38a85dde92c4129641544aca998382f7448a87a17d202765a6adb8a87a33fc7", size = 269548, upload-time = "2026-11-12T12:25:47.043Z" }, - { url = "https://files.pythonhosted.org/packages/40/d3/78fa95e9980917e2b75b97c056c3e70f9c9c9170fcde210897b4c0b35d03/coverage-7.17.3-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e9396d4d90fb47a1e124a985ac6a3172dbd58334d1de5189f06b75ae96ff69ee", size = 273964, upload-time = "2026-11-12T12:25:48.222Z" }, - { url = "https://files.pythonhosted.org/packages/14/fa/2870663f070df38497ead9197a7e5af06f00286d5236192ea3d23bda68a1/coverage-7.17.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:e266c693c8bd6541f31cd71eda9b5aa3732adecbd04522880ea3d23d99b202eb", size = 269021, upload-time = "2026-11-12T12:25:49.548Z" }, - { url = "https://files.pythonhosted.org/packages/30/fa/390e1199f21b4c2a8797492aa5351e8b74065fef609b717255cd88e54c5a/coverage-7.17.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0837b71a40749d9c4016cf8c51ba8c6153f7dd40cf4dfa287a2f28376fa50917", size = 270929, upload-time = "2026-11-12T12:25:51.099Z" }, - { url = "https://files.pythonhosted.org/packages/4e/e3/e29ec216a87330812142af2290224002b84804c5361eebe68c57e2ace5cd/coverage-7.17.3-cp314-cp314t-win32.whl", hash = "sha256:8a054b755bc6665b339a923fed14a54446c43c942bf4edf08a59b1225b284c93", size = 230892, upload-time = "2026-11-12T12:25:52.755Z" }, - { url = "https://files.pythonhosted.org/packages/9c/e0/3854a8d843b31a317f251a0fc148c1980dde60f872fce30f6f037dc432e2/coverage-7.17.3-cp314-cp314t-win_amd64.whl", hash = "sha256:fa8903475085973b5c916e8a958afd22101b9559880ffbeab5aeac4196768338", size = 231750, upload-time = "2026-11-12T12:25:53.953Z" }, - { url = "https://files.pythonhosted.org/packages/84/b7/748a7b92e7e7605532754e5718ef3109144ed7e58c0721d0d5c9fa9083a6/coverage-7.17.3-cp314-cp314t-win_arm64.whl", hash = "sha256:582c5d80b6de5b1909a4222ec1f5676bb2e03815c6be9ff43db2d8a71de5079c", size = 231381, upload-time = "2026-11-12T12:25:55.232Z" }, - { url = "https://files.pythonhosted.org/packages/e3/44/8cb5635090ddf8674625f5067c0575ead89863664fff3cf73fb2f93c9287/coverage-7.17.3-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:49a4f12eff115fc2447d3438b2c08d7e5adb3abc811c050ee508f8189718cc5d", size = 229920, upload-time = "2026-11-12T12:25:56.587Z" }, - { url = "https://files.pythonhosted.org/packages/8a/54/b7ba20ab94696a790c2703ceb32f10b15f0a70dc2ae19178fd17d4915937/coverage-7.17.3-cp315-cp315-android_24_x86_64.whl", hash = "sha256:e04385647f444d55b483a0e4dc519f46134846eddd80910a0d0953ea19e58358", size = 230038, upload-time = "2026-11-12T12:25:57.842Z" }, - { url = "https://files.pythonhosted.org/packages/ae/57/00c6e8a207674280408907cf4861e925c8e136770d333f5c9ee4dde5dc12/coverage-7.17.3-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:faee34ea548318f6f9010928edab2f91b36a19b58376e69ab0e76d4f3a0bf9df", size = 228239, upload-time = "2026-11-12T12:25:59.159Z" }, - { url = "https://files.pythonhosted.org/packages/81/ab/b3f996c33524cef1d9bf80fe677619bf17282fefb9f3497da83fabea67cd/coverage-7.17.3-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:7c420ffa993c25cc74c263e9c1c869fbaea7d16dcb6448eef4fa6f1905560f5a", size = 228535, upload-time = "2026-11-12T12:26:00.402Z" }, - { url = "https://files.pythonhosted.org/packages/32/ed/83f6e5ef0f7e39deb1d7915c2eb3c8946c002afba2f5f58ae05f870e3532/coverage-7.17.3-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:e592f790fee57e2bedaa27cdc76988a082090d1aac560ca4bbea80a7a58436ec", size = 228733, upload-time = "2026-11-12T12:26:01.649Z" }, - { url = "https://files.pythonhosted.org/packages/d8/34/d256f50c5bf16255ae04aa917ba1857e127023dfd2c06499f777c7a4cd29/coverage-7.17.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:59c15dcae783ed291da3af6be2e70762322637ac886b19671d12123521cf6ac3", size = 228929, upload-time = "2026-11-12T12:26:02.97Z" }, - { url = "https://files.pythonhosted.org/packages/35/a4/31617273e938a7d9c7378335cb41e147bc6c293acac8ea643d74b3bc29e3/coverage-7.17.3-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:733368982d2799ff04d768916fb755e54d4ce11af3573488ece451745c90d4a7", size = 260825, upload-time = "2026-11-12T12:26:04.219Z" }, - { url = "https://files.pythonhosted.org/packages/10/61/1bd79ec66957f4ea7ce5f687a18aa50f3b3e8715e4843f6ed3e5f03f24bf/coverage-7.17.3-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a13a946d8de807d8992e56a09502952d81bfbb4b80204ef77a6a2a38b4ce22be", size = 264469, upload-time = "2026-11-12T12:26:05.491Z" }, - { url = "https://files.pythonhosted.org/packages/e9/47/db887dff6eaf0a24396021ee4956eac563bd286677252e444f89a80e5166/coverage-7.17.3-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c769e6a28bb645c915449ed8ddf6059765a72d8ef79590bfd6202022a4441cd3", size = 265623, upload-time = "2026-11-12T12:26:06.798Z" }, - { url = "https://files.pythonhosted.org/packages/69/b9/e86863e2ac724844a07dbd165da6912d31c6a2cad99ab23b2c204e655bbc/coverage-7.17.3-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bf7a43782b20951fe9ddc6f6c28da51c65d3c0d5d5fc3c5a0e566986aa3ec0aa", size = 267981, upload-time = "2026-11-12T12:26:08.051Z" }, - { url = "https://files.pythonhosted.org/packages/72/d0/a3536c347bf036e3aa383c85db80a3ce5f2ca961f8500f46c25ac6a14c3c/coverage-7.17.3-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b65db089de3f219c850f21a2ca915f43f6fa1da5bfb55871c089d3be82c10369", size = 261235, upload-time = "2026-11-12T12:26:09.392Z" }, - { url = "https://files.pythonhosted.org/packages/7b/26/f7c1a5c62c66a4ceccb9889eb7fefaca6c34fc72f47553ffb134262533cb/coverage-7.17.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:228f4bcecadcbb1ec3ed088b0595c5c08f3fca01406b72e8a02209a3af16aff9", size = 263461, upload-time = "2026-11-12T12:26:10.684Z" }, - { url = "https://files.pythonhosted.org/packages/45/4f/51a9d4af3dac74e146d65e0b696a98eaad7badc3837e42fa386c8ef96c55/coverage-7.17.3-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:3a5691ef42b16e22976ec0352a76a0f7c3b4196fe3d39805dcc765e31ce54f22", size = 261436, upload-time = "2026-11-12T12:26:12.421Z" }, - { url = "https://files.pythonhosted.org/packages/e5/bb/6bcac633b71c1e675d9bc7ba97e9b28c32a3309db57185ce5af35176b1c7/coverage-7.17.3-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2765261bdcb5f6c01af41d97ec4fcfe18acd1114d8d2690536a36f86b67c179f", size = 265926, upload-time = "2026-11-12T12:26:13.684Z" }, - { url = "https://files.pythonhosted.org/packages/d4/6f/fc1007053178d2fbef0a89014a60e34a8b7a9e831d2f78301a55f0cbf644/coverage-7.17.3-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:45268757a45946ab3fc9d2c30019aff2d3804ae660121d5b31f523366f604e67", size = 260770, upload-time = "2026-11-12T12:26:15.247Z" }, - { url = "https://files.pythonhosted.org/packages/44/e4/90fee6c30eacfd84d6969223f823e4d14f02a07df9ad91e5de2b3fd6c466/coverage-7.17.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:24389d7d50f1fe98ac8d8ec1c946656a75b97d953b51a714484e174ed9f48eb1", size = 263276, upload-time = "2026-11-12T12:26:16.551Z" }, - { url = "https://files.pythonhosted.org/packages/3e/03/4108b8e1f428dd511a422510fce64aae0afa7b7350f73a55f6d6d5812d7e/coverage-7.17.3-cp315-cp315-win32.whl", hash = "sha256:ff0ca078fe63faffff1cff24c804afd4010e35d9c75bb593877b3d4321826c91", size = 230578, upload-time = "2026-11-12T12:26:17.793Z" }, - { url = "https://files.pythonhosted.org/packages/95/46/e213941d820ab8e2ba788177569e781c50381bfd9ddb35d50f5f63d096cb/coverage-7.17.3-cp315-cp315-win_amd64.whl", hash = "sha256:f8f6252bb4c457d686c18e42965087b30155ff72b0dbda6e79a43ee3682c0870", size = 231196, upload-time = "2026-11-12T12:26:19.172Z" }, - { url = "https://files.pythonhosted.org/packages/f7/4c/703768310ea21b513fdfd42d114447f0a335b763d70aacd54f8ecbc1e59a/coverage-7.17.3-cp315-cp315-win_arm64.whl", hash = "sha256:5559549a14f997b261c936ca463ed67e030511f914ffd1692ad08b3b16ed6034", size = 231046, upload-time = "2026-11-12T12:26:20.477Z" }, - { url = "https://files.pythonhosted.org/packages/5b/4c/e27066a48746f622abc8ccf941917294bf46ee87077427d9a22aa98a74a3/coverage-7.17.3-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:b6db3399e76a366353dd0c9a009fe74c3d1c892de35863331c4d06fbe0dd83b8", size = 229243, upload-time = "2026-11-12T12:26:22.109Z" }, - { url = "https://files.pythonhosted.org/packages/38/29/129c10c8b1555ece4aaa9ad197769abda281bc204d7b055bf85681e12e15/coverage-7.17.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:47e49fced11190fdc678182b0e7f8947db4fc1c1216094923a1d2bbedba3c84a", size = 229600, upload-time = "2026-11-12T12:26:23.372Z" }, - { url = "https://files.pythonhosted.org/packages/11/91/4cd15480a1d6bb7102dfd42c03197034aff1cb0f12b3791ed6e14872c2d6/coverage-7.17.3-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:fb5945d7360fb258dee758258d93ea624a712fae494e7a0037a92505b3eb8b32", size = 270046, upload-time = "2026-11-12T12:26:24.615Z" }, - { url = "https://files.pythonhosted.org/packages/1e/b0/b7db33135f973cba720c20d8055c26177217cd07c4e903fc24a71715be0e/coverage-7.17.3-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:47cd7674a39bad6480e565e2a5b77f8089ebfbcd3aacc572abc6cebabe1f4cc9", size = 272815, upload-time = "2026-11-12T12:26:25.864Z" }, - { url = "https://files.pythonhosted.org/packages/a1/ea/207ab861d69f4008d90d193ab5e9d5721ea2a75ec4a1e826720519142795/coverage-7.17.3-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff5069e99039739c2fade5dd12cf8df7dc1b1217a0b915110605e0bbdddf1187", size = 275531, upload-time = "2026-11-12T12:26:27.096Z" }, - { url = "https://files.pythonhosted.org/packages/a9/6e/d5144a94a9758d25f3d9143b86a0ab04feded2a30d8c9365c646d504aea9/coverage-7.17.3-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b7028eabf24ad18646dbfc6b352cece01779914e69254ddcacdfb9f805d89f61", size = 276906, upload-time = "2026-11-12T12:26:28.311Z" }, - { url = "https://files.pythonhosted.org/packages/e7/b4/8328eaa253b44b081e25236abb4717f7afd37ecae02cc6ca77d853efdde9/coverage-7.17.3-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:349ab42e0b6b72892f187a60a0890b3a76710e93b7c31579e81648d46230a8ed", size = 270557, upload-time = "2026-11-12T12:26:29.969Z" }, - { url = "https://files.pythonhosted.org/packages/6b/bd/22effefa744acb7cac84addd7d619538c7604fe7d7b6fe3b989ad6f60fed/coverage-7.17.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:397e5342fd4f19ae930a5234643a63a8eaccc18a2f034a2f1765a5313123489d", size = 273009, upload-time = "2026-11-12T12:26:31.591Z" }, - { url = "https://files.pythonhosted.org/packages/a0/b6/5e1a93260f8524832bd5781108dc38497d7930bb451014350ce61b22f848/coverage-7.17.3-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:8009572d242674765b84ecceba126c2392b1824b32f41db1f3323d23d4cb598f", size = 270006, upload-time = "2026-11-12T12:26:32.85Z" }, - { url = "https://files.pythonhosted.org/packages/25/35/e7ccdc8675afd66c4c9310e883c255dec3277fdff65c640ec0ac531b1f9e/coverage-7.17.3-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:dc116b251f7a4ae0266dba0ef31a742c6c517d3a99b4d50016548a17d407ac5f", size = 274755, upload-time = "2026-11-12T12:26:34.058Z" }, - { url = "https://files.pythonhosted.org/packages/1e/a3/d8c76a38363e59654516041471cdc5b325fa22835a87d5213e20553454fb/coverage-7.17.3-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:b73148d024d086239fc04c03daaeb1934a6d295312dd0d6a04a937326c1207d4", size = 270158, upload-time = "2026-11-12T12:26:35.772Z" }, - { url = "https://files.pythonhosted.org/packages/0f/e9/cf0fded465f8d9a238d6b4fa4908a84f08ae483b3d4adddbd9668dc09ab0/coverage-7.17.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7f02996b09190bcdee3b2af38bf2279e4a1a65306afd3e6c229029dbe41e42ea", size = 271819, upload-time = "2026-11-12T12:26:37.046Z" }, - { url = "https://files.pythonhosted.org/packages/ac/24/fcde10f418dec10e647c1d697f5fee500605adae2a0105fe772ed6dfff17/coverage-7.17.3-cp315-cp315t-win32.whl", hash = "sha256:80e219a51ef7ccf78fcd584257e523ece0d390cb3d9d3896660eac05a19ac691", size = 230874, upload-time = "2026-11-12T12:26:38.293Z" }, - { url = "https://files.pythonhosted.org/packages/80/bf/095490c7d43ba2e38eb0c4af31a37beb1f2347c4765613e39f8587c5f00a/coverage-7.17.3-cp315-cp315t-win_amd64.whl", hash = "sha256:86563b5323fc13239d943b22a1bb9ec60f9ca17bd9a0be09c40a89836697aea2", size = 231735, upload-time = "2026-11-12T12:26:40.717Z" }, - { url = "https://files.pythonhosted.org/packages/1e/f8/21db698c4785e3604755415aaeaa49bf00220c210f09c06dd185fce6f986/coverage-7.17.3-cp315-cp315t-win_arm64.whl", hash = "sha256:f8356475aba020621f8277f1a81c2dbdbda8286c7c6130f242c9816e044062a9", size = 231374, upload-time = "2026-11-12T12:26:42.14Z" }, - { url = "https://files.pythonhosted.org/packages/d1/8e/f7d7e69e2ad34ce08595b787eb578f669c00fd57d432ed4c7cfd71666f36/coverage-7.17.3-py3-none-any.whl", hash = "sha256:21745c08f2835b847a16887b748d3084dddeb0571ae2a0d62e33644413568b99", size = 219999, upload-time = "2026-11-12T12:26:43.553Z" }, +version = "7.17.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b1/a8/6c44415a740290c66451e664bc42f835d65a17888be2bb17e87d6d7a27b8/coverage-7.17.5.tar.gz", hash = "sha256:4f41d35b798714a2e79ec2097d6b03c92cd3b7de58e422fce7a1ca2c0c25b276", size = 1009924, upload-time = "2026-11-23T13:54:57.93Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c4/ee/1467145334e11bd29bafd5f9c5c3d92913d734d3667d76f6b26ec3bba31c/coverage-7.17.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:86bd1104afcd9e2662db9e1ceee43244c3e3326b5cc35e639e27eb3279291516", size = 229707, upload-time = "2026-11-23T13:52:50.882Z" }, + { url = "https://files.pythonhosted.org/packages/c1/47/9aba7731cc1adb528091237fd0fbaf9b25fd158615af33148b9bfe9c8cb4/coverage-7.17.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a8d155703b4bd33ddeddb5508fee89b1b95bd36a22b39e521869b19da8db2416", size = 229960, upload-time = "2026-11-23T13:52:52.071Z" }, + { url = "https://files.pythonhosted.org/packages/56/fb/5edd6fc2f41225210b5b13570d16644f98a85e04811d07136bf434a85063/coverage-7.17.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:9df0a56a23d69866eb988f552f6744c3e217c6cfda26123dec5baed84bbc95ca", size = 262368, upload-time = "2026-11-23T13:52:53.15Z" }, + { url = "https://files.pythonhosted.org/packages/3c/a6/cb2e35022af7f3ffc37c0cdaae660e6468bf1e598f9e0c7810e15afe6dc9/coverage-7.17.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f3c892bf8861acd9e8fe18060672ad736d0ec983ad1f64c12eb0abd6cf17b02e", size = 265711, upload-time = "2026-11-23T13:52:54.24Z" }, + { url = "https://files.pythonhosted.org/packages/64/5c/65b13b1b0c44b3c686540a36aef9c7508343d70a5b07ca3ea7dd47b5252a/coverage-7.17.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d3caf635361353eeb945681648e0dd705067b070d1fcc4eb32473002471f947b", size = 266221, upload-time = "2026-11-23T13:52:55.315Z" }, + { url = "https://files.pythonhosted.org/packages/f6/95/aa2667a389c3753438645aa042ee631b65bc31ccc883d70b024d3de49836/coverage-7.17.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:eedecb7de6b34e98408ef29a3552a4cc4211802165989eede7779e183bc1092a", size = 268507, upload-time = "2026-11-23T13:52:56.535Z" }, + { url = "https://files.pythonhosted.org/packages/f4/8b/de2b7e3be20340a9e17ac94914ae78a88f7486153815e888d20d1331ad9a/coverage-7.17.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6eba03b3d76a84f22643db5b3c0c5673fb997d7cf026def24160ada5f986c285", size = 262607, upload-time = "2026-11-23T13:52:58.09Z" }, + { url = "https://files.pythonhosted.org/packages/80/67/82f87fcadca4141e13973b4bfc082d4c49a6569e5da3f96fdee3e77b9428/coverage-7.17.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d78dda8748a0402277888deb81dd7070944234f32092c73fc19972e8281dae0b", size = 264114, upload-time = "2026-11-23T13:52:59.414Z" }, + { url = "https://files.pythonhosted.org/packages/a1/92/bbec28920dfb3d7e42963a5b0b8a60cbf600c0dad8c0050e73924b7934ec/coverage-7.17.5-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:bc6542dc7a25ffd0380174aaba42cdc31346c76ea5c67b6bffc585400378d815", size = 262275, upload-time = "2026-11-23T13:53:00.633Z" }, + { url = "https://files.pythonhosted.org/packages/01/d2/d1ed88ceb1f2bd651fdc3d4f9ebef804fa1cf9438c79a9236b8a5852a7fc/coverage-7.17.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d6b65dc9fb9f596740e6ded1b6ef4e1d4dfaef55259f045e5a9bc0ae5c1bc574", size = 266335, upload-time = "2026-11-23T13:53:01.973Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f4/d82541f4c3a2fde4bca3f0bd872a592dc2235ad30aa9e7c106f905a42a9f/coverage-7.17.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:44486fe799d58b8bc73414bc0550461e47c2fd376e5bc875955d9ccd614950b2", size = 261782, upload-time = "2026-11-23T13:53:03.241Z" }, + { url = "https://files.pythonhosted.org/packages/97/2d/0225651af0f91c3754b336add651e6e61f49811c23a680f1db99e141764a/coverage-7.17.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:302aca43a47692b2348c18c0300f9ce86915564955f3a60532c436d96cf5f09f", size = 264280, upload-time = "2026-11-23T13:53:04.402Z" }, + { url = "https://files.pythonhosted.org/packages/f0/86/6163a5c3983e315e4ad633810ae63463ce10f529d2b28f386d0cae7bb268/coverage-7.17.5-cp312-cp312-win32.whl", hash = "sha256:479acdfcbde3f7d3f5548fc9c6ffdef57a2c9a8aa2b39c26381bc288036e869f", size = 231683, upload-time = "2026-11-23T13:53:05.573Z" }, + { url = "https://files.pythonhosted.org/packages/d6/0a/c8fab2136eeee05c693e6f2954ae383fc7b212ffbf97aad43f6d84ebb2b7/coverage-7.17.5-cp312-cp312-win_amd64.whl", hash = "sha256:a0dadbcd473b9e2a2572827620066da0dc80f0b6f629d87b538154d4c23beacb", size = 232367, upload-time = "2026-11-23T13:53:07.085Z" }, + { url = "https://files.pythonhosted.org/packages/b6/c4/d2da4738ac1fcabdb53319e60db59d786a7b31fccc4832791e7aba977559/coverage-7.17.5-cp312-cp312-win_arm64.whl", hash = "sha256:6fcca534f5b4f92fc8bfcd6d32b3ed92eac972df05d5a52e4ee30f48bd5cd5a7", size = 232321, upload-time = "2026-11-23T13:53:08.245Z" }, + { url = "https://files.pythonhosted.org/packages/99/ce/34001ec55507d93db0d2eb19785c9d4db77a180de944791a4d971452d880/coverage-7.17.5-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:12d072a6b2f9894931025e0f03005b647396168ec42f27184e44959a111928cd", size = 230995, upload-time = "2026-11-23T13:53:09.42Z" }, + { url = "https://files.pythonhosted.org/packages/c0/46/cdb5dbc38a306ab73a0daafe30f9a88b85cba8650f8f4a4c5aa412224df4/coverage-7.17.5-cp313-cp313-android_24_x86_64.whl", hash = "sha256:bfd8c631698c3b7fd2e9c03f89ef5c08601dad7271dfd8bf27a48b65baca2f61", size = 231067, upload-time = "2026-11-23T13:53:10.531Z" }, + { url = "https://files.pythonhosted.org/packages/43/a6/36751a5e123b066acd26c8800be5362452fabc427975f4be51824a8ed302/coverage-7.17.5-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d9440a5094b3848e86671adf65b0369dc709f5d8c9ad6cef69ade6c87ba566e7", size = 229339, upload-time = "2026-11-23T13:53:12.025Z" }, + { url = "https://files.pythonhosted.org/packages/0c/c9/062cf3eadbde77540b0026595e2f42930675ae3eec851e5fdb6e4c30260c/coverage-7.17.5-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:1079ee97fa14df13d2b11ffc0a7e80a802bcfce8a4d866e5b3eca9865b4fe76f", size = 229639, upload-time = "2026-11-23T13:53:13.221Z" }, + { url = "https://files.pythonhosted.org/packages/64/21/efec53d480090442e12e4f052e4be73da2c1b2d55291bcb6e2fc2b70f09c/coverage-7.17.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:af026eec5cea4a5d63666232c22740df7bb8e996f715fb2f6bcbbb58befb8cd0", size = 229740, upload-time = "2026-11-23T13:53:14.453Z" }, + { url = "https://files.pythonhosted.org/packages/24/47/2c9a44b8e74233227a52442163886539cf1c390c5dacc711e7de3c2abe8b/coverage-7.17.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:28224f47e98cddc7e0f94c3a584385e06108c9d98c440057fc6dcab07fef451e", size = 230022, upload-time = "2026-11-23T13:53:15.577Z" }, + { url = "https://files.pythonhosted.org/packages/28/15/b84d6c70a4ebb8d4cf20e5717f8e9d001a167db393b74cbe5aa3eaac3286/coverage-7.17.5-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0f605c954327319522b50b61408fba593d6583f70cb30965cdddc9bb7d3d6c16", size = 261205, upload-time = "2026-11-23T13:53:16.879Z" }, + { url = "https://files.pythonhosted.org/packages/d9/65/a0f40c82a3b714c05fc7d70266911a55255368e728625935cce7e6aeaffd/coverage-7.17.5-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:94d743e8431478a96291cdf2de4ff38458a4d3ffb008fb056d6d70493a9c82f8", size = 264191, upload-time = "2026-11-23T13:53:18.238Z" }, + { url = "https://files.pythonhosted.org/packages/9b/32/ddb8d35438aab0dae274276efec9bd4bb212727cbdf0430d681b7a4f1d78/coverage-7.17.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0e2a3e4e729c74333a68d8fc47b0eacddcc017429614808a90d08f25b091ac2", size = 265132, upload-time = "2026-11-23T13:53:19.424Z" }, + { url = "https://files.pythonhosted.org/packages/f6/28/9861446c6b1295971a62ddb11f342725d38b099917527b4a1049ee6e586a/coverage-7.17.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:74b1037a6fd6531644b5753498528fd8b0d73d5fb12b73dcabb0680b03e15a79", size = 267316, upload-time = "2026-11-23T13:53:20.983Z" }, + { url = "https://files.pythonhosted.org/packages/89/be/f8ec493ddfa2a93bf6ccb295ed784f5de284ec0a3bc4d8578d23a62a7598/coverage-7.17.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b9b1f8cc6d68a5f169bb5af16a83f7c965cd76016a1ab674f3ab85e7a288fd71", size = 261467, upload-time = "2026-11-23T13:53:22.129Z" }, + { url = "https://files.pythonhosted.org/packages/bb/82/b8d2ab2018ccb8056c2b7d3a25ff6cfd078b836e56d20795dcb9ed42cfdc/coverage-7.17.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:775fba38029a831766df513d2fe1b152b8da55424e06a93731ccbf30a49a4302", size = 263350, upload-time = "2026-11-23T13:53:23.248Z" }, + { url = "https://files.pythonhosted.org/packages/c5/49/dfeb8f777d730a51daa47f853d84c16cd767324e818baa5aea6ac17271af/coverage-7.17.5-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ee6685ab93e0d8997aeb27bd52611fb13f85c631761ad8a3439a85eddcc23ad0", size = 261143, upload-time = "2026-11-23T13:53:24.312Z" }, + { url = "https://files.pythonhosted.org/packages/06/7c/2fc05fe5ebd0df22b0dd6f70c1cd64dc91a9220173aad549aae4ff546fe5/coverage-7.17.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:655873262abc58dfb0524e12e32fb329d9de0cbf55128b49c14397ace9516e79", size = 265481, upload-time = "2026-11-23T13:53:25.646Z" }, + { url = "https://files.pythonhosted.org/packages/35/32/e16c4976a42074af721f2b78f2e937c089ad4fa1d01e885adf47e3f5a155/coverage-7.17.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f614dec8b19edd02b8cd909b6f06ff98fab95236393be168e662b73dc86f092f", size = 261191, upload-time = "2026-11-23T13:53:26.947Z" }, + { url = "https://files.pythonhosted.org/packages/36/6a/0c843e63a9ae0609b4df5282c9f122edce1a4a987dbb150d310737180213/coverage-7.17.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8db5fc4cc2c2da481baf0f3af6be98dcb5f19780f257234b9250d0031231ba44", size = 263232, upload-time = "2026-11-23T13:53:28.199Z" }, + { url = "https://files.pythonhosted.org/packages/e5/a6/7702c2f04081e9435d9770147d96ef48e60c0549e6aa06f1aafc39007da5/coverage-7.17.5-cp313-cp313-win32.whl", hash = "sha256:8d7300c015ea3feb71e68047d6fbe9b0f370f1c70aeae4ef425c8b5d7db196c5", size = 231599, upload-time = "2026-11-23T13:53:29.37Z" }, + { url = "https://files.pythonhosted.org/packages/18/32/6f446abeeb15cc2a39cf622e7ef4712d28dfa33006a87abe105b057615c6/coverage-7.17.5-cp313-cp313-win_amd64.whl", hash = "sha256:7f3dbd41a1e3bb34c9124538b529f8eb2c58d41db75e9dec02a2a552475183af", size = 232407, upload-time = "2026-11-23T13:53:30.708Z" }, + { url = "https://files.pythonhosted.org/packages/22/0c/7a715b1cb1b589ed572112e65a9066614578dd7eca850bee372e3cf0752d/coverage-7.17.5-cp313-cp313-win_arm64.whl", hash = "sha256:2159895411611102d12dedc933f8040b037478c23aa5425f969b364989ac0a33", size = 232253, upload-time = "2026-11-23T13:53:31.902Z" }, + { url = "https://files.pythonhosted.org/packages/7f/37/2976e6696e6db91bfbf05d92cdb58724c31f94f084bcb4cf7e0ac0c22b3c/coverage-7.17.5-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:2bce160fa8f257b6b9e9d3f0d87c47d30b3e349b547d0356104d076d73bbadcd", size = 231111, upload-time = "2026-11-23T13:53:32.985Z" }, + { url = "https://files.pythonhosted.org/packages/f1/81/fd25e3a0c397b046d08a1d14accf151496d6f2865ad02bd4561e1fd88763/coverage-7.17.5-cp314-cp314-android_24_x86_64.whl", hash = "sha256:014e08347c3a1f09f57a0ad74924b3a10aa9d0d2760058931eb2702a8fc560d6", size = 231228, upload-time = "2026-11-23T13:53:34.134Z" }, + { url = "https://files.pythonhosted.org/packages/f2/be/dbc104f9aa73ff2bb4cfe3863a3a07721e6d08329d7de0e10096ced0f855/coverage-7.17.5-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:63a8196970e27f78fd92fa585e9d5945bdfea6c9c1131b2fda46f15b93556b3c", size = 229411, upload-time = "2026-11-23T13:53:35.3Z" }, + { url = "https://files.pythonhosted.org/packages/f1/07/e4bc6e896628b9ded084063b3f3304d74623ec0ef904d1a0b083cbb267d6/coverage-7.17.5-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8b8e8e62c0961611f8ffdd7d50b15667c3fcd4b72a3f902d3d39b471540dba25", size = 229713, upload-time = "2026-11-23T13:53:36.552Z" }, + { url = "https://files.pythonhosted.org/packages/82/45/c0fd32e9073ea1261fd4cb2309d0946fede258eda923531eba95065db321/coverage-7.17.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:219f209e43837621966bb871fb39bfe5afcd55cad59d3b3a87150e9783a23239", size = 229927, upload-time = "2026-11-23T13:53:37.746Z" }, + { url = "https://files.pythonhosted.org/packages/9a/70/02f53d6fd43173d1624cfee36b2e18443259c57d693e48b6fdc3f0bc5701/coverage-7.17.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b51642f3eb888a6c0b9403c5b5b7d0040bb739321ff9eecb42f5c92bd5c1c5d8", size = 230099, upload-time = "2026-11-23T13:53:38.887Z" }, + { url = "https://files.pythonhosted.org/packages/16/83/b43850af3a3a6723f0b27710e70bd622a7a67606e52cf5e9ad6b0fb0b2cb/coverage-7.17.5-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3c9f9b79a46f348bc004e4cfa6aabba5d6775e65e7ed881ad559809b282bbbe4", size = 262136, upload-time = "2026-11-23T13:53:39.997Z" }, + { url = "https://files.pythonhosted.org/packages/df/6f/8343e92c0c3c51270f7ed15bb0875e04037caaa2bc415a1ab02a1662da63/coverage-7.17.5-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bf704353a9da00a67bc5965ba46dee91ee472a54369ebc267eeaacfe85ebc0db", size = 265069, upload-time = "2026-11-23T13:53:41.371Z" }, + { url = "https://files.pythonhosted.org/packages/80/74/b456d007a4ae03915ae657b39dc3b9e7c27a40f85fbfed18f5b454ea1e9e/coverage-7.17.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f4500a44d9dd25f6f702a447c631fdf0c6a6897e578358e0dc70f40e1e0839d9", size = 266075, upload-time = "2026-11-23T13:53:42.442Z" }, + { url = "https://files.pythonhosted.org/packages/db/8e/4ba56c42492a4ab045b3f6a076f6a12099ee15d1ec1e45472300fbc4301b/coverage-7.17.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a6e38e0c7c3e8ebf0b05ecfaff20adaee5a40d22c7db5a2db934609af162f920", size = 268560, upload-time = "2026-11-23T13:53:43.618Z" }, + { url = "https://files.pythonhosted.org/packages/b3/ce/eb7853064deca7eb2a012050d34acce554934e34f0f7b35709f47ba98a25/coverage-7.17.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dccefbf7fbadc70b22f2f983797b7b50e46a093c60fa500853c1370c691aa725", size = 261885, upload-time = "2026-11-23T13:53:45.083Z" }, + { url = "https://files.pythonhosted.org/packages/d4/35/e27668152f799cca3aa180aeaa5ad3629a8f3e9a9e16ac250dcc0d3402f2/coverage-7.17.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2a7c84a272caf2995a9ed2afd1bbf025157ef423a2d12634915cf58cdab519ee", size = 263855, upload-time = "2026-11-23T13:53:46.335Z" }, + { url = "https://files.pythonhosted.org/packages/f8/e2/bac905fbba47ad2a5402fafe9cdec79ad740f5785e02234cc5c962e5f38d/coverage-7.17.5-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:45ecc567c5d1467d3f37d40d63c4057bc6e1f5d0b800403ed9752cbce948be89", size = 261959, upload-time = "2026-11-23T13:53:47.574Z" }, + { url = "https://files.pythonhosted.org/packages/9a/65/60d56f1d9e81ad12af937d5e1a3e1a2866009bf8348fe971a1d5ca17785d/coverage-7.17.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:d0f8017c68922bff9e079c636e2289b7ac03cd5e0c87387add53aafc54560ea8", size = 266424, upload-time = "2026-11-23T13:53:48.779Z" }, + { url = "https://files.pythonhosted.org/packages/b5/2a/8f19c62157ce3232c90d13f8e1a4b617d64195c2f62a71c33da3c61b6e87/coverage-7.17.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:b505712c60167c8b13111ca33b70956e2de2dbcb728044c8312cb42b11c575fa", size = 261622, upload-time = "2026-11-23T13:53:49.829Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f7/358ed145c99aecd02b00643174499c407a61c3a51fd76fd889a14110c7d1/coverage-7.17.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:401137e7e800d02ae69bb9658ac30d93b7be913962e9d4ec4540dba7a9388d5a", size = 263686, upload-time = "2026-11-23T13:53:51.039Z" }, + { url = "https://files.pythonhosted.org/packages/b2/3c/0b8dec7985a1bdf41179011a16166fd6cfb4e7dd5c05c4066f419223f892/coverage-7.17.5-cp314-cp314-win32.whl", hash = "sha256:551a380787f691b65f2db738cbdcfb1c37dca498344bb745d7a4a90620ce695a", size = 231854, upload-time = "2026-11-23T13:53:52.208Z" }, + { url = "https://files.pythonhosted.org/packages/6f/28/79bd01f20e45413dc4f87d8df6e72f7fc7d58f42afbb007ba41473fb2701/coverage-7.17.5-cp314-cp314-win_amd64.whl", hash = "sha256:4bc0cf5a6c95af7b9ea4e8f0401d5f156e74d2c8daa055f46eb16685af208c48", size = 232706, upload-time = "2026-11-23T13:53:53.438Z" }, + { url = "https://files.pythonhosted.org/packages/9e/89/8908a7395cfecfaca8fac96504a8ab7a4c3652274cbb45cdd84270b2b328/coverage-7.17.5-cp314-cp314-win_arm64.whl", hash = "sha256:01d78da09cda8740bb17977fc219f3abd8f7960ea55318bdb74e5779b01c15e2", size = 232536, upload-time = "2026-11-23T13:53:54.607Z" }, + { url = "https://files.pythonhosted.org/packages/30/f3/8f28f1b94c7bb9bd9f3b2861c4dfb2d493e0bf1f72c40dff83080ae28778/coverage-7.17.5-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:bf6919429058f6a7ebc150f89c147a705af7af205bd1803a9ec402967d17d939", size = 230451, upload-time = "2026-11-23T13:53:55.7Z" }, + { url = "https://files.pythonhosted.org/packages/b8/e9/2732730b5e512a1f462215a1add7ea3bf1eb9c3a3aaa294791215406f6fd/coverage-7.17.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5de638cf08bb9686c7f2e4838ade3d23476d541b4bc61ad0e6eb8d7a3d2e1365", size = 230786, upload-time = "2026-11-23T13:53:56.826Z" }, + { url = "https://files.pythonhosted.org/packages/04/6d/23084f43a0f9215c6e7ac5cfade03e0170fca521fa71296d287667c680bf/coverage-7.17.5-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d7c5ace6c1bbb76b3731d03eed8909cb452bd234e67e5613775f790b39a8f335", size = 270899, upload-time = "2026-11-23T13:53:57.914Z" }, + { url = "https://files.pythonhosted.org/packages/67/d5/69ac3a4de04700ab496efb7b4136607a222942a78301e708efa4159d841a/coverage-7.17.5-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:59c3f3fa4cfd26582ad4fb95550ad91a6b5e9ae9344924131ae23e11d1db8c01", size = 273368, upload-time = "2026-11-23T13:53:59.465Z" }, + { url = "https://files.pythonhosted.org/packages/d9/30/8958b426cb2faf69f92d33cf3d0294f56fcc4df7ad2b38b64e4972928c69/coverage-7.17.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0d6bb2076e78915d73b4e7dd494bb5c539c07bf62f51d765f12ef7d8d124940", size = 276020, upload-time = "2026-11-23T13:54:00.702Z" }, + { url = "https://files.pythonhosted.org/packages/7e/26/10cb3951719cd5eb34d2373946c19389ed01f140c15f73f7e4a8dacd0b12/coverage-7.17.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0a05d25d059ae015e3b8d2a85110891511622614bf531de8d08729ee27ba6e8d", size = 277529, upload-time = "2026-11-23T13:54:01.898Z" }, + { url = "https://files.pythonhosted.org/packages/c8/5d/eb41696619d315b42a1b70d7355f05d7e549b97d313dc83c2657e613471d/coverage-7.17.5-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:68ec3bd2816a899291a0c6e352d588cb280653c499cb7cfaf730f4e146713c02", size = 270767, upload-time = "2026-11-23T13:54:03.212Z" }, + { url = "https://files.pythonhosted.org/packages/ed/04/d23936bb47cfd2ca65b6e15a3947fd5c1f1aa55a370a5fa893b76e127455/coverage-7.17.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:277bdc01a01445f864b61be72e0fc96cf080911dfe89559431f3db633e56ccec", size = 273313, upload-time = "2026-11-23T13:54:04.322Z" }, + { url = "https://files.pythonhosted.org/packages/4b/88/26a3b220ab022c9cc6042e9d71010205941d891d5146abbc92e38d6887f1/coverage-7.17.5-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:941145d4a6841b17dd0f05b6a87d919fc9748442889f197dd7a7ba0c4378a852", size = 270748, upload-time = "2026-11-23T13:54:05.848Z" }, + { url = "https://files.pythonhosted.org/packages/4e/80/93b35fa147a4c4cb734b80f7983bd5164a3d2cd64cc4a29dcd37140d231d/coverage-7.17.5-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:89394efb4327c667733f65ab48482f1d27615864e89d4a19c232d275b8fe522a", size = 275163, upload-time = "2026-11-23T13:54:07.064Z" }, + { url = "https://files.pythonhosted.org/packages/4d/80/8d09570047626d44adfe293eefdfe574b28a75eebc20ed23e9d7391785be/coverage-7.17.5-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:8fcaa4bb75eea24a48ebfd5ef902e38ffd37f87cdf687214d38790a18b11dc0d", size = 270219, upload-time = "2026-11-23T13:54:08.254Z" }, + { url = "https://files.pythonhosted.org/packages/ee/69/1f18616e7c9e2435b6a0e2707de93157d8a7784f96639ffd4f0137225796/coverage-7.17.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c0d5ad70799eab377517ec2c0643254b9f2051c34a05a2c238ca80730c5243e", size = 272125, upload-time = "2026-11-23T13:54:09.34Z" }, + { url = "https://files.pythonhosted.org/packages/98/f9/22db58a5e59fdd5afe2b78f89e2c19e42495a9fc48407d3131fd40a60f48/coverage-7.17.5-cp314-cp314t-win32.whl", hash = "sha256:bbf955e8e412ee8d04bbf1e63f531a2861754dfa6929e725edb00bc1a87776b5", size = 232219, upload-time = "2026-11-23T13:54:10.756Z" }, + { url = "https://files.pythonhosted.org/packages/40/30/ee217631682046f2d67c98e489f6344e875b50ea95e6929526936d199a47/coverage-7.17.5-cp314-cp314t-win_amd64.whl", hash = "sha256:0a64c637ad6db4eac3294640f93f41ec33b2f7f9a49db7f8edf9fc6d77e0b14e", size = 233245, upload-time = "2026-11-23T13:54:12.154Z" }, + { url = "https://files.pythonhosted.org/packages/10/ef/007796a5295b10d77dbb0350066b061ee94e31c56a1e45e7c7825d6845af/coverage-7.17.5-cp314-cp314t-win_arm64.whl", hash = "sha256:d30fe4c37231567cb52eac75580aa8e219d201cd027f8db0d17de538e62a8b3e", size = 232923, upload-time = "2026-11-23T13:54:13.634Z" }, + { url = "https://files.pythonhosted.org/packages/62/76/ad0805b3f7a00e5a195e264607f269aa16be17e29b69cb292471d071b324/coverage-7.17.5-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:45f260e732d0d3242569e59603a52420d597f4a428e6dc7ed032356e4ebb72cd", size = 231117, upload-time = "2026-11-23T13:54:14.745Z" }, + { url = "https://files.pythonhosted.org/packages/2b/20/77ee5cb6607324ced20c58b96f620b762edb68407120d5b461ded91ca086/coverage-7.17.5-cp315-cp315-android_24_x86_64.whl", hash = "sha256:67856f41645c1a671f63372cf136c0d5faed4d207dcd5a64cce56310445d8432", size = 231234, upload-time = "2026-11-23T13:54:15.954Z" }, + { url = "https://files.pythonhosted.org/packages/02/c5/15817c2c80c068861413ca71592b9d6ddbb6c9851b3c5f0ae9ffc74f89c7/coverage-7.17.5-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:96ab6477bdde34353b4be2b1496a28c0658a10f940289fbc99423d6764aa9f5d", size = 229439, upload-time = "2026-11-23T13:54:17.29Z" }, + { url = "https://files.pythonhosted.org/packages/7b/01/e5725fdde946b8ea5f12c2b6dcb00695ff0850f3f8c586014224ca0107fa/coverage-7.17.5-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:e0c7ac769aa95e169386786e7b7f40857f5a66cbebc0ff7070418d857c4a19d4", size = 229730, upload-time = "2026-11-23T13:54:18.457Z" }, + { url = "https://files.pythonhosted.org/packages/71/65/3c8a9b829633b4a779a4828d07dfbf793f8105e726b2364a2c20a6ac75fe/coverage-7.17.5-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:63b3245ed59a692de79462101671212e412b0b983a242051b0d7ad64805f621f", size = 229931, upload-time = "2026-11-23T13:54:19.638Z" }, + { url = "https://files.pythonhosted.org/packages/fc/e1/d82a0e2ff8cd147feea24d18ab3d6303b88b77b8ad70c394dace05705b3d/coverage-7.17.5-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:b384354a86ff4ca35c9979a9eb8d4acaa1c5e227bafa8c9b73a4b7ed6702b2ca", size = 230126, upload-time = "2026-11-23T13:54:21.248Z" }, + { url = "https://files.pythonhosted.org/packages/c4/9f/f831bf5d505dbcf8cfb1ae729d11d3070543f457f7856d669f76d61fa9fd/coverage-7.17.5-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:a15d56e90773263335fd38cfec0079ee0373d5de1ee6c59af7c96b7a87304743", size = 262021, upload-time = "2026-11-23T13:54:22.588Z" }, + { url = "https://files.pythonhosted.org/packages/84/76/272b848cbf38a638828db362cd21f42cb9bdd96966a3fd8a4bbfaf7ad9ac/coverage-7.17.5-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:647de3a0c079fd2c104dd49ecb2cb903af4c3733a9ef774a4b782f65e8f7471e", size = 265664, upload-time = "2026-11-23T13:54:23.835Z" }, + { url = "https://files.pythonhosted.org/packages/12/f7/b837edf25fad42ba3ac469606586c67d144416254953000600b9ffd567a0/coverage-7.17.5-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0df3a304f7f6dc7f1b85a7fc84e61fc7d904e10694ead41bbf8eae79d4e53a81", size = 266821, upload-time = "2026-11-23T13:54:24.993Z" }, + { url = "https://files.pythonhosted.org/packages/6c/a6/87d72ee0837510bfe7cfb1549c3fa2c51315d8ba6d58dc2c775ac52e1b05/coverage-7.17.5-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dd7213a8aaeb071a95bfe8457dfbe4cfaa2ef41dacb8f0df5fba926381f2d44e", size = 269177, upload-time = "2026-11-23T13:54:26.167Z" }, + { url = "https://files.pythonhosted.org/packages/3a/44/109e6762abb830562d8e0183b1a56911cacd4ac0201d64434a2a291676c7/coverage-7.17.5-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c5d34ab7fe49b121e258ebdc2696d2455e76a79f0f637960ea7cc9ad56621fd1", size = 262444, upload-time = "2026-11-23T13:54:27.489Z" }, + { url = "https://files.pythonhosted.org/packages/f5/29/16f87addf5c5711ee21556124a9c3b01e200600c3b84493bfd1fc03a4545/coverage-7.17.5-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:db1a9b95feb7a9fbe9a05e32ba5af8ffc558ee0f97fbc133597f734f55c5cd96", size = 264658, upload-time = "2026-11-23T13:54:28.607Z" }, + { url = "https://files.pythonhosted.org/packages/a8/6d/9fb59e3d2e18da161642a8b7fb44c77024704e50a808cdcb6356c5026de1/coverage-7.17.5-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:7ec64d07e59c514e1cd630a2ff6ab2a7f9f4d5bf67a2a68a892da28f6be823d3", size = 262633, upload-time = "2026-11-23T13:54:29.764Z" }, + { url = "https://files.pythonhosted.org/packages/32/69/aaca01dca471afc94cbeb27a2f654208ce7a16687ffdf8889da75050f3f4/coverage-7.17.5-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:ac784c23ba11bce498fef814490e3af201294888db7c072acb1a3e52c7da3b57", size = 267126, upload-time = "2026-11-23T13:54:30.923Z" }, + { url = "https://files.pythonhosted.org/packages/ce/46/ac1bd6dbea37f3f9438448f6e135224e1efeebd0dde96d0109a6402cf428/coverage-7.17.5-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:93aac8e16e5beb17c2598483d2b250a00913121080a0e34b8ccea4909c4c63c8", size = 261968, upload-time = "2026-11-23T13:54:32.012Z" }, + { url = "https://files.pythonhosted.org/packages/36/4c/d047052c9f0c49c3af19b6a41684576c09e3844095f10a600898feaf24ec/coverage-7.17.5-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d5ed84b9099d944cd3f0e5a3c2bb1e1d800de516f0b93c5f47fa6ad994751e9e", size = 264474, upload-time = "2026-11-23T13:54:33.318Z" }, + { url = "https://files.pythonhosted.org/packages/2f/84/b13c86005e0d5b28f9f5db93aaea42993cf46800b90f45f5c89b8ead6eec/coverage-7.17.5-cp315-cp315-win32.whl", hash = "sha256:2299da8f6a468fd8abdc5a182c64fb7d8c33f53261a1f058beea3a5eb4a3a023", size = 231853, upload-time = "2026-11-23T13:54:34.417Z" }, + { url = "https://files.pythonhosted.org/packages/16/17/bfb7273db4543172f8f513852e8f9ef50b2567fdb19f6ca10170ddf7d058/coverage-7.17.5-cp315-cp315-win_amd64.whl", hash = "sha256:ae6506a87165a9fcd9d901ed76e655b509fa8300b36b2d235d7b57e09f6e79e9", size = 232698, upload-time = "2026-11-23T13:54:35.909Z" }, + { url = "https://files.pythonhosted.org/packages/6d/29/145393cafd3176aa9e70d12e2d9fc381157f0eb8d9b1b948d79d6de7fe38/coverage-7.17.5-cp315-cp315-win_arm64.whl", hash = "sha256:036fa857625e01d8f9a7ce2bdfa694c19ec13ef9756a77fa9f6f56223d644935", size = 232537, upload-time = "2026-11-23T13:54:37.152Z" }, + { url = "https://files.pythonhosted.org/packages/b8/63/3e282258bf324971ed083ee318e09e91a17989add4bf66cbb6d342cde2a6/coverage-7.17.5-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e0057a44d88c407f4a75bdb6f0a3caf08274337183ca02a41d03ade284ffc224", size = 230444, upload-time = "2026-11-23T13:54:38.27Z" }, + { url = "https://files.pythonhosted.org/packages/a2/54/7edf0016b03f318216dec252bb8d9c5890e1e569083876133b7ef5a73a3f/coverage-7.17.5-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:b05d66ad09cec4ccd02aa4cbb829993868066669e0eb5f075b357eaf79f0688f", size = 230800, upload-time = "2026-11-23T13:54:39.609Z" }, + { url = "https://files.pythonhosted.org/packages/c2/c3/84f17293188edd5468b63b8d5570892e0bc4a9b592b65bf90eea839347a5/coverage-7.17.5-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:dbfaa788877be4e15a7baaf5ac8cb1c2ddd8dbfca08c2f9ece099bc30c1ae986", size = 271242, upload-time = "2026-11-23T13:54:40.918Z" }, + { url = "https://files.pythonhosted.org/packages/aa/5e/eb664f51d513e3b8e76a143f3ad842c3d02e84eab6548817c0614e2b6885/coverage-7.17.5-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:948278203cbf4852b210e2ddd1e37de54a2c9140b1dde46d77333f357943560c", size = 274012, upload-time = "2026-11-23T13:54:42.136Z" }, + { url = "https://files.pythonhosted.org/packages/49/08/319df59ff670afc71559d8770e32b0ec0f477f010030baf9433d0fe8ebd8/coverage-7.17.5-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f106e1b972f274ac6c3c94da3d2542a7215daf3109e24f5c745adef5bff4e18a", size = 276731, upload-time = "2026-11-23T13:54:43.26Z" }, + { url = "https://files.pythonhosted.org/packages/c8/a2/ab0cbae08c23ef699a4fe607ad768e72ff7f3f0e8337e76b183ba5509099/coverage-7.17.5-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a43b2060a35fd30efd0585359d499a10cc595b1ae75560502fe875985bcfab1", size = 278101, upload-time = "2026-11-23T13:54:44.399Z" }, + { url = "https://files.pythonhosted.org/packages/90/4a/c5c73172d4c3ee406915dbf6b0d5003b84407020f71414b7eadc38b5404c/coverage-7.17.5-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0814542b125a3c9b41ea02d11546a674489be24b407e91b35b3c1e42db6b7e95", size = 271763, upload-time = "2026-11-23T13:54:45.635Z" }, + { url = "https://files.pythonhosted.org/packages/69/53/f4c7588453c31c0fdde9f0fa0f7ee6287fc30f05135cd018a9e9d4bd969f/coverage-7.17.5-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:2c20575c47361245fca2ed82583f7a926a83b25ea330fb2f2ea08e7b5202ddbc", size = 274209, upload-time = "2026-11-23T13:54:46.849Z" }, + { url = "https://files.pythonhosted.org/packages/13/b2/8a53df64ce45fe16757f19d45c36a51a72a61c2975bd286e26a25c5a46ec/coverage-7.17.5-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:5cabd42e2fd215cf8b4dae255eb7e73f51a72bcc83e305dc36b962b3e5d70705", size = 271203, upload-time = "2026-11-23T13:54:48.207Z" }, + { url = "https://files.pythonhosted.org/packages/80/0a/77ce82c7cab0abcee05c3be19241bb799bc94782ab6b29b18f94a0a9cf70/coverage-7.17.5-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:78ce2e17be3aa4106bde5302f51a9cd306321bc76c31158ed4297fa0ee3c4203", size = 275955, upload-time = "2026-11-23T13:54:49.359Z" }, + { url = "https://files.pythonhosted.org/packages/bb/82/494b8cbcc4147ecb9de49b69c57403f0bdc887a99ea96cc282597de5970d/coverage-7.17.5-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:eb9821f67564105ac4e0b67eda3ced8acf80a905748d1484e11292b623a08d03", size = 271356, upload-time = "2026-11-23T13:54:50.625Z" }, + { url = "https://files.pythonhosted.org/packages/83/eb/c9c6eae88b285d6d4f9aec2f63b8a2835f39eba5d5396a008bf099369e2e/coverage-7.17.5-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:c76d974162f46d6c2d17cba2b7057bc01c39febbe2ab044cd83e165eefc47d0b", size = 273016, upload-time = "2026-11-23T13:54:51.831Z" }, + { url = "https://files.pythonhosted.org/packages/02/70/c68a773ec142fb70b66da4cadc7496ad6f0a10e0b2f483761031f5c1a118/coverage-7.17.5-cp315-cp315t-win32.whl", hash = "sha256:b02abbcbf204919bdcb856c185596f0e17d5c917d2aff9782c2ec5981a12d804", size = 232217, upload-time = "2026-11-23T13:54:53.39Z" }, + { url = "https://files.pythonhosted.org/packages/6d/ec/231a0dd5b3b2325fc18cf738c4d7e9cb2f52fef0d9c50b60d468bf47d9d4/coverage-7.17.5-cp315-cp315t-win_amd64.whl", hash = "sha256:74b0023f43bb9e5e567d74d1e5214e7f1bc5bfaa3f82401ccbb0e61df3248a1e", size = 233238, upload-time = "2026-11-23T13:54:54.538Z" }, + { url = "https://files.pythonhosted.org/packages/09/87/557da42d3a924aed77d8578274938e3f4174504fa433c16fbe3ea73b0715/coverage-7.17.5-cp315-cp315t-win_arm64.whl", hash = "sha256:f6a8e268767e8bd3fbe5cc91f727fd347ca96b5e4b46016f112786b9048aa91d", size = 232919, upload-time = "2026-11-23T13:54:55.674Z" }, + { url = "https://files.pythonhosted.org/packages/6e/df/233499b340a1ddbd177ef662e3f98d20989b4ebe76e0ab676afc4541a400/coverage-7.17.5-py3-none-any.whl", hash = "sha256:6365cc9f34508faeaaf59ff82b45f6bbda0c823c731039edabc2bd8e774879a7", size = 221196, upload-time = "2026-11-23T13:54:56.763Z" }, ] [[package]] @@ -1155,83 +1155,83 @@ wheels = [ [[package]] name = "hypothesis" -version = "6.170.15" +version = "6.170.17" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "sortedcontainers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/96/ec/59f14eb701087710888b66bfef2dc8bee9dd4a364c69a732db0cc1d3d2dc/hypothesis-6.170.15.tar.gz", hash = "sha256:a4a57e5fb106ecb29cad37e22e411d957e20d933bfb9fb029e1999b1deb8a0b6", size = 521997, upload-time = "2026-11-06T09:54:57.339Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/84/cf/3b56a81685915f6bf0d67b3a6c1139fd9bd4583066161823834e42b9eaa7/hypothesis-6.170.15-cp311-abi3-macosx_10_12_x86_64.whl", hash = "sha256:db8211e0a56fa29bf9e5d9ff9cd969a91ff4e5ffa8fb4983d3dd788253aeee2c", size = 800537, upload-time = "2026-11-06T09:53:36.823Z" }, - { url = "https://files.pythonhosted.org/packages/b6/09/477b3233cca8c447a6dc5fcc076a7294a4fdacb615d960695f6970d706dc/hypothesis-6.170.15-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:34e0859a53f20200f39db3f9cd92112eb6034c31dc670e88d56d8725f453562d", size = 795693, upload-time = "2026-11-06T09:54:14.601Z" }, - { url = "https://files.pythonhosted.org/packages/7c/7a/34e042f1545472abe29ecf9eebac6f748096580f6fb831817f097addbe29/hypothesis-6.170.15-cp311-abi3-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:5c5980821384206939c1c9d519b7adfb80b54d07e669ab0d36fe877f08cff07a", size = 1162432, upload-time = "2026-11-06T09:53:55.461Z" }, - { url = "https://files.pythonhosted.org/packages/3a/7f/95b7b04d2b7e45669db446ee10d97f5d04b143bba380559a7f3a7e0c5b1f/hypothesis-6.170.15-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f29339b5cd4c2a221885e8b7ddbd447b4dc7ee14f763a6f5aaff726d4d3fd5ed", size = 1124598, upload-time = "2026-11-06T09:54:26.015Z" }, - { url = "https://files.pythonhosted.org/packages/33/8e/896172d9706bfe2e09c9154fecb11c7b76e50014442783dd9d5b404c8c84/hypothesis-6.170.15-cp311-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:d836a61c3dd94c6fc4677f4d0d95d30b92eb0ceab6f2b5c58e35c32545583170", size = 1155097, upload-time = "2026-11-06T09:54:47.123Z" }, - { url = "https://files.pythonhosted.org/packages/29/33/b8791c6a9b4232c3cc8f592d3e36175bcb4bad6203f7e461db0a4f5fa11b/hypothesis-6.170.15-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:d18ffd069360589a66ed125db62f12b490b3b9f6d47e5fd2505f1089d63a0f17", size = 1148988, upload-time = "2026-11-06T09:54:33.101Z" }, - { url = "https://files.pythonhosted.org/packages/87/2c/3ee87dd6fdec16ce55a4aeb5f72ae24756855cdc4ee87637fb68c4daeadc/hypothesis-6.170.15-cp311-abi3-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:7636424c7b1477fdd279fce5a210b67687a3024ac7759fe2e46a767a76f8761c", size = 1201778, upload-time = "2026-11-06T09:53:49.736Z" }, - { url = "https://files.pythonhosted.org/packages/6b/6a/f2757fde7d1b3b5dda6df3441d346b59c60627f2c216d966739289149903/hypothesis-6.170.15-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:99a1a4711b5276e5bfc3aa0cca034d0e45f8696a46ac8dce008308f580c18234", size = 1168007, upload-time = "2026-11-06T09:54:34.331Z" }, - { url = "https://files.pythonhosted.org/packages/8d/79/b6ff2a2840e4bcdea5c4cf1bcdd3803954a632beec16cb9d77a9ee8ddbb8/hypothesis-6.170.15-cp311-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:f545a04342a53008fa696a0592f0a026278ee61fab04f3e9e395d0c7eba42fef", size = 1124154, upload-time = "2026-11-06T09:53:24.354Z" }, - { url = "https://files.pythonhosted.org/packages/52/d0/19bc4a98e9583936dbe6e754014ad1133d3a43c9068a880c4e91ce384fad/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1f11d685322a56ee73c2a7566ec9d1195740313c3b965bad3121c340ec0e657b", size = 1299503, upload-time = "2026-11-06T09:53:12.86Z" }, - { url = "https://files.pythonhosted.org/packages/ee/06/fad2d1546c08eb4133f9478716bf6bc5f881e0d06b5b4f1faf34fd515a5a/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:f6d5d34fa6b56f236ad9659043123efb85391a8a5640f067c9de82b0be0bff73", size = 1428191, upload-time = "2026-11-06T09:54:44.43Z" }, - { url = "https://files.pythonhosted.org/packages/ca/cd/71d43284cca9c5145ceae04ddac1adfc57e9da57cf8efd30c0876844c9bf/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_i686.whl", hash = "sha256:2ff9983a58647b03754fa3d1005e59a9c563e15256340fc062b4a34c7969d52a", size = 1382322, upload-time = "2026-11-06T09:54:06.405Z" }, - { url = "https://files.pythonhosted.org/packages/0f/56/5754189cd709d4eb34601f8ebb57f1d2381b2dd74f62352ba6b84bce4a12/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:6e461d7b392a630593134611ebb1fce6baba88dbbf4f07661a37ff58ff4e1b6a", size = 1278225, upload-time = "2026-11-06T09:52:59.772Z" }, - { url = "https://files.pythonhosted.org/packages/7e/a9/5224ea74356981f01222c42f0acc55821fb5aadf3f1f15adc797c7eefbd2/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:62c0675a837bbe0f3f7c7a89b701bee159759840c23b9bec9d565d3434fb0b3a", size = 1294018, upload-time = "2026-11-06T09:54:29.127Z" }, - { url = "https://files.pythonhosted.org/packages/9d/c5/297f16660b15eacb2872af9fb127e7fe83f48f6f9caf223cb5abd5a25bd8/hypothesis-6.170.15-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:124b0b9962ff6b25786692b7b6cb0065f8bb7870081ddd9baf4745b0ff4a5c7a", size = 1333737, upload-time = "2026-11-06T09:54:03.427Z" }, - { url = "https://files.pythonhosted.org/packages/19/18/7e35ba1bc1f0e3ec55d9d97864db42b5ffeea92766ae4bd7ced0f77cc930/hypothesis-6.170.15-cp311-abi3-win32.whl", hash = "sha256:d34e54f485777eb217c85c425ddbe7b278ef56540feedb5de4097a5abc9f5719", size = 687717, upload-time = "2026-11-06T09:54:40.259Z" }, - { url = "https://files.pythonhosted.org/packages/fa/d6/c16f5abdb56baa2d401de38c2f758090796c1716fed9aa690179772e6adf/hypothesis-6.170.15-cp311-abi3-win_amd64.whl", hash = "sha256:de9fe573a4955b0cf0354822fbfe9b79882e8de02f26287313fe1ad47ba3e69f", size = 693782, upload-time = "2026-11-06T09:53:17.157Z" }, - { url = "https://files.pythonhosted.org/packages/13/7a/ae3b7fdd44c30b662f27344ccb810d080d11b7f557c2cffa88d01e677295/hypothesis-6.170.15-cp311-abi3-win_arm64.whl", hash = "sha256:de5e11c568fd411a3cf07e4e34d4f8cf07d638de2f254c8bd87c1879679cdd9a", size = 692109, upload-time = "2026-11-06T09:53:52.599Z" }, - { url = "https://files.pythonhosted.org/packages/91/db/84d418c965fe889d21e7791f946f7c893bf492bcedb38f3f5b8eb405a035/hypothesis-6.170.15-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:29223a2d180e463f1205b7e5eb397db0c4827de06f2ae571b00c392d355c410e", size = 802327, upload-time = "2026-11-06T09:54:20.994Z" }, - { url = "https://files.pythonhosted.org/packages/9d/8f/63d8644162728ba8b2c8a8a8b6a34476663c964cc0f6885c19f84ead40d6/hypothesis-6.170.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7953ad8f123b4289801b833666aaab757ba52e91ed687d954eb26f4af7328e5b", size = 794302, upload-time = "2026-11-06T09:54:24.828Z" }, - { url = "https://files.pythonhosted.org/packages/ec/2e/d479c69c08d5aabd7e6499f3dddc22b241db42922d746d05df9548213229/hypothesis-6.170.15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b1f37920547eafa77814bc9b638e47299562123023bdf3c9cb002795bb90fc92", size = 1123978, upload-time = "2026-11-06T09:54:36.215Z" }, - { url = "https://files.pythonhosted.org/packages/ee/e2/824c524d04152e5c26111247d2d4dbf210d43df7c6612f7ff22c20de5abc/hypothesis-6.170.15-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e9e20ec17d2095e9314ea232b4e34b5510def0d9e7a7e764cc70cae88fe4b0c4", size = 1167677, upload-time = "2026-11-06T09:54:55.123Z" }, - { url = "https://files.pythonhosted.org/packages/ce/49/4aab201f1fd0109560d985076a4c852c1abda14984470369bf29ea89ade3/hypothesis-6.170.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:11c541cf103c784306f6037e5ab962cbe3d5891d36fd98df993f38d7ddbcd360", size = 1298862, upload-time = "2026-11-06T09:53:51.237Z" }, - { url = "https://files.pythonhosted.org/packages/db/a7/83fc4ef9484deefd955949a9a72a14d9435b6ace339feb27de25bf286e29/hypothesis-6.170.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:eecdcd38395facf6ea3af90320a574f5e63c310c194d2a0eb75f121223942386", size = 1333300, upload-time = "2026-11-06T09:53:39.58Z" }, - { url = "https://files.pythonhosted.org/packages/d5/18/5f1a5ce07a9e6b7a2cbfb6a8bceb9b5161de5477abb8d99d659a898b7554/hypothesis-6.170.15-cp312-cp312-win_amd64.whl", hash = "sha256:7dfb3d92df4faa67d3c975d1ecdefabc5a2481b789048f52cd5fb775c6c517b8", size = 691422, upload-time = "2026-11-06T09:54:05.043Z" }, - { url = "https://files.pythonhosted.org/packages/16/16/d75485989f250dd5017d1627902961c2f985686355f50d10170a2490d970/hypothesis-6.170.15-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e3f478d4d9e13d528e352a4d938dea10b25793663ac752d774d7d35b008a1b45", size = 802290, upload-time = "2026-11-06T09:53:33.892Z" }, - { url = "https://files.pythonhosted.org/packages/24/45/54e42ac718e1164090c04b588024e4818a8e2a28b9002faa21e9fd59ab67/hypothesis-6.170.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9c92af3f0c8844d9eba793a4371035a45e88bb59579a1408ce5d3cceb9e2b1da", size = 794293, upload-time = "2026-11-06T09:54:09.14Z" }, - { url = "https://files.pythonhosted.org/packages/b8/ee/1a81a7d544e321165159a07e666f6c302ec109beccca3b37f8d0de54e0cd/hypothesis-6.170.15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:dce4d989f6b9c0a589b944591f13de3dff34e186c14401e11b819fed81d70a5b", size = 1123881, upload-time = "2026-11-06T09:53:01.454Z" }, - { url = "https://files.pythonhosted.org/packages/c9/07/4d506b2e37601ec8b38a0c4b8f547dd344bd8eccd577dbd0543a744fce03/hypothesis-6.170.15-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f25261d1656f830a78863844be5fb55cd0208154dc9ddec85d44fe691488c557", size = 1167605, upload-time = "2026-11-06T09:53:32.309Z" }, - { url = "https://files.pythonhosted.org/packages/a5/77/a88824d02272f149870e36aaad0197dc5a186f53a1896ea3117f250b8414/hypothesis-6.170.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5ae92fa40b57c1cd331d63fe6f95aecfdb6aa32f15b4c418c108c41fcd4aef84", size = 1298841, upload-time = "2026-11-06T09:53:15.809Z" }, - { url = "https://files.pythonhosted.org/packages/68/b9/6e1b55b6b32926cebb7ef37076d8fda9d0f87045e90e4b75e93eeb9a56ac/hypothesis-6.170.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b829dc3cbd73fe08c02151afc438448180907da62c154cfa68abd178eafd4d48", size = 1333319, upload-time = "2026-11-06T09:52:57.279Z" }, - { url = "https://files.pythonhosted.org/packages/c8/77/7d2009c663eb26b329c622091f7593ee6c90eac663f389fdf7311d44b035/hypothesis-6.170.15-cp313-cp313-win_amd64.whl", hash = "sha256:1f7ede44b875dddd8f3e7562e6702c363e82c6fb680b0fe079536bae662987f8", size = 691393, upload-time = "2026-11-06T09:54:56.287Z" }, - { url = "https://files.pythonhosted.org/packages/96/85/977d43b789fe4ca530e76020bbd2db07a9af3c17a4bf27a276416b6540e5/hypothesis-6.170.15-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:ffac67d06f765fd000a132e71117ee92dbd59863cea18403220ca4e39b50397f", size = 802549, upload-time = "2026-11-06T09:54:17.455Z" }, - { url = "https://files.pythonhosted.org/packages/cb/1a/51e637155a8c897774463389f1341ec8d466a9860cf5e004689866c557b2/hypothesis-6.170.15-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:82b613ee882068e781d810eb73a8195b59edd6cc47e8acbe4971562044a99c83", size = 794333, upload-time = "2026-11-06T09:54:27.915Z" }, - { url = "https://files.pythonhosted.org/packages/24/c1/ea255465b482ba5fc5f678e4347d6c6bbe878c827ca652d634328be96534/hypothesis-6.170.15-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb6fe3d1cb91d4f14fd307f10ae969ef7e866c16e4010a750d1cade145dfd764", size = 1124402, upload-time = "2026-11-06T09:53:02.773Z" }, - { url = "https://files.pythonhosted.org/packages/7a/69/32a05f0ae41f699f30ff872be74fe46ee1d45ead7abfb114afe3a4b4a3ee/hypothesis-6.170.15-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f91f27a89e8d55c7f043cb1e10705096236d4f7bcb35f3ac4f821e0c9b9bcd05", size = 1167795, upload-time = "2026-11-06T09:54:00.357Z" }, - { url = "https://files.pythonhosted.org/packages/c2/fb/c16886cea3a7ae3045093480775eb058eed549f41aa0e21a8d96aa7d51b1/hypothesis-6.170.15-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e0e4ab687c0f2bd62b7963dc8c3c8d29211cdc6db7ce05d37ef2a20d21219c18", size = 1299361, upload-time = "2026-11-06T09:53:04.441Z" }, - { url = "https://files.pythonhosted.org/packages/b7/f3/ad57518f76503276c896388affeccca1ffb1cccc529d063dac588c4bb652/hypothesis-6.170.15-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b01d130c103fdf78a4a748cae7d095edfe5d37534828413a509936fb3567db61", size = 1333515, upload-time = "2026-11-06T09:53:18.642Z" }, - { url = "https://files.pythonhosted.org/packages/2b/08/500fbe05990d886d4502fa334f6cf03607be473b2a2efffb660238135f05/hypothesis-6.170.15-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:1138c03edf4c4401afb28e50255644b4ab4e1ad52864456cd4e84458ba8c671a", size = 634104, upload-time = "2026-11-06T09:54:22.317Z" }, - { url = "https://files.pythonhosted.org/packages/41/53/11e3260a72024f41246061ad204627f8336bfbf0ec2b180648d01a05491f/hypothesis-6.170.15-cp314-cp314-win_amd64.whl", hash = "sha256:57ae2617424f5bb55af0146b47e0aff64a9d6677a4d5216cf2a66bd3bda0d457", size = 691115, upload-time = "2026-11-06T09:53:41.223Z" }, - { url = "https://files.pythonhosted.org/packages/ba/41/655fca0f45b7ea6df6b5bb70ab52b740cc6bc30b971366036eddd36a77c9/hypothesis-6.170.15-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:c0514f3f8ab5d56103b756317dedc8476945b0633e51112312247e3caecd0eb2", size = 800640, upload-time = "2026-11-06T09:53:05.61Z" }, - { url = "https://files.pythonhosted.org/packages/a5/89/6bf52da8b15846c7263eac9fcffb89cc1d1c82f96ca5b839a0d00bb3aa3a/hypothesis-6.170.15-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cc5434cde3b22c900dfe01f891804b48f6e2aa93e891ca98a14c07dd04fa6d54", size = 792915, upload-time = "2026-11-06T09:53:11.508Z" }, - { url = "https://files.pythonhosted.org/packages/11/f9/a0c2a356c7a3a4b65ec2f80382c9ea5acc1a86247ac64ecb1b7dfc38ee95/hypothesis-6.170.15-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f22900eec7df2696073c05f60c666654eaa93f17aebe8964f751d75b131dcd90", size = 1122841, upload-time = "2026-11-06T09:53:21.626Z" }, - { url = "https://files.pythonhosted.org/packages/ef/f1/d4fa867fae5a733e4041720622417804bcfb79c00d265c5451243a5aba20/hypothesis-6.170.15-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7288412dfba6b5a6f875279a25409eda6b25d097c26ea710540f904287c55d06", size = 1166715, upload-time = "2026-11-06T09:54:42.908Z" }, - { url = "https://files.pythonhosted.org/packages/04/5d/cbf8acf14caa5a2e4d34dd088a507cc84da49a660b6f532104d8afdb2903/hypothesis-6.170.15-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7d546a5d6a5549a6b34304f7315d20aff7afd206996592329877da529b9d9153", size = 1297608, upload-time = "2026-11-06T09:53:29.22Z" }, - { url = "https://files.pythonhosted.org/packages/9c/a0/912a0ebf3ab19b39235233f9e1664147f6e842aa6915828d68c1d1e13f27/hypothesis-6.170.15-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:bd8b36d0403eff6473686c0e4d8b7704780ebf548b0b2cc86cb9cbbbe64f8c2f", size = 1332521, upload-time = "2026-11-06T09:53:47.664Z" }, - { url = "https://files.pythonhosted.org/packages/37/36/d9286c792272651db4059a3497a19cc7f4f60e0452c862274d506b0132fd/hypothesis-6.170.15-cp314-cp314t-win_amd64.whl", hash = "sha256:67eb006925a3a49ddc4a48d9af8314349291a7eee9b2baea6beb93bc48211ead", size = 691229, upload-time = "2026-11-06T09:54:45.888Z" }, - { url = "https://files.pythonhosted.org/packages/91/42/b152b66db2061b47ff928efc7162c2dcf4591d92dab19b3c574af3552220/hypothesis-6.170.15-cp315-abi3.abi3t-macosx_10_12_x86_64.whl", hash = "sha256:e007ff1dfb8bfa228b97ed6695325cfa1ba6487c7e1175c884e8795e71fb41a5", size = 800291, upload-time = "2026-11-06T09:54:07.899Z" }, - { url = "https://files.pythonhosted.org/packages/67/6f/49fe04f0b4cfd142d474e08a1855ea093c7367e6ff33e7c5d4a64592f743/hypothesis-6.170.15-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:742846b0e2e31640acf8bba7c2b8b6eb9cecd6817a906af6d4b5ced9db697660", size = 792763, upload-time = "2026-11-06T09:54:51.025Z" }, - { url = "https://files.pythonhosted.org/packages/88/e6/61ec7fb3b84dd8d8644d6a322d5dba4501e2f32d0b10b8b5467e7d6defd4/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:508488dd4e92e03ecd16ea086f33d766855ed1febd322a439ec231c920b1740a", size = 1158761, upload-time = "2026-11-06T09:54:02.105Z" }, - { url = "https://files.pythonhosted.org/packages/8d/ae/c9eb63eb1b2d935551494aa42ecf91bb214d89c52631854dfbb09ccb6d39/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ccc6a9ce18dced7f0d2cba36f334f44697c1c6e692949c1bbd0bc67a7065c86a", size = 1121659, upload-time = "2026-11-06T09:54:12.041Z" }, - { url = "https://files.pythonhosted.org/packages/0a/44/b99e644480a31153de52489dc4c062df5f82a10fbb2b699d0f17ecb08171/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:b8a0b5b3e21a1d2e235f42a813fbf04872196ad53151fdd4cfe02723db699f8d", size = 1152560, upload-time = "2026-11-06T09:54:41.478Z" }, - { url = "https://files.pythonhosted.org/packages/f8/0a/bfc1c697f34e395d635f49d2a29f1bfc41a0eccdcf9fba32fb33601325de/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:b59187094929ce6d5351a6f92e7f3831cd463fe69591def6ebd0023a3073af2e", size = 1146287, upload-time = "2026-11-06T09:53:42.894Z" }, - { url = "https://files.pythonhosted.org/packages/bb/69/90fac02af55ccbea1d1b3bbc72512c4f998e3fabc6b375c8c0afd0e6003f/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:0ecf4e2948c3de57ea12d66f6cf6c0e3ad88b5eae0d216cfa2922800ba5522a7", size = 1200042, upload-time = "2026-11-06T09:54:37.409Z" }, - { url = "https://files.pythonhosted.org/packages/f8/eb/6810206ee4864b39da6e81b2318516773d5a89b0e2132c00dfc9aa760179/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:55e3dcd5d8fbfd5a97018ff2712f375148b62ef537490c281a198977f3588578", size = 1165971, upload-time = "2026-11-06T09:53:25.72Z" }, - { url = "https://files.pythonhosted.org/packages/e1/c8/ebfb57d277e571c207d690efa56462f1f582721e5170bb86af42c3f97b07/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux_2_31_riscv64.whl", hash = "sha256:417fe54775f846fa4903bb2094ce3092a0ecc107db6676b21fd8069fcc328cb9", size = 1120269, upload-time = "2026-11-06T09:53:56.767Z" }, - { url = "https://files.pythonhosted.org/packages/8a/2b/69dff10b56fbc21dc0d240de503d741ec14cb6819f67530bca0b6ff7c5af/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:47438186039fcfba3a245bb407490d442ce2c9cce4370565f1bfcdcb887e91e2", size = 1296436, upload-time = "2026-11-06T09:53:54.24Z" }, - { url = "https://files.pythonhosted.org/packages/5f/43/42b037bb17dca205f5953b11792ecc2c73dbf7ec743d5dc490d010edb9b0/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl", hash = "sha256:372b05075d4a259c5ebf3fcf43dc689ef5d4335bed9d0c9dd25d14997842c0c0", size = 1425535, upload-time = "2026-11-06T09:53:27.106Z" }, - { url = "https://files.pythonhosted.org/packages/a8/29/bb3050f958b0e3156909011afdcc07812b58a47eba50f53a39d931c1256b/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_i686.whl", hash = "sha256:2161fb65416bf8da3b1c3119aa92ea63cc177fd88249bf7dc4ca64b4872e0bd1", size = 1379162, upload-time = "2026-11-06T09:54:23.523Z" }, - { url = "https://files.pythonhosted.org/packages/a5/db/30a2291c92cd437b0c8184bcead204add93d174a1317894dc50ddd3a681d/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_ppc64le.whl", hash = "sha256:b3db4c8aecd13e043c419d90ccb683fdf19711b547ca9d23e685a35157d4657f", size = 1274757, upload-time = "2026-11-06T09:54:38.796Z" }, - { url = "https://files.pythonhosted.org/packages/a5/0a/5e1bf0060a1f9486f6cad2b512b5101526dc376565eb669c20964ccee730/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_riscv64.whl", hash = "sha256:3b81f08d6052ac74f479215029e253d88fb80e9867e8bc034252d345abfa94ce", size = 1292003, upload-time = "2026-11-06T09:53:14.207Z" }, - { url = "https://files.pythonhosted.org/packages/0b/b9/9d18977c7ec9fa0d0fb22f0e52b3a270fef7b8251579d46660fca285e289/hypothesis-6.170.15-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:a51297c26ab637a97ec3283a39de163efce0a926d0ccd4378faabf5994adb01f", size = 1331925, upload-time = "2026-11-06T09:54:53.632Z" }, - { url = "https://files.pythonhosted.org/packages/ff/af/a86d51e4550c92a794777a59a9332d135c975c6f6c25b7506c447c3be27e/hypothesis-6.170.15-cp315-abi3.abi3t-win32.whl", hash = "sha256:51246e702c458b42a4b5079c3e6904c9dfb5193de920ed91fdbfa09fa694c55b", size = 685060, upload-time = "2026-11-06T09:53:35.48Z" }, - { url = "https://files.pythonhosted.org/packages/dc/3d/ef64b33ef8c5eceb7448860b77bc1d28e3e3b3e92b7d662456fee227f4b0/hypothesis-6.170.15-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:a951de05b61b7c1235a732543dc6c3b105b6c894e736f21cb891449589aaeba7", size = 691031, upload-time = "2026-11-06T09:53:10.201Z" }, - { url = "https://files.pythonhosted.org/packages/e8/3d/f875573e232550be631b6932f93bd6b2234d880891394fe4d70d57e292b7/hypothesis-6.170.15-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:9dc31166ccb95928c6eb05817684b2dd1c2a3698a6daad0450e5f449e44bb633", size = 689008, upload-time = "2026-11-06T09:54:13.194Z" }, - { url = "https://files.pythonhosted.org/packages/3b/54/ab7c9a7581b0acaeb58850629f4772aab054f2fd6a77bd3264262dfb1156/hypothesis-6.170.15-pp312-pypy312_pp80-macosx_10_12_x86_64.whl", hash = "sha256:45c267cb5bcd7b73b1ca6cedb039de423b8695b34a31cc87c29a7787058e7e59", size = 801399, upload-time = "2026-11-06T09:54:10.562Z" }, - { url = "https://files.pythonhosted.org/packages/fe/a6/a7dfce075d7371c9951e2a69e78d93bff5099d1b7b0ca207497eed68428b/hypothesis-6.170.15-pp312-pypy312_pp80-macosx_11_0_arm64.whl", hash = "sha256:3eb9428e0ba92993b61cab0289b8450f469b1e4c56cbdbdeaad258f0fb4f107e", size = 793309, upload-time = "2026-11-06T09:53:07.629Z" }, - { url = "https://files.pythonhosted.org/packages/6f/b4/ce76691a588dca99c73116593b2514af2d0095e7e72d3bcdfb7dcecf2170/hypothesis-6.170.15-pp312-pypy312_pp80-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9c30c911be51aa4fa84706f1d79dcd9ad6b9728207e69667a3fed2d4ab711434", size = 1123240, upload-time = "2026-11-06T09:53:44.286Z" }, - { url = "https://files.pythonhosted.org/packages/52/a7/998ba78de4842158178f6d96eca52ec1c786548b3e08902d527469329c04/hypothesis-6.170.15-pp312-pypy312_pp80-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d2b68004bd5a238320569f7c03322b22815c2c145b1f7bbf52a319662570ee5c", size = 1167454, upload-time = "2026-11-06T09:54:48.426Z" }, - { url = "https://files.pythonhosted.org/packages/03/f5/410ff24a49dd645f651732f45e466cbb73f4bb73d1c54eaa5a07b832b0a2/hypothesis-6.170.15-pp312-pypy312_pp80-win_amd64.whl", hash = "sha256:d25e9a3f92e9f824bb110679506ece2b8fd7d093f1fa7d819ca46278a681a1f1", size = 692539, upload-time = "2026-11-06T09:53:30.812Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/49/96/dd1cb5a3109e355bf1b5facda311aecf8c34606a9f11d01b78139c9e41a7/hypothesis-6.170.17.tar.gz", hash = "sha256:bec862247cab5e55f566f9c97f05c9403950609772cad0d13392d64413a3d858", size = 522138, upload-time = "2026-11-20T07:47:10.201Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5c/27/9afc9d223af65773b94f0609fc0e2bc7deacedf76ce1a9969ff98ef5c4de/hypothesis-6.170.17-cp311-abi3-macosx_10_12_x86_64.whl", hash = "sha256:ca99f7f9a3ef1d469c10461d605eff25c3a2043c4a71b93051dd8d947bceeae0", size = 800797, upload-time = "2026-11-20T07:45:40.394Z" }, + { url = "https://files.pythonhosted.org/packages/b1/26/20b764b0616566985cb7184114026a510e166e49f5f820d7855b51b0fff5/hypothesis-6.170.17-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:9ec3e6198377f772fb2ad2d229d362c813cad842d12654b947e5039d4d649136", size = 795997, upload-time = "2026-11-20T07:45:54.871Z" }, + { url = "https://files.pythonhosted.org/packages/de/f2/bbdd95844fd52100c97be8ecb27a7eb81c3da21601db3b476c806fa34476/hypothesis-6.170.17-cp311-abi3-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:0f26fb90279a88e07701fdb78e1c6248187c783b42e3a517682d795314916e25", size = 1167097, upload-time = "2026-11-20T07:45:32.074Z" }, + { url = "https://files.pythonhosted.org/packages/60/49/b248c01a1dc2fce504ad1e5de149544bfee94af2cc5eab27410ba31aef45/hypothesis-6.170.17-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7268af5f3f083f02470eb24cd3dfe7778c1051826be9f1488505bed831130be9", size = 1127726, upload-time = "2026-11-20T07:46:46.387Z" }, + { url = "https://files.pythonhosted.org/packages/d7/b9/c2fed5e8e9d1672902941f59c24421d41a71770f4225d9bbd6f64194f319/hypothesis-6.170.17-cp311-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:0365d7f00ff5ae2a1ee5c1808ad75c78b21cf8c3185fbbc9b1b1be771abcefb0", size = 1158493, upload-time = "2026-11-20T07:46:19.251Z" }, + { url = "https://files.pythonhosted.org/packages/fe/8c/bc1b2ed2d0ef318c40fe70faad6dbe34faaef7d44af96147e8e48e0c6751/hypothesis-6.170.17-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:178ab29d6f230caee68f63085b18251e3b85601ffddc6a560714a50cdd288a12", size = 1151741, upload-time = "2026-11-20T07:45:24.188Z" }, + { url = "https://files.pythonhosted.org/packages/f2/5e/f35f558064770f1344f5065d9fcaddabcc85fad4f7e515090a6194e73ebf/hypothesis-6.170.17-cp311-abi3-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:c92891c83dc6259a5e89eba62bf02ecb845fb0b54c96c3374bdd0fa71c4c820a", size = 1202638, upload-time = "2026-11-20T07:46:51.433Z" }, + { url = "https://files.pythonhosted.org/packages/54/2a/567cf7c74db992429e53059695b41b4bef69b4c5785236d26a4fdbe8c1e2/hypothesis-6.170.17-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ee364a61222e4393db58c2524eaedb396d86d4991b849e3d28755f251358a481", size = 1170370, upload-time = "2026-11-20T07:46:29.029Z" }, + { url = "https://files.pythonhosted.org/packages/66/7f/938c5c9c8a3fce6a87a7582b00c76ee132bac46a4fbaf34ef6a7067af2da/hypothesis-6.170.17-cp311-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:fba207de21c7e7884102646a04500f900a2db342ebc7b9e082881b97b40497b5", size = 1124465, upload-time = "2026-11-20T07:46:25.175Z" }, + { url = "https://files.pythonhosted.org/packages/34/7b/2bf33137d35fd00b325f467e955f48be309a34c9e2454dc3fb83937a355a/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0d8653b0c4766faea3dc41cdbccc191701c3db42391a46e2895b0549a5b7450a", size = 1302749, upload-time = "2026-11-20T07:46:23.877Z" }, + { url = "https://files.pythonhosted.org/packages/b0/e6/85f17f1fd89c08dbcee3b1095ba5850235f2ab82b45de02aa2c099200f80/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:92b0c34e234e14342e85dd2c85b12370dcd04c2b0fdac9c527aec7022da296ef", size = 1431758, upload-time = "2026-11-20T07:46:39.372Z" }, + { url = "https://files.pythonhosted.org/packages/d0/07/0c3d947cec26587facb365a938e7827d6f28e59d6606855d6ed04c4b22d8/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_i686.whl", hash = "sha256:a531587eb939322ee108dfd34df2538cb888a4bb4550d626cd75f46791f5f822", size = 1385338, upload-time = "2026-11-20T07:46:57.621Z" }, + { url = "https://files.pythonhosted.org/packages/43/24/e75e306cb5a64ba7c482f5bc2fa3d175ea3cf91fdbf575b96697797e4d47/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:359cefe0707a531e60d90bb93d0e3b2de254d3896827d61288699239003e1d29", size = 1281299, upload-time = "2026-11-20T07:46:50.154Z" }, + { url = "https://files.pythonhosted.org/packages/59/85/eacb555a20967f06818dacd1ea374ee191e6be86e4b233a1f2f9860d6ea4/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:98a71a3ba8d8241a2b1a2f1a0c8fb351e1af0c4aac7ee37d4aadb355b0f1faed", size = 1296338, upload-time = "2026-11-20T07:46:00.198Z" }, + { url = "https://files.pythonhosted.org/packages/83/70/71c61875999b0182f902c24f5bc329b34404c28ec1a2916bdbf97accf600/hypothesis-6.170.17-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d08789ffdc901f876105f7ed041564857d41c5d4544cc4b5ef24125dad210", size = 1336875, upload-time = "2026-11-20T07:47:03.877Z" }, + { url = "https://files.pythonhosted.org/packages/81/da/be2663af35be382c644343c6c8881b10425b98afcce9df51a99b87704cd8/hypothesis-6.170.17-cp311-abi3-win32.whl", hash = "sha256:a361afbf3ff0588eaed47dfccea916bda3fe83d2cd75c95924354d9f3f64d4f3", size = 687989, upload-time = "2026-11-20T07:46:33.156Z" }, + { url = "https://files.pythonhosted.org/packages/c9/76/815b97a345364de5bf277bc1f16ea2071fe8335dca01ecf4fb899e4133ce/hypothesis-6.170.17-cp311-abi3-win_amd64.whl", hash = "sha256:734ff05ef23153e13159f13f77aef8eee1ab6d18f7eee3c5669967fed56cd221", size = 695411, upload-time = "2026-11-20T07:46:04.213Z" }, + { url = "https://files.pythonhosted.org/packages/15/8e/2b3b094b5cfc1b67b0d502017d7b2824d1cfdfff0c9c4c25437a483e52ce/hypothesis-6.170.17-cp311-abi3-win_arm64.whl", hash = "sha256:6ef96908a252320d6bbef38d362f79d8eb2e8bee5e2fb9560f85a355ddafa386", size = 693713, upload-time = "2026-11-20T07:45:33.358Z" }, + { url = "https://files.pythonhosted.org/packages/14/74/f2629488b7977d5b89a49463455394814633b80049f9dfd35e070f340c6a/hypothesis-6.170.17-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3d14b52509bec44f48917203b82f2f15399837496ed72ee5807e3bc98c83563e", size = 802618, upload-time = "2026-11-20T07:46:13.235Z" }, + { url = "https://files.pythonhosted.org/packages/24/5c/5955fbb799514ee5e5955e7616bd8e6685c4188ba959ffffb14a4ce5cc73/hypothesis-6.170.17-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f9372af4635956c25a13d076abb5f605086a7faca3731bc22c420344f1b02d9d", size = 794572, upload-time = "2026-11-20T07:47:06.526Z" }, + { url = "https://files.pythonhosted.org/packages/ce/9e/fb4c7c14c1de9b34cdda4b461e723bd5232aabaaaa1bab70c18d1a45db02/hypothesis-6.170.17-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:49ff426ec74e563457a0523dbc87cbb2bcb7f76a3b9b276ddea4384f56a05b43", size = 1126865, upload-time = "2026-11-20T07:45:22.768Z" }, + { url = "https://files.pythonhosted.org/packages/c6/c0/e464032ee87a05410f5349f8d66d9e89bb0ba1426fcb8b152328be91165b/hypothesis-6.170.17-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fd5f7feb13c275bb4672c5ef651ab6df1cb4a054c54d14aa44e578274241587a", size = 1169964, upload-time = "2026-11-20T07:47:07.743Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9a/59ab0d37c69a052498f44ad75922d5b4ad2a0fc83883d3ad91a0b06fa9c8/hypothesis-6.170.17-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9af6b630dc9ed449bd1fcc974da177999282e2f3f73d806dfd7691707c851700", size = 1302253, upload-time = "2026-11-20T07:45:41.645Z" }, + { url = "https://files.pythonhosted.org/packages/55/50/a17b5f5bd4c64b4ae9e31c7db134d928ad65c051f15bb9bb1e5277eaeaff/hypothesis-6.170.17-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e920c7c53fae24b6ae052a06048c16cc9ddf354002a3b5c3f638c7e3d321801c", size = 1336440, upload-time = "2026-11-20T07:47:05.236Z" }, + { url = "https://files.pythonhosted.org/packages/13/73/557b6b0e9c9c615f0ea6af2835c84ea103919b592dc6f67041949f5ff8b3/hypothesis-6.170.17-cp312-cp312-win_amd64.whl", hash = "sha256:3353a34a5f77be65aa2def29ed6229190b0b18209111eb2544d19416e5bcfb22", size = 692905, upload-time = "2026-11-20T07:46:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/ce/8d/2771ddba06a0181a654b4f4949bc854afacc68143bbd2f9b170d1248b285/hypothesis-6.170.17-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e7b5cd69ea841654be85d1f0be2ec8bd4c3aede332777b905ec6fdef287e690f", size = 802551, upload-time = "2026-11-20T07:45:50.907Z" }, + { url = "https://files.pythonhosted.org/packages/89/ca/22b57e85b174f53a13d5178911860a16d4ea59b7e314662bb3063e28ed7e/hypothesis-6.170.17-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:90b5691ce795c9708fd4d984370088716ee59fc2b3271ed2350e7821cf87d82a", size = 794557, upload-time = "2026-11-20T07:45:53.649Z" }, + { url = "https://files.pythonhosted.org/packages/55/10/17d825f0d0238ba7e1d6735f3f5c44f43e9003e6ff1c128951585c915451/hypothesis-6.170.17-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c9e5128120882dd8b75de43f8be753f2090d176c3f0be614c6e782fb4029fa86", size = 1126729, upload-time = "2026-11-20T07:45:49.519Z" }, + { url = "https://files.pythonhosted.org/packages/f5/94/50b6330833c24c8e172e3759902fdebed487611c63a1e18e34db7b024bae/hypothesis-6.170.17-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:475bd1ed6971a237540f68a5b2004a415b738a6c7a68bdc3efaa85f8e385d942", size = 1169827, upload-time = "2026-11-20T07:46:17.885Z" }, + { url = "https://files.pythonhosted.org/packages/aa/6b/1a6c1e75dc376867264ce9a41e05bd2669f665e4b27d361d36f783d629a2/hypothesis-6.170.17-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ea9121b885dbe448efbe886c012c83f435952bddae8c225c61b5caa7f4abaf70", size = 1302169, upload-time = "2026-11-20T07:45:28.012Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6f/108f1c3fa987c84188b625dd847bd353a67745ef393fc6283cec1cab5610/hypothesis-6.170.17-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:600a58d0e23f8b1fcd06b7c92050083e2dcb72b9ba90260faffc60a0a45b2d0e", size = 1336234, upload-time = "2026-11-20T07:46:14.756Z" }, + { url = "https://files.pythonhosted.org/packages/02/47/bb5f9133e96abb05407ac17050b477cf992f002fadef26a81528f6e25e5b/hypothesis-6.170.17-cp313-cp313-win_amd64.whl", hash = "sha256:795f0aa12adfcb29775147688a3abd335df8bed0545d5793fca463decd2c0a0b", size = 692843, upload-time = "2026-11-20T07:46:37.837Z" }, + { url = "https://files.pythonhosted.org/packages/a0/71/296893755f6f7ed32ee087c6d025f523b0422aa9dddf9185766700a39b4f/hypothesis-6.170.17-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:159608888b0d2b4549a86f53ba964815a958da349fa8846ab0d51852bd156cac", size = 802820, upload-time = "2026-11-20T07:46:03.112Z" }, + { url = "https://files.pythonhosted.org/packages/8d/87/1cfea1cfdc41bc6bbfd4a55060fbf29074bc2e8dda5fa683584438a7c1d8/hypothesis-6.170.17-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6c77ea50c8c77fec99f18e3f3e4ac48730e573e63d500275170ca94e48c6ec55", size = 794595, upload-time = "2026-11-20T07:45:25.567Z" }, + { url = "https://files.pythonhosted.org/packages/05/aa/15aee492ab8305a5684268fd56828ea7c578f6d5ad0af63a3a70262f6846/hypothesis-6.170.17-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3dc7aad87973e8305370f1d79e8b1593c6373524447fa2cb7688438e658275ed", size = 1127449, upload-time = "2026-11-20T07:45:42.804Z" }, + { url = "https://files.pythonhosted.org/packages/9a/40/dd25bf4f43b0fc5f11a1c940dcbed32d7b64f49a038176d7e1bb19daef45/hypothesis-6.170.17-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:38122420168c2f47a42ee848b73f684bc03f6d7c5e0ffcb10eb2a153af55be96", size = 1170176, upload-time = "2026-11-20T07:46:05.463Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f6/43831c7e7f7fc8ad9dd5f21f051eec0ba33ddb91b5e100e5ceac30a4bcc1/hypothesis-6.170.17-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9fe1bedb9db92cb36fefe10db4cda1bc69412fd406c0c3c91be3705de5adaa83", size = 1302537, upload-time = "2026-11-20T07:46:06.653Z" }, + { url = "https://files.pythonhosted.org/packages/e5/3f/4a77924f6159b59bfc8187140793385c3364e65f360e9ef5ec040bfeab9c/hypothesis-6.170.17-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:cbcb2dd392a68217b8e384c7fa668b643a1031ef2881317429276fef494c26d0", size = 1336458, upload-time = "2026-11-20T07:45:46.988Z" }, + { url = "https://files.pythonhosted.org/packages/99/6e/d678cb8cf1a1900c265a99051a89c2315689283820fd6075049af157538a/hypothesis-6.170.17-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:dc3512b8619b627c7feffac5937abe985fc49745c85335c1753e7d0738add85b", size = 634361, upload-time = "2026-11-20T07:47:00.03Z" }, + { url = "https://files.pythonhosted.org/packages/0e/ad/322c24d360b596a6906ef29c1acece95c288697a9e4b601a794363c3217d/hypothesis-6.170.17-cp314-cp314-win_amd64.whl", hash = "sha256:0bee5a90f100ea95fdaed13bde698f1a5c3ffe29a7bd08c6c295ec6f0379e910", size = 692745, upload-time = "2026-11-20T07:46:34.306Z" }, + { url = "https://files.pythonhosted.org/packages/15/67/5e3d09af52014f2c4fd28788cda2bcb4f4ce5f3499603a4045e346c62ac0/hypothesis-6.170.17-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:7de3f2fc26faf3238766610d82f2854a921d68122f5c34b50cdda413fb52984d", size = 800900, upload-time = "2026-11-20T07:46:10.684Z" }, + { url = "https://files.pythonhosted.org/packages/f5/55/00cdd1eb446f1d46dc39231d5a2f06782ebca2ebc144e8517e6f8b904414/hypothesis-6.170.17-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a891faecda587b07718891b812527e30340aaa39268030a5b6bc8bff2fd5ac05", size = 793179, upload-time = "2026-11-20T07:46:27.806Z" }, + { url = "https://files.pythonhosted.org/packages/1c/8c/cac2ec8d44c010514db0fd126980025eb3886175b5436fad2eb3aa18ef04/hypothesis-6.170.17-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0c8f3b1b7bfec04d1ab6a8dffebd52a26dd458c3cd56fd9b1b269f3a72246e04", size = 1125688, upload-time = "2026-11-20T07:45:52.295Z" }, + { url = "https://files.pythonhosted.org/packages/28/d7/a348fc25b2755cc3a1c8edcad1a4366e4bca82fe149f788e949fca53cc3b/hypothesis-6.170.17-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f170ccd82fd44f2a9a68df3ab326ff1685fc9ada3a001cd7a9b9c6ca41ff5a77", size = 1169241, upload-time = "2026-11-20T07:45:26.656Z" }, + { url = "https://files.pythonhosted.org/packages/33/62/41f554c00828b46aab690602daeddb0a8a04a2b5b14f4c6ced28145c9e7b/hypothesis-6.170.17-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bcf547cecdb4365ad1891118607b8572d16b9a19c0d11b8ae357c798fd231929", size = 1300929, upload-time = "2026-11-20T07:46:26.39Z" }, + { url = "https://files.pythonhosted.org/packages/7a/a8/f5877853bf72b68b5d9c162783c5c7a29c1760d827c39d3552bdb0829022/hypothesis-6.170.17-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:d85b7131b59dbfd3f60b92cdc32bb6290c9871c897a6f8edefefde51ccce80d1", size = 1335054, upload-time = "2026-11-20T07:47:02.58Z" }, + { url = "https://files.pythonhosted.org/packages/c7/c3/83683e690ec08278d20bc0bd9ec379cfc6e2acfb9916a8fa457b04a753e8/hypothesis-6.170.17-cp314-cp314t-win_amd64.whl", hash = "sha256:e87d3e83f323e6d034d00eba19fdd698ab060e581cbe7c2edcead77431e0910f", size = 692717, upload-time = "2026-11-20T07:46:49.009Z" }, + { url = "https://files.pythonhosted.org/packages/18/34/debe0c5b9f711fce55b9195496386edee420418445434ece5eb635793842/hypothesis-6.170.17-cp315-abi3.abi3t-macosx_10_12_x86_64.whl", hash = "sha256:6940694dbb69060a8b4a30ae1f38a8dd01ea49494205f38a9c1d8b3014809706", size = 800561, upload-time = "2026-11-20T07:46:36.562Z" }, + { url = "https://files.pythonhosted.org/packages/2b/c7/da7f8f554e4bb5ad0c1e44f8ed105f495add887922bafd20dc5858e6c988/hypothesis-6.170.17-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:d5c20b61e3e7052e6de81ad1399066f660de7585faec7365bc351bcabfabfc98", size = 793026, upload-time = "2026-11-20T07:45:39.04Z" }, + { url = "https://files.pythonhosted.org/packages/74/06/b926a7738d7fe0d6644ff6bbf69d54edd85f03e77f0dad5a9311fa522e5c/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:dd9b2aa71fb073e5606b1cc36ca710c733cf80f72827bf2958867956d5c165fd", size = 1162700, upload-time = "2026-11-20T07:46:40.558Z" }, + { url = "https://files.pythonhosted.org/packages/eb/88/99a5b9d2230bd8c8b7f48408b2a026c12d56f36aa74f1f1689b8b4c09b58/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3668a9b07a785e3211b5529f0710245abbef9902a649325bd220a82af49aa35c", size = 1125030, upload-time = "2026-11-20T07:45:44.127Z" }, + { url = "https://files.pythonhosted.org/packages/ea/95/290db4f4009a4054f564526d842760458ed86de3d8930602f5adf08a3c50/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:da6b3e2937c0f2d4a2a7ce2681b7d74a44649be22ee86a2b93e2a23a8269671d", size = 1155719, upload-time = "2026-11-20T07:45:57.54Z" }, + { url = "https://files.pythonhosted.org/packages/b1/68/8b6e6ed7abb137cb560d3201a378c68e65f1eccdcb2a1684e63f0dbd1bed/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e73c3855ca185b5476e5391024b1c04a033a796ff82ae5c51d6fef6dd63a816c", size = 1149212, upload-time = "2026-11-20T07:46:55.776Z" }, + { url = "https://files.pythonhosted.org/packages/e0/90/806589802c74e75b7083e8772e6912b42ab6af2f7c59042c769357515b99/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:368d9460a25fb809d18f64823449e686be2c42d8e393ebee14e37b26f99759ee", size = 1200987, upload-time = "2026-11-20T07:46:58.891Z" }, + { url = "https://files.pythonhosted.org/packages/5e/2d/085fb8685b15572e62fd5e7400b35e2656c0a54d82fd87945914ae741908/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8b429c7028a9d2859e08575f88c68925b517e37ee96ea2ab6757411331933b4c", size = 1168733, upload-time = "2026-11-20T07:45:58.995Z" }, + { url = "https://files.pythonhosted.org/packages/d9/2b/28bbc4b8a59cfd70ebfbccc9c6e296457a0c83b6c8165145474985c5350a/hypothesis-6.170.17-cp315-abi3.abi3t-manylinux_2_31_riscv64.whl", hash = "sha256:5738e81228c906f1a8efea1482288b09af6c5d46e2ec6f2fc7635ab1206eebf5", size = 1120764, upload-time = "2026-11-20T07:45:48.293Z" }, + { url = "https://files.pythonhosted.org/packages/d4/c8/b5b9abe0d7a0bd609d988cb955175a39dd641d032a69df0136996e80eda1/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:a7c54628d40fc514550ddb2088d70560565bcdb90bcd463ff570f5e11b75e5a7", size = 1299988, upload-time = "2026-11-20T07:45:45.343Z" }, + { url = "https://files.pythonhosted.org/packages/7e/32/7404e908c345ae97331179a00bb309470a752643b95899baaf59e4ec9467/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl", hash = "sha256:a10baaa51592b429e69e7b13e7719aaf925ffd1346a7d486bfcac53d500493d6", size = 1428549, upload-time = "2026-11-20T07:46:42.032Z" }, + { url = "https://files.pythonhosted.org/packages/83/3b/db0b9c1ad61050328f504bf91951f386123f4eb9382e6557c5562ef0555f/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_i686.whl", hash = "sha256:5f7fad1be643f77d738f3114a34220f0cf9c336b8b8a16c9877f07bd169f57be", size = 1382867, upload-time = "2026-11-20T07:46:01.667Z" }, + { url = "https://files.pythonhosted.org/packages/7c/67/a8e4cd520bc4f22b26cbcdd03ea24f793a62c24969ca083fc9c7ea080467/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_ppc64le.whl", hash = "sha256:f3dd9da0d1369d648b8e02da7e6c3ec839c133bf7ddaa423afde39f642de364d", size = 1278455, upload-time = "2026-11-20T07:46:16.559Z" }, + { url = "https://files.pythonhosted.org/packages/27/ee/1e044df6255a3029b3e2dc45ebc6e8da06a07b37e3a4923822d265fdf4c5/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_riscv64.whl", hash = "sha256:1af2c43344e3c75fe8280914a01351507004310434180714fdb1317065cb0ebf", size = 1294015, upload-time = "2026-11-20T07:46:45.114Z" }, + { url = "https://files.pythonhosted.org/packages/10/a8/d2615f966f926d9a2384758adade2778f0c5d78fd142f478a9aeb6a3e38e/hypothesis-6.170.17-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:e8e2d7de7796ad43895b4e290073a23d2f7707b5c1bd237af8a057a9102ff212", size = 1334217, upload-time = "2026-11-20T07:45:20.976Z" }, + { url = "https://files.pythonhosted.org/packages/0d/92/cd1f390f66a861b39b591fbcd2fcdc7f8c9bf985e970affbd723c960a7fa/hypothesis-6.170.17-cp315-abi3.abi3t-win32.whl", hash = "sha256:9aafe3f16847c424215943e4c26038d4a023fc7f9b59936a947d5d51d5506d75", size = 685319, upload-time = "2026-11-20T07:45:34.773Z" }, + { url = "https://files.pythonhosted.org/packages/6c/07/da6602da9247d519e0ff9b39b915221e1ac73559833959a4a6bbf176a380/hypothesis-6.170.17-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:c73b8ed2fc934d9a1ba09a44d126c6ebfb42bb4edae4fa33072facf07d7546ca", size = 692559, upload-time = "2026-11-20T07:46:53.236Z" }, + { url = "https://files.pythonhosted.org/packages/57/b5/e52f660325edbf5c70c4a54203a9a0b5027ef067649097cc78ea7d247f8c/hypothesis-6.170.17-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:7dc1b17aad77d70e7386d0852b099afb313479e451a18756ee3cfd186f601372", size = 690634, upload-time = "2026-11-20T07:46:07.978Z" }, + { url = "https://files.pythonhosted.org/packages/cd/2d/462d08f7859240b0f33191b02c6df022a8f5ed6c4bb24b060634d160782e/hypothesis-6.170.17-pp312-pypy312_pp80-macosx_10_12_x86_64.whl", hash = "sha256:69c8466540ffe72c2d0e5a8ac6b2c9ea0d0e78bd0d4d6779b55d940058c6add6", size = 801656, upload-time = "2026-11-20T07:45:30.896Z" }, + { url = "https://files.pythonhosted.org/packages/b9/24/1462dead2a2addf99561c0af3b7a8a15f38a406381e03067778da6f196d4/hypothesis-6.170.17-pp312-pypy312_pp80-macosx_11_0_arm64.whl", hash = "sha256:f0070a7b10e0e8e4931f682f7d8084b13d0139fa52155634d9cc5e0c1469660e", size = 793581, upload-time = "2026-11-20T07:46:22.725Z" }, + { url = "https://files.pythonhosted.org/packages/7e/00/6737e05ce7b0b86a504c58752619662f917d08110c0d669efc8e1b2cc63f/hypothesis-6.170.17-pp312-pypy312_pp80-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6343b870471d9760ad3d6266694c503c710bbf8a75b70b8862a65638eaef53be", size = 1126114, upload-time = "2026-11-20T07:45:56.294Z" }, + { url = "https://files.pythonhosted.org/packages/9b/fa/4ce227f998e1f314d2ca0ebb24232f7bbe80a31fc0496f6f4fa2cfbd059f/hypothesis-6.170.17-pp312-pypy312_pp80-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:671251a5f3ae59f574e47232f9dd52010e7e103acdbb3971fc6cdfb38f1425fe", size = 1169860, upload-time = "2026-11-20T07:46:09.358Z" }, + { url = "https://files.pythonhosted.org/packages/cb/0b/3ddd2251710dbd375a3d97b07dc1582f27992aa39d644b79d2ff9596b19b/hypothesis-6.170.17-pp312-pypy312_pp80-win_amd64.whl", hash = "sha256:afdc8b033a03dd86051aed0fab8870736ced8761c02db324317376024c272d18", size = 694205, upload-time = "2026-11-20T07:46:20.426Z" }, ] [[package]] @@ -1518,15 +1518,15 @@ wheels = [ [[package]] name = "markdown-exec" -version = "1.13.0" +version = "1.14.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, { name = "pymdown-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/af/68/8df4ff74b368632f50b837d552c3d7538576ea2f67225565730db390d400/markdown_exec-1.13.0.tar.gz", hash = "sha256:f32af515d0da71a948331e32bac39b3d629e2017fd107af5013e88c2791153f6", size = 87227, upload-time = "2026-11-10T16:12:04.384Z" } +sdist = { url = "https://files.pythonhosted.org/packages/77/51/720b357b8ca2c037feb72db73fff461d211589ce16ca44d0c18ddcefb295/markdown_exec-1.14.0.tar.gz", hash = "sha256:7248ece93373078e691132d0c82b9fd7d056c4e849401ba9910b1df978758693", size = 88309, upload-time = "2026-11-19T17:02:32.654Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/83/26/45b285f091529421dbe7b8af3ae2924c8cd36c805b198d9f3884c0432a3d/markdown_exec-1.13.0-py3-none-any.whl", hash = "sha256:f0e3f85a8e9d03393e3d4a41fe9901db79f02c589ee0462c0409527a97f34600", size = 56837, upload-time = "2026-11-10T16:12:03.04Z" }, + { url = "https://files.pythonhosted.org/packages/af/93/a7c989c50d8536d082ee854cfb7e5670c5716fc5314a1e526039f79c6bdf/markdown_exec-1.14.0-py3-none-any.whl", hash = "sha256:f3b297b031d6be9bef001de8e1801c4a992957b9e17bdc2db534a4ba0b54625a", size = 58076, upload-time = "2026-11-19T17:02:31.426Z" }, ] [package.optional-dependencies] @@ -1698,7 +1698,7 @@ wheels = [ [[package]] name = "mkdocs-material" -version = "9.8.1" +version = "9.8.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "babel" }, @@ -1713,9 +1713,9 @@ dependencies = [ { name = "pymdown-extensions" }, { name = "requests" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/e2/b2/dee93bf227b481e28ba4d800c322dffc41b16d524ae84ca8d85aa7ec3a81/mkdocs_material-9.8.1.tar.gz", hash = "sha256:cddae7d77bb98d1d347aa68ee252ab40926171a1b34ba8777c44e16de9629f00", size = 4160481, upload-time = "2026-11-07T13:05:04.482Z" } +sdist = { url = "https://files.pythonhosted.org/packages/99/bf/c47389fa622b513c2d115eb4c16075ef04a5f4d8156039f46cb26e5c70a9/mkdocs_material-9.8.2.tar.gz", hash = "sha256:005d942bdbfa22efa049f4818c31d42fb36bed6d362adb641dd7a2e948078f9d", size = 4160697, upload-time = "2026-11-19T19:52:25.799Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/70/05/a4011d6a6af86cd03059a5b165cd69a3695ef4bd7bd477c66befe399640a/mkdocs_material-9.8.1-py3-none-any.whl", hash = "sha256:2115af67ee680e1398bdd0ea02e517721e4bba88b342503a93f97ea8eb3de51c", size = 9302217, upload-time = "2026-11-07T13:05:00.747Z" }, + { url = "https://files.pythonhosted.org/packages/18/86/9204441dd9e224f1dc3f1a32edf6a474e84696bfa493c7df067dcde36366/mkdocs_material-9.8.2-py3-none-any.whl", hash = "sha256:ef1414cab33d64fcc13387e972af5ba4620f55f93482d1842933399ed2c69b02", size = 9302480, upload-time = "2026-11-19T19:52:22.436Z" }, ] [package.optional-dependencies] @@ -1779,7 +1779,7 @@ wheels = [ [[package]] name = "moto" -version = "5.2.5" +version = "5.2.6" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "boto3" }, @@ -1790,9 +1790,9 @@ dependencies = [ { name = "werkzeug" }, { name = "xmltodict" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/cb/a4/8d60630be6ff222421d281796d4dfd67d2eae66b47525735e57c9e275a27/moto-5.2.5.tar.gz", hash = "sha256:391857257d5dac144334013c2c10e599def5f0562f553e979160140bd7bd9cf6", size = 9249364, upload-time = "2026-10-27T22:46:30.724Z" } +sdist = { url = "https://files.pythonhosted.org/packages/5d/3b/f78761d8d22f172159f5e306928e88d7d5058d4853d4963eaee41261117a/moto-5.2.6.tar.gz", hash = "sha256:247351594cfa4917ec74834a0be62915804d568ad3b667988194668ad39c44a7", size = 9903067, upload-time = "2026-11-23T10:33:14.484Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/38/b8/15e2ce7b6bb125558c81f63c42074a768df15138248cf2e2f1de2b4894eb/moto-5.2.5-py3-none-any.whl", hash = "sha256:eef62cdcf3bfe73e0863743511ba042dfaba04ba3d5ecdcb896a196c693ad528", size = 7205137, upload-time = "2026-10-27T22:46:27.843Z" }, + { url = "https://files.pythonhosted.org/packages/31/09/fe35cd5d4c2bc1307e9d8bdcdcac746e802214ea3521cc1ae6b391208a26/moto-5.2.6-py3-none-any.whl", hash = "sha256:1f0b99bceaead4543b743a961df0353d6fbc584fab658f9f84ef17df6ae6f24a", size = 7742803, upload-time = "2026-11-23T10:33:11.65Z" }, ] [package.optional-dependencies] @@ -2388,11 +2388,11 @@ wheels = [ [[package]] name = "packaging" -version = "26.3" +version = "26.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/75/ffb1dc0ed12352139fb4ca0e3fde4325a23e3d0f3f40efe89717bc4f557b/packaging-26.4.tar.gz", hash = "sha256:c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a", size = 355877, upload-time = "2026-11-23T21:44:11.152Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, + { url = "https://files.pythonhosted.org/packages/ba/7b/5504f91c9c2733f693d7759e50ede5d27119d4da7e5836c46d3b5ff81d56/packaging-26.4-py3-none-any.whl", hash = "sha256:81383611a09c1bc0b08b76e0fd5829d7c6824c65b27a6aee339da133f4233ea2", size = 140049, upload-time = "2026-11-23T21:44:09.531Z" }, ] [[package]] @@ -3267,27 +3267,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.17.5" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/86/cc/7b71512eb8b49926efb887cc66c74dd993642943c29eba51a877f6b85692/ruff-0.17.5.tar.gz", hash = "sha256:625e57d80cd43352d12ea81690f3eac46cddc8c0f35026d137fb0f157f94592e", size = 5368382, upload-time = "2026-11-12T17:54:55.04Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d4/f2/61df414cb4338617290a9023ad09486e207fb9a6d09357a7be34f2e369a4/ruff-0.17.5-py3-none-linux_armv6l.whl", hash = "sha256:d511dd302982e46a285528942fa6557d57730edc4bdb9def95e86a2603d77396", size = 10231309, upload-time = "2026-11-12T17:54:09.314Z" }, - { url = "https://files.pythonhosted.org/packages/d1/72/8ed970f3361f7c8d3f8e1b3b1af27cf086bc4b3a6b62ec20e21a1aaaaff5/ruff-0.17.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b72fbc232e328bdbb9cdddf4f1aedcd61bd1aa64d75fc012114b4add0bd7f26b", size = 10250018, upload-time = "2026-11-12T17:54:11.983Z" }, - { url = "https://files.pythonhosted.org/packages/dc/4b/8b10f6c9d0a18413301ae8dd2af9d180a81bb738b1b731d944a37404c523/ruff-0.17.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6f0db748508f04a04e3fbebcc636a5c8b3bd76274f8ed28f497c44d75c2ea2d7", size = 9504737, upload-time = "2026-11-12T17:54:14.567Z" }, - { url = "https://files.pythonhosted.org/packages/b7/ea/1b3afa3943239dede7a0755ea139bdb51879f0f3f96f92894081d5c7d2e5/ruff-0.17.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f6a7b138edf9cc402ca736a59d9525e6d766e5395760b72e7e146e6251ac963", size = 10168006, upload-time = "2026-11-12T17:54:17.195Z" }, - { url = "https://files.pythonhosted.org/packages/31/08/ee641daa45f83792f91274b65796cb011f1065f588911bfa3909ad9e31e7/ruff-0.17.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e52622ecf3a0df9d03e796fe3eed4aa085adda65520db7e0619cbd2192a97342", size = 10043751, upload-time = "2026-11-12T17:54:19.815Z" }, - { url = "https://files.pythonhosted.org/packages/f8/cf/1c59fdb42d0b5671ad5b160636fab4005ee28db72cb06aef6e3f3c04f377/ruff-0.17.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54c0f67d1be11b55d12c184a819fc229f5eee3ef45c16c4fcad41258e83b4882", size = 10690562, upload-time = "2026-11-12T17:54:22.789Z" }, - { url = "https://files.pythonhosted.org/packages/49/c5/578074716173fb0c1591e9648a9f85c469888d9530cb35b89b757dc1208b/ruff-0.17.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dd0dfe7c6fe5a447fce467c58e69893be1d9a7e4378f5b9906432da33d94a97f", size = 11338465, upload-time = "2026-11-12T17:54:25.523Z" }, - { url = "https://files.pythonhosted.org/packages/aa/b9/d6428bcf5ed88f4dc1d6e3417ee350236ed36e7a35f9477b727c00e437bf/ruff-0.17.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ec4ecf40fb4d6e1265b009dbe551727920926fc0f769070c452d6d84b422a74d", size = 10895501, upload-time = "2026-11-12T17:54:28.441Z" }, - { url = "https://files.pythonhosted.org/packages/f2/8a/1e29c0c3785ae7e5cd0d54ee8717a08867ef71545796340be4c653c57e24/ruff-0.17.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40ca8afaac309b41a5b2e09e4e7beb1f824826b93c25697c4d74f573324fba4e", size = 10613231, upload-time = "2026-11-12T17:54:30.862Z" }, - { url = "https://files.pythonhosted.org/packages/32/b6/88944350c14bb90651014d678ad554e233ae2a79c14ad52101845f93d15b/ruff-0.17.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:8e85601bd6d9b6c3e3b95c0e0dccdbac1d23c6bcef006d187fbcddaf8225a5df", size = 10562789, upload-time = "2026-11-12T17:54:33.869Z" }, - { url = "https://files.pythonhosted.org/packages/6f/fd/2792e955b0bf54295cdcdddc4bb3f380c0790d7e60e789f528a9e6e48a31/ruff-0.17.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f93d2b7d449ed9545304f6923699ca20d13c675b69f258481709a08ae61076db", size = 10069824, upload-time = "2026-11-12T17:54:36.663Z" }, - { url = "https://files.pythonhosted.org/packages/07/9c/d7cad341b4c19237948a6dd1fcea1c9c39c9d08b70f22f0e157d1236ebd6/ruff-0.17.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:0e5c125c5b31dc8efc948d41357496a4c4a312977565ccba740030efdff83580", size = 10038961, upload-time = "2026-11-12T17:54:39.452Z" }, - { url = "https://files.pythonhosted.org/packages/cc/a1/9cd0d4c371ddc70267d3bd557e718e2bdfb94c25e49d25605edfabb764bd/ruff-0.17.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:50dfc3c6b3ebd0a932f11dfd579bd42234b0b7137e68940eb6abdbfdb9d69697", size = 10385012, upload-time = "2026-11-12T17:54:41.808Z" }, - { url = "https://files.pythonhosted.org/packages/8f/a9/35f078ce98d4df318328ea5270382b5b65e680f7953b3db54f8e009c420c/ruff-0.17.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:86bd1f3b83c25f9b8055c6e796f0685b39d3127ce947322098c3108cf82fd586", size = 10793672, upload-time = "2026-11-12T17:54:44.342Z" }, - { url = "https://files.pythonhosted.org/packages/2c/a5/2e136dede2a88aaaf54498bbbdc81bc810f788ef6ef01efb97037d73cd1d/ruff-0.17.5-py3-none-win32.whl", hash = "sha256:e1546609b2ad73f1d6c5c076881b788672b7b3cc3283981182cbdbb6524ed88a", size = 9929908, upload-time = "2026-11-12T17:54:47.067Z" }, - { url = "https://files.pythonhosted.org/packages/ec/8c/e4db9ae1e0ee233c04df007ab6d0d42f799ae9abd95d352b6092ee7bc4bf/ruff-0.17.5-py3-none-win_amd64.whl", hash = "sha256:aa415d57c244299279901d776607fee3df7831c2a7435433fbfacde8632c6550", size = 10275454, upload-time = "2026-11-12T17:54:49.401Z" }, - { url = "https://files.pythonhosted.org/packages/e6/65/a1648bc1550e7683bf7bf1e2ce2485c9f8535cbca6cca9ec7b73cc12fb8e/ruff-0.17.5-py3-none-win_arm64.whl", hash = "sha256:64a6fd668a336df959c522991de33e9e3c8be463afc0c9ac8f029f9d19ef756e", size = 9849020, upload-time = "2026-11-12T17:54:52.055Z" }, +version = "0.17.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/df/8e/6929d337aa5380aafc7355f3149f3ccfe55cba5fdd34a045697ebaceb5a0/ruff-0.17.6.tar.gz", hash = "sha256:2b04276561331300325040bdca21460770029ec574d4c479099e39e8ad1ed43c", size = 5374388, upload-time = "2026-11-19T15:56:27.106Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/12/5d/38ef6310c22cacb094e9ae0ff7964062e04ffeecb45ee296894c2b1acc54/ruff-0.17.6-py3-none-linux_armv6l.whl", hash = "sha256:084d9c8f5ec718e7eba007dba339e7cb4f7571d2f267558ae080bf428fb6a69b", size = 10174693, upload-time = "2026-11-19T15:55:52.414Z" }, + { url = "https://files.pythonhosted.org/packages/a2/ed/fd35261049920a4888ef7c787a5c27089502077a4910f6ca8f1213157d6d/ruff-0.17.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9d44ef2140402043fd6f689ef541858b80883a8b0a02e38539ef0614ebe57d0c", size = 10221650, upload-time = "2026-11-19T15:55:54.962Z" }, + { url = "https://files.pythonhosted.org/packages/ba/d4/c31391b36c729cd9fafa65b7a52a58850b99afb2b65da6be4263a53302f2/ruff-0.17.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:9fbddc08577592e283c265d865e0182de6e33db185494db7b06290d989d888e5", size = 9580986, upload-time = "2026-11-19T15:55:57.391Z" }, + { url = "https://files.pythonhosted.org/packages/eb/11/f3032684dcb3a676d7924545153d76fb56f76753e038f2ea650b99c71bdf/ruff-0.17.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:435241c61af5909a022f76219d3d1bf24730dc1bf0acabb5ddf4b569ab3cbb30", size = 10271368, upload-time = "2026-11-19T15:55:59.654Z" }, + { url = "https://files.pythonhosted.org/packages/08/30/c1e024eeb5bae99ae78c6b896ed108f64c9c845a03b56eaeff098e99b6e6/ruff-0.17.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d006bbb2945edb17b0ce6a0c1b5f5a8d81ba11dbac294a0a925effa22ce34feb", size = 9981564, upload-time = "2026-11-19T15:56:01.807Z" }, + { url = "https://files.pythonhosted.org/packages/7d/a5/da3e0c2d4bf02b3ca6c1d7fa4bb04d0081e340b1dd03c4f83b1bec3e15c1/ruff-0.17.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fd661702202a89c00a4c9d0339008805fa5876bfa1c57e165495c2e62230dfbf", size = 10641991, upload-time = "2026-11-19T15:56:03.981Z" }, + { url = "https://files.pythonhosted.org/packages/4d/c1/6d7f981e86201c9db457cca99fd2c09b77574ebab37dff3e9239b218603c/ruff-0.17.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6a12c50a33936dc00db2be21ba25fb168a8b95c55eda2a3ac85005af69885e4b", size = 11403484, upload-time = "2026-11-19T15:56:05.778Z" }, + { url = "https://files.pythonhosted.org/packages/c3/92/8182f07b94998541d5f8f38f53da465aa28062afce24ecc398f45bfc62f1/ruff-0.17.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b5aba93b3db4b70c5697e4fee6e0d5b9c8452a9a3a03679611cadc25915a2173", size = 10892316, upload-time = "2026-11-19T15:56:08.016Z" }, + { url = "https://files.pythonhosted.org/packages/be/48/3df7d81249fd69ee6a49519b149fb5d11e13118fd7d0e8d65329a237087b/ruff-0.17.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa3b08254a732acba246891089a152c47c5733dc36b8ecb76ce8602f8326e5e4", size = 10645279, upload-time = "2026-11-19T15:56:09.785Z" }, + { url = "https://files.pythonhosted.org/packages/71/80/4d232281544345d7beb98d1d32c24dae804ed360780a6f7753738b81225e/ruff-0.17.6-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:0692088e6b33455572fb18465e891b443f196e98dc1986825685c77ff6f4c5ac", size = 10534501, upload-time = "2026-11-19T15:56:11.718Z" }, + { url = "https://files.pythonhosted.org/packages/98/0a/b477f075a4a94eb541bf1c759a3e72b2a3d6390af7a13a5be0887229f67c/ruff-0.17.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:fb589e032806bb942e4fb526f30b80a1a64112147ed9f1d38cc3de2e255b6f45", size = 10136036, upload-time = "2026-11-19T15:56:13.779Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d8/cf32fbfeb1fcda1470fb5c3bee50c69ee6bca257d487ec1eb17a0387edb4/ruff-0.17.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1939b3d701c7b6981b7cf93473de5bf88b129b9ba84efaed5154cc517c44634d", size = 9969640, upload-time = "2026-11-19T15:56:15.738Z" }, + { url = "https://files.pythonhosted.org/packages/a7/22/bb9f9752f7fcdfdc8b9c51576cc142bb377ade745290e35085173963c7be/ruff-0.17.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1a0bea6aa1216e0ec4cd35d3dbccec0d772a7c2aad28ec9c6e82571dff2c20b0", size = 10389427, upload-time = "2026-11-19T15:56:17.617Z" }, + { url = "https://files.pythonhosted.org/packages/81/c7/e09d220818ab146b736d62e0676dad215215d7de0884bbdad9fa075dc7d2/ruff-0.17.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:3db61f5015600543a581b07fa7f6f64afa0eeedefe16034cadd88c4074087582", size = 10760296, upload-time = "2026-11-19T15:56:19.463Z" }, + { url = "https://files.pythonhosted.org/packages/2e/09/28329441dfa2c463e2d377a69d4ebbe4d51665e9dbd49fb421f3bc80d775/ruff-0.17.6-py3-none-win32.whl", hash = "sha256:c2f4af6670b7a0501904e881bb3f1f24bd0d964dec1eedbd85f0eb73786e1128", size = 9966266, upload-time = "2026-11-19T15:56:21.581Z" }, + { url = "https://files.pythonhosted.org/packages/4b/9d/18ba9730addfc7554c70d6f171fb8dc2c08e774d9fb2b98e7946ef845c59/ruff-0.17.6-py3-none-win_amd64.whl", hash = "sha256:9cd2fd9923e9806b8b6b67a3469e2258e84bd4d21e45d5a1a690afdfb9c8e57d", size = 10365847, upload-time = "2026-11-19T15:56:23.582Z" }, + { url = "https://files.pythonhosted.org/packages/70/8a/59c33e2a64a4f9672f7f842a0dc522915cfbbaffd13d37d0cec57d1c5c5d/ruff-0.17.6-py3-none-win_arm64.whl", hash = "sha256:d8b14e1473dc86ab9069cf7a2ba5041dc012f59110201844ed04cfddf07055a0", size = 9926224, upload-time = "2026-11-19T15:56:25.269Z" }, ] [[package]] @@ -3510,15 +3510,15 @@ wheels = [ [[package]] name = "universal-pathlib" -version = "0.3.10" +version = "0.3.11" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "fsspec" }, { name = "pathlib-abc" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3d/6e/d997a70ee8f4c61f9a7e2f4f8af721cf072a3326848fc881b05187e52558/universal_pathlib-0.3.10.tar.gz", hash = "sha256:4487cbc90730a48cfb64f811d99e14b6faed6d738420cd5f93f59f48e6930bfb", size = 261110, upload-time = "2026-02-22T14:40:58.87Z" } +sdist = { url = "https://files.pythonhosted.org/packages/12/5e/d77774773ae2deabe479c7a1c742ee15ec94d37923aca0cbfbfd2121bf07/universal_pathlib-0.3.11.tar.gz", hash = "sha256:097c3542596a55e3dfef6f97c0c90a0665280c378c35c4eeed6f8917c8819eb7", size = 295322, upload-time = "2026-11-24T19:22:45.707Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/dd/1a/5d9a402b39ec892d856bbdd9db502ff73ce28cdf4aff72eb1ce1d6843506/universal_pathlib-0.3.10-py3-none-any.whl", hash = "sha256:dfaf2fb35683d2eb1287a3ed7b215e4d6016aa6eaf339c607023d22f90821c66", size = 83528, upload-time = "2026-02-22T14:40:57.316Z" }, + { url = "https://files.pythonhosted.org/packages/26/3f/a08d3b134340ad4e0edc2f1042d3e0e869ca047cb625bb1fa2c2072be605/universal_pathlib-0.3.11-py3-none-any.whl", hash = "sha256:1b62ec635ba808022eb776a65e57b7534d582286460ab872fcae2ea9fa785bcd", size = 89744, upload-time = "2026-11-24T19:22:44.404Z" }, ] [[package]] @@ -3532,28 +3532,28 @@ wheels = [ [[package]] name = "uv" -version = "0.13.9" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ac/0c/79150b54b20bd66a8725d5badba15d07573eca83be77e4ce581e6b9704df/uv-0.13.9.tar.gz", hash = "sha256:dd6f4f93ddf8a668c73f0945f3638444b2140a4e15a3912067493fc6335543e4", size = 7590202, upload-time = "2026-11-17T09:44:26.668Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f9/f1/0bb95394ef73f480ac3a66d8c570a1eb22187c331b6a9e3ef6c953f885dd/uv-0.13.9-py3-none-linux_armv6l.whl", hash = "sha256:56ec37616c00220032fc7b8c9d0ef51367fd0d70d9cd6ddd841660f949f84fed", size = 18386593, upload-time = "2026-11-17T09:43:34.102Z" }, - { url = "https://files.pythonhosted.org/packages/1e/db/08e9ef4879bd667e6d7b4705e594e5bd3e4585f10fc63cb16b9fa2fac63e/uv-0.13.9-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:c16ed11e013557536b3e60065f1b912f6407bd6518e041b961e23ef9e6b4fbf5", size = 17529974, upload-time = "2026-11-17T09:43:37.826Z" }, - { url = "https://files.pythonhosted.org/packages/f3/a7/a8d7b074798c7fb3b26b37584b8fe2e29df2ccdc24ce7902caab2a53edbf/uv-0.13.9-py3-none-macosx_11_0_arm64.whl", hash = "sha256:66c512266d633bef48384a1f53003f41f2a8e7b36fe6e7fbfd3e0fd52d96fa63", size = 14660755, upload-time = "2026-11-17T09:43:40.435Z" }, - { url = "https://files.pythonhosted.org/packages/57/15/94b6cd62ac3ff6550288328e8035288875197cbc183f51554b266a69877b/uv-0.13.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:5435c5ce14a56431208ca0996416d310f1598e8c2c8ba707688985a16bb82dbe", size = 18026789, upload-time = "2026-11-17T09:43:43.424Z" }, - { url = "https://files.pythonhosted.org/packages/23/c0/fc8cf5f3169501e3356d69c771168d8de45a823835099c75c987afb18a16/uv-0.13.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:7ec1e1dd9b6cb335c301afdf877989df384227313981850755a59561f75e4ab8", size = 17917014, upload-time = "2026-11-17T09:43:46.379Z" }, - { url = "https://files.pythonhosted.org/packages/35/c6/0d0fde6157e71381f9c4b1789b5079b8c45c530709169471484a0d4846d7/uv-0.13.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:16963d19594e18d746a70c7fce82237bde4f2cac4cfcf0ca2b84796fe9d0c6e9", size = 17937793, upload-time = "2026-11-17T09:43:49.362Z" }, - { url = "https://files.pythonhosted.org/packages/4a/b4/1f3ec785273abd4e4964e6c9083d79dd269ebeac146511488524c18eebeb/uv-0.13.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:db5c8df7145c21ffea9c0f74e38823bac3af60cbadf0e26b8633f08627b17bab", size = 18837089, upload-time = "2026-11-17T09:43:52.234Z" }, - { url = "https://files.pythonhosted.org/packages/cb/25/96924e14d96384ba0052f83600b08719209a92dd677faa49d9c237a27722/uv-0.13.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5dbdb7c8737cd183a9dce95b39cfd1f3d54ec2a27a1bb58f160293f9ba2c805", size = 20059600, upload-time = "2026-11-17T09:43:55.316Z" }, - { url = "https://files.pythonhosted.org/packages/01/06/9c617c17b105570423765227a033c7ead19b7dcffe7baa56d7caf804a3f3/uv-0.13.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6e845f387e4ed55bb59342957a9179e24a631fcc7668bda3426ae1cef8ed4b9", size = 19708388, upload-time = "2026-11-17T09:43:58.163Z" }, - { url = "https://files.pythonhosted.org/packages/3d/aa/26d64642d808de4a652579ef950d7cd2d37f080a8babf9c67c6b75fc4c3f/uv-0.13.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7f459fe4fd247d830351c75686d3996ace3c6f3f728eb0e85a30b7ada0cef19", size = 17606939, upload-time = "2026-11-17T09:44:01.023Z" }, - { url = "https://files.pythonhosted.org/packages/fe/2f/51a5de367c602592c018a42a23d57fba5f2689fe6c3bf025dcf043b39c61/uv-0.13.9-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:ecb6028d79dc96fbeafffe5c8af62a7099487ebc05a701e76714eebcffd06375", size = 16864124, upload-time = "2026-11-17T09:44:03.838Z" }, - { url = "https://files.pythonhosted.org/packages/ae/01/a21cd70ccda3156aea014b43a0885c122b3d25e642230c9f61fdf71096e0/uv-0.13.9-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:6d5114bba238adddacb32fb11904f2b3ff4e988f8e9ff0d8d3b5e9822cf836b8", size = 18085314, upload-time = "2026-11-17T09:44:06.715Z" }, - { url = "https://files.pythonhosted.org/packages/c0/0f/550a52f087bb271cc2b3bf405182d609c84acd88793f64192f8afd897178/uv-0.13.9-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:6b0c7b9f47a5d011939d61e324d3fe18a8bc155d8dd53add738709a92f290a7c", size = 18127201, upload-time = "2026-11-17T09:44:09.778Z" }, - { url = "https://files.pythonhosted.org/packages/86/ca/d5e53883246d8b1e40cbb48234a79e85cc45a0faa95913db306bc0012731/uv-0.13.9-py3-none-musllinux_1_1_i686.whl", hash = "sha256:a2ee66fe8b6608e1482ab1bde5799da04705c1cb40324c7f66054ecf46ae6e40", size = 18038845, upload-time = "2026-11-17T09:44:12.642Z" }, - { url = "https://files.pythonhosted.org/packages/fe/fe/794884de0efd3ac77a427cab21aa72c0483e100c55a42cd5cbb02c141b84/uv-0.13.9-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:2c45530751517d6c3bbc69a19473f6effe47cce047bede01ffd8af7ea7b36b25", size = 19295638, upload-time = "2026-11-17T09:44:15.5Z" }, - { url = "https://files.pythonhosted.org/packages/37/17/f857c08da4add811aa7fd22bbad2efd707855f1eacc58487c7f00eaeb5cf/uv-0.13.9-py3-none-win32.whl", hash = "sha256:3eeeb51a267a2144640fcd8f38d4a2f63439b39bc47445fd84727c3fc462c843", size = 16401153, upload-time = "2026-11-17T09:44:18.391Z" }, - { url = "https://files.pythonhosted.org/packages/dd/ef/ceeabf3631117f7354787d9fb1ffe943899e59ed4b887a696ed547e47e76/uv-0.13.9-py3-none-win_amd64.whl", hash = "sha256:6a44b2ed8111d2f60d2b92627c5dccda3f7ed7570b18ce115e569cd68c28246b", size = 15662317, upload-time = "2026-11-17T09:44:21.137Z" }, - { url = "https://files.pythonhosted.org/packages/da/d1/d97a5db1f27e077e4d6329223f6b3f719c02c97e4092043f13e628558d05/uv-0.13.9-py3-none-win_arm64.whl", hash = "sha256:eeb92051c2123b9730c46b04cc843cfa4bc7d7b0aec56df431a2215ef4cb0273", size = 15841844, upload-time = "2026-11-17T09:44:24.22Z" }, +version = "0.13.10" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e2/21/32b8c2f5b9198d8b4db5ea395430b8c9b4839bc34403353a2e7cd5dcd58f/uv-0.13.10.tar.gz", hash = "sha256:30e75714a9cff3aa56281c7bf533a4e93cb5bdfcc0325d3aae54b9106460bd63", size = 7643915, upload-time = "2026-11-24T21:01:10.652Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/c6/831bc1bc38714524af978435d074a039e83b8e3f73b27b463fd41a214574/uv-0.13.10-py3-none-linux_armv6l.whl", hash = "sha256:c85a2ecb62d09d61904f5405b525fcc51f971d081f8508a881fa2f9bae7543a7", size = 18744912, upload-time = "2026-11-24T21:00:27.755Z" }, + { url = "https://files.pythonhosted.org/packages/77/0d/178749e47a7ea76ad7c4a0c736b11615f2b4a1af94a9983c987b724e20c1/uv-0.13.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:19a76fd50a6a2bba38ee088d8336566856569be08196865f98132a08806581fc", size = 17658690, upload-time = "2026-11-24T21:00:30.279Z" }, + { url = "https://files.pythonhosted.org/packages/5b/d6/78204b698ed27b425b9660105af4b388a379b0435ea2e77e783feca3f180/uv-0.13.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:2a9ff188b442419c7aadebc445fcc1f287b25f99af50fa6d563b90cc0047b7cf", size = 14807398, upload-time = "2026-11-24T21:00:33.295Z" }, + { url = "https://files.pythonhosted.org/packages/97/4b/12a9e73be39829da3ece358385c3c019ecdea91a5fc704381d584ad9a387/uv-0.13.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:e89dd26ea831dde70639ba0a798fa04a4c7c0226fd2b241da86218bfa370e495", size = 18137926, upload-time = "2026-11-24T21:00:35.473Z" }, + { url = "https://files.pythonhosted.org/packages/7c/0d/449c4c2ef493deb456e436cd66ca84992b7e7dfdb4deeccf1cdcab1cc9f7/uv-0.13.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:5bcf77c50760146ff7b41022ab7aeb1954d42dd47b89fad36b43a1a8a43da994", size = 18144747, upload-time = "2026-11-24T21:00:37.578Z" }, + { url = "https://files.pythonhosted.org/packages/6e/1f/6b060fcb143ed2d2df89ffd363005c22592e664c694cc223f436466d6c63/uv-0.13.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bf7174b00c88879d4a1019b51256bbdb2dd61c55c7dc896031e16d090e380ce6", size = 18168108, upload-time = "2026-11-24T21:00:39.99Z" }, + { url = "https://files.pythonhosted.org/packages/d6/24/0d49d21fed81aaee1da4af39bb54e72e4034d5414c9ca6f2ce84aa78b7a5/uv-0.13.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7fa025c4b0f33b9a5357252e1be058d94157e13bfb8ae45d7e27cfce3759c65d", size = 18974456, upload-time = "2026-11-24T21:00:42.132Z" }, + { url = "https://files.pythonhosted.org/packages/6b/ef/17f5c64dcfba9f87d66dd5b2fad8e9c5ade6fd628790e5a7688fbc894f01/uv-0.13.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:50bee2a59ea9422b493aabc0cde9288f58fbcf6e8d688c30c4ecd8309459cac1", size = 20313850, upload-time = "2026-11-24T21:00:44.299Z" }, + { url = "https://files.pythonhosted.org/packages/b6/ae/5f3e517667c0335d34113317c4b8fdf2eccff4498021fca7987d60d10337/uv-0.13.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e52a1af7f97b717572f9e2bd69e54eb253b2c88a705500e35811c21106c439d4", size = 20164644, upload-time = "2026-11-24T21:00:46.795Z" }, + { url = "https://files.pythonhosted.org/packages/8b/99/fad906311e48fce22e4db71ee4c3df29bdb17b29eb36878f52b8dcd79237/uv-0.13.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7cc9c41b43d583e34c781fd3446405b06e9c5fa2db468ce2a534d353db6429e5", size = 17653768, upload-time = "2026-11-24T21:00:48.965Z" }, + { url = "https://files.pythonhosted.org/packages/0d/d1/1e65e39e182ee7053bd9c7fdb3661660a28c77e2672073e63334a5ef608e/uv-0.13.10-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:ee3bca6523ed93c3ae0d1a90c2733be307f5f7cc5287c746214e93a3bae0da13", size = 17024640, upload-time = "2026-11-24T21:00:50.988Z" }, + { url = "https://files.pythonhosted.org/packages/76/4c/ca6e23bd2e4223712d54af7e08ec7da871995817fa9efe96b52cff389e92/uv-0.13.10-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:a52ee170c00d4de1d42026c4dbb00c5d7f327edcf2b2bddeecd0cfb169868ac7", size = 18467143, upload-time = "2026-11-24T21:00:53.368Z" }, + { url = "https://files.pythonhosted.org/packages/09/b5/b902c34d8c5627540c9821951f3cd24a24da2dc8c011802c697e3f047903/uv-0.13.10-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a9636b4430a9b8a37ecc4d85111d1fd2560ef616edf5301b84f474073bf89e2f", size = 18520693, upload-time = "2026-11-24T21:00:55.594Z" }, + { url = "https://files.pythonhosted.org/packages/ae/14/174bacb5175164226b3b1649323980881f93bc9043cee19a4dcbe1da27f7/uv-0.13.10-py3-none-musllinux_1_1_i686.whl", hash = "sha256:771a749b34477501092c9fe6d5e52f45cef944d875b0f2e2c989047a2ee647ab", size = 18412113, upload-time = "2026-11-24T21:00:57.619Z" }, + { url = "https://files.pythonhosted.org/packages/84/23/e5cef4e193cc203afaa4e034a6537cc1d63c3a4fdceb17986da0704aabb7/uv-0.13.10-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:ee403b6bbcfda1bc7db269be5c40c1624df27b3b838d3f8a416648e00e2de5d4", size = 19533635, upload-time = "2026-11-24T21:01:00.944Z" }, + { url = "https://files.pythonhosted.org/packages/31/07/ee90f33e833ce4df2cdad20da4f42a7b522b7647a86ed9a23c6cd5c14fe2/uv-0.13.10-py3-none-win32.whl", hash = "sha256:3bf1c1b13cac2533a342ca16b1c5f41347cd399404c9477a04ff79c5f7cb4dea", size = 16479299, upload-time = "2026-11-24T21:01:03.074Z" }, + { url = "https://files.pythonhosted.org/packages/cf/e4/d0704c116ada58e8450890e2defaaf2f07e8d264cf94669210e0823fbcb2/uv-0.13.10-py3-none-win_amd64.whl", hash = "sha256:d87b9cf8165f2b3cc596e856b5bf794da9cfad6d1b110ca9d87eed42a15b3684", size = 15736046, upload-time = "2026-11-24T21:01:05.972Z" }, + { url = "https://files.pythonhosted.org/packages/8c/d7/59a108985cfc5f1cb0afea1108ff5a0bc4994b405af0825fb3085f068de8/uv-0.13.10-py3-none-win_arm64.whl", hash = "sha256:8b0a15613aae9a3e1c134bb5ee706583af0addced7eb1add992f8b1b3e3a92a0", size = 15936033, upload-time = "2026-11-24T21:01:08.286Z" }, ] [[package]] @@ -3938,18 +3938,18 @@ provides-extras = ["cast-value-rs", "cli", "gpu", "optional", "remote"] dev = [ { name = "astroid", specifier = "==4.3.4" }, { name = "botocore" }, - { name = "coverage", specifier = "==7.17.3" }, + { name = "coverage", specifier = "==7.17.5" }, { name = "fsspec", specifier = ">=2023.10.0" }, { name = "griffe-inherited-docstrings", specifier = "==1.1.4" }, - { name = "hypothesis", specifier = "==6.170.15" }, - { name = "markdown-exec", extras = ["ansi"], specifier = "==1.13.0" }, + { name = "hypothesis", specifier = "==6.170.17" }, + { name = "markdown-exec", extras = ["ansi"], specifier = "==1.14.0" }, { name = "mike", specifier = "==2.2.0" }, { name = "mkdocs", specifier = "==1.6.1" }, - { name = "mkdocs-material", extras = ["imaging"], specifier = "==9.8.1" }, + { name = "mkdocs-material", extras = ["imaging"], specifier = "==9.8.2" }, { name = "mkdocs-redirects", specifier = "==1.2.3" }, { name = "mkdocstrings", specifier = "==1.0.8" }, { name = "mkdocstrings-python", specifier = "==2.0.11" }, - { name = "moto", extras = ["s3", "server"], specifier = "==5.2.5" }, + { name = "moto", extras = ["s3", "server"], specifier = "==5.2.6" }, { name = "mypy", specifier = "==2.4.1" }, { name = "numcodecs", extras = ["msgpack"] }, { name = "numpydoc", specifier = "==1.11.0" }, @@ -3962,35 +3962,35 @@ dev = [ { name = "pytest-reportlog", specifier = "==1.0.0" }, { name = "pytest-xdist", specifier = "==3.8.0" }, { name = "requests", specifier = "==2.34.2" }, - { name = "ruff", specifier = "==0.17.5" }, + { name = "ruff", specifier = "==0.17.6" }, { name = "s3fs", specifier = ">=2023.10.0" }, { name = "towncrier", specifier = "==26.9.0" }, { name = "universal-pathlib" }, - { name = "uv", specifier = "==0.13.9" }, + { name = "uv", specifier = "==0.13.10" }, ] docs = [ { name = "astroid", specifier = "==4.3.4" }, { name = "griffe-inherited-docstrings", specifier = "==1.1.4" }, - { name = "markdown-exec", extras = ["ansi"], specifier = "==1.13.0" }, + { name = "markdown-exec", extras = ["ansi"], specifier = "==1.14.0" }, { name = "mike", specifier = "==2.2.0" }, { name = "mkdocs", specifier = "==1.6.1" }, - { name = "mkdocs-material", extras = ["imaging"], specifier = "==9.8.1" }, + { name = "mkdocs-material", extras = ["imaging"], specifier = "==9.8.2" }, { name = "mkdocs-redirects", specifier = "==1.2.3" }, { name = "mkdocstrings", specifier = "==1.0.8" }, { name = "mkdocstrings-python", specifier = "==2.0.11" }, { name = "numcodecs", extras = ["msgpack"] }, { name = "pytest", specifier = "==9.2.0" }, - { name = "ruff", specifier = "==0.17.5" }, + { name = "ruff", specifier = "==0.17.6" }, { name = "s3fs", specifier = ">=2023.10.0" }, { name = "towncrier", specifier = "==26.9.0" }, ] release = [{ name = "towncrier", specifier = "==26.9.0" }] remote-tests = [ { name = "botocore" }, - { name = "coverage", specifier = "==7.17.3" }, + { name = "coverage", specifier = "==7.17.5" }, { name = "fsspec", specifier = ">=2023.10.0" }, - { name = "hypothesis", specifier = "==6.170.15" }, - { name = "moto", extras = ["s3", "server"], specifier = "==5.2.5" }, + { name = "hypothesis", specifier = "==6.170.17" }, + { name = "moto", extras = ["s3", "server"], specifier = "==5.2.6" }, { name = "numpydoc", specifier = "==1.11.0" }, { name = "obstore", specifier = ">=0.5.1" }, { name = "pytest", specifier = "==9.2.0" }, @@ -4002,11 +4002,11 @@ remote-tests = [ { name = "pytest-xdist", specifier = "==3.8.0" }, { name = "requests", specifier = "==2.34.2" }, { name = "s3fs", specifier = ">=2023.10.0" }, - { name = "uv", specifier = "==0.13.9" }, + { name = "uv", specifier = "==0.13.10" }, ] test = [ - { name = "coverage", specifier = "==7.17.3" }, - { name = "hypothesis", specifier = "==6.170.15" }, + { name = "coverage", specifier = "==7.17.5" }, + { name = "hypothesis", specifier = "==6.170.17" }, { name = "numpydoc", specifier = "==1.11.0" }, { name = "pytest", specifier = "==9.2.0" }, { name = "pytest-asyncio", specifier = "==1.5.0" }, @@ -4015,5 +4015,5 @@ test = [ { name = "pytest-cov", specifier = "==7.1.0" }, { name = "pytest-reportlog", specifier = "==1.0.0" }, { name = "pytest-xdist", specifier = "==3.8.0" }, - { name = "uv", specifier = "==0.13.9" }, + { name = "uv", specifier = "==0.13.10" }, ] From 13f4bf58181110d709692d9e35fde59d7776387d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 17:47:28 +0100 Subject: [PATCH 18/21] chore(deps): bump the actions group with 2 updates (#4689) Bumps the actions group with 2 updates: [CodSpeedHQ/action](https://github.com/codspeedhq/action) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action). Updates `CodSpeedHQ/action` from 5.6.3 to 5.8.0 - [Release notes](https://github.com/codspeedhq/action/releases) - [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codspeedhq/action/compare/af75f77f17a054769abefaa42fe8dc2975469b5f...b1f28b5eccf7cb5bfe6a2a89cb3053eb67f1150c) Updates `zizmorcore/zizmor-action` from 0.8.1 to 0.9.2 - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](https://github.com/zizmorcore/zizmor-action/compare/45d7276c9ca790aabd705e31ca99c6185c3e76dd...1b4550e929643b8b26a62303c6bd64814271a4f1) --- updated-dependencies: - dependency-name: CodSpeedHQ/action dependency-version: 5.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: zizmorcore/zizmor-action dependency-version: 0.9.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Davis Bennett --- .github/workflows/codspeed.yml | 2 +- .github/workflows/zizmor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index f3d50a583b..01b8725061 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -41,7 +41,7 @@ jobs: repo: casey/just version: 1.58.0 - name: Run the benchmarks - uses: CodSpeedHQ/action@af75f77f17a054769abefaa42fe8dc2975469b5f # v5.6.3 + uses: CodSpeedHQ/action@b1f28b5eccf7cb5bfe6a2a89cb3053eb67f1150c # v5.8.0 env: ZARR_BENCHMARK_CLEAR_CACHE: '1' with: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 46a2a722ef..a404e96ff1 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -32,4 +32,4 @@ jobs: persist-credentials: false - name: Run zizmor - uses: zizmorcore/zizmor-action@45d7276c9ca790aabd705e31ca99c6185c3e76dd # v0.8.1 + uses: zizmorcore/zizmor-action@1b4550e929643b8b26a62303c6bd64814271a4f1 # v0.9.2 From 62ac857b49108160a5e71f5ddcb2edbc0db6d8fd Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 3 Dec 2026 17:50:14 +0100 Subject: [PATCH 19/21] test: bump zarr-metadata to 0.9.0 and drop the empty edges divergence zarr-metadata 0.9.0 refuses an empty list of rectilinear edge lengths (#4636), so the strict xfail that pinned the difference passed. Remove it and the exclusion. Assisted-by: ClaudeCode:claude-opus-5-5 --- pyproject.toml | 2 +- tests/test_zarr_metadata_conformance.py | 22 +--------------------- uv.lock | 10 +++++----- 3 files changed, 7 insertions(+), 27 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 43b9d4c276..562d6d4d48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,7 +127,7 @@ test = [ # strategies. Its own group, because zarr-metadata needs a newer typing-extensions than # the `min_deps` env pins; the test skips where it is not installed. conformance = [ - "zarr-metadata[testing]==0.8.0", + "zarr-metadata[testing]==0.9.0", ] remote-tests = [ {include-group = "test"}, diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index c2a2c17864..b4c57e4d91 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -31,7 +31,6 @@ from hypothesis import event, given, reject from hypothesis import strategies as st -from zarr_metadata.model import read_array_metadata_v3 from zarr_metadata.testing.strategies import ( DEFAULT_STRATEGIES, ChunkGridStrategy, @@ -68,13 +67,6 @@ "A `scalar_map` value written as a hex string is refused while the fill value " "is encoded, so the property counts it as a fill value rejection. Not excluded." ), - # zarr-metadata's side: it follows the spec as of zarr-extensions 4da7b37a, before - # https://github.com/zarr-developers/zarr-extensions/pull/78 required at least one - # edge. zarr-python refuses an empty list, as the spec now says. - "empty rectilinear edges": ( - "zarr-metadata accepts an empty list of edge lengths for an axis of length 0. " - "No such grid is drawn." - ), "expanded rectilinear runs": ( "zarr-python expands each run-length pair of rectilinear edges into a list, so a " "valid run of many chunks exhausts memory. No grid listing more than " @@ -95,7 +87,7 @@ def _listed_chunks(dimension: Any) -> int: def _readable(configuration: Mapping[str, Any]) -> bool: """Whether zarr-python reads the rectilinear grid without a known divergence.""" return all( - dimension != () and _listed_chunks(dimension) <= _MAX_LISTED_CHUNKS + _listed_chunks(dimension) <= _MAX_LISTED_CHUNKS for dimension in configuration["chunk_shapes"] ) @@ -305,18 +297,6 @@ def test_cast_value_scalar_map_hex_float() -> None: ) -@pytest.mark.xfail( - strict=True, raises=AssertionError, reason=_DIVERGENCES["empty rectilinear edges"] -) -def test_zarr_metadata_refuses_empty_rectilinear_edges() -> None: - document = _document("bool", False, [{"name": "bytes"}], chunk_shape=(0,)) - document["chunk_grid"] = { - "name": "rectilinear", - "configuration": {"kind": "inline", "chunk_shapes": [[]]}, - } - assert len(read_array_metadata_v3(document).problems) != 0 - - @pytest.mark.xfail( strict=True, raises=MemoryError, reason=_DIVERGENCES["expanded rectilinear runs"] ) diff --git a/uv.lock b/uv.lock index 4eee75b2b3..fa0928715a 100644 --- a/uv.lock +++ b/uv.lock @@ -3939,7 +3939,7 @@ requires-dist = [ provides-extras = ["cast-value-rs", "cli", "gpu", "optional", "remote"] [package.metadata.requires-dev] -conformance = [{ name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }] +conformance = [{ name = "zarr-metadata", extras = ["testing"], specifier = "==0.9.0" }] dev = [ { name = "astroid", specifier = "==4.3.4" }, { name = "botocore" }, @@ -3972,7 +3972,7 @@ dev = [ { name = "towncrier", specifier = "==26.9.0" }, { name = "universal-pathlib" }, { name = "uv", specifier = "==0.13.10" }, - { name = "zarr-metadata", extras = ["testing"], specifier = "==0.8.0" }, + { name = "zarr-metadata", extras = ["testing"], specifier = "==0.9.0" }, ] docs = [ { name = "astroid", specifier = "==4.3.4" }, @@ -4026,15 +4026,15 @@ test = [ [[package]] name = "zarr-metadata" -version = "0.8.0" +version = "0.9.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-types" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/95/e2/8e1f15171c0a21e9fda74e17ba6ed5820dc2ee10e500d2594ceec4eaf1ff/zarr_metadata-0.8.0.tar.gz", hash = "sha256:cd91855317118014f84c670a6f73c568cafdc781750e4f071651084a73b5c71f", size = 607925, upload-time = "2026-11-13T08:15:50.448Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7f/5d/5f1778697e0022d5cf7b215554a96827949a1d065b51913059b83b770ab3/zarr_metadata-0.9.0.tar.gz", hash = "sha256:7c7612ccb0177f2d1abb05cc38cdb89a54f31558edccf78d848a1c68d95415f7", size = 616077, upload-time = "2026-11-16T13:12:44.238Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/9a/da/f7d2d72d44a6bd4f361d9e6b4f81166fed0254ff3856573ca2949c0eb150/zarr_metadata-0.8.0-py3-none-any.whl", hash = "sha256:6cb20d7c96665dbf5ba2eaebe49f9a2f416a73b8f8dbb2e0ed95ece67cf5a0b6", size = 336024, upload-time = "2026-11-13T08:15:49.029Z" }, + { url = "https://files.pythonhosted.org/packages/35/26/c1eb0a10cbbe9cc7d759ee66261f2461f09e964359dd4d3e6a0c74824bba/zarr_metadata-0.9.0-py3-none-any.whl", hash = "sha256:61714b08a7eacd4bef4e1ccc485e331de2ac5b7afda624094a711e474641338a", size = 339074, upload-time = "2026-11-16T13:12:42.616Z" }, ] [package.optional-dependencies] From 0a1bb3dfe685212f6ea484c0af73e0f4efa4b6c8 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 3 Dec 2026 18:21:44 +0100 Subject: [PATCH 20/21] fix(sharding): reject a shard whose rank differs from the chunk grid's A filter that flattens each chunk (numcodecs.packbits) hands a 1-d shard to the sharding codec, which checks its inner chunk shape against the array's own N-d chunk grid. Dropping the second validation loop from `_validate_metadata` let such an array through, and it lost the end of each chunk. Refuse it, as main does. Replace the conformance test's oracle. It accepted any ValueError raised below `resolve_metadata`, so a codec that refused every fill value went unseen. The test now encodes a chunk that holds the fill value and requires zarr-python to refuse the document if and only if that fails. Draw 2000 examples, because the profiles' 300 missed both bugs this branch fixes under the derandomized ci profile. Draw every spelling, and simplify only the data types. Run the test in the slow Hypothesis recipe. Assisted-by: ClaudeCode:claude-opus-5-5 --- Justfile | 2 +- changes/4633.bugfix.2.md | 2 +- src/zarr/codecs/sharding.py | 9 +- tests/test_codecs/test_sharding.py | 20 ++- tests/test_zarr_metadata_conformance.py | 173 +++++++++++++++--------- 5 files changed, 136 insertions(+), 70 deletions(-) diff --git a/Justfile b/Justfile index df96003eef..c8bd302531 100644 --- a/Justfile +++ b/Justfile @@ -57,7 +57,7 @@ coverage-serve *args: # Run slow Hypothesis tests and write coverage.xml hypothesis *args: - hatch run {{ quote(hatch_env) }}:coverage run --source=src -m pytest -nauto --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* tests/test_array_stateful.py "$@" + hatch run {{ quote(hatch_env) }}:coverage run --source=src -m pytest -nauto --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* tests/test_array_stateful.py tests/test_zarr_metadata_conformance.py "$@" hatch run {{ quote(hatch_env) }}:coverage xml # Validate executable documentation code blocks diff --git a/changes/4633.bugfix.2.md b/changes/4633.bugfix.2.md index ca87b8037a..2668b0532b 100644 --- a/changes/4633.bugfix.2.md +++ b/changes/4633.bugfix.2.md @@ -1 +1 @@ -Creating an array no longer rejects a codec placed after a data-type-changing codec such as `cast_value` because its configuration would be invalid for the array's original data type. Each codec is now checked against the data type it receives. +Creating or opening an array no longer rejects a codec placed after a data-type-changing codec such as `cast_value` because its configuration would be invalid for the array's original data type. Each codec is now checked against the data type it receives. diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index e156d94c57..9caaf505dd 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -655,7 +655,14 @@ def validate( f"Sharding is only compatible with regular and rectilinear chunk grids, " f"got {type(chunk_grid)}" ) - for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=False)): + # A codec before this one can change the number of dimensions, while `chunk_grid` + # is still the array's own. Its edges then say nothing about the shards. + if len(edges_per_dim) != len(self.chunk_shape): + raise ValueError( + f"The shard's `chunk_shape` has {len(self.chunk_shape)} dimensions, but the " + f"array's chunk grid has {len(edges_per_dim)}." + ) + for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): for edge in set(edges): if edge % inner != 0: raise ValueError( diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index d4980601ff..f6dc4a443b 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -23,7 +23,7 @@ ShardingCodec, TransposeCodec, ) -from zarr.codecs.numcodecs import CRC32 +from zarr.codecs.numcodecs import CRC32, PackBits from zarr.codecs.sharding import ( INDEX_LOCATION, MAX_UINT_64, @@ -1607,3 +1607,21 @@ def test_sharding_rejects_fill_value_inner_chain_cannot_encode(layout: str) -> N compressors=None, **codecs, ) + + +@pytest.mark.filterwarnings("ignore:Numcodecs codecs are not in the Zarr version 3 specification") +def test_sharding_rejects_filter_that_changes_the_number_of_dimensions() -> None: + """A sharding codec behind a filter that flattens each chunk is rejected: the array's + chunk grid, which the inner chunk shape is checked against, says nothing about the + flattened chunk. Accepting it lost the end of each chunk whose flattened length the + inner chunk size did not divide.""" + with pytest.raises(ValueError, match="has 1 dimensions, but the array's chunk grid has 2"): + zarr.create_array( + MemoryStore(), + shape=(8, 8), + chunks=(8, 8), + dtype="bool", + filters=[PackBits()], + serializer=ShardingCodec(chunk_shape=(8,)), + compressors=None, + ) diff --git a/tests/test_zarr_metadata_conformance.py b/tests/test_zarr_metadata_conformance.py index b4c57e4d91..f91c8a6497 100644 --- a/tests/test_zarr_metadata_conformance.py +++ b/tests/test_zarr_metadata_conformance.py @@ -5,32 +5,36 @@ and nestings are covered as soon as zarr-metadata defines them. zarr-python refuses one kind of valid document on purpose: one whose fill value the -codecs cannot encode, because an unwritten chunk holds the fill value. A document -refused for any other reason is a divergence from the spec. +codecs cannot encode, because an unwritten chunk holds the fill value. The test decides +which documents those are by encoding a chunk that holds the fill value. A document +refused although its fill value encodes, or accepted although it does not, is a bug. -`_DIVERGENCES` lists the known divergences. The strategies here leave out each one -they can, and a strict xfail test below pins each one, so that fixing it fails that -test and prompts removing the exclusion. +The codecs themselves are the reference, so a codec that is wrong in the same way when +it encodes a chunk and when it encodes the fill value is not caught here. + +`_DIVERGENCES` lists the known divergences from the spec. The strategies here leave out +each one they can, and a strict xfail test below pins each one, so that fixing it fails +that test and prompts removing the exclusion. """ from __future__ import annotations -import copy import dataclasses import importlib.util import json -import traceback import warnings from functools import partial from typing import TYPE_CHECKING, Any, Final +import numpy as np import pytest # Not installed in the `min_deps` env: see the `conformance` dependency group. pytest.importorskip("zarr_metadata.testing") -from hypothesis import event, given, reject +from hypothesis import event, given, reject, settings from hypothesis import strategies as st +from zarr_metadata.definition import canonical_of, resolve from zarr_metadata.testing.strategies import ( DEFAULT_STRATEGIES, ChunkGridStrategy, @@ -39,12 +43,19 @@ from zarr_metadata.v3.chunk_grid import RECTILINEAR_CHUNK_GRID from zarr_metadata.v3.codec import CAST_VALUE_CODEC from zarr_metadata.v3.data_type import RAW_BYTES_DATA_TYPE -from zarr_metadata.v3.definition import ChunkGridDefinition, CodecDefinition, DataTypeDefinition +from zarr_metadata.v3.definition import ( + CORE_AND_EXTENSIONS_CONTEXT, + ChunkGridDefinition, + CodecDefinition, + DataTypeDefinition, +) import zarr -from zarr.abc.codec import ArrayArrayCodec -from zarr.core.metadata.v3 import ArrayV3Metadata -from zarr.registry import get_codec_class +from zarr.abc.codec import ArrayArrayCodec, SupportsSyncCodec +from zarr.core.array_spec import ArrayConfig, ArraySpec +from zarr.core.buffer import default_buffer_prototype +from zarr.core.dtype import get_data_type_from_json, get_data_type_from_native_dtype +from zarr.core.metadata.v3 import ArrayV3Metadata, parse_codecs if TYPE_CHECKING: from collections.abc import Callable, Mapping @@ -56,16 +67,17 @@ _DIVERGENCES: Final = { "data type spellings": ( "A data type written as an object, such as `{'name': 'int8'}` or one with " - "`must_understand`, is refused. Documents are drawn in canonical spelling." + "`must_understand`, is refused. Data types are written in their simplest spelling." ), "raw bits": "The core `r*` data types are not implemented. None are drawn.", "sharding behind transpose": ( "A sharding codec after a `transpose` is validated against the untransposed " - "chunk. Such documents are rejected from the draw." + "chunk. No document with a transpose that moves an axis before one is tested." ), "cast_value hex scalar map": ( - "A `scalar_map` value written as a hex string is refused while the fill value " - "is encoded, so the property counts it as a fill value rejection. Not excluded." + "A `scalar_map` entry that writes a float as a hex string is refused while a value " + "is cast, whether or not the entry maps that value. Encoding the fill value fails " + "the same way, so the property does not see it. Not excluded." ), "expanded rectilinear runs": ( "zarr-python expands each run-length pair of rectilinear edges into a list, so a " @@ -142,12 +154,9 @@ def _value_transforming(strategies: Strategies) -> Strategies: _DOCUMENTS: Final = { - "every-definition": array_documents( - spellings="canonical", strategies=_supported(DEFAULT_STRATEGIES) - ), + "every-definition": array_documents(strategies=_supported(DEFAULT_STRATEGIES)), "value-transforming": array_documents( shapes=st.lists(st.integers(1, 16), min_size=1, max_size=2).map(tuple), - spellings="canonical", strategies=_value_transforming(_supported(DEFAULT_STRATEGIES)), ), } @@ -157,81 +166,113 @@ def _codec_name(codec: str | Mapping[str, Any]) -> str: return codec if isinstance(codec, str) else codec["name"] -def _is_array_array(codec: str | Mapping[str, Any]) -> bool: - return issubclass(get_codec_class(_codec_name(codec)), ArrayArrayCodec) +def _moves_an_axis(codec: str | Mapping[str, Any]) -> bool: + if isinstance(codec, str) or codec["name"] != "transpose": + return False + order = codec["configuration"]["order"] + return list(order) != sorted(order) -def _shard_behind_transpose(codecs: tuple[Any, ...]) -> bool: - """Whether the array's own codecs hold a transpose and a sharding codec, which follows it. +def _shard_behind_transpose(codecs: list[Any]) -> bool: + """Whether a transpose that moves an axis precedes the array's own sharding codec. Only the array's own codecs: inside a shard, each codec is validated against the chunk the codecs before it leave. """ - names = [_codec_name(codec) for codec in codecs] - return "transpose" in names and "sharding_indexed" in names + return any(map(_moves_an_axis, codecs)) and "sharding_indexed" in map(_codec_name, codecs) -def _spliced(codecs: tuple[Any, ...]) -> list[Any]: - """The codecs up to the array -> bytes codec, each shard replaced by the codecs it holds. +def _simplest_data_type(data_type: Any) -> Any: + read, problems = resolve(data_type, DataTypeDefinition, CORE_AND_EXTENSIONS_CONTEXT) + return json.loads(json.dumps(canonical_of(read, problems))) - The codecs inside a shard see the fill value as the codecs before the shard leave - it, so these codecs can encode the same fill values as `codecs`. - """ - out: list[Any] = [] + +def _simplest_data_types(codecs: list[Any]) -> None: + """Write each data type a `cast_value` casts to in its simplest spelling, in place.""" for codec in codecs: - if _is_array_array(codec): - out.append(codec) + if _codec_name(codec) == "cast_value": + configuration = codec["configuration"] + configuration["data_type"] = _simplest_data_type(configuration["data_type"]) elif _codec_name(codec) == "sharding_indexed": - return out + _spliced(codec["configuration"]["codecs"]) - else: - return [*out, codec] + _simplest_data_types(codec["configuration"]["codecs"]) + _simplest_data_types(codec["configuration"]["index_codecs"]) + + +def _array_array_codecs(codecs: list[Any]) -> list[ArrayArrayCodec]: + """The codecs that transform an array on its way to bytes: the array's own, then the shards'.""" + out: list[ArrayArrayCodec] = [] + for declaration in codecs: + if _codec_name(declaration) == "sharding_indexed": + return out + _array_array_codecs(declaration["configuration"]["codecs"]) + (codec,) = parse_codecs([declaration]) + if isinstance(codec, ArrayArrayCodec): + out.append(codec) return out -def _verdict(document: dict[str, Any]) -> Exception | None: +def _fill_value_encodes(document: dict[str, Any]) -> bool: + """Whether the codecs encode a chunk of one element, the fill value.""" + data_type = get_data_type_from_json(document["data_type"], zarr_format=3) + fill_value = data_type.from_json_scalar(document["fill_value"], zarr_format=3) + chunk = np.full((1,) * len(document["shape"]), fill_value, dtype=data_type.to_native_dtype()) + prototype = default_buffer_prototype() + for codec in _array_array_codecs(document["codecs"]): + spec = ArraySpec( + shape=chunk.shape, + dtype=data_type, + fill_value=chunk.reshape(-1)[0], + config=ArrayConfig.from_dict({}), + prototype=prototype, + ) + evolved = codec.evolve_from_array_spec(spec) + assert isinstance(evolved, SupportsSyncCodec) + try: + encoded = evolved._encode_sync(prototype.nd_buffer.from_numpy_array(chunk), spec) + except ValueError: + return False + assert encoded is not None + before, chunk = chunk, encoded.as_numpy_array() + if chunk.dtype != before.dtype: + data_type = get_data_type_from_native_dtype(chunk.dtype) + return True + + +def _refusal(document: dict[str, Any]) -> Exception | None: """The error zarr-python refuses `document` with, or None if it accepts it.""" try: - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - ArrayV3Metadata.from_dict(document) + ArrayV3Metadata.from_dict(document) except Exception as error: # noqa: BLE001 return error return None -def _raised_encoding_fill_value(error: Exception) -> bool: - """Whether `error` was raised by a codec encoding the fill value.""" - frames = traceback.extract_tb(error.__traceback__) - return isinstance(error, ValueError) and any(f.name == "resolve_metadata" for f in frames) - - +# Few documents tell a right verdict from a wrong one, so the profiles' 300 examples often +# miss a bug. With 2000, each slice caught an inner chain probed with the data type's +# default scalar, and codecs re-validated against the array's own data type, for at least +# 16 of 20 random seeds. +@settings(max_examples=2000) @pytest.mark.parametrize("slice_", list(_DOCUMENTS)) @given(data=st.data()) -def test_refuses_only_fill_values_the_codecs_cannot_encode( +def test_refuses_exactly_the_fill_values_the_codecs_cannot_encode( slice_: str, data: st.DataObject ) -> None: - """zarr-python accepts each document, or refuses its fill value as the codecs - cannot encode it, and then refuses it too with the shards' codecs moved out of - the shards.""" + """zarr-python refuses a document if, and only if, the codecs cannot encode its fill value.""" # As a reader sees it: zarr-metadata draws JSON arrays as tuples. document = json.loads(json.dumps(data.draw(_DOCUMENTS[slice_]))) if _shard_behind_transpose(document["codecs"]): reject() # "sharding behind transpose" in _DIVERGENCES - with zarr.config.set({"array.rectilinear_chunks": True}): - error = _verdict(document) - if error is None: - event("accepted") - return - event("refused") - assert _raised_encoding_fill_value(error), ( - f"zarr-python refuses a document the spec allows: {error!r}" - ) - spliced = copy.deepcopy(document) - spliced["codecs"] = _spliced(document["codecs"]) - assert _verdict(spliced) is not None, ( - f"zarr-python refuses the fill value inside a shard ({error!r}) but accepts it " - "with the shard's codecs outside the shard" - ) + document["data_type"] = _simplest_data_type(document["data_type"]) + _simplest_data_types(document["codecs"]) + with warnings.catch_warnings(), zarr.config.set({"array.rectilinear_chunks": True}): + # numpy warns when it computes with NaN and infinity. + warnings.simplefilter("ignore") + encodes = _fill_value_encodes(document) + error = _refusal(document) + event("fill value encodes" if encodes else "fill value does not encode") + if encodes: + assert error is None, f"zarr-python refuses a document the spec allows: {error!r}" + else: + assert isinstance(error, ValueError) def _document( From 0f260ad18824d913f4eb603f2bd2c15d2403c9e7 Mon Sep 17 00:00:00 2001 From: Davis Vann Bennett Date: Thu, 3 Dec 2026 18:41:44 +0100 Subject: [PATCH 21/21] fix(metadata): check the chunk grid's rank before validating codecs A chunk grid whose rank differs from the shape reached the sharding codec's rank check first, which blamed the shard. Check the grid against the shape before the codec loop, and name ranks in the shard message. Assisted-by: ClaudeCode:claude-opus-5-5 --- src/zarr/codecs/sharding.py | 4 ++-- src/zarr/core/metadata/v3.py | 5 +++-- tests/test_codecs/test_sharding.py | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/zarr/codecs/sharding.py b/src/zarr/codecs/sharding.py index 9caaf505dd..dc168926f1 100644 --- a/src/zarr/codecs/sharding.py +++ b/src/zarr/codecs/sharding.py @@ -659,8 +659,8 @@ def validate( # is still the array's own. Its edges then say nothing about the shards. if len(edges_per_dim) != len(self.chunk_shape): raise ValueError( - f"The shard's `chunk_shape` has {len(self.chunk_shape)} dimensions, but the " - f"array's chunk grid has {len(edges_per_dim)}." + f"The shard's `chunk_shape` has rank {len(self.chunk_shape)}, but the " + f"array's chunk grid has rank {len(edges_per_dim)}." ) for i, (edges, inner) in enumerate(zip(edges_per_dim, self.chunk_shape, strict=True)): for edge in set(edges): diff --git a/src/zarr/core/metadata/v3.py b/src/zarr/core/metadata/v3.py index aa611d4289..23c235ec75 100644 --- a/src/zarr/core/metadata/v3.py +++ b/src/zarr/core/metadata/v3.py @@ -570,6 +570,9 @@ def __init__( # Per-codec validate() must run before resolve_metadata(), since the # latter may rely on invariants the former checks (e.g. cast_value # rejects complex source dtypes that would otherwise crash _do_cast). + # Codecs validate against the chunk grid, so its rank must be checked first. + if len(shape_parsed) != chunk_grid_parsed.ndim: + raise ValueError("`chunk_grid` and `shape` need to have the same number of dimensions.") evolved: list[Codec] = [] spec = array_spec for c in codecs_parsed_partial: @@ -594,8 +597,6 @@ def __init__( self._validate_metadata() def _validate_metadata(self) -> None: - if len(self.shape) != self.chunk_grid.ndim: - raise ValueError("`chunk_grid` and `shape` need to have the same number of dimensions.") if isinstance(self.chunk_grid, RectilinearChunkGridMetadata): validate_rectilinear_edges(self.chunk_grid.chunk_shapes, self.shape) if self.dimension_names is not None and len(self.shape) != len(self.dimension_names): diff --git a/tests/test_codecs/test_sharding.py b/tests/test_codecs/test_sharding.py index f6dc4a443b..c4a8809133 100644 --- a/tests/test_codecs/test_sharding.py +++ b/tests/test_codecs/test_sharding.py @@ -1615,7 +1615,7 @@ def test_sharding_rejects_filter_that_changes_the_number_of_dimensions() -> None chunk grid, which the inner chunk shape is checked against, says nothing about the flattened chunk. Accepting it lost the end of each chunk whose flattened length the inner chunk size did not divide.""" - with pytest.raises(ValueError, match="has 1 dimensions, but the array's chunk grid has 2"): + with pytest.raises(ValueError, match="has rank 1, but the array's chunk grid has rank 2"): zarr.create_array( MemoryStore(), shape=(8, 8),