diff --git a/packages/kumo-engine/README.md b/packages/kumo-engine/README.md index 1e783f0ba..704b8a427 100644 --- a/packages/kumo-engine/README.md +++ b/packages/kumo-engine/README.md @@ -37,6 +37,7 @@ The base package reads and writes local CSV and Parquet files. Optional extras a | `text` | Encoding for free-text columns, such as descriptions or reviews, with GloVe 6B 50d word vectors | | `mlflow` | MLflow run tracking and model registry | | `sagemaker` | SageMaker managed MLflow | +| `cluster` | Ray for remote snapshot and training-table preparation | | `pytorch` | (Experimental) `kumo.pytorch`, for training your own PyTorch models on your tables | Kumo Engine defaults to CPU for training and model loading on native Windows; use WSL2 for NVIDIA GPU workloads. On other platforms it selects an NVIDIA GPU or an Apple silicon GPU when available, and CPU otherwise. To choose the device explicitly, pass `accelerator="gpu"`, `"mps"`, or `"cpu"` to `Trainer`. @@ -106,6 +107,53 @@ preparation. To use another build, regenerate the table or reload exported rows against the desired snapshot. Preparation reports ingestion errors immediately, including native restrictions on temporal link-prediction evaluation stages. +## Prepare artifacts on Ray + +Install the `cluster` extra and initialize a Ray cluster with a CPU-capable +node other than the driver. Configure shared artifact storage once: + +```python +import kumo.engine as kumo +import ray + +ray.init(address="auto") +cfg = kumo.MLOps("s3://my-bucket/kumo", on_error="raise") +kumo.configure(compute_cluster=kumo.ComputeClusterConfig(mlops=cfg)) +snapshot = graph.snapshot() +table = pquery.generate_training_table(snapshot) +``` + +Preparation runs on one remote producer. Files replicate to every live node +as uploads finish; calls return after all targeted copies pass validation. +Matching concurrent calls share work, and compatible committed artifacts are +reused. Snapshot identity includes timestamp precision and `record_sources`. +Unknown source versions select fresh snapshots. Snapshot storage keeps the +existing export format. Training-table rows are exported through MLOps; the +same generation path ingests them once before the producer publishes and +replicates the extension for sampling. +Workers restore that extension without repeating row ingestion. Extensions are +bound to the exact snapshot build; invalid bindings or corrupt artifacts fail. +A pinned snapshot handle fails if its export generation has been replaced. + +All workers need the same engine and native builds, access to source paths and +credential files, and a scratch directory shared by processes on each node. +Pass explicit identities to transport credentials; ambient authentication is +resolved on each worker. Trackers and registries stay outside preparation. +Use `mlops=` and `kumo.mlops` for model training as usual; cluster-routed +preparation rejects both. + +For subsequent Ray tasks, pass `kumo.get_compute_cluster_handle()` and +`snapshot.artifact_handle` or `table.artifact_handle`. Inside a task, +`runtime.load(handle)` returns the artifact on that node, including nodes +that joined after publication. Call `kumo.shutdown_compute_cluster()` to stop +owned actors and clear configuration. Ray and stored artifacts are retained. + +The opt-in smoke test starts a local Ray cluster with multiple logical nodes: + +```bash +KUMO_RAY_INTEGRATION=1 .venv/bin/python -m pytest packages/kumo-engine/test/test_compute_cluster.py -k multinode +``` + ## Next Steps ### Use a Coding Agent diff --git a/packages/kumo-engine/docs/mlops.md b/packages/kumo-engine/docs/mlops.md index 0bd28bd6c..9aafbeef3 100644 --- a/packages/kumo-engine/docs/mlops.md +++ b/packages/kumo-engine/docs/mlops.md @@ -145,6 +145,20 @@ table = kumo.TrainingTable.load_from_connector(cfg, path=f"training_tables/{tabl `location=` loads the version an alias (or `version=`) names from the tracker's registry, one way on every platform. A loaded model is a `Trainer`; its `result` is the `TrainingResult` (`.id`, `.manifest`, `.metrics`, `.scoring_defaults`, `.holdout_df()`). +Snapshots use the existing `kumo_snapshot.json` export format, including its +native file manifest, checksums, provenance, and generation directory. +Training tables are stored as labeled Parquet rows with a `SPLIT` column and +provenance under `training_tables//`, just like explicit row exports. + +[Ray preparation](../README.md#prepare-artifacts-on-ray) uses the same snapshot +publisher and exports training-table rows once through MLOps. Both local and +remote generation ingest each table against its exact snapshot build before +returning. The producer publishes the already-ingested native extension separately under `native_training_tables//`. Workers restore +the extension for sampling without loading the MLOps row export or repeating +ingestion. Only these cluster extensions use `kumo_artifact.json` and an inventory. +Cluster preparation propagates generation and transfer failures regardless of +`on_error`. + `TrainingTable.from_source_table()` and row-export loading also normalize and ingest rows before returning. `fit()` reuses the resulting extension and requires the same native snapshot build. Reload exported rows against another snapshot to diff --git a/packages/kumo-engine/kumo/engine/__init__.py b/packages/kumo-engine/kumo/engine/__init__.py index 9e3bee49a..671198855 100644 --- a/packages/kumo-engine/kumo/engine/__init__.py +++ b/packages/kumo-engine/kumo/engine/__init__.py @@ -1,18 +1,11 @@ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. # All rights reserved. # SPDX-License-Identifier: Apache-2.0 -r"""Local, in-process relational deep learning with Kumo. +"""Relational deep learning with local training and optional Ray preparation. -No `Backend` protocol, no `set_backend`, no remote/hosted mode, no -hosted project. -There is nothing to call analogous to the cloud SDK's -`kumoai_studio.init(url=..., api_key=...)`: connectors and tables are constructed -and threaded through directly (`Table`, `Graph`, `Connector` subclasses), and -`Graph`/`Trainer` objects carry their own scratch-directory identity, so no -process-wide setup call is *required* before use. `configure(...)` is the one -*optional* one -- see `kumo.engine.config` -- for pointing the shared scratch- -directory root (DiskGraph ingest, GNN training) at, e.g., a local NVMe SSD -mount. +Construct connectors, graphs, and trainers directly. ``configure`` selects a +scratch root and, optionally, a compute cluster for preparing shared snapshots +and native training tables. """ import sys @@ -35,6 +28,13 @@ from kumoapi.table import Column from kumo.engine import _quiet # noqa: F401 +from kumo.engine._artifact_repository import ArtifactHandle +from kumo.engine._compute_cluster import ( + ComputeClusterConfig, + ComputeClusterHandle, + get_compute_cluster_handle, + shutdown_compute_cluster, +) from kumo.engine._manifest import ( ModelManifest, PredictionManifest, @@ -92,6 +92,11 @@ "ADLSIdentity", "__version__", "configure", + "ArtifactHandle", + "ComputeClusterConfig", + "ComputeClusterHandle", + "get_compute_cluster_handle", + "shutdown_compute_cluster", "install_skills", "EvaluationResult", "DriftReport", diff --git a/packages/kumo-engine/kumo/engine/_artifact_publishers.py b/packages/kumo-engine/kumo/engine/_artifact_publishers.py new file mode 100644 index 000000000..2fd7ff94d --- /dev/null +++ b/packages/kumo-engine/kumo/engine/_artifact_publishers.py @@ -0,0 +1,271 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Existing snapshot exports and cluster-only ingested training-table replicas.""" + +import json +import os +import shutil +from collections.abc import Iterator +from contextlib import contextmanager +from contextvars import ContextVar +from dataclasses import asdict, replace +from pathlib import Path + +from filelock import FileLock +from kumo.engine._artifact_repository import ( + ArtifactEvent, + ArtifactHandle, + ArtifactRepository, + EventAction, + Observer, + _digest, +) +from kumo.engine._manifest import TrainingTableManifest +from kumo.engine._mlops import MLOps +from kumo.engine.graph import GraphSnapshot +from kumo.engine.pquery._ingestion import ( + index_build_id, + rebind_manifest, + validate_ingested_table, +) +from kumo.engine.pquery.training_table import TrainingTable +from kumo_core.io.json import from_json_dict, to_json_dict +from kumo_core.model_plan import TrainingTableGenerationPlan + +_OBSERVER: ContextVar[Observer | None] = ContextVar("artifact_observer", default=None) + + +@contextmanager +def observe_publication(observer: Observer) -> Iterator[None]: + """Scope storage notifications to the current producer operation.""" + token = _OBSERVER.set(observer) + try: + yield + finally: + _OBSERVER.reset(token) + + +def publication_event( + action: EventAction, handle: ArtifactHandle, name: str = "", size: int = 0 +) -> None: + """Notify cluster replicas after an existing snapshot export closes a file. + + Args: + action: Start, completed file, commit, or abort notification. + handle: Pinned export generation. + name: Relative native file name for a file notification. + size: Completed payload size in bytes. + """ + observer = _OBSERVER.get() + if observer is not None: + observer(ArtifactEvent(action, handle, name, size)) + + +def repository(settings: MLOps, observer: Observer | None = None) -> ArtifactRepository: + """Create a storage-only repository from MLOps artifact settings.""" + return ArtifactRepository( + settings.root.connector, settings.root.path, observer or _OBSERVER.get() + ) + + +def cached_table( + settings: MLOps, table: TrainingTable, snapshot: GraphSnapshot, seed: int | None +) -> TrainingTable | None: + """Find an ingested table during cluster preparation. + + Args: + settings: Shared artifact root. + table: Resolved query and generation settings. + snapshot: Exact snapshot build used for generation. + seed: Resolved random split seed, if any. + + Returns: + Restored table, or None outside cluster preparation or on a cache miss. + + Raises: + ValueError: A committed extension or snapshot binding is invalid. + """ + if _OBSERVER.get() is None: + return None + from kumo.engine.pquery.training_table import _table_id + + repo = repository(settings) + key = _table_id(table, snapshot, seed, None, custom=False) + handle = repo.lookup("training_table", key) + if handle is None: + return None + table = load_artifact(repo, handle) + assert isinstance(table, TrainingTable) + return table + + +def publish_table( + table: TrainingTable, snapshot: GraphSnapshot, settings: MLOps +) -> ArtifactHandle: + """Publish an already ingested extension separately from the MLOps row export. + + Args: + table: Generated rows, already published through MLOps. + snapshot: Exact native graph build against which rows are ingested. + settings: Shared artifact storage. + + Returns: + Pinned reference to the ingested extension. + + Raises: + ValueError: The snapshot was not published or has no build identity. + OSError: Extension validation or publication fails. + """ + extension = validate_ingested_table(table, snapshot.index_path) + assert table.id is not None + if snapshot.artifact_handle is None: + raise ValueError("An ingested table needs a published snapshot.") + repo = repository(settings) + previous = repo.lookup("training_table", table.id) + if previous is not None: + repo.validate_remote(previous) + return previous + provenance = table.manifest + return repo.publish( + "training_table", + table.id, + extension, + { + "id": table.id, + "query": table.query, + "required_stages": table.required_stages, + "generation_plan": to_json_dict(table.generation_plan), + "snapshot": asdict(snapshot.artifact_handle), + "index_build_id": table._ingested_snapshot_build, + "provenance": None if provenance is None else provenance.to_dict(), + }, + ) + + +def _install_extension( + repo: ArtifactRepository, + handle: ArtifactHandle, + snapshot: GraphSnapshot, + local: Path | None = None, +) -> Path: + """Install verified native files with node-local paths without copying payloads.""" + manifest = repo.manifest(handle) + target = snapshot.index_path / "train_tables" / handle.key + native_manifest = target / "diskgraph_manifest.json" + if ( + local is None + and native_manifest.is_file() + and _digest(native_manifest) + == manifest["files"][native_manifest.name]["sha256"] + ): + local = target + source = repo.materialize(handle) if local is None else local + if local is not None: + repo._verify(local, manifest) + native = json.loads((source / "diskgraph_manifest.json").read_text()) + rebind_manifest(native, snapshot.index_path, target) + target.parent.mkdir(parents=True, exist_ok=True) + with FileLock(f"{target}.lock"): + if target.is_dir(): + repo._verify( + target, + { + "files": { + name: entry + for name, entry in manifest["files"].items() + if name != "diskgraph_manifest.json" + } + }, + ) + if json.loads((target / "diskgraph_manifest.json").read_text()) != native: + raise ValueError("Conflicting ingested training-table binding.") + return target + staging = target.with_name(f".{target.name}-{handle.generation}.loading") + if staging.exists(): + shutil.rmtree(staging) + shutil.copytree(source, staging, copy_function=os.link) + # Break the hard link before rewriting the node-local path bindings. + (staging / "diskgraph_manifest.json").unlink() + (staging / "diskgraph_manifest.json").write_text(json.dumps(native)) + os.replace(staging, target) + return target + + +def load_artifact( + repo: ArtifactRepository, handle: ArtifactHandle, local: Path | None = None +) -> GraphSnapshot | TrainingTable: + """Restore an existing snapshot export or a graph-bound ingested extension. + + Args: + repo: Authenticated storage repository. + handle: Credential-free pinned generation reference. + local: Producer snapshot directory, avoiding its download. + + Returns: + A node-local GraphSnapshot or an already ingested TrainingTable. + + Raises: + ValueError: Files, generation, or snapshot binding do not match. + OSError: A required file cannot be restored. + """ + manifest = repo.manifest(handle) + if handle.kind == "snapshot": + from kumo.engine import _snapshot_io as snapshots + from kumo.engine.graph import _store + + if local is None: + _, root = snapshots._location(repo.connector, handle.path) + build = snapshots.exported_build_id( + repo.connector, handle.path, f"{root}/{handle.generation}" + ) + existing = _store().existing_build(build) if build is not None else None + if existing is not None: + local = Path(existing.index_path) + if local is not None: + if not snapshots.holds_export(local, manifest): + raise ValueError("Local snapshot does not match the pinned export.") + directory = local + else: + directory = repo.materialize(handle) + snapshot = GraphSnapshot( + manifest["snapshot_id"], + directory, + manifest["graph_config"], + _version=manifest["data_version"], + _artifact_handle=handle, + ) + provenance = snapshot.manifest + return replace( + snapshot, + record_sources=None if provenance is None else provenance.record_sources, + ) + metadata = manifest["metadata"] + snapshot = load_artifact(repo, ArtifactHandle(**metadata["snapshot"])) + assert isinstance(snapshot, GraphSnapshot) + if index_build_id(snapshot.index_path) != metadata["index_build_id"]: + raise ValueError( + "Ingested training table belongs to a different snapshot build." + ) + directory = _install_extension(repo, handle, snapshot, local) + table = TrainingTable( + query=metadata["query"], + staging_dir=directory, + train_table_path=directory / "tt.parquet", + manifest_path=directory / "manifest.json", + required_stages=tuple(metadata["required_stages"]), + generation_plan=from_json_dict( + metadata["generation_plan"], TrainingTableGenerationPlan + ), + id=metadata["id"], + _artifact_handle=handle, + _ingested_snapshot_build=metadata["index_build_id"], + _ingested_path=directory, + _stored_manifest=( + None + if metadata.get("provenance") is None + else TrainingTableManifest.from_dict(metadata["provenance"]) + ), + ) + validate_ingested_table(table, snapshot.index_path) + return table diff --git a/packages/kumo-engine/kumo/engine/_artifact_repository.py b/packages/kumo-engine/kumo/engine/_artifact_repository.py new file mode 100644 index 000000000..25274d111 --- /dev/null +++ b/packages/kumo-engine/kumo/engine/_artifact_repository.py @@ -0,0 +1,484 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Immutable native artifact publication, independent of execution and tracking.""" + +from __future__ import annotations + +import hashlib +import json +import logging +import os +import re +import threading +from collections.abc import Callable +from dataclasses import asdict, dataclass +from pathlib import Path +from typing import Any, Literal +from uuid import uuid4 + +from filelock import FileLock +from kumo.engine._scratch import get_scratch_dir +from kumo.engine._snapshot_io import ( + _CHUNK, + _location, + _open_output, + _read_json, + _stopped, + _transfer, + _write, +) +from kumo.engine.connector.base import Connector +from pyarrow.fs import FileSystem, FileType + +logger = logging.getLogger(__name__) +_FORMAT = 1 +_REFERENCE = "kumo_artifact.json" +_GENERATION = re.compile(r"[0-9a-f]{32}") +_KEY = re.compile(r"[a-zA-Z0-9_@-]+") + + +@dataclass(frozen=True) +class ArtifactHandle: + """Credential-free generation reference for a snapshot or ingested table.""" + + kind: Literal["snapshot", "training_table"] + key: str + generation: str + path: str + + def __post_init__(self) -> None: + if ( + self.kind not in ("snapshot", "training_table") + or not _KEY.fullmatch(self.key) + or not _GENERATION.fullmatch(self.generation) + ): + raise ValueError("Malformed artifact handle.") + + +@dataclass(frozen=True) +class ArtifactEvent: + """Storage notification emitted only after a file closes successfully.""" + + action: Literal["start", "file", "commit", "abort"] + handle: ArtifactHandle + relative_path: str = "" + size: int = 0 + + +Observer = Callable[[ArtifactEvent], None] +ArtifactKind = Literal["snapshot", "training_table"] +EventAction = Literal["start", "file", "commit", "abort"] + + +def _relative(name: str) -> str: + if ( + not name + or name.startswith("/") + or "\\" in name + or any(part in ("", ".", "..") for part in name.split("/")) + ): + raise ValueError(f"Invalid artifact relative path: {name!r}") + return name + + +def _digest(path: Path) -> str: + with path.open("rb") as stream: + return hashlib.file_digest(stream, "sha256").hexdigest() + + +def _compatibility() -> dict[str, Any]: + from kumo.engine._provenance import environment + from kumo.engine._version import __version__ + + build = environment() + compatibility = { + name: getattr(build, name) + for name in ( + "kumo_engine", + "build_commit", + "diskgraph", + "diskgraph_build_commit", + ) + } + compatibility["kumo_engine"] = __version__ + return compatibility + + +def _reference_generation(filesystem: FileSystem, root: str) -> str | None: + marker = f"{root.rstrip('/')}/{_REFERENCE}" + reference = _read_json(filesystem, marker) + if reference is None and filesystem.get_file_info(marker).type is not FileType.File: + return None + if ( + not isinstance(reference, dict) + or set(reference) != {"generation"} + or not isinstance(reference["generation"], str) + or not _GENERATION.fullmatch(reference["generation"]) + ): + raise ValueError("Corrupt native artifact reference.") + return reference["generation"] + + +class ArtifactRepository: + """Publish complete native directories and validate pinned local replicas. + + Args: + connector: Storage connector; its sessions stay local to this process. + root: Directory within the connector for artifacts. + observer: Optional synchronous observer; it may apply backpressure. + """ + + def __init__( + self, connector: Connector, root: str, observer: Observer | None = None + ) -> None: + self.connector = connector + self.root = root.rstrip("/") + self.observer = observer + + def _notify( + self, action: EventAction, handle: ArtifactHandle, name: str = "", size: int = 0 + ) -> None: + if self.observer is not None: + self.observer(ArtifactEvent(action, handle, name, size)) + + def _path(self, kind: str, key: str) -> str: + if kind not in ("snapshot", "training_table") or not _KEY.fullmatch(key): + raise ValueError("Invalid artifact kind or key.") + folder = "snapshots" if kind == "snapshot" else "native_training_tables" + suffix = key.replace("@", "/") if kind == "snapshot" else key + return "/".join(part for part in (self.root, folder, suffix) if part) + + def lookup(self, kind: ArtifactKind, key: str) -> ArtifactHandle | None: + """Return a compatible committed handle, or None for an unpublished key. + + Raises: + ValueError: A committed reference is corrupt or incompatible. + """ + path = self._path(kind, key) + filesystem, root = _location(self.connector, path) + if kind == "snapshot": + from kumo.engine._snapshot_io import read + + if ( + filesystem.get_file_info(f"{root}/kumo_snapshot.json").type + is FileType.NotFound + ): + return None + _, manifest = read(self.connector, path) + return ArtifactHandle(kind, key, manifest["generation"], path) + generation = _reference_generation(filesystem, root) + if generation is None: + return None + handle = ArtifactHandle(kind, key, generation, path) + self.manifest(handle) + return handle + + def manifest(self, handle: ArtifactHandle) -> dict[str, Any]: + """Read authoritative completion metadata for a pinned generation. + + Raises: + ValueError: Metadata is missing, incompatible, or malformed. + """ + if handle.kind == "snapshot": + from kumo.engine._snapshot_io import read + + _, manifest = read(self.connector, handle.path) + if ( + manifest["generation"] != handle.generation + or manifest["snapshot_id"] != handle.key + ): + raise ValueError( + "The pinned snapshot generation is no longer available." + ) + return manifest + filesystem, root = _location(self.connector, handle.path) + manifest = _read_json(filesystem, f"{root}/{handle.generation}/inventory.json") + if ( + not isinstance(manifest, dict) + or manifest.get("format") != _FORMAT + or manifest.get("handle") != asdict(handle) + or manifest.get("compatibility") != _compatibility() + or not isinstance(manifest.get("files"), dict) + or not manifest["files"] + ): + raise ValueError( + f"Corrupt or incompatible committed artifact {handle.key}." + ) + for name, entry in manifest["files"].items(): + _relative(name) + if ( + not isinstance(entry, dict) + or type(entry.get("size")) is not int + or entry["size"] < 0 + or not isinstance(entry.get("sha256"), str) + or not re.fullmatch("[0-9a-f]{64}", entry["sha256"]) + ): + raise ValueError(f"Corrupt artifact inventory for {handle.key}.") + return manifest + + def publish( + self, kind: ArtifactKind, key: str, source: Path, metadata: dict[str, Any] + ) -> ArtifactHandle: + """Upload missing artifacts, writing completion and reference last. + + Args: + kind: Ingested training table; snapshots use their existing exporter. + key: Stable artifact identity. + source: Complete native directory, kept immutable during upload. + metadata: Credential-free reconstruction metadata. + + Returns: + Handle of the existing or newly committed generation. + + Raises: + ValueError: Existing committed payloads are corrupt or incompatible. + OSError: A transfer fails. + """ + if kind == "snapshot": + raise ValueError("Snapshots must use the existing snapshot exporter.") + identity = hashlib.sha256(self._path(kind, key).encode()).hexdigest() + locks = get_scratch_dir() / "artifacts" / "publication-locks" + locks.mkdir(parents=True, exist_ok=True) + with FileLock(str(locks / identity)): + return self._publish(kind, key, source, metadata) + + def _publish( + self, kind: ArtifactKind, key: str, source: Path, metadata: dict[str, Any] + ) -> ArtifactHandle: + previous = self.lookup(kind, key) + if previous is not None: + self.validate_remote(previous) + return previous + path = self._path(kind, key) + handle = ArtifactHandle(kind, key, uuid4().hex, path) + filesystem, root = _location(self.connector, path) + base = f"{root}/{handle.generation}" + inventory: dict[str, Any] = {} + self._notify("start", handle) + try: + files = [file for file in source.rglob("*") if file.is_file()] + sizes = {file: file.stat().st_size for file in files} + files.sort(key=lambda file: -sizes[file]) + + def upload(client: Any, local: Path, stop: threading.Event) -> tuple: + name = _relative(local.relative_to(source).as_posix()) + size = sizes[local] + checksum = hashlib.sha256() + with ( + local.open("rb") as reader, + _open_output(client, f"{base}/files/{name}", size) as writer, + ): + while chunk := reader.read(_CHUNK): + _stopped(stop) + checksum.update(chunk) + writer.write(chunk) + if size != local.stat().st_size: + raise OSError(f"Artifact file changed during publication: {name}") + self._notify("file", handle, name, size) + return name, {"size": size, "sha256": checksum.hexdigest()} + + inventory = dict( + _transfer( + self.connector, + path, + files, + [sizes[file] for file in files], + upload, + "artifact publication", + ) + ) + if not inventory: + raise ValueError("Cannot publish an empty native artifact.") + manifest = { + "format": _FORMAT, + "handle": asdict(handle), + "compatibility": _compatibility(), + "files": inventory, + "metadata": metadata, + } + _write(filesystem, f"{base}/inventory.json", json.dumps(manifest).encode()) + reference = json.dumps({"generation": handle.generation}).encode() + if filesystem.type_name == "local": + temporary = f"{base}/reference.json" + _write(filesystem, temporary, reference) + filesystem.move(temporary, f"{root}/{_REFERENCE}") + else: + _write(filesystem, f"{root}/{_REFERENCE}", reference) + self._notify("commit", handle) + except BaseException: + self._notify("abort", handle) + raise + return handle + + def validate_remote(self, handle: ArtifactHandle) -> None: + """Verify committed payloads without rewriting them. + + Raises: + ValueError: Any remote payload is truncated or corrupt. + """ + manifest = self.manifest(handle) + if handle.kind == "snapshot": + from kumo.engine._snapshot_io import _index_files + + filesystem, root = _location(self.connector, handle.path) + _, files, _ = _index_files( + handle.path, f"{root}/{handle.generation}", manifest, self.connector + ) + for name, size in files: + if ( + filesystem.get_file_info( + f"{root}/{handle.generation}/index/{name}" + ).size + != size + ): + raise ValueError(f"Truncated snapshot file: {name}") + return + filesystem, root = _location(self.connector, handle.path) + for name, expected in manifest["files"].items(): + checksum = hashlib.sha256() + size = 0 + with filesystem.open_input_stream( + f"{root}/{handle.generation}/files/{name}" + ) as reader: + while chunk := reader.read(_CHUNK): + size += len(chunk) + checksum.update(chunk) + if size != expected["size"] or checksum.hexdigest() != expected["sha256"]: + raise ValueError(f"Corrupt committed artifact file: {name}") + + def _cache(self, handle: ArtifactHandle) -> Path: + namespace = hashlib.sha256(handle.path.encode()).hexdigest()[:16] + return get_scratch_dir() / "artifacts" / namespace / handle.generation + + def receive(self, event: ArtifactEvent) -> None: + """Stage a completed file; deduplicate events and fence aborted transfers. + + Raises: + OSError: Download fails. + """ + cache = self._cache(event.handle) + cache.parent.mkdir(parents=True, exist_ok=True) + with FileLock(f"{cache}.lock"): + staging = cache.with_suffix(".staging") + aborted = cache.with_suffix(".aborted") + if event.action == "abort": + aborted.touch() + return + if cache.exists() or aborted.exists() or event.action != "file": + return + self._fetch( + event.handle, _relative(event.relative_path), event.size, staging + ) + + def _fetch( + self, + handle: ArtifactHandle, + name: str, + expected: int | dict[str, Any], + staging: Path, + ) -> None: + target = staging / name + size = expected if isinstance(expected, int) else expected["size"] + checksum = None if isinstance(expected, int) else expected["sha256"] + if ( + target.is_file() + and target.stat().st_size == size + and (checksum is None or _digest(target) == checksum) + ): + return + target.parent.mkdir(parents=True, exist_ok=True) + filesystem, root = _location(self.connector, handle.path) + digest = hashlib.sha256() + folder = "index" if handle.kind == "snapshot" else "files" + remote = f"{root}/{handle.generation}/{folder}/{name}" + with ( + filesystem.open_input_stream(remote) as reader, + target.open("wb") as writer, + ): + while chunk := reader.read(_CHUNK): + if checksum is not None: + digest.update(chunk) + writer.write(chunk) + if target.stat().st_size != size or ( + checksum is not None and digest.hexdigest() != checksum + ): + raise ValueError(f"Corrupt committed artifact file: {name}") + + def materialize(self, handle: ArtifactHandle) -> Path: + """Reconcile and validate every file, then atomically expose the replica. + + Returns: + Node-local complete directory. + + Raises: + ValueError: A committed artifact is corrupt or incompatible. + """ + if handle.kind == "snapshot": + return self._materialize_snapshot(handle) + manifest = self.manifest(handle) + cache = self._cache(handle) + cache.parent.mkdir(parents=True, exist_ok=True) + with FileLock(f"{cache}.lock"): + if cache.is_dir(): + self._verify(cache, manifest) + return cache + staging = cache.with_suffix(".staging") + for name, entry in manifest["files"].items(): + self._fetch(handle, name, entry, staging) + os.replace(staging, cache) + return cache + + def _materialize_snapshot(self, handle: ArtifactHandle) -> Path: + from kumo.engine import _snapshot_io as snapshots + from kumo_core.artifacts import PROVENANCE_FILE + from kumo_core.diskgraph.snapshot import ( + DiskgraphIngestResult, + write_diskgraph_success_marker, + ) + + manifest = self.manifest(handle) + cache = self._cache(handle) + cache.parent.mkdir(parents=True, exist_ok=True) + with FileLock(f"{cache}.lock"): + if cache.is_dir(): + snapshots._verify(handle.path, cache, manifest) + return cache + _, root = _location(self.connector, handle.path) + index_manifest, files, provenance = snapshots._index_files( + handle.path, f"{root}/{handle.generation}", manifest, self.connector + ) + staging = cache.with_suffix(".staging") + for name, size in files: + self._fetch(handle, name, size, staging) + (staging / snapshots._INDEX_MANIFEST).write_bytes(index_manifest) + write_diskgraph_success_marker( + str(staging), DiskgraphIngestResult.for_index(cache) + ) + try: + snapshots._verify(handle.path, staging, manifest) + except ValueError: + # Size-only streaming events may have left a damaged partial file. + for name, size in files: + (staging / name).unlink() + self._fetch(handle, name, size, staging) + snapshots._verify(handle.path, staging, manifest) + snapshots._check_readable(staging, manifest) + if provenance is not None: + (staging / PROVENANCE_FILE).write_bytes(provenance) + (staging / snapshots._EXPORT_IDENTITY).write_text( + snapshots.export_identity(manifest) + ) + os.replace(staging, cache) + return cache + + @staticmethod + def _verify(directory: Path, manifest: dict[str, Any]) -> None: + for name, entry in manifest["files"].items(): + path = directory / name + if ( + not path.is_file() + or path.stat().st_size != entry["size"] + or _digest(path) != entry["sha256"] + ): + raise ValueError(f"Corrupt committed artifact file: {name}") diff --git a/packages/kumo-engine/kumo/engine/_compute_cluster.py b/packages/kumo-engine/kumo/engine/_compute_cluster.py new file mode 100644 index 000000000..9eedbade2 --- /dev/null +++ b/packages/kumo-engine/kumo/engine/_compute_cluster.py @@ -0,0 +1,413 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Remote preparation with a serial producer and bounded streaming replicas.""" + +from __future__ import annotations + +import logging +import threading +from collections.abc import Callable +from concurrent.futures import Future +from dataclasses import dataclass, replace +from pathlib import Path +from typing import Any + +from kumo.engine._artifact_publishers import ( + load_artifact, + observe_publication, + publish_table, + repository, +) +from kumo.engine._artifact_repository import ArtifactEvent, ArtifactHandle +from kumo.engine._mlops import MLOps, resolve +from kumo.engine._scratch import get_scratch_dir +from kumo.engine.connector.base import Connector + +logger = logging.getLogger(__name__) + + +@dataclass(frozen=True) +class ComputeClusterConfig: + """Configure preparation on an already initialized multi-node Ray cluster. + + Args: + mlops: Shared artifact settings with snapshots and training tables enabled. + + Raises: + ValueError: Required artifact storage is disabled. + TypeError: mlops is not MLOps settings. + """ + + mlops: MLOps + + def __post_init__(self) -> None: + if not isinstance(self.mlops, MLOps): + raise TypeError("compute_cluster.mlops must be kumo.MLOps settings.") + if not {"snapshot", "training_table"} <= self.mlops.kinds: + raise ValueError( + "ComputeCluster needs snapshot and training_table storage." + ) + + +def _ray() -> Any: + try: + import ray + except ImportError as error: + raise ImportError("Cluster preparation needs kumo-engine[cluster].") from error + return ray + + +class _Replica: + def __init__(self, connector: Connector, path: str, uri: str, scratch: str) -> None: + import kumo.settings + + kumo.settings.configure(scratch_dir=scratch) + settings = MLOps( + (connector, path), + tracking=None, + store=("snapshot", "training_table"), + on_error="raise", + ) + object.__setattr__(settings, "root", replace(settings.root, _uri=uri)) + self.repo = repository(settings) + self.originals: dict[ArtifactHandle, Path] = {} + + def ready(self) -> bool: + return True + + def receive(self, event: ArtifactEvent) -> None: + self.repo.receive(event) + + def prepare(self, handle: ArtifactHandle, local: str | None = None) -> None: + if local is not None: + self.originals[handle] = Path(local) + load_artifact(self.repo, handle, self.originals.get(handle)) + + def load(self, handle: ArtifactHandle) -> Any: + return load_artifact(self.repo, handle, self.originals.get(handle)) + + +class _Producer: + def __init__(self, connector: Connector, path: str, uri: str, scratch: str) -> None: + import kumo.settings + + kumo.settings.configure(scratch_dir=scratch) + self.settings = MLOps( + (connector, path), + tracking=None, + store=("snapshot", "training_table"), + on_error="raise", + ) + object.__setattr__(self.settings, "root", replace(self.settings.root, _uri=uri)) + self.scratch = scratch + self.replicas: dict[str, Any] = {} + self.pending: list[Any] = [] + self._notification_lock = threading.Lock() + self.max_pending = 16 + + def replica_for(self, node: str) -> Any: + from ray.util.scheduling_strategies import NodeAffinitySchedulingStrategy + + ray = _ray() + existing = self.replicas.get(node) + if existing is not None: + try: + ray.get(existing.ready.remote()) + return existing + except ray.exceptions.RayActorError: + logger.warning("Replacing failed artifact replica on node %s", node) + del self.replicas[node] + actor = ( + ray.remote(_Replica) + .options( + num_cpus=0, + max_restarts=0, + scheduling_strategy=NodeAffinitySchedulingStrategy(node, soft=False), + ) + .remote( + self.settings.root.connector, + self.settings.root.path, + self.settings.root._uri, + self.scratch, + ) + ) + try: + ray.get(actor.ready.remote()) + except BaseException: + ray.kill(actor, no_restart=True) + raise + self.replicas[node] = actor + return actor + + def register(self) -> dict[str, Any]: + live = {node["NodeID"] for node in _ray().nodes() if node["Alive"]} + for node in self.replicas.keys() - live: + del self.replicas[node] + for node in live: + self.replica_for(node) + return self.replicas + + def _notify(self, event: ArtifactEvent) -> None: + ray = _ray() + producer_node = ray.get_runtime_context().get_node_id() + with self._notification_lock: + for node, replica in self.replicas.items(): + if node == producer_node: + continue + self.pending.append(replica.receive.remote(event)) + if len(self.pending) >= self.max_pending: + done, self.pending = ray.wait(self.pending, num_returns=1) + ray.get(done) + + def _finish(self, artifact: Any, targets: dict[str, Any]) -> ArtifactHandle: + ray = _ray() + handle = artifact._artifact_handle + if not isinstance(handle, ArtifactHandle): + raise TypeError("Producer did not publish a pinned artifact.") + ray.get(self.pending) + self.pending.clear() + local = str( + artifact.index_path + if handle.kind == "snapshot" + else artifact._ingested_path + ) + producer_node = ray.get_runtime_context().get_node_id() + ray.get( + [ + replica.prepare.remote(handle, local if node == producer_node else None) + for node, replica in targets.items() + ] + ) + return handle + + def snapshot( + self, graph: Any, precision: str, record_sources: bool + ) -> ArtifactHandle: + self.pending.clear() + targets = dict(self.register()) + with observe_publication(self._notify): + artifact = graph.snapshot( + precision, record_sources=record_sources, mlops=self.settings + ) + return self._finish(artifact, targets) + + def table(self, query: Any, snapshot: ArtifactHandle, plan: Any) -> ArtifactHandle: + self.pending.clear() + targets = dict(self.register()) + replica = self.replica_for(_ray().get_runtime_context().get_node_id()) + local_snapshot = _ray().get(replica.load.remote(snapshot)) + with observe_publication(self._notify): + artifact = query.generate_training_table( + local_snapshot, plan, mlops=self.settings + ) + handle = publish_table(artifact, local_snapshot, self.settings) + artifact = replace( + artifact, + _artifact_handle=handle, + ) + return self._finish(artifact, targets) + + def shutdown(self) -> None: + for actor in self.replicas.values(): + _ray().kill(actor, no_restart=True) + self.replicas.clear() + + +@dataclass(frozen=True) +class ComputeClusterHandle: + """Serializable actor reference for loading pinned artifacts on worker nodes.""" + + _producer: Any + + def load(self, handle: ArtifactHandle) -> Any: + """Load an artifact locally, registering newly joined nodes on demand. + + Args: + handle: A snapshot or training table's artifact_handle. + + Returns: + A complete node-local snapshot or training table. + + Raises: + ValueError: Committed contents fail compatibility or integrity checks. + """ + ray = _ray() + node = ray.get_runtime_context().get_node_id() + replica = ray.get(self._producer.replica_for.remote(node)) + return ray.get(replica.load.remote(handle)) + + +class ComputeCluster: + """Process-owned remote producer; concurrent matching requests share a future.""" + + def __init__(self, config: ComputeClusterConfig) -> None: + ray = _ray() + if not ray.is_initialized(): + raise RuntimeError("Initialize Ray before configuring compute_cluster.") + driver = ray.get_runtime_context().get_node_id() + workers = [ + node["NodeID"] + for node in ray.nodes() + if node["Alive"] + and node["NodeID"] != driver + and node["Resources"].get("CPU", 0) >= 1 + ] + if not workers: + raise RuntimeError( + "ComputeCluster requires a CPU node other than the driver." + ) + self.config = config + self._lock = threading.Lock() + self._inflight: dict[tuple, Future] = {} + self._worker = workers[0] + self._broken = False + self._start_producer() + + def _start_producer(self) -> None: + from ray.util.scheduling_strategies import NodeAffinitySchedulingStrategy + + ray = _ray() + self.producer = ( + ray.remote(_Producer) + .options( + num_cpus=1, + max_restarts=0, + scheduling_strategy=NodeAffinitySchedulingStrategy( + self._worker, soft=False + ), + ) + .remote( + self.config.mlops.root.connector, + self.config.mlops.root.path, + self.config.mlops.root._uri, + str(get_scratch_dir().resolve()), + ) + ) + try: + ray.get(self.producer.register.remote()) + except BaseException: + try: + ray.get(self.producer.shutdown.remote()) + except ray.exceptions.RayError: + logger.warning("Could not shut down failed cluster initialization") + ray.kill(self.producer, no_restart=True) + raise + self.handle = ComputeClusterHandle(self.producer) + self._broken = False + + def _recover(self) -> None: + if self._broken: + with self._lock: + if self._broken: + ray = _ray() + driver = ray.get_runtime_context().get_node_id() + workers = [ + node["NodeID"] + for node in ray.nodes() + if node["Alive"] + and node["NodeID"] != driver + and node["Resources"].get("CPU", 0) >= 1 + ] + if not workers: + raise RuntimeError( + "No remote CPU node available for preparation." + ) + self._worker = workers[0] + self._start_producer() + + def _coalesce(self, key: tuple, operation: Callable[[], Any]) -> Any: + with self._lock: + future = self._inflight.get(key) + owner = future is None + if owner: + future = Future() + self._inflight[key] = future + assert future is not None + if not owner: + return future.result() + try: + result = operation() + future.set_result(result) + return result + except BaseException as error: + if isinstance(error, _ray().exceptions.RayActorError): + self._broken = True + future.set_exception(error) + raise + finally: + with self._lock: + del self._inflight[key] + + def snapshot(self, graph: Any, precision: str, record_sources: bool) -> Any: + self._recover() + return self._coalesce( + ("snapshot", graph.id, precision, record_sources), + lambda: self.handle.load( + _ray().get( + self.producer.snapshot.remote(graph, precision, record_sources) + ) + ), + ) + + def table(self, query: Any, snapshot: Any, plan: Any) -> Any: + self._recover() + handle = snapshot._artifact_handle + if not isinstance(handle, ArtifactHandle): + raise TypeError("Cluster preparation needs a cluster-published snapshot.") + return self._coalesce( + ("table", query.query, handle, repr(plan)), + lambda: self.handle.load( + _ray().get(self.producer.table.remote(query, handle, plan)) + ), + ) + + def shutdown(self) -> None: + try: + _ray().get(self.producer.shutdown.remote()) + finally: + _ray().kill(self.producer, no_restart=True) + + +_CURRENT: ComputeCluster | None = None +_CONFIG_LOCK = threading.RLock() + + +def configure_cluster(config: ComputeClusterConfig) -> None: + """Create the process singleton; equal repeated configuration is a no-op.""" + global _CURRENT + with _CONFIG_LOCK: + if _CURRENT is not None: + if _CURRENT.config != config: + raise ValueError("Compute cluster is already configured differently.") + return + _CURRENT = ComputeCluster(config) + + +def preparation_cluster(mlops: Any = None) -> ComputeCluster | None: + """Select cluster routing and reject overlapping MLOps scopes.""" + if _CURRENT is not None and resolve(mlops) is not None: + raise ValueError( + "Cluster preparation cannot use mlops= or a kumo.mlops context." + ) + return _CURRENT + + +def get_compute_cluster_handle() -> ComputeClusterHandle: + """Return the serializable runtime loader. + + Raises: + RuntimeError: No compute cluster is configured. + """ + if _CURRENT is None: + raise RuntimeError("No compute cluster configured.") + return _CURRENT.handle + + +def shutdown_compute_cluster() -> None: + """Release owned actors and singleton state, keeping Ray and artifacts intact.""" + global _CURRENT + with _CONFIG_LOCK: + current, _CURRENT = _CURRENT, None + if current is not None: + current.shutdown() diff --git a/packages/kumo-engine/kumo/engine/_snapshot_io.py b/packages/kumo-engine/kumo/engine/_snapshot_io.py index 63681018a..c0b1c09f1 100644 --- a/packages/kumo-engine/kumo/engine/_snapshot_io.py +++ b/packages/kumo-engine/kumo/engine/_snapshot_io.py @@ -204,7 +204,19 @@ def export_location(snapshot: Any, path: str) -> str: return f"{path.rstrip('/')}/{graph_key}/{data_version[:16]}" -def store(snapshot: Any, settings: Any) -> None: +def store(snapshot: Any, settings: Any) -> Any: + """Store a snapshot using its existing export format. + + Args: + snapshot: Complete local snapshot to persist. + settings: MLOps artifact root and publication settings. + + Returns: + Reference pinned to the published snapshot generation. + + Raises: + RuntimeError: Snapshot export or manifest loading fails. + """ from kumo.engine._manifest import SnapshotManifest from kumo.engine._mlops import snapshot_path @@ -222,12 +234,29 @@ def store(snapshot: Any, settings: Any) -> None: if not (isinstance(marker, dict) and marker.get('format') == _FORMAT and marker.get('snapshot_id') == snapshot.id): export(snapshot, connector, path) + from kumo.engine._artifact_publishers import repository + + return repository(settings).lookup('snapshot', snapshot.id) except Exception as error: raise RuntimeError(f"Could not store snapshot {snapshot.id} under the " f"artifact root: {error}") from error def export(snapshot: Any, connector: Any, path: str) -> str: + """Export a snapshot and notify any active cluster replicas as files finish. + + Args: + snapshot: Complete local native snapshot. + connector: Destination storage connector. + path: Parent directory for graph/version exports. + + Returns: + Snapshot export location within the destination connector. + + Raises: + OSError: A payload or manifest cannot be published. + ValueError: Snapshot files or metadata are invalid. + """ from diskgraph import snapshot_range_checksums from kumo.engine._provenance import environment @@ -245,6 +274,11 @@ def export(snapshot: Any, connector: Any, path: str) -> str: generation = uuid.uuid4().hex filesystem, root = _location(connector, location) base = f'{root}/{generation}' + from kumo.engine._artifact_publishers import publication_event + from kumo.engine._artifact_repository import ArtifactHandle + + handle = ArtifactHandle('snapshot', snapshot.id, generation, location) + publication_event('start', handle) def upload(client: FileSystem, name: str, stop: threading.Event) -> None: size = sizes[name] @@ -257,34 +291,40 @@ def upload(client: FileSystem, name: str, stop: threading.Event) -> None: raise OSError(f'{source / name} changed while it was ' 'exported') writer.write(chunk) + publication_event('file', handle, name, size) - names = sorted(sizes, key=lambda name: -sizes[name]) - with ThreadPoolExecutor(1) as pool: - checksums = pool.submit(snapshot_range_checksums, str(source), - _RANGE_BYTES) - _transfer(connector, location, names, - [sizes[name] for name in names], upload, 'export') - crc32 = checksums.result() - _write(filesystem, f'{base}/index/{_INDEX_MANIFEST}', index_manifest) - _write(filesystem, f'{base}/{PROVENANCE_FILE}', snapshot_manifest) - marker = { - 'format': _FORMAT, - 'snapshot_id': snapshot.id, - 'generation': generation, - 'graph_key': graph_key, - 'data_version': data_version, - 'index_manifest': _fingerprint(index_manifest), - 'graph_config': snapshot.graph_config, - 'environment': environment().to_dict(), - 'range_bytes': _RANGE_BYTES, - 'crc32': crc32, - } - _commit(filesystem, root, generation, json.dumps(marker).encode()) try: - (source / _EXPORT_IDENTITY).write_text(export_identity(marker)) - except OSError: - pass - return location + names = sorted(sizes, key=lambda name: -sizes[name]) + with ThreadPoolExecutor(1) as pool: + checksums = pool.submit(snapshot_range_checksums, str(source), + _RANGE_BYTES) + _transfer(connector, location, names, + [sizes[name] for name in names], upload, 'export') + crc32 = checksums.result() + _write(filesystem, f'{base}/index/{_INDEX_MANIFEST}', index_manifest) + _write(filesystem, f'{base}/{PROVENANCE_FILE}', snapshot_manifest) + marker = { + 'format': _FORMAT, + 'snapshot_id': snapshot.id, + 'generation': generation, + 'graph_key': graph_key, + 'data_version': data_version, + 'index_manifest': _fingerprint(index_manifest), + 'graph_config': snapshot.graph_config, + 'environment': environment().to_dict(), + 'range_bytes': _RANGE_BYTES, + 'crc32': crc32, + } + _commit(filesystem, root, generation, json.dumps(marker).encode()) + publication_event('commit', handle) + try: + (source / _EXPORT_IDENTITY).write_text(export_identity(marker)) + except OSError: + pass + return location + except BaseException: + publication_event('abort', handle) + raise def _holds_copy(connector: Any, location: str, snapshot_id: str, diff --git a/packages/kumo-engine/kumo/engine/config.py b/packages/kumo-engine/kumo/engine/config.py index f3d5f1958..58dd7fcd7 100644 --- a/packages/kumo-engine/kumo/engine/config.py +++ b/packages/kumo-engine/kumo/engine/config.py @@ -1,22 +1,10 @@ # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. # All rights reserved. # SPDX-License-Identifier: Apache-2.0 -r"""`configure(...)`: the one process-wide, opt-in setup call this package -has. - -Everything else in `kumo.engine` is constructed and threaded through directly, no -`Backend`/`kumoai_studio.init(...)` needed. Scratch-directory placement is the -one exception: `Graph.snapshot()`'s DiskGraph ingest and `Trainer.fit`/`predict` -all read and write a shared local filesystem root -(`kumo.settings.scratch_dir()`, default `~/.cache/kumo-engine`) -directly, for the same reason `kumo_core.config.NativeRuntimeConfig` keeps -`scratch_root` explicit rather than hardcoded -- so it can be pointed at a -local NVMe SSD mount instead. - -Call `configure(...)` once, early -- before constructing any `Graph`/ -`Trainer`/etc. -- not mid-session: nothing here re-reads it after a -scratch-directory path has already been computed and used by an -in-progress `Graph`/`Trainer`. +"""Process-wide scratch placement and optional remote artifact preparation. + +Configure before starting work. Existing artifact objects retain their own +physical paths when the scratch setting changes. """ from pathlib import Path @@ -24,13 +12,15 @@ import kumo.settings +from kumo.engine._compute_cluster import ComputeClusterConfig, configure_cluster + def configure( *, scratch_dir: Optional[Union[str, Path]] = None, + compute_cluster: ComputeClusterConfig | None = None, ) -> None: - r"""Sets process-wide configuration for this package. Same as - `kumo.settings.configure`. + r"""Set scratch placement and optionally enable Ray preparation. Args: scratch_dir: where `Graph.snapshot()`'s DiskGraph ingest and @@ -42,7 +32,13 @@ def configure( remote URI (an `s3://`/`gs://` path, a Snowflake stage) isn't accepted here. `None` leaves the current setting unchanged. + compute_cluster: Enable remote preparation on an initialized Ray cluster. + Equal repeated configuration is a no-op; conflicting settings fail. + Raises: - ValueError: if `scratch_dir` isn't a local filesystem path. + ValueError: Scratch is remote or cluster reconfiguration conflicts. + RuntimeError: Ray is uninitialized or no remote CPU node is available. """ kumo.settings.configure(scratch_dir=scratch_dir) + if compute_cluster is not None: + configure_cluster(compute_cluster) diff --git a/packages/kumo-engine/kumo/engine/connector/adls.py b/packages/kumo-engine/kumo/engine/connector/adls.py index f8876e7d8..1326a90b8 100644 --- a/packages/kumo-engine/kumo/engine/connector/adls.py +++ b/packages/kumo-engine/kumo/engine/connector/adls.py @@ -54,6 +54,11 @@ def __init__(self, *, root_dir: Optional[str] = None, self.prefix = getattr(target, 'prefix', None) self.endpoint_suffix = getattr(target, 'endpoint_suffix', None) + self._constructor_settings = { + 'root_dir': root_dir, + 'identity': self.identity, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.ADLS diff --git a/packages/kumo-engine/kumo/engine/connector/base.py b/packages/kumo-engine/kumo/engine/connector/base.py index 38e446e97..9dff4e1f9 100644 --- a/packages/kumo-engine/kumo/engine/connector/base.py +++ b/packages/kumo-engine/kumo/engine/connector/base.py @@ -53,12 +53,17 @@ class Connector(ABC): than by name/id. Concrete connectors select an ambient identity by default where supported; Snowflake requires a configured identity to connect. """ + _constructor_settings: dict + def __init__(self, identity: Optional[Identity] = None) -> None: self.identity = identity self._principal: Principal | None = ( None if identity is None else identity.principal) self.identity_id = identity.slug if identity is not None else None + def __reduce__(self) -> tuple: + return _reconstruct_connector, (type(self), self._constructor_settings) + @property @abstractmethod def source_type(self) -> Union[DataSourceType, Literal['LOCAL_FILE']]: @@ -167,3 +172,9 @@ def has_table(self, table_name: str) -> bool: def __contains__(self, table_name: str) -> bool: return self.has_table(table_name) + + +def _reconstruct_connector( + connector_type: type[Connector], settings: dict) -> Connector: + """Open worker-local backends from constructor inputs only.""" + return connector_type(**settings) diff --git a/packages/kumo-engine/kumo/engine/connector/bigquery.py b/packages/kumo-engine/kumo/engine/connector/bigquery.py index c41ab49d0..f0970b8fc 100644 --- a/packages/kumo-engine/kumo/engine/connector/bigquery.py +++ b/packages/kumo-engine/kumo/engine/connector/bigquery.py @@ -70,6 +70,16 @@ def __init__( self.staging_uri = staging_uri self.require_staged = require_staged + self._constructor_settings = { + 'project_id': project_id, + 'dataset_id': dataset_id, + 'identity': self.identity, + 'location': location, + 'billing_project_id': billing_project_id, + 'staging_uri': staging_uri, + 'require_staged': require_staged, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.BIGQUERY diff --git a/packages/kumo-engine/kumo/engine/connector/databricks.py b/packages/kumo-engine/kumo/engine/connector/databricks.py index ba84ba3d4..dc9f8fbdd 100644 --- a/packages/kumo-engine/kumo/engine/connector/databricks.py +++ b/packages/kumo-engine/kumo/engine/connector/databricks.py @@ -76,6 +76,16 @@ def __init__( self.staging_volume_path = staging_volume_path self.require_staged = require_staged + self._constructor_settings = { + 'catalog': catalog, + 'schema_name': schema_name, + 'identity': self.identity, + 'warehouse_id': warehouse_id, + 'cluster_id': cluster_id, + 'staging_volume_path': staging_volume_path, + 'require_staged': require_staged, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.DATABRICKS diff --git a/packages/kumo-engine/kumo/engine/connector/file.py b/packages/kumo-engine/kumo/engine/connector/file.py index e5b161e41..c968bee0f 100644 --- a/packages/kumo-engine/kumo/engine/connector/file.py +++ b/packages/kumo-engine/kumo/engine/connector/file.py @@ -266,6 +266,10 @@ def __init__(self, *, root_dir: str): raise ValueError('root_dir must be a directory.') self._config = FileConnectorConfig(str(root)) + self._constructor_settings = { + 'root_dir': root_dir, + } + @property def source_type(self) -> Literal['LOCAL_FILE']: return 'LOCAL_FILE' diff --git a/packages/kumo-engine/kumo/engine/connector/gcs.py b/packages/kumo-engine/kumo/engine/connector/gcs.py index f16078c87..90cb4c3f4 100644 --- a/packages/kumo-engine/kumo/engine/connector/gcs.py +++ b/packages/kumo-engine/kumo/engine/connector/gcs.py @@ -84,6 +84,12 @@ def __init__( target, GCSRootedConnectorTarget) else None) self.requester_pays_project = self._config.requester_pays_project + self._constructor_settings = { + 'root_dir': root_dir, + 'identity': self.identity, + 'requester_pays_project': requester_pays_project, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.GCS diff --git a/packages/kumo-engine/kumo/engine/connector/s3.py b/packages/kumo-engine/kumo/engine/connector/s3.py index 3a6fb7fd2..eb53a60c1 100644 --- a/packages/kumo-engine/kumo/engine/connector/s3.py +++ b/packages/kumo-engine/kumo/engine/connector/s3.py @@ -91,6 +91,12 @@ def __init__( self.region = (target.region if isinstance(target, S3RootedConnectorTarget) else None) + self._constructor_settings = { + 'root_dir': root_dir, + 'identity': self.identity, + 'region': region, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.S3 diff --git a/packages/kumo-engine/kumo/engine/connector/snowflake.py b/packages/kumo-engine/kumo/engine/connector/snowflake.py index 31301631c..399b85be3 100644 --- a/packages/kumo-engine/kumo/engine/connector/snowflake.py +++ b/packages/kumo-engine/kumo/engine/connector/snowflake.py @@ -72,6 +72,14 @@ def __init__( self.database = self._config.database self.schema_name = self._config.schema_name + self._constructor_settings = { + 'warehouse': warehouse, + 'database': database, + 'schema_name': schema_name, + 'identity': self.identity, + 'role': role, + } + @property def source_type(self) -> DataSourceType: return DataSourceType.SNOWFLAKE diff --git a/packages/kumo-engine/kumo/engine/graph.py b/packages/kumo-engine/kumo/engine/graph.py index cb98d6ae9..6a4c1f4c0 100644 --- a/packages/kumo-engine/kumo/engine/graph.py +++ b/packages/kumo-engine/kumo/engine/graph.py @@ -43,9 +43,8 @@ `FileLock`, not `SoftFileLock`: it's a real OS-level advisory lock (`flock`/`LockFileEx`), so the kernel releases it even if a process crashes mid-build, unlike a lock-file-existence mutex, which would leave a -stale lock behind. Deliberately not ported from the cloud SDK: its -`Storage`/`ArtifactLocation`-backed durable restore/checkpoint layer (a -remote/durable cache, e.g. a Snowflake stage) -- out of scope for now. +stale lock behind. MLOps and optional Ray +preparation share immutable publication through the private artifact repository. """ import json @@ -74,6 +73,7 @@ from kumoapi.graph import Edge from kumoapi.typing import TimestampPrecision, validate_timestamp_precision +from kumo.engine._artifact_repository import ArtifactHandle from kumo.engine._events import Event, EventEmitter from kumo.engine._manifest import ( RECONSTRUCTED, @@ -421,7 +421,8 @@ def _source_change(table: Table, recorded: Optional[SourceTableEntry], now = _current_source(table, record_sources) before = None if recorded is None else recorded.version current = None if now is None else now.version - known = (None not in (recorded, now, before, current) + known = (recorded is not None and now is not None + and before is not None and current is not None and {recorded.version_kind, now.version_kind} <= _COMPARABLE and _place(recorded) == _place(now)) status = ('unknown' if not known else @@ -468,6 +469,13 @@ class GraphSnapshot: graph_config: Dict[str, Any] record_sources: bool | None = field(default=None, compare=False) _version: str | None = field(default=None, compare=False, repr=False) + _artifact_handle: ArtifactHandle | None = field( + default=None, compare=False, repr=False) + + @property + def artifact_handle(self) -> ArtifactHandle | None: + """Pinned reference for worker-local loading, if published.""" + return self._artifact_handle @property def _graph_key(self) -> str: @@ -525,6 +533,9 @@ def load_from_connector(cls, connector: Connector, *, index_path=Path(result.index_path), _version=manifest['data_version'], graph_config=manifest['graph_config']) + provenance = snapshot.manifest + if provenance is not None: + snapshot = replace(snapshot, record_sources=provenance.record_sources) if graph is not None: snapshot._warn_changed_sources(graph, path) return snapshot @@ -824,6 +835,15 @@ def snapshot(self, SQL text. callbacks: called with each progress `Event`. """ + from kumo.engine._compute_cluster import preparation_cluster + + cluster = preparation_cluster(mlops) + if cluster is not None: + if callbacks: + raise ValueError( + 'Cluster snapshot progress uses storage notifications; ' + 'callbacks are not supported.') + return cluster.snapshot(self, timestamp_precision, record_sources) with scoped_scratch_dir(get_scratch_dir().resolve()): return self._snapshot_in_root(timestamp_precision, record_sources, mlops, callbacks) @@ -864,6 +884,11 @@ def _snapshot_in_root( events.emit('snapshot_started', params={ 'graph': graph_key, 'tables': list(self._named_tables)}) with _lock(graph_key): + if settings is not None and settings.wants('snapshot'): + cached = self._cached_snapshot(settings, timestamp_precision, + record_sources) + if cached is not None: + return cached snapshot = self._snapshot_no_lock(graph_key, persist_dir, timestamp_precision, record_sources, events, @@ -873,11 +898,44 @@ def _snapshot_in_root( from kumo.engine._snapshot_io import store try: - store(snapshot, settings) + snapshot = replace(snapshot, _artifact_handle=store(snapshot, settings)) except Exception as error: raise_on_error(settings, error, 'Graph.snapshot') return snapshot + def _cached_snapshot(self, settings: Any, timestamp_precision: TimestampPrecision, + record_sources: bool) -> Optional[GraphSnapshot]: + from kumoapi.source_table import CustomSQLSourceTable + + from kumo.engine._artifact_publishers import load_artifact, repository + + versions = {} + reusable = True + for alias, table in self._named_tables.items(): + if isinstance(table.definition.source_table, CustomSQLSourceTable): + from kumo.engine._infer import infer_source_columns + + infer_source_columns(table.connector, table.table_name, + sql=table.definition.source_table.sql) + reusable = False + continue + version = table.connector.source_backend.get_data_version( + table.connector, table.table_name) + if version_kind(version) == 'unknown': + reusable = False + versions[alias] = version + if not reusable: + return None + parts = [json.dumps(versions, sort_keys=True).encode()] + if timestamp_precision != 'seconds': + parts.append(timestamp_precision.encode()) + if not record_sources: + parts.append(b'redacted') + version = fingerprint(*parts) + repo = repository(settings) + handle = repo.lookup('snapshot', _snapshot_id(self.id, version)) + return None if handle is None else load_artifact(repo, handle) + def _snapshot_no_lock( self, graph_key: str, persist_dir: Path, timestamp_precision: TimestampPrecision = 'seconds', @@ -971,6 +1029,8 @@ def _snapshot_no_lock( ] if timestamp_precision != 'seconds': version_parts.append(timestamp_precision.encode()) + if not record_sources: + version_parts.append(b'redacted') unknown = sorted(alias for alias, version in table_data_versions.items() if version_kind(version) == 'unknown') diff --git a/packages/kumo-engine/kumo/engine/pquery/predictive_query.py b/packages/kumo-engine/kumo/engine/pquery/predictive_query.py index f51ab66e5..a4daaa0f4 100644 --- a/packages/kumo-engine/kumo/engine/pquery/predictive_query.py +++ b/packages/kumo-engine/kumo/engine/pquery/predictive_query.py @@ -252,6 +252,11 @@ def generate_training_table( mlops: a `kumo.MLOps`; with MLOps on (this or a `kumo.mlops` block), the table is also stored under the artifact root. """ + from kumo.engine._compute_cluster import preparation_cluster + + cluster = preparation_cluster(mlops) + if cluster is not None: + return cluster.table(self, snapshot, plan) self._require_matching_snapshot(snapshot) for name in ('train_table_path_override', 'task_path_override'): if plan is not None and getattr(plan, name) is not None: @@ -311,6 +316,20 @@ def generate_training_table( or {})), ) + from kumo.engine._artifact_publishers import cached_table + from kumo.engine._mlops import resolve + from kumo.engine.pquery.training_table import _RANDOM_SPLITS + + seed = ((task_plan.train_table.split_config or {}).get('rnd_seed') or 0 + if task_plan.train_table.split_family in _RANDOM_SPLITS else None) + descriptor = TrainingTable(self.query, run_dir, run_dir, run_dir, + task_plan.task_dataset.required_stages, + generation_plan) + settings = resolve(mlops) + if settings is not None and settings.wants('training_table'): + cached = cached_table(settings, descriptor, snapshot, seed) + if cached is not None: + return cached generated = generate_train_table(task_plan.train_table) table = TrainingTable( diff --git a/packages/kumo-engine/kumo/engine/pquery/training_table.py b/packages/kumo-engine/kumo/engine/pquery/training_table.py index 131a7e869..4e12bdd67 100644 --- a/packages/kumo-engine/kumo/engine/pquery/training_table.py +++ b/packages/kumo-engine/kumo/engine/pquery/training_table.py @@ -20,11 +20,13 @@ from kumoapi.train import TrainingTableSpec from kumo.engine import _provenance as provenance +from kumo.engine._artifact_repository import ArtifactHandle from kumo.engine._manifest import ( SourceTableEntry, TrainingTableManifest, TrainingTableParents, embedded, + manifest_bytes, read_manifest, stamp, stub, @@ -60,10 +62,20 @@ class TrainingTable: #: Effective generation settings carried forward into ``Trainer.fit``. generation_plan: TrainingTableGenerationPlan id: Optional[str] = field(default=None, compare=False) + _artifact_handle: ArtifactHandle | None = field( + default=None, compare=False, repr=False) + _ingested_path: Path | None = field(default=None, compare=False, repr=False) + _stored_manifest: TrainingTableManifest | None = field( + default=None, compare=False, repr=False) _ingested_snapshot_build: str | None = field( default=None, compare=False, repr=False) + @property + def artifact_handle(self) -> ArtifactHandle | None: + """Pinned reference for worker-local loading, if published.""" + return self._artifact_handle + @property def tt_id(self) -> str: """The DiskGraph id of this table.""" @@ -74,6 +86,8 @@ def tt_id(self) -> str: @property def manifest(self) -> Optional[TrainingTableManifest]: """The recorded manifest, if any.""" + if self._stored_manifest is not None: + return self._stored_manifest return read_manifest(self.staging_dir / PROVENANCE_FILE, TrainingTableManifest) @@ -119,6 +133,8 @@ def _export_sidecars(self, connector, output_config) -> Dict[str, Any]: return {'sidecars': sidecars} if sidecars else {} def _sidecars(self) -> Dict[str, bytes]: + if self._stored_manifest is not None: + return {PROVENANCE_FILE: manifest_bytes(self._stored_manifest)} manifest = self.staging_dir / PROVENANCE_FILE try: if not manifest.is_file(): diff --git a/packages/kumo-engine/pyproject.toml b/packages/kumo-engine/pyproject.toml index 2b1a21be2..b0cdd76ed 100644 --- a/packages/kumo-engine/pyproject.toml +++ b/packages/kumo-engine/pyproject.toml @@ -35,6 +35,7 @@ classifiers=[ ] [project.optional-dependencies] +cluster=["ray>=2.40,<3"] plots=["matplotlib>=3.10.0"] # Keep the required backend on Linux x86_64/macOS; both distributions own # the same import namespace. This extra does not select Torch or its device. diff --git a/packages/kumo-engine/test/test_artifact_repository.py b/packages/kumo-engine/test/test_artifact_repository.py new file mode 100644 index 000000000..65decc077 --- /dev/null +++ b/packages/kumo-engine/test/test_artifact_repository.py @@ -0,0 +1,257 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Publication, streaming replication, immutable reuse, and failure recovery.""" + +import json +from pathlib import Path +from unittest.mock import Mock + +import pytest +from kumo.engine._artifact_repository import ( + ArtifactEvent, + ArtifactRepository, +) +from kumo.engine._scratch import scoped_scratch_dir +from kumo.engine.connector import FileConnector + + +@pytest.fixture +def repository_pair(tmp_path: Path) -> tuple[ArtifactRepository, Path, Path]: + """Provide real file transport between isolated producer and replica roots.""" + storage = tmp_path / "storage" + storage.mkdir() + connector = FileConnector(root_dir=str(storage)) + source = tmp_path / "source" + source.mkdir() + (source / "a.bin").write_bytes(b"first completed file") + (source / "nested").mkdir() + (source / "nested/b.bin").write_bytes(b"last completed file") + return ArtifactRepository(connector, ""), source, storage + + +def test_replication_starts_before_publication_finishes( + repository_pair: tuple[ArtifactRepository, Path, Path], tmp_path: Path +) -> None: + """An earlier file reaches staging before the later upload or commit.""" + repo, source, storage = repository_pair + replica = ArtifactRepository(repo.connector, "") + events = [] + + def observe(event: ArtifactEvent) -> None: + events.append(event) + replica.receive(event) + if event.action == "file" and event.relative_path == "a.bin": + cache = replica._cache(event.handle) + assert (cache.with_suffix(".staging") / "a.bin").read_bytes() == ( + source / "a.bin" + ).read_bytes() + assert not cache.exists() + assert not (storage / event.handle.path / "kumo_artifact.json").exists() + if event.action == "commit": + replica.materialize(event.handle) + + repo.observer = observe + with scoped_scratch_dir(tmp_path / "replica"): + handle = repo.publish( + "training_table", "tt-example", source, {"rows": "native"} + ) + local = replica.materialize(handle) + assert (local / "nested/b.bin").read_bytes() == ( + source / "nested/b.bin" + ).read_bytes() + assert [event.action for event in events] == ["start", "file", "file", "commit"] + assert repo.lookup("training_table", handle.key) == handle + + +def test_reuse_has_no_uploads_or_notifications( + repository_pair: tuple[ArtifactRepository, Path, Path], + monkeypatch: pytest.MonkeyPatch, +) -> None: + """A valid hit keeps the generation and provenance untouched.""" + repo, source, _ = repository_pair + first = repo.publish("training_table", "tt-example", source, {"value": "original"}) + monkeypatch.setattr( + "kumo.engine._artifact_repository._open_output", + Mock(side_effect=AssertionError("cache hit uploaded a payload")), + ) + repo.observer = Mock(side_effect=AssertionError("cache hit emitted an event")) + second = repo.publish( + "training_table", "tt-example", source, {"value": "replacement"} + ) + assert first == second + assert repo.manifest(first)["metadata"] == {"value": "original"} + + +def test_duplicate_and_missing_events_reconcile( + repository_pair: tuple[ArtifactRepository, Path, Path], tmp_path: Path +) -> None: + """Final inventory recovers missed notifications and ignores duplicates.""" + repo, source, _ = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + with scoped_scratch_dir(tmp_path / "replica"): + event = ArtifactEvent( + "file", handle, "a.bin", (source / "a.bin").stat().st_size + ) + repo.receive(event) + repo.receive(event) + local = repo.materialize(handle) + assert (local / "nested/b.bin").read_bytes() == b"last completed file" + assert repo.materialize(handle) == local + + +def test_abort_fences_late_events_and_retry_recovers( + repository_pair: tuple[ArtifactRepository, Path, Path], tmp_path: Path +) -> None: + """Failed notification leaves a miss; retries use a fresh immutable generation.""" + repo, source, _ = repository_pair + events = [] + + def fail(event: ArtifactEvent) -> None: + events.append(event) + repo.receive(event) + if event.action == "file": + raise OSError("replica unavailable") + + repo.observer = fail + with scoped_scratch_dir(tmp_path / "replica"): + with pytest.raises(OSError, match="unavailable"): + repo.publish("training_table", "tt-example", source, {}) + assert repo.lookup("training_table", "tt-example") is None + aborted = events[-1].handle + repo.receive(ArtifactEvent("file", aborted, "late.bin", 1)) + assert not (repo._cache(aborted).with_suffix(".staging") / "late.bin").exists() + repo.observer = None + retried = repo.publish("training_table", "tt-example", source, {}) + assert retried.generation != aborted.generation + assert repo.materialize(retried).is_dir() + + +def test_corrupt_committed_payload_is_reported( + repository_pair: tuple[ArtifactRepository, Path, Path], tmp_path: Path +) -> None: + """A corrupt publication is never silently overwritten.""" + repo, source, storage = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + (storage / handle.path / handle.generation / "files/a.bin").write_bytes(b"corrupt") + with pytest.raises(ValueError, match="Corrupt committed"): + repo.publish("training_table", "tt-example", source, {}) + with scoped_scratch_dir(tmp_path / "replica"): + with pytest.raises(ValueError, match="Truncated|Corrupt"): + repo.materialize(handle) + assert not repo._cache(handle).exists() + + +def test_incompatible_commit_is_reported( + repository_pair: tuple[ArtifactRepository, Path, Path], +) -> None: + """Build incompatibility fails reuse before reading payloads.""" + repo, source, storage = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + inventory = storage / handle.path / handle.generation / "inventory.json" + manifest = json.loads(inventory.read_text()) + manifest["compatibility"]["diskgraph"] = "incompatible" + inventory.write_text(json.dumps(manifest)) + with pytest.raises(ValueError, match="incompatible"): + repo.lookup("training_table", "tt-example") + + +@pytest.mark.parametrize("name", ["../escape", "/absolute", "nested/../escape", "a\\b"]) +def test_event_paths_are_confined( + repository_pair: tuple[ArtifactRepository, Path, Path], name: str, tmp_path: Path +) -> None: + """Untrusted event paths cannot escape the node-local generation cache.""" + repo, source, _ = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + with ( + scoped_scratch_dir(tmp_path / "replica"), + pytest.raises(ValueError, match="relative path"), + ): + repo.receive(ArtifactEvent("file", handle, name, 1)) + + +def test_later_upload_blocks_while_earlier_file_replicates( + repository_pair: tuple[ArtifactRepository, Path, Path], + tmp_path: Path, + monkeypatch: pytest.MonkeyPatch, +) -> None: + """A replica consumes file one while file two's upload remains open.""" + import threading + from contextlib import contextmanager + + from kumo.engine import _artifact_repository as storage + + repo, source, _ = repository_pair + original = storage._open_output + downloaded = threading.Event() + later_closed = threading.Event() + + @contextmanager + def blocked(filesystem, path: str, size: int): + with original(filesystem, path, size) as stream: + yield stream + if path.endswith("nested/b.bin"): + assert downloaded.wait(5) + if path.endswith("nested/b.bin"): + later_closed.set() + + def observe(event: ArtifactEvent) -> None: + repo.receive(event) + if event.action == "file" and event.relative_path == "a.bin": + assert not later_closed.is_set() + assert ( + repo._cache(event.handle).with_suffix(".staging") / "a.bin" + ).read_bytes() == (source / "a.bin").read_bytes() + downloaded.set() + + monkeypatch.setattr(storage, "_open_output", blocked) + repo.observer = observe + with scoped_scratch_dir(tmp_path / "replica"): + handle = repo.publish("training_table", "tt-example", source, {}) + assert repo.materialize(handle).is_dir() + assert downloaded.is_set() and later_closed.is_set() + + +def test_interrupted_staging_is_repaired( + repository_pair: tuple[ArtifactRepository, Path, Path], tmp_path: Path +) -> None: + """Same-size partial staging is fetched again before exposure.""" + repo, source, _ = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + with scoped_scratch_dir(tmp_path / "replica"): + staging = repo._cache(handle).with_suffix(".staging") + staging.mkdir(parents=True) + original = (source / "a.bin").read_bytes() + (staging / "a.bin").write_bytes(b"x" * len(original)) + assert (repo.materialize(handle) / "a.bin").read_bytes() == original + + +@pytest.mark.parametrize("reference", [None, [], {}, {"generation": "../escape"}]) +def test_malformed_committed_reference_is_reported( + repository_pair: tuple[ArtifactRepository, Path, Path], reference: object +) -> None: + """Present but malformed references cannot be treated as cache misses.""" + repo, source, storage = repository_pair + handle = repo.publish("training_table", "tt-example", source, {}) + marker = storage / handle.path / "kumo_artifact.json" + marker.write_text(json.dumps(reference)) + with pytest.raises(ValueError, match="Corrupt native artifact reference"): + repo.lookup("training_table", "tt-example") + + +def test_legacy_warehouse_reader_is_preserved(monkeypatch: pytest.MonkeyPatch) -> None: + """Warehouse row sources bypass native bundle detection.""" + from unittest.mock import MagicMock + + from kumo.engine.pquery.training_table import TrainingTable + + connector = MagicMock() + monkeypatch.setattr("kumo.engine.connector.file_store", lambda *args: None) + expected = object() + legacy = Mock(return_value=expected) + monkeypatch.setattr(TrainingTable, "from_source_table", legacy) + result = TrainingTable.load_from_connector( + connector, path="DB.SCHEMA.ROWS", pquery=Mock(), snapshot=Mock() + ) + assert result is expected + legacy.assert_called_once() diff --git a/packages/kumo-engine/test/test_compute_cluster.py b/packages/kumo-engine/test/test_compute_cluster.py new file mode 100644 index 000000000..c1257afbb --- /dev/null +++ b/packages/kumo-engine/test/test_compute_cluster.py @@ -0,0 +1,241 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Cluster configuration, routing, request coalescing, and Ray integration.""" + +import os +import threading +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path +from unittest.mock import Mock + +import kumo.engine as kumo +import pytest +from kumo.engine import _compute_cluster as cluster_module +from kumo.engine._artifact_repository import ArtifactEvent, ArtifactHandle + + +def test_cluster_requires_both_storage_kinds(tmp_path: Path) -> None: + """Incomplete MLOps settings fail before actor allocation.""" + with pytest.raises(ValueError, match="snapshot and training_table"): + kumo.ComputeClusterConfig(kumo.MLOps(str(tmp_path), store={"snapshot"})) + + +def test_singleton_equal_configuration_and_shutdown( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + """Repeated configuration creates one runtime; shutdown owns only its actors.""" + monkeypatch.setattr(cluster_module, "_CURRENT", None) + runtime = Mock() + constructor = Mock(return_value=runtime) + monkeypatch.setattr(cluster_module, "ComputeCluster", constructor) + config = kumo.ComputeClusterConfig(kumo.MLOps(str(tmp_path))) + runtime.config = config + cluster_module.configure_cluster(config) + cluster_module.configure_cluster(config) + assert constructor.call_count == 1 + other = kumo.ComputeClusterConfig(kumo.MLOps(str(tmp_path / "other"))) + with pytest.raises(ValueError, match="differently"): + cluster_module.configure_cluster(other) + kumo.shutdown_compute_cluster() + runtime.shutdown.assert_called_once() + assert cluster_module._CURRENT is None + + +def test_mlops_context_is_rejected_only_for_cluster_preparation( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + """Both explicit and ambient MLOps conflict with configured preparation.""" + monkeypatch.setattr(cluster_module, "_CURRENT", Mock()) + settings = kumo.MLOps(str(tmp_path)) + with pytest.raises(ValueError, match="cannot use"): + cluster_module.preparation_cluster(settings) + with kumo.mlops(settings), pytest.raises(ValueError, match="cannot use"): + cluster_module.preparation_cluster() + + +def test_matching_concurrent_calls_share_one_generation() -> None: + """All waiting callers receive the same object from one producer request.""" + runtime = object.__new__(cluster_module.ComputeCluster) + runtime._lock = threading.Lock() + runtime._inflight = {} + entered = threading.Event() + release = threading.Event() + result = object() + calls = [] + + def generate(): + calls.append(1) + entered.set() + assert release.wait(5) + return result + + with ThreadPoolExecutor(2) as pool: + first = pool.submit(runtime._coalesce, ("same",), generate) + assert entered.wait(5) + # Hold the request open until the second caller has selected the future. + original_result = next(iter(runtime._inflight.values())).result + waiting = threading.Event() + + def await_result(*args, **kwargs): + waiting.set() + return original_result(*args, **kwargs) + + next(iter(runtime._inflight.values())).result = await_result + second = pool.submit(runtime._coalesce, ("same",), generate) + assert waiting.wait(5) + release.set() + assert first.result() is result and second.result() is result + assert calls == [1] + assert runtime._inflight == {} + + +def test_notification_queue_applies_backpressure( + monkeypatch: pytest.MonkeyPatch, +) -> None: + """Each replica submission observes the fixed pending task limit.""" + producer = object.__new__(cluster_module._Producer) + ray = Mock() + ray.get_runtime_context.return_value.get_node_id.return_value = "producer" + ray.wait.side_effect = lambda tasks, num_returns: (tasks[:1], tasks[1:]) + monkeypatch.setattr(cluster_module, "_ray", lambda: ray) + producer.replicas = {"replica": Mock(), "producer": Mock()} + producer.pending = [] + producer._notification_lock = threading.Lock() + producer.max_pending = 2 + handle = ArtifactHandle("snapshot", "example", "a" * 32, "snapshots/example") + for _ in range(20): + producer._notify(ArtifactEvent("file", handle, "file.bin", 1)) + assert len(producer.pending) < producer.max_pending + assert ray.wait.call_count == 19 + producer.replicas["producer"].receive.remote.assert_not_called() + + +def test_no_driver_fallback_on_single_node( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + """A driver-only Ray topology cannot run preparation.""" + ray = pytest.importorskip("ray") + monkeypatch.setattr(ray, "is_initialized", lambda: True) + monkeypatch.setattr( + ray, "get_runtime_context", lambda: Mock(get_node_id=lambda: "driver") + ) + monkeypatch.setattr( + ray, + "nodes", + lambda: [ + { + "NodeID": "driver", + "Alive": True, + "Resources": {"CPU": 8}, + } + ], + ) + with pytest.raises(RuntimeError, match="other than the driver"): + cluster_module.ComputeCluster( + kumo.ComputeClusterConfig(kumo.MLOps(str(tmp_path))) + ) + + +@pytest.mark.skipif( + os.environ.get("KUMO_RAY_INTEGRATION") != "1", + reason="opt-in local multi-node Ray smoke test", +) +def test_multinode_native_preparation( + graph: kumo.Graph, tmp_path: Path, monkeypatch: pytest.MonkeyPatch +) -> None: + """Run native preparation, streaming replicas, reuse, and a newly joined node.""" + import ray + from ray.cluster_utils import Cluster + from ray.util.scheduling_strategies import NodeAffinitySchedulingStrategy + + topology = Cluster() + topology.add_node(num_cpus=0, include_dashboard=False) + topology.add_node(num_cpus=2) + ray.init(address=topology.address, log_to_driver=False) + try: + settings = kumo.MLOps(str(tmp_path / "shared"), on_error="raise") + kumo.configure( + scratch_dir=tmp_path / "scratch", + compute_cluster=kumo.ComputeClusterConfig(settings), + ) + for source in graph._named_tables.values(): + source.connector.__dict__["source_backend"] = Mock( + get_data_version=Mock(side_effect=AssertionError("driver source read")), + prepare_ingest=Mock(side_effect=AssertionError("driver generation")), + ) + monkeypatch.setattr( + "kumo.engine._artifact_repository._open_output", + Mock(side_effect=AssertionError("driver upload")), + ) + monkeypatch.setattr( + "kumo.engine._snapshot_io._open_output", + Mock(side_effect=AssertionError("driver snapshot upload")), + ) + monkeypatch.setattr( + "kumo.engine.pquery.predictive_query.generate_train_table", + Mock(side_effect=AssertionError("driver table generation")), + ) + monkeypatch.setattr( + "kumo_core.training.table.ingest_train_table", + Mock(side_effect=AssertionError("driver table ingestion")), + ) + snapshot = graph.snapshot() + assert snapshot.artifact_handle is not None + query = kumo.PredictiveQuery( + graph=graph, + query="PREDICT COUNT(events.*, 0, 7, days) > 0 FOR EACH users.ID", + ) + table = query.generate_training_table(snapshot) + assert table.manifest.location == settings.root.uri( + f"training_tables/{table.id}" + ) + assert snapshot.manifest.location == settings.snapshot_uri(snapshot) + repeated = query.generate_training_table(snapshot) + assert repeated.artifact_handle == table.artifact_handle + assert repeated.required_stages == table.required_stages + assert repeated.generation_plan == table.generation_plan + runtime = kumo.get_compute_cluster_handle() + before = {node["NodeID"] for node in ray.nodes() if node["Alive"]} + topology.add_node(num_cpus=1) + topology.wait_for_nodes() + node = next( + node["NodeID"] + for node in ray.nodes() + if node["Alive"] and node["NodeID"] not in before + ) + + @ray.remote + def load_on_worker(loader, handle): + loaded = loader.load(handle) + return ( + loaded.id, + loaded.train_table_path.exists(), + loaded._ingested_snapshot_build is not None, + ) + + loaded = ray.get( + load_on_worker.options( + scheduling_strategy=NodeAffinitySchedulingStrategy(node, soft=False), + ).remote(runtime, table.artifact_handle) + ) + assert loaded == (table.id, True, True) + replicas = ray.get(runtime._producer.register.remote()) + ray.kill(replicas[node], no_restart=True) + with pytest.raises(ray.exceptions.RayActorError): + ray.get(replicas[node].ready.remote()) + assert ( + query.generate_training_table(snapshot).artifact_handle + == table.artifact_handle + ) + ray.kill(runtime._producer, no_restart=True) + with pytest.raises(ray.exceptions.RayActorError): + query.generate_training_table(snapshot) + assert ( + query.generate_training_table(snapshot).artifact_handle + == table.artifact_handle + ) + finally: + kumo.shutdown_compute_cluster() + ray.shutdown() + topology.shutdown() diff --git a/packages/kumo-engine/test/test_connector_serialization.py b/packages/kumo-engine/test/test_connector_serialization.py new file mode 100644 index 000000000..3fcd79e5e --- /dev/null +++ b/packages/kumo-engine/test/test_connector_serialization.py @@ -0,0 +1,87 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Connector transport reconstructs settings without cached backends.""" + +import pickle +from pathlib import Path + +import pytest +from kumo.engine.connector import ( + ADLSConnector, + BigQueryConnector, + DatabricksConnector, + FileConnector, + GCSConnector, + S3Connector, + S3Identity, + SnowflakeConnector, + SnowflakeIdentity, +) + + +@pytest.mark.parametrize( + "provider", + [ + "file", + "s3", + "gcs", + "adls", + "snowflake", + "bigquery", + "databricks", + ], +) +def test_connector_pickle_reconstructs_without_cached_clients( + provider: str, tmp_path: Path +) -> None: + """Only constructor settings, including staging options, reach workers.""" + connectors = { + "file": lambda: FileConnector(root_dir=str(tmp_path)), + "s3": lambda: S3Connector(root_dir="s3://bucket/prefix", identity=S3Identity()), + "gcs": lambda: GCSConnector( + root_dir="gs://bucket/prefix", requester_pays_project="billing" + ), + "adls": lambda: ADLSConnector(), + "snowflake": lambda: SnowflakeConnector( + warehouse="wh", + database="db", + schema_name="schema", + identity=SnowflakeIdentity( + account="acct", username="user", password="secret" + ), + ), + "bigquery": lambda: BigQueryConnector( + project_id="project-example", + dataset_id="data", + staging_uri="gs://bucket/stage", + require_staged=True, + ), + "databricks": lambda: DatabricksConnector( + catalog="cat", + schema_name="schema", + warehouse_id="wh", + staging_volume_path="/Volumes/c/s/v", + require_staged=True, + ), + } + connector = connectors[provider]() + # Deliberately unpicklable cached clients must never enter the wire payload. + connector.__dict__["source_backend"] = lambda: None + connector.__dict__["sink_backend"] = lambda: None + connector.__dict__["_connection"] = lambda: None + restored = pickle.loads(pickle.dumps(connector)) + assert restored.config == connector.config + assert restored._principal == connector._principal + assert "source_backend" not in restored.__dict__ + assert "sink_backend" not in restored.__dict__ + assert "_connection" not in restored.__dict__ + assert ( + restored._constructor_settings.keys() == connector._constructor_settings.keys() + ) + if provider == "bigquery": + assert restored.staging_uri == "gs://bucket/stage" and restored.require_staged + if provider == "databricks": + assert ( + restored.staging_volume_path == "/Volumes/c/s/v" and restored.require_staged + ) diff --git a/packages/kumo-engine/test/test_ingested_table_replication.py b/packages/kumo-engine/test/test_ingested_table_replication.py new file mode 100644 index 000000000..e517f1744 --- /dev/null +++ b/packages/kumo-engine/test/test_ingested_table_replication.py @@ -0,0 +1,176 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +"""Native extension replication preserves MLOps exports and avoids worker ingest.""" + +import json +from dataclasses import replace +from pathlib import Path +from unittest.mock import Mock + +import kumo.engine as kumo +import pytest +from kumo.engine._artifact_publishers import ( + load_artifact, + observe_publication, + publish_table, + repository, +) +from kumo.engine._artifact_repository import ArtifactEvent +from kumo.engine._scratch import scoped_scratch_dir + + +def test_restore_ingested_table_without_generation_or_ingest( + graph: kumo.Graph, tmp_path: Path, monkeypatch: pytest.MonkeyPatch +) -> None: + """Fresh nodes restore native tables and materialize fits without ingesting rows.""" + from kumo.engine.trainer.trainer import Trainer + from kumo_core.training import table as native_tables + from kumo_core.training.workflow import TrainingWorkflowRequest + + settings = kumo.MLOps(str(tmp_path / "storage"), on_error="raise") + repo = repository(settings) + producer_root = tmp_path / "producer" + replica_root = tmp_path / "replica" + received = [] + + def receive(event: ArtifactEvent) -> None: + with scoped_scratch_dir(replica_root): + repo.receive(event) + received.append(event) + + with scoped_scratch_dir(producer_root), observe_publication(receive): + snapshot = graph.snapshot(mlops=settings) + query = kumo.PredictiveQuery( + graph=graph, + query="PREDICT COUNT(events.*, 0, 7, days) > 0 FOR EACH users.ID", + ) + ingest = Mock(wraps=native_tables.ingest_train_table) + monkeypatch.setattr(native_tables, "ingest_train_table", ingest) + table = query.generate_training_table(snapshot, mlops=settings) + assert ingest.call_count == 1 + rows = tmp_path / "storage/training_tables" / table.id + before = {p.name: p.read_bytes() for p in rows.iterdir() if p.is_file()} + assert "_SUCCESS" in before + assert table.artifact_handle is None + handle = publish_table(table, snapshot, settings) + assert publish_table(table, snapshot, settings) == handle + assert ingest.call_count == 1 + monkeypatch.setattr( + "kumo.engine.pquery.predictive_query.generate_train_table", + Mock(side_effect=AssertionError("cache hit regenerated rows")), + ) + assert ( + query.generate_training_table(snapshot, mlops=settings).artifact_handle + == handle + ) + assert ingest.call_count == 1 + producer_index = snapshot.index_path + assert {p.name: p.read_bytes() for p in rows.iterdir() if p.is_file()} == before + assert not list((tmp_path / "storage/snapshots").rglob("inventory.json")) + assert not list((tmp_path / "storage/snapshots").rglob("kumo_artifact.json")) + assert {event.handle.kind for event in received} == {"snapshot", "training_table"} + monkeypatch.setattr( + native_tables, + "ingest_train_table", + Mock(side_effect=AssertionError("worker ingested rows")), + ) + monkeypatch.setattr( + "kumo.engine.pquery.predictive_query.generate_train_table", + Mock(side_effect=AssertionError("worker generated rows")), + ) + with scoped_scratch_dir(replica_root): + restored = load_artifact(repo, handle) + local_snapshot = load_artifact(repo, snapshot.artifact_handle) + assert local_snapshot.index_path != producer_index + assert restored.staging_dir.parent == local_snapshot.index_path / "train_tables" + native = json.loads( + (restored.staging_dir / "diskgraph_manifest.json").read_text() + ) + assert native["graph_index_path"] == str(local_snapshot.index_path) + assert restored._ingested_snapshot_build is not None + request, _ = query._prepare_generation( + local_snapshot, restored.generation_plan, tmp_path / "fit" + ) + assert isinstance(request, TrainingWorkflowRequest) + trainer = object.__new__(Trainer) + trainer._embedding_models = {} + materialized = trainer._materialize_training( + request, restored, tmp_path / "fit", request.model_plan + ) + assert materialized.train_table_extension_path == str(restored.staging_dir) + assert materialized.task.split.stage_counts["train"] > 0 + from diskgraph import RuntimeIndex, SamplingOptions + + runtime = RuntimeIndex(materialized.runtime_manifest_path, num_threads=1) + assert ( + next( + iter( + runtime.iter( + SamplingOptions( + stage="train", + batch_size=4, + entity_node_type="users", + ) + ) + ) + ) + is not None + ) + assert load_artifact(repo, handle).staging_dir == restored.staging_dir + with pytest.raises(ValueError, match="another snapshot build"): + trainer.fit( + replace(restored, _ingested_snapshot_build="other"), + snapshot=local_snapshot, + ) + + +def test_snapshot_handle_rejects_a_replaced_generation( + graph: kumo.Graph, tmp_path: Path +) -> None: + """A pinned handle cannot silently follow a newer snapshot publication.""" + settings = kumo.MLOps(str(tmp_path / "storage"), on_error="raise") + with scoped_scratch_dir(tmp_path / "producer"): + snapshot = graph.snapshot(mlops=settings) + handle = snapshot.artifact_handle + marker = tmp_path / "storage" / handle.path / "kumo_snapshot.json" + manifest = json.loads(marker.read_text()) + manifest["generation"] = "f" * 32 + marker.write_text(json.dumps(manifest)) + with pytest.raises(ValueError, match="pinned snapshot generation"): + load_artifact(repository(settings), handle) + + +@pytest.mark.parametrize("damage", [False, True]) +def test_snapshot_replica_reconciles_existing_export_files( + graph: kumo.Graph, tmp_path: Path, damage: bool +) -> None: + """Existing manifests recover missed events and damaged partial snapshot files.""" + settings = kumo.MLOps(str(tmp_path / "storage"), on_error="raise") + repo = repository(settings) + replica_root = tmp_path / "replica" + streamed = [] + + def receive(event: ArtifactEvent) -> None: + if event.action != "file" or streamed: + return + marker = tmp_path / "storage" / event.handle.path / "kumo_snapshot.json" + assert not marker.exists() + with scoped_scratch_dir(replica_root): + repo.receive(event) + staging = repo._cache(event.handle).with_suffix(".staging") + file = staging / event.relative_path + assert file.stat().st_size == event.size + if damage: + file.write_bytes(b"x" * event.size) + streamed.append(event) + + with scoped_scratch_dir(tmp_path / "producer"), observe_publication(receive): + snapshot = graph.snapshot(mlops=settings) + assert streamed + with scoped_scratch_dir(replica_root): + restored = load_artifact(repo, snapshot.artifact_handle) + assert isinstance(restored, kumo.GraphSnapshot) + assert restored.id == snapshot.id + assert restored.record_sources is True + assert restored.index_path != snapshot.index_path diff --git a/packages/kumo-engine/test/test_snapshot_export.py b/packages/kumo-engine/test/test_snapshot_export.py index 0b0841043..369200195 100644 --- a/packages/kumo-engine/test/test_snapshot_export.py +++ b/packages/kumo-engine/test/test_snapshot_export.py @@ -442,20 +442,18 @@ def expiring(client, path, size): assert len(clients) == 2 and clients[0] is not clients[1] -def test_reexport_after_redaction_publishes_the_redacted_manifest( +def test_redacted_snapshot_has_independent_identity_and_provenance( tmp_path, scratch, graph, exports): full = graph.snapshot() location, exported = _export(full, exports, tmp_path) first = _generation(exported) + original = (first / '_provenance.json').read_bytes() redacted = graph.snapshot(record_sources=False) - assert redacted.id == full.id - assert _put(redacted, exports) == location - committed = _generation(exported) - assert committed != first - assert (committed / '_provenance.json').read_bytes() == ( - redacted.index_path / '_provenance.json').read_bytes() - assert json.loads((committed / '_provenance.json').read_text())[ - 'record_sources'] is False + assert redacted.id != full.id + assert _put(redacted, exports) != location + assert (first / '_provenance.json').read_bytes() == original + assert redacted.manifest.record_sources is False + @pytest.mark.parametrize('damage', ['missing_file', 'damaged']) @@ -1360,3 +1358,28 @@ def test_a_different_idless_export_cannot_replace_a_healthy_legacy_fallback( assert {name: (legacy / name).stat().st_ino for name in before[0]} == inodes assert _local_index(retained.id) == legacy assert graph.snapshot().index_path == legacy + + +def test_native_snapshot_cache_skips_staging_and_invalidates_versions( + tmp_path, scratch, graph, monkeypatch): + """Source discovery selects committed snapshots before staging or ingest.""" + from kumo_core.sources.identity import SourceVersion + + cfg = kumo.MLOps(str(tmp_path / 'native'), on_error='raise') + first = graph.snapshot(mlops=cfg) + monkeypatch.setattr('kumo_core.diskgraph.ingest.execute_diskgraph_ingest', + Mock(side_effect=AssertionError('cache hit generated'))) + monkeypatch.setattr('kumo.engine._artifact_repository._open_output', + Mock(side_effect=AssertionError('cache hit uploaded'))) + for table in graph._named_tables.values(): + monkeypatch.setattr(table.connector.source_backend, 'prepare_ingest', + Mock(side_effect=AssertionError('cache hit staged'))) + assert graph.snapshot(mlops=cfg).artifact_handle == first.artifact_handle + for table in graph._named_tables.values(): + monkeypatch.setattr(table.connector.source_backend, 'get_data_version', + lambda *args: SourceVersion('changed', 'exact')) + assert graph._cached_snapshot(cfg, 'seconds', True) is None + for table in graph._named_tables.values(): + monkeypatch.setattr(table.connector.source_backend, 'get_data_version', + lambda *args: SourceVersion('unproven', 'unknown')) + assert graph._cached_snapshot(cfg, 'seconds', True) is None diff --git a/packages/kumo-engine/test/test_snapshot_manifest.py b/packages/kumo-engine/test/test_snapshot_manifest.py index 2948446b4..f7533a8e9 100644 --- a/packages/kumo-engine/test/test_snapshot_manifest.py +++ b/packages/kumo-engine/test/test_snapshot_manifest.py @@ -268,14 +268,14 @@ def test_record_sources_false_keeps_table_names_only(make_snapshot, assert redacted.record_sources is False full = make_snapshot(record_sources=True) - assert full == redacted + assert full.id != redacted.id assert full.record_sources is True assert full.manifest.parents.source_tables['ents'].location == str( (tmp_path / 'data' / 'ents.parquet').resolve()) - assert full.manifest.created_at == redacted.manifest.created_at + assert redacted.manifest.record_sources is False -def test_toggling_record_sources_keeps_unknown_parent_fields(make_snapshot): +def test_redaction_does_not_rewrite_existing_provenance(make_snapshot): written = make_snapshot(30).index_path / PROVENANCE_FILE data = json.loads(written.read_text()) data['parents']['future'] = {'kept': True} @@ -283,4 +283,5 @@ def test_toggling_record_sources_keeps_unknown_parent_fields(make_snapshot): redacted = make_snapshot(record_sources=False) assert redacted.manifest.record_sources is False - assert redacted.manifest.parents.extra == {'future': {'kept': True}} + assert json.loads(written.read_text()) == data + assert redacted.index_path != written.parent diff --git a/uv.lock b/uv.lock index c1a3c60a2..a1e19a245 100644 --- a/uv.lock +++ b/uv.lock @@ -2707,6 +2707,33 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/9a/22/e18585ccbf9f8c42f8c26435df0e551a924aae33488227eb686876d0bffd/jsons-1.6.3-py3-none-any.whl", hash = "sha256:f07f8919316f72a3843c7ca6cc6c900513089f10092626934d1bfe4b5cf15401", size = 60701, upload-time = "2022-06-09T19:51:59.266Z" }, ] +[[package]] +name = "jsonschema" +version = "4.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, +] + +[[package]] +name = "jsonschema-specifications" +version = "2025.9.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "referencing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, +] + [[package]] name = "kiwisolver" version = "1.5.1" @@ -3546,6 +3573,9 @@ adls = [ bigquery = [ { name = "kumo-bigquery" }, ] +cluster = [ + { name = "ray" }, +] cpu = [ { name = "faiss-cpu", marker = "platform_machine != 'x86_64' or sys_platform != 'linux'" }, ] @@ -3626,11 +3656,12 @@ requires-dist = [ { name = "pydantic", specifier = ">=1.10.21" }, { name = "pytest", marker = "extra == 'test'" }, { name = "pytest-mock", marker = "extra == 'test'" }, + { name = "ray", marker = "extra == 'cluster'", specifier = ">=2.40,<3" }, { name = "sagemaker-mlflow", marker = "extra == 'sagemaker'", specifier = ">=0.5.0" }, { name = "torch", marker = "extra == 'test'", specifier = ">=2.9,<2.13" }, { name = "typing-extensions", specifier = ">=4.5.0" }, ] -provides-extras = ["plots", "cpu", "test", "snowflake", "databricks", "bigquery", "s3", "text", "adls", "gcs", "mlflow", "sagemaker", "pytorch"] +provides-extras = ["cluster", "plots", "cpu", "test", "snowflake", "databricks", "bigquery", "s3", "text", "adls", "gcs", "mlflow", "sagemaker", "pytorch"] [[package]] name = "kumo-gcs" @@ -4297,6 +4328,94 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/5e/75/bd9b7bb966668920f06b200e84454c8f3566b102183bc55c5473d96cb2b9/msal_extensions-1.3.1-py3-none-any.whl", hash = "sha256:96d3de4d034504e969ac5e85bae8106c8373b5c6568e4c8fa7af2eca9dbe6bca", size = 20583, upload-time = "2025-03-14T23:51:03.016Z" }, ] +[[package]] +name = "msgpack" +version = "1.2.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cc/52/1ec7ead2c7528bf3d1db73e886fa4df10f9e6f0eb7854a448b7090cfcef7/msgpack-1.2.4.tar.gz", hash = "sha256:475c44e12f2a5de766a8448783f149c9b33f3f49b88953c6cd739a77d93c732c", size = 197764, upload-time = "2026-10-26T17:55:48.593Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/cb/a3bd4d234c0f2f7e646b9be259b801c5d6a35c97f93dded4f722e6b80acd/msgpack-1.2.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1095b1ebcc8c9d3e70c51240b7160d8e9da66044e0a45c3ef8403d3a9ef0c5ad", size = 90935, upload-time = "2026-10-26T17:53:46.588Z" }, + { url = "https://files.pythonhosted.org/packages/56/3c/fc87d06bdfc99b302f4379f0eb34bb8695b6ecd90b965652d0a3195d1acd/msgpack-1.2.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a4b47ec7422bef149223786a87df80067ac65bfc7c0565e5cf1dfbdc40acee50", size = 90187, upload-time = "2026-10-26T17:53:48.151Z" }, + { url = "https://files.pythonhosted.org/packages/05/a3/abebe12c1b589b7eeab60cb87dd5eb398fcf549bdafca8c30d8d73e48493/msgpack-1.2.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0c75cfda0d3ccb1f6abc20e0608ad6b226e11f317b5ac297721504d2509e2bd9", size = 466911, upload-time = "2026-10-26T17:53:49.536Z" }, + { url = "https://files.pythonhosted.org/packages/03/41/ed5517a107628f6f7f3a1f46f19de3aca979bd1fc95861cb56ce0e4bcc02/msgpack-1.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a45ceb5f199d5e388f28b550ba881096a3740d4bda10e661d77f59d9a2e8187a", size = 480247, upload-time = "2026-10-26T17:53:51.211Z" }, + { url = "https://files.pythonhosted.org/packages/31/71/14c39858380e11408fcf75aeab1cda0afb253cd8f62a01fbe4ae1838b66f/msgpack-1.2.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7ca62b31a873c70b73f367bb2c1efec1d143016642c5191405549578184ff6ff", size = 438298, upload-time = "2026-10-26T17:53:52.919Z" }, + { url = "https://files.pythonhosted.org/packages/3b/73/ba40b91632e011851e1a397d53e0bd031848751902424a5b37c33f7de412/msgpack-1.2.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f641971d3eec89ffca57fa36d151ad1cf1b6a214b47faca16cb165c7d45ef8be", size = 461600, upload-time = "2026-10-26T17:53:54.8Z" }, + { url = "https://files.pythonhosted.org/packages/51/f0/c13ce7e7a7d8dabc1a48eecf61eb789084dbcc64374a7f19770eaf96f2c3/msgpack-1.2.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:b9eff629190a4b118549b654df32a56ed535351819f690d0c935d185500cc90b", size = 435020, upload-time = "2026-10-26T17:53:56.433Z" }, + { url = "https://files.pythonhosted.org/packages/b4/d2/2a4e254f8ee5d5dd5019bd9f99164d79704788dbe16d9d6de77fda4e6727/msgpack-1.2.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4e22c6571ab6ac9036da87d8a6fddb4baf86981844b480c0c60a4a4be417ee48", size = 479138, upload-time = "2026-10-26T17:53:57.918Z" }, + { url = "https://files.pythonhosted.org/packages/70/b6/28f7eb3f38e3b6ea1f87f36c44cc25ab0eeb451147b5ff61637ce3d0b839/msgpack-1.2.4-cp311-cp311-win32.whl", hash = "sha256:5d7d4d2a5fc6a604f20c546ee1e8327bed1e9329be2417cef9af1f799f3e55e0", size = 67926, upload-time = "2026-10-26T17:53:59.172Z" }, + { url = "https://files.pythonhosted.org/packages/b9/9e/67a97d5caa41bcbdbb4fae7bf5009b60222c72d0748364ac9e32de334a4e/msgpack-1.2.4-cp311-cp311-win_amd64.whl", hash = "sha256:9db832747bd05834530189e564a3fe31e2617547dc1f3a005f835eafc2b8e048", size = 76117, upload-time = "2026-10-26T17:54:00.403Z" }, + { url = "https://files.pythonhosted.org/packages/32/43/890b028b2cdb6b75fd56bd9388466c9fea9f10a31ebb685c489c5cb32fa9/msgpack-1.2.4-cp311-cp311-win_arm64.whl", hash = "sha256:deb1730c4c0c1a8c975be2f43efea6ee4834d35031a39075f78917d0ba8b3c04", size = 72632, upload-time = "2026-10-26T17:54:01.798Z" }, + { url = "https://files.pythonhosted.org/packages/27/fd/45f6cd13cefbb659a8e0128ea64d51b349571163fec3c9c20f99792dc42a/msgpack-1.2.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:90cba4996b18ec1201fcaabd01ec48ff4b9755416bcd52105ded2f89fe145c49", size = 91903, upload-time = "2026-10-26T17:54:03.097Z" }, + { url = "https://files.pythonhosted.org/packages/7f/89/169c2a0b1ffeafe68a4f13d8d96b6ed1cd8d40d8262b3a6690851da7eda1/msgpack-1.2.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:112933726919f4239646cca9572e2c2fa5626358c670da8440aac09403100a48", size = 90573, upload-time = "2026-10-26T17:54:04.383Z" }, + { url = "https://files.pythonhosted.org/packages/cf/8e/272a384f2a001cfced1baab0a8abdd912d6281432670f4609d1aab718d7b/msgpack-1.2.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9ca1e78106675f2aed07dc37b842ce19be70010ab22c5c5c04688f0840d48539", size = 461057, upload-time = "2026-10-26T17:54:05.821Z" }, + { url = "https://files.pythonhosted.org/packages/1e/d9/f59bd841fc2fd2b74dc50ce85860a6a25f58e588dd48946aeaf2862cf990/msgpack-1.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c4d5bbdbea8f5669b3a734d6c226772804fb120848f99cbe63a0ddee63b049c9", size = 475652, upload-time = "2026-10-26T17:54:07.414Z" }, + { url = "https://files.pythonhosted.org/packages/00/03/afd000e1b1e28fd535dc8c7bc21ebb88923bc1964a2429fe660fb313ace3/msgpack-1.2.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0d9ff7f3aaffd84010f1c501b05406a497584f5cab2f732eb9d89bf960e12f6f", size = 427082, upload-time = "2026-10-26T17:54:09.1Z" }, + { url = "https://files.pythonhosted.org/packages/f7/7a/e2890b272883c496faad777324ddb70e9cc4a6c63731962a4a39a6a40f44/msgpack-1.2.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:aa10dc04c03408f31948ac1896a942141fd8d7a954b3612edac79f19663e4076", size = 451956, upload-time = "2026-10-26T17:54:10.476Z" }, + { url = "https://files.pythonhosted.org/packages/c2/46/0c1b240b8a580af3e72139c33b018025440a1a42c2579e82e39b1195ee36/msgpack-1.2.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:472a25463678f2795143a7cb42e88a1b59cc2375e9881917e69a9323bde42114", size = 423833, upload-time = "2026-10-26T17:54:12.195Z" }, + { url = "https://files.pythonhosted.org/packages/80/8e/851415b1a9264e6abf64d8a9617d856769d59e247fb9470106f133aedbae/msgpack-1.2.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cbb8a677da3e845713925e9a203b8a120b1e9da9989836890ba4a4a187902701", size = 470951, upload-time = "2026-10-26T17:54:13.764Z" }, + { url = "https://files.pythonhosted.org/packages/c9/74/d75bf61aab9cb88b84f7d3a8eca8dd92e19a742b77ded300a1177e88d031/msgpack-1.2.4-cp312-cp312-win32.whl", hash = "sha256:2b0b7dff5beddc10f16ecea6b28c6b98014d1135d7015bd83adff5037f35848d", size = 68786, upload-time = "2026-10-26T17:54:15.049Z" }, + { url = "https://files.pythonhosted.org/packages/81/c5/dd0e78eb04f9a0773a810d25ef2cd8f16bb941487567d0c63f814881133c/msgpack-1.2.4-cp312-cp312-win_amd64.whl", hash = "sha256:6e38b123681df22373d545520f54bbeddc4706d9235a1161061f12bd6648497d", size = 77272, upload-time = "2026-10-26T17:54:16.491Z" }, + { url = "https://files.pythonhosted.org/packages/65/e7/b38f63ae82777c0077daa56c4b09af39d29dcb8927ab2ff59268094069c5/msgpack-1.2.4-cp312-cp312-win_arm64.whl", hash = "sha256:6795c588b210b2f13d62c8fcc23bf779b509b839ec5c197a7ab4f5191459e126", size = 71884, upload-time = "2026-10-26T17:54:17.995Z" }, + { url = "https://files.pythonhosted.org/packages/2d/26/16eaad5fe6e199334fa5bd66070778665717c86e9a273525dc706ddb06a7/msgpack-1.2.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:fb811ac3d463a75013b234d2aae56b9f0bdb0105caf4dd2ee65305b6a8a6078d", size = 92057, upload-time = "2026-10-26T17:54:19.616Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b8/9660be6d120820bc05106f291e824c73d35f4ab77d927788ae67ea80889c/msgpack-1.2.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:36258fd0909e1bf26e94604439108846432abe4ffa9a23c9dc2f6f1c60f94b60", size = 90542, upload-time = "2026-10-26T17:54:20.965Z" }, + { url = "https://files.pythonhosted.org/packages/6c/10/cd55a69fec29df26884b178dc4b1803442ec82abf929604aac619881917a/msgpack-1.2.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9c5ba0f053a7e98f013f083c9d1b2dffb26cad8c897c533d8286e44ed24c669", size = 455798, upload-time = "2026-10-26T17:54:22.434Z" }, + { url = "https://files.pythonhosted.org/packages/c9/94/562e0733593a780c70b0b18994f30c205149f7f9f4efbe3e9b00b88612c5/msgpack-1.2.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7fabd415c41e62006c6641fcdf5b3e866f581c4e11c58328c0d0f69584b9577d", size = 469262, upload-time = "2026-10-26T17:54:24.043Z" }, + { url = "https://files.pythonhosted.org/packages/bb/92/76d1a5c597e04e1d360b05573d150bdb4502f5a014e6e9cf089c9537c156/msgpack-1.2.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7433d340de45003db3ed909a642c9469b598d175530f7a707cbaba64287d27ce", size = 420789, upload-time = "2026-10-26T17:54:25.587Z" }, + { url = "https://files.pythonhosted.org/packages/8a/c6/b72b8d8022718380db459ced8ffbabc7570ad2d22c7f2fa659c872cb6734/msgpack-1.2.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ccd6e4af5347eb9828147320449bcd30e3321f6397d4583ff16047485dd8be3d", size = 447068, upload-time = "2026-10-26T17:54:27.721Z" }, + { url = "https://files.pythonhosted.org/packages/cb/dc/f378ef1def4aa135e70325c09e22457f3203ae2a390a192e892267906f33/msgpack-1.2.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:23d1459a1d0b4c9f6629df072d592eb74424b3ed3656b69af507bc9023cc027f", size = 418896, upload-time = "2026-10-26T17:54:29.325Z" }, + { url = "https://files.pythonhosted.org/packages/62/93/a7e507378f43e91415cb6fda47e0ded0c9de1618a1f4ac4f2887912a92dd/msgpack-1.2.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9e73761fe9fc55a4e9d2df8e8f59b0979231af4dbf80b8bf90cd64c74173d779", size = 465764, upload-time = "2026-10-26T17:54:30.719Z" }, + { url = "https://files.pythonhosted.org/packages/60/76/7f39f49cbcdaa4aafe64b4941b2640772dbdc1cac3a9332f4c9ba6994da9/msgpack-1.2.4-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:d088d1f552e129859db830692268747aba0a1ee3e6e0fe6344dbb3aab1df9f6c", size = 53615, upload-time = "2026-10-26T17:54:32.213Z" }, + { url = "https://files.pythonhosted.org/packages/67/9b/85b93350dbd7b52b358882f7f17a88a03664a7a59a359406e6315c162634/msgpack-1.2.4-cp313-cp313-win32.whl", hash = "sha256:892d4f17d7962bfd2c2928b0a47542bf2948f074a7c04721b73d4138b70481e4", size = 68724, upload-time = "2026-10-26T17:54:33.484Z" }, + { url = "https://files.pythonhosted.org/packages/02/4a/a7e2778ce09a943c17b6f91c7acb2f9488357657c01f2cccb278297621c4/msgpack-1.2.4-cp313-cp313-win_amd64.whl", hash = "sha256:318d4e634d2b320be10decd9968ad1ae0be1d80cba23b5528c37b429eeb0e3e0", size = 77039, upload-time = "2026-10-26T17:54:35.016Z" }, + { url = "https://files.pythonhosted.org/packages/64/16/9ff7495a9853e9d7de74965fdadce15017e7213ce564bb5dafc5403c9108/msgpack-1.2.4-cp313-cp313-win_arm64.whl", hash = "sha256:bec3e34749b90cfcf116149aad11295c720ff4a74a7d0a35abdb968a396c1524", size = 71873, upload-time = "2026-10-26T17:54:36.19Z" }, + { url = "https://files.pythonhosted.org/packages/86/34/747f9ea2b428088201c73fcb3a885cebcbedcd71def0f1f3c36896294b27/msgpack-1.2.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:895e9369185df4a874768849405c30cba7990caceb3fcb1692ebe62bb050f55e", size = 92449, upload-time = "2026-10-26T17:54:37.503Z" }, + { url = "https://files.pythonhosted.org/packages/83/7e/52d208cb1561f869762c17be0e2c004e4d34f2842d239a450492d6246d62/msgpack-1.2.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c97f5f17407e1761f23f1944be33cbf1d5ce67017db32544dcd5e16e0b1b4a3b", size = 91202, upload-time = "2026-10-26T17:54:38.797Z" }, + { url = "https://files.pythonhosted.org/packages/2e/58/5516cabb60da83506024015c669622a0277979aef51eb611308cebaf4cc9/msgpack-1.2.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2444a4e04f924630d059ae6eae8f91fdfcd28ed9fd17b21bacf4e74550a091f7", size = 455185, upload-time = "2026-10-26T17:54:40.213Z" }, + { url = "https://files.pythonhosted.org/packages/39/8f/bf975b5d2111e4954a0f8567fc6b60bab22c8766dd4fa509af1334c91a4f/msgpack-1.2.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5d65b791ce4283e02b6267742ad540899155e1b32887b9cbdda47f38f5a076b5", size = 465078, upload-time = "2026-10-26T17:54:41.971Z" }, + { url = "https://files.pythonhosted.org/packages/32/2f/c74baeafc53d1c1fadfbeb774444d0e6354778d12b40b827e437a7a35856/msgpack-1.2.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5e4c67dbac05dce90a3fa1d845137617383c415e6b319062baac9734540706ae", size = 420144, upload-time = "2026-10-26T17:54:44.994Z" }, + { url = "https://files.pythonhosted.org/packages/b0/f2/bdf2ce9e284821397dc5549101824c7607ee6ba6e0635390d168a77ac49c/msgpack-1.2.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:781e856db4f2cb398e4992e2a74305295d3ebf694eec26fa0f4bc766eb9fa0a0", size = 446479, upload-time = "2026-10-26T17:54:46.484Z" }, + { url = "https://files.pythonhosted.org/packages/76/8d/b4572d24bb75d98bcbbd031a934a3a1d03494ea88a100cd51ab16c4c7d57/msgpack-1.2.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:cfc1cc237792f9a5664002b66acb961027d4184528ec9d10e0e42330f7972383", size = 418780, upload-time = "2026-10-26T17:54:48.04Z" }, + { url = "https://files.pythonhosted.org/packages/55/8e/4493bef4422730cfd3420b84094652fabd27ef8aadc8b443a8995b524d08/msgpack-1.2.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f60de6ae13d4d2a12a483f15c5e47cb6fa2731aa32d92fb31178e2017d6574a8", size = 462009, upload-time = "2026-10-26T17:54:49.433Z" }, + { url = "https://files.pythonhosted.org/packages/41/29/efdc3d1d09e4e0e45955b0aad559b4c1f5d908767c9fb1021990c52182a5/msgpack-1.2.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:06a0657a4110d563255006b7cb7147432f67827144e429c2cdb1c967548d1817", size = 53714, upload-time = "2026-10-26T17:54:50.753Z" }, + { url = "https://files.pythonhosted.org/packages/df/0b/08794c65e0a752acf20aa44e193e61dfb552b48fe6c27ba6023c146f9e77/msgpack-1.2.4-cp314-cp314-win32.whl", hash = "sha256:727a65b35db9f5ef516fc0229c4b05cab983092b1ae274a8a769b2d517fb0499", size = 70726, upload-time = "2026-10-26T17:54:52.397Z" }, + { url = "https://files.pythonhosted.org/packages/b5/da/e2cc63ec61e7ac05595b391cba01c10cb4657f4e517da1512e4a75d2d12e/msgpack-1.2.4-cp314-cp314-win_amd64.whl", hash = "sha256:80f5d4fda1ba373d95933f98e6c1d18247feffac839fda3930bdd85e6561bb5f", size = 78346, upload-time = "2026-10-26T17:54:54.662Z" }, + { url = "https://files.pythonhosted.org/packages/93/e4/1b0eb49887009dc2c530171d659cf2aa37202b5f79c0b784e63777554b37/msgpack-1.2.4-cp314-cp314-win_arm64.whl", hash = "sha256:e5f67f0286f2ba2c6dbb4998404ed880112ca204ceda729cf239879cd89d3acf", size = 74152, upload-time = "2026-10-26T17:54:55.915Z" }, + { url = "https://files.pythonhosted.org/packages/d0/4a/6defc8fd0270c4ba675e6625f4f76ce936fd0c48733395fd7ba912cd423e/msgpack-1.2.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:45506bfb902cde24a0d33fb0581f58497ddb2682686dd1f6aa07e7b769df7ca4", size = 94083, upload-time = "2026-10-26T17:54:57.108Z" }, + { url = "https://files.pythonhosted.org/packages/c8/e8/59f7e076739048864710a4de3403ae1c1b43ed5077b796cd9e8cbce9b3f6/msgpack-1.2.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:dc9dc681958e69f46b9f37def3e7fd6cc5dcfaa5943fb00bfe9c223a1a1052f6", size = 95037, upload-time = "2026-10-26T17:54:58.489Z" }, + { url = "https://files.pythonhosted.org/packages/2c/dd/dbae250b23b831cd0571eb664089f80de3249a39e98c6ef55f9a0efe928d/msgpack-1.2.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0bef691e2a95119cc6bf3ded29325dbd89c4b6f8ff233070431948ed70902421", size = 472722, upload-time = "2026-10-26T17:54:59.924Z" }, + { url = "https://files.pythonhosted.org/packages/a9/e2/383ece1c1b27c1ed322055fce8ab8972bc6d529ede881592065ce0c461bf/msgpack-1.2.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:55e6106d2d085af42b2de72efeb38ed255241a24b32295ca889707c1d679c442", size = 468726, upload-time = "2026-10-26T17:55:01.492Z" }, + { url = "https://files.pythonhosted.org/packages/37/2f/5410a8815ae74a824ac87543c612e40cb6674851b70a6ad858bb32813203/msgpack-1.2.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:996dfc4774c240c8e6adf1166ae102141cfbed33c8856fde821bd6c0bd35ee41", size = 420488, upload-time = "2026-10-26T17:55:02.848Z" }, + { url = "https://files.pythonhosted.org/packages/39/8e/16fdf02b4f91dff9c1480433c1bf80756c2fedc0b74fc6a231f02dfed007/msgpack-1.2.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:efa1357fb0c7201e833de28638be371ee127476f7ccff9e7a94211b0afc33ddf", size = 455541, upload-time = "2026-10-26T17:55:04.564Z" }, + { url = "https://files.pythonhosted.org/packages/c4/76/2454ef54d780a167667552d02e7bc977a3d419943bcbdf6a96a4da6786ad/msgpack-1.2.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:b9270b63409e70c8c6deb5faedc81fc27c6bd0196b38084a8773f68286abf034", size = 419514, upload-time = "2026-10-26T17:55:06.257Z" }, + { url = "https://files.pythonhosted.org/packages/ac/8b/2af9bf378def33c24875f250421b0d0b1b06f72a1c2c3f964749fc4cdee1/msgpack-1.2.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2b597bb01aff61d65e305c2cf2589c93c86609929d42d575bfc359f3c54ea8e1", size = 461910, upload-time = "2026-10-26T17:55:08.05Z" }, + { url = "https://files.pythonhosted.org/packages/0e/46/a133ac6c4cef4d3939383c00cc19baa16ee85fd70af0c5990e7a9ca8767f/msgpack-1.2.4-cp314-cp314t-win32.whl", hash = "sha256:ad5bc540cbc34db236f8535721a9a872d12a9d88d1322470f1fc7c5e9dadfdb2", size = 76441, upload-time = "2026-10-26T17:55:09.711Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f5/8d22ec454c188f1795107a3fd9f68ada485076ebf394a4aaaa5fbb6093e7/msgpack-1.2.4-cp314-cp314t-win_amd64.whl", hash = "sha256:287e52c2ebaa94f8eca045628374859f51584e77bc07086e6835a9bb2204c774", size = 84321, upload-time = "2026-10-26T17:55:10.947Z" }, + { url = "https://files.pythonhosted.org/packages/41/52/1390514aee47d14ca3fe6ea0cf236fddc55021867ace30daf8761deba36f/msgpack-1.2.4-cp314-cp314t-win_arm64.whl", hash = "sha256:f3f19fe5decd348b35b003ae5f32d3fa90877413a0183da676f748a3a7ab9270", size = 78589, upload-time = "2026-10-26T17:55:12.425Z" }, + { url = "https://files.pythonhosted.org/packages/d0/d8/0465d475c1a7063af1a1fb4f8c69e0dd661c4dd172055c9757a343a07d5d/msgpack-1.2.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:765584b93ed6f0b561f0c56e9735f24945c0682f857c9b3ee3b4caad9c32f66a", size = 92449, upload-time = "2026-10-26T17:55:13.665Z" }, + { url = "https://files.pythonhosted.org/packages/b2/d0/5220a8a53579dda39f3526394ba5b7eafc28736085f2626deda7fcd22cd1/msgpack-1.2.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:0221748c30ace75fde0dec8c470abe65fb5374cd4f37adb9db6aca7a3c362c0a", size = 91209, upload-time = "2026-10-26T17:55:14.913Z" }, + { url = "https://files.pythonhosted.org/packages/b2/98/f151742eba413503074a10d8f636bf03dd4f3f7cba29689767a35d19bd1c/msgpack-1.2.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c5917972ce1bf5f85f761031e00dab6fe0ad9f880cb3d2d43ed74b330c850400", size = 455713, upload-time = "2026-10-26T17:55:16.406Z" }, + { url = "https://files.pythonhosted.org/packages/b0/54/890510a2c9841aff63258e085d15d4e140c7eef559d4da81ef2d2d867436/msgpack-1.2.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7ae8cf6012372cecb43016132d1b87ccc2ebb8ae5ab5078687399e82423386a", size = 466177, upload-time = "2026-10-26T17:55:18.351Z" }, + { url = "https://files.pythonhosted.org/packages/3d/41/a6f20d7c2c380fb072b95ffc5b865a1d62eaf49d77fbee44466c45a1a8de/msgpack-1.2.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e78c66cf97ac5675037f705ca433ad98ac9177f9523e7fdbb34e486ae29044c8", size = 424398, upload-time = "2026-10-26T17:55:19.979Z" }, + { url = "https://files.pythonhosted.org/packages/89/86/fa9559961f2b0d498e6cefa226298ddee2b896cb223449c211702bc34071/msgpack-1.2.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:59887281c3c163a7afff7dffaaad2f78cd2b513b7e1a7843f1ee8e7cd6a94231", size = 445686, upload-time = "2026-10-26T17:55:21.775Z" }, + { url = "https://files.pythonhosted.org/packages/39/23/5a9d94036cdd77d4310bbb7cfaf3ccd1f087c4a5d5a4befec4361c5fc0dc/msgpack-1.2.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:9f46e70c8d22e96856967ab9d80c51dcf5bc63133e4da2d66fab64c0d4119b82", size = 422096, upload-time = "2026-10-26T17:55:24Z" }, + { url = "https://files.pythonhosted.org/packages/6e/4b/86a5384112509a94ff6e20028aba6845138743effb7c6617e959ad1256ab/msgpack-1.2.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:0a1fd6c31952155b7cd01061288c70303e6554ae855244dfb38a897fd94f8749", size = 463407, upload-time = "2026-10-26T17:55:26.146Z" }, + { url = "https://files.pythonhosted.org/packages/f4/cf/14db289e0ad531e22ce0f03284865f81d14fbc80bf3f79d3b1714bcf76cf/msgpack-1.2.4-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:b1f08ec826417e3c8dc3edadb50f38debba033af6cb849229f0eac72f80f2342", size = 53743, upload-time = "2026-10-26T17:55:27.497Z" }, + { url = "https://files.pythonhosted.org/packages/46/72/a76fc90b51503c0bdacbc7fc823aa6fa62d40596ac47f9ea8492d6f95a34/msgpack-1.2.4-cp315-cp315-win32.whl", hash = "sha256:e8ba23c838739fe929e868095171e71f2f38d6ce0fcf5840b576fb82648e58e6", size = 70780, upload-time = "2026-10-26T17:55:28.705Z" }, + { url = "https://files.pythonhosted.org/packages/58/a7/fa9d4a1b5dfead83ea6e03b4007041a5da988c25eb941d42612e0211d3c0/msgpack-1.2.4-cp315-cp315-win_amd64.whl", hash = "sha256:67310606cf2528a6dc3ece1298dcd5cc6c57add148b16d22c5111138aa84820c", size = 78288, upload-time = "2026-10-26T17:55:29.928Z" }, + { url = "https://files.pythonhosted.org/packages/b5/f3/8163d7938a8fe003952fe2719ddb31da71998559bbe290c55ffe622b886b/msgpack-1.2.4-cp315-cp315-win_arm64.whl", hash = "sha256:ce76e7a7c11459157887a8dadf07c107ff74eca98cf914f0de6ee7ab4b47104d", size = 74235, upload-time = "2026-10-26T17:55:31.112Z" }, + { url = "https://files.pythonhosted.org/packages/b4/fa/37c3219b250d81bee788c0dd78ae2fc673db2da1c21ae51f7982d85698f7/msgpack-1.2.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:fb9ddbf23b8c6e89752af399fcf4daed60055e239cda44c6acfaa76d19331e8c", size = 93793, upload-time = "2026-10-26T17:55:32.304Z" }, + { url = "https://files.pythonhosted.org/packages/83/9f/b8afcd20d32cf4be1fa3c327e997656d6d446e667452b0fcc66b91710e82/msgpack-1.2.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:e283cf563166c21762131b88e3870ee2ec57757b08a8736929757b5a67541061", size = 94746, upload-time = "2026-10-26T17:55:33.624Z" }, + { url = "https://files.pythonhosted.org/packages/e6/4f/03348d381fcbbc2685356833408cc7e9d2af0fe0775926935a2889650f64/msgpack-1.2.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:40e91bf8325f492e8eb3c3aa6de06b20593c225336bb52b585c913d7c1da025b", size = 468480, upload-time = "2026-10-26T17:55:34.991Z" }, + { url = "https://files.pythonhosted.org/packages/16/46/e54af8d9a51fb562e068e69a0d75a51e9c2fedec49f911f888515f5477ab/msgpack-1.2.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cfa86432bf329d6b976f5a00ad4c9064fd51736e4967a52526750236345cc2da", size = 470064, upload-time = "2026-10-26T17:55:36.615Z" }, + { url = "https://files.pythonhosted.org/packages/74/f5/8f9a6b3af1d803e832b11017c8dad44d761fefdb91dba04ee58cb51838da/msgpack-1.2.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:42e0a7dc26df739149478585d4264338b4d330f24b3e3b57d5aa89e48866e8ab", size = 421267, upload-time = "2026-10-26T17:55:38.076Z" }, + { url = "https://files.pythonhosted.org/packages/4b/8f/7302b0d18eadbbfef9be1dbbdc49905f7f3b847200c3e47068d093976be4/msgpack-1.2.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:8e680367090a58c966052d61418cc943111863538fd82471d61fca5271d911e1", size = 451244, upload-time = "2026-10-26T17:55:39.639Z" }, + { url = "https://files.pythonhosted.org/packages/36/c6/05717fb56b510b5e974446f2cb8e9b26fa4347fafc0c5927745b176939b3/msgpack-1.2.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:a6c9926f8871b261622fe6b599db72c69be5bca8fdc0976886f9a531a301dee9", size = 420273, upload-time = "2026-10-26T17:55:41.488Z" }, + { url = "https://files.pythonhosted.org/packages/05/d9/a19077d664c37319097e16ba8de14e6b3a2edcc8ee78a2069c0808e38960/msgpack-1.2.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:c50bac325dbf1a9c80e10da6dbd1100d7082f6b12e153084501e18e86cd3a037", size = 460421, upload-time = "2026-10-26T17:55:43.223Z" }, + { url = "https://files.pythonhosted.org/packages/a2/bd/0e2033a7435f8d2311be37363fedc88bdfa9fd95c364ee8ac3216eb63e36/msgpack-1.2.4-cp315-cp315t-win32.whl", hash = "sha256:34051de19ae532ba47fcab5b0abd08c25c7a64ff763ad819f18764d45f3c2c81", size = 76256, upload-time = "2026-10-26T17:55:44.588Z" }, + { url = "https://files.pythonhosted.org/packages/b3/3f/aa7265f25dafb6af7567a1a7d0a95c5566803db2226c5e084dc5850cfd96/msgpack-1.2.4-cp315-cp315t-win_amd64.whl", hash = "sha256:6ad2f0808099d4281208ff2c756efa958a55a7c8eb21fe1c7052b95c584f02f1", size = 83939, upload-time = "2026-10-26T17:55:45.773Z" }, + { url = "https://files.pythonhosted.org/packages/bf/f2/c53904c4bc3da828fb75678bf489ece808a277affa73f8a7a91dfb7c5851/msgpack-1.2.4-cp315-cp315t-win_arm64.whl", hash = "sha256:e38d854f1c60e94f46d998765201126338bde3fe1b029be0d849094bcbef72c2", size = 77995, upload-time = "2026-10-26T17:55:47.016Z" }, +] + [[package]] name = "multidict" version = "6.9.1" @@ -6423,6 +6542,39 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/fa/de/02b54f42487e3d3c6efb3f89428677074ca7bf43aae402517bc7cca949f3/PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563", size = 156446, upload-time = "2024-08-06T20:33:04.33Z" }, ] +[[package]] +name = "ray" +version = "2.59.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "filelock" }, + { name = "jsonschema" }, + { name = "msgpack" }, + { name = "packaging" }, + { name = "protobuf" }, + { name = "pyyaml" }, + { name = "requests" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/4b/c57f711b3d5a2492b39e25195075008d45edf4e045a08d8ece972b24fef6/ray-2.59.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:cedce6af865d078d318bc3f691e41527331d532dca0017fb824191c884e59a22", size = 67431449, upload-time = "2026-10-02T07:02:24.125Z" }, + { url = "https://files.pythonhosted.org/packages/1a/e9/f40e48941d88c95fef0b074319af5f3f30e1046f624244f65480d196ca8c/ray-2.59.0-cp311-cp311-manylinux2014_aarch64.whl", hash = "sha256:e59bbeed9fd3ae29e326bcf73a6dc6b957029004230e9f1e874670c4e390b147", size = 77814064, upload-time = "2026-10-02T07:02:29.239Z" }, + { url = "https://files.pythonhosted.org/packages/f6/63/fdacad6a6f5b0bf065efa9b9f083636feb15e1910bee3a865a0175294aea/ray-2.59.0-cp311-cp311-manylinux2014_x86_64.whl", hash = "sha256:645f4676ef6ff2ca8154e83edf0b38583d225b6c6fb83b6050ca1681dc3a8688", size = 78796281, upload-time = "2026-10-02T07:02:52.435Z" }, + { url = "https://files.pythonhosted.org/packages/fb/1a/88915bc161c1a57cfcdea65849449a2e668052c103b80e30547ab461f68f/ray-2.59.0-cp311-cp311-win_amd64.whl", hash = "sha256:b967405ba6fb9d36bb04883bb8c4c1048f2e305f30a40080b1c7570efa7188ff", size = 29078533, upload-time = "2026-10-02T07:03:01.16Z" }, + { url = "https://files.pythonhosted.org/packages/21/62/990cf9605814b8b29bdfefa5f009ae5c078b4746acbf39586030178ac8b6/ray-2.59.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:6a240b393819c0c8c03940d16faf952223003ab1d9736d5328cc5a5f71c95e1c", size = 67414852, upload-time = "2026-10-02T07:03:06.647Z" }, + { url = "https://files.pythonhosted.org/packages/15/dd/fd8d8e727241f809977c5f813ded0227c39cc59848b4a2db55c7db8cf310/ray-2.59.0-cp312-cp312-manylinux2014_aarch64.whl", hash = "sha256:09e2dd8ba367f07f1829fc2e35f41e9c3fa9f6ec0babace13d70ebe14e8cf662", size = 77850115, upload-time = "2026-10-02T07:03:12.253Z" }, + { url = "https://files.pythonhosted.org/packages/47/09/914175e40868edbc2e5fddcb7ec9a85b755d2266a70d86ceee2effa09fa6/ray-2.59.0-cp312-cp312-manylinux2014_x86_64.whl", hash = "sha256:4055a7a60293ffee41005ab9b3ed9933e0f9b5d8450b214f3c0a7b1de5503f0e", size = 78870190, upload-time = "2026-10-02T07:03:17.912Z" }, + { url = "https://files.pythonhosted.org/packages/68/73/1de47f6dba02a1f203e0c5697697003e95d4313836b52dbbd340de2906a5/ray-2.59.0-cp312-cp312-win_amd64.whl", hash = "sha256:71a8ff087739044a0d596daeccde33da02afd6d0dacfecae962c395cb3e90d78", size = 29057753, upload-time = "2026-10-02T07:03:22.679Z" }, + { url = "https://files.pythonhosted.org/packages/fa/b8/6a82f95c7987f6f660a35b73d5fdb28521cf2e3e3b680a777ef838c6b248/ray-2.59.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:843bf48f42722e0c143eba6846b5819716bb7e5e044b9e4779b1d3ac5933040b", size = 67360214, upload-time = "2026-10-02T07:03:27.329Z" }, + { url = "https://files.pythonhosted.org/packages/ef/d4/2b0dd44bd0c2e7f3350aad98731ab9aadb4d41f02819d872e058a75210a4/ray-2.59.0-cp313-cp313-manylinux2014_aarch64.whl", hash = "sha256:583f26e1f1a04aefd230b908621dc3f3e1ca5e0d201ee09d5f040ca4b824e800", size = 77770538, upload-time = "2026-10-02T07:03:33.59Z" }, + { url = "https://files.pythonhosted.org/packages/ce/e2/e737527a7f9b16f2c890cf6f6582542e5f6ddb1608fa2390ea485a50d0dd/ray-2.59.0-cp313-cp313-manylinux2014_x86_64.whl", hash = "sha256:70fdc5bec47cc33a4f4e0d9b081f66505e119abd8a8bc6cb2c5d4926427fce6d", size = 78796343, upload-time = "2026-10-02T07:03:39.276Z" }, + { url = "https://files.pythonhosted.org/packages/5a/60/32259117d228f5a6e740e0103d3f7ce6e2f2122cf9e562d4785d22aeb4d3/ray-2.59.0-cp313-cp313-win_amd64.whl", hash = "sha256:65288d38b5107a76f36965be1e9d7830613356e0c32d675a44410c30c714f495", size = 29009537, upload-time = "2026-10-02T07:03:43.735Z" }, + { url = "https://files.pythonhosted.org/packages/74/eb/625f30893920995e4b72acf224c064be45765deef2685c701f479fa6bdc7/ray-2.59.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:af31158ee8fead4119c6e4b7b3e0cb3414416599df1da2e4c99e7c53fa5c5fb3", size = 67369542, upload-time = "2026-10-02T07:03:49.417Z" }, + { url = "https://files.pythonhosted.org/packages/39/27/7a698a08edff7d2c3cac2a92df0bafdb3203a400f41b4de8d5555781c2dc/ray-2.59.0-cp314-cp314-manylinux2014_aarch64.whl", hash = "sha256:6d60f9b7a94fc138ac47a07564182769fd6b6cefae0714aa7499a553bdda2949", size = 77759588, upload-time = "2026-10-02T07:03:54.951Z" }, + { url = "https://files.pythonhosted.org/packages/18/df/815ab1f99c99512cbf678bdb86ba1e1bd9d96fe7654b3a1fd8310359a275/ray-2.59.0-cp314-cp314-manylinux2014_x86_64.whl", hash = "sha256:050781099ce641b7d89896e7b0d79c820813529da86c9b5c65ecb7c89403e667", size = 78764177, upload-time = "2026-10-02T07:04:00.927Z" }, + { url = "https://files.pythonhosted.org/packages/69/3c/0919e6996d70daee39e25a405eb4181eae48ba27573dffb1b65f7f15045e/ray-2.59.0-cp314-cp314-win_amd64.whl", hash = "sha256:d3a119eac653c0a1b3bf4e25609de123e5fb994a33d4e1f270ed1ce5e304693d", size = 29593993, upload-time = "2026-10-02T07:04:06.257Z" }, +] + [[package]] name = "readerwriterlock" version = "1.0.9" @@ -6435,6 +6587,20 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c2/5a/2f2e7fc026d5e64b5408aa3fbe0296a6407b8481196cae4daacacb3a3ae0/readerwriterlock-1.0.9-py3-none-any.whl", hash = "sha256:8c4b704e60d15991462081a27ef46762fea49b478aa4426644f2146754759ca7", size = 9999, upload-time = "2021-09-06T03:41:19.435Z" }, ] +[[package]] +name = "referencing" +version = "0.37.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "attrs" }, + { name = "rpds-py" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, +] + [[package]] name = "requests" version = "2.33.1" @@ -6507,6 +6673,141 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/0f/2e/48d6cf57dec789c90a7b1cb59a21c3cad509f0ec1284632152f33bb1d88d/rfc3339-6.2-py3-none-any.whl", hash = "sha256:f44316b21b21db90a625cde04ebb0d46268f153e6093021fa5893e92a96f58a3", size = 5515, upload-time = "2019-09-24T16:46:16.63Z" }, ] +[[package]] +name = "rpds-py" +version = "2026.9.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/42/68/3bd46b8a5e01d3c2ebdf9c5e9497912e3fe0cde02bac21a7130ca866e403/rpds_py-2026.9.1.tar.gz", hash = "sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12", size = 63948, upload-time = "2026-10-04T16:32:36.469Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f5/6d/ddb8dfcf41892ba9c672d27988592c038d30db61708230313831b6780a1b/rpds_py-2026.9.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2711d29b653b3bce48a63d18b9c6b53274669e6d6c4094dddeb4d9a0e45128b2", size = 344947, upload-time = "2026-10-04T16:28:55.207Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b2/632c3d034961149eff606e3e357547620a9ab37b849ae5815f67838753fd/rpds_py-2026.9.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3231c4c0e521dafa5be0c9f114ee2c2ad46650836f2d72caa86801950c3e7044", size = 346770, upload-time = "2026-10-04T16:28:56.884Z" }, + { url = "https://files.pythonhosted.org/packages/6d/45/4df346410bb873d03ec60c3b891d1fceb8cabde1971d29844bbb625cc296/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e01b3c878c8641913e688edd1b3f08658c6783d29cf6b826bd3c0d1ae7a1ffaa", size = 377795, upload-time = "2026-10-04T16:28:58.193Z" }, + { url = "https://files.pythonhosted.org/packages/ba/b8/a70f302207e4f29f873c01a986fcac5def49b9c8224328cef1ad7da6b7a9/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3e524c7874ac72884d28e16dd5b8d839fd09e0fe76b020d3fbca23212a7b8c52", size = 383137, upload-time = "2026-10-04T16:28:59.411Z" }, + { url = "https://files.pythonhosted.org/packages/13/e3/3aa28a48a01169d0e20728bf0e5ebbea3ae2774285b40853ae49b3ef332a/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:761fdae6728ceb99ab182fad2f0cc1e262f610834dc891aea1d1a2a2e634776f", size = 496789, upload-time = "2026-10-04T16:29:01.011Z" }, + { url = "https://files.pythonhosted.org/packages/3e/a7/414e8d088602d66ad6f47c65bf07fe5090992a8574cdd4571c1a83b647ed/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b723eb406dec5bc9ec516c73ab9c3239a3284e017f7eb89ee2b3258bd504fb7", size = 395929, upload-time = "2026-10-04T16:29:02.465Z" }, + { url = "https://files.pythonhosted.org/packages/2d/5c/aac3b960fd55d37b49f77c0eebbe043eaf36762ebd48e7b46951e59c1c05/rpds_py-2026.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:136a1c3fe4402b7008bc81cb62ee538481795b61a7e83df88dff3b3f02b726ff", size = 375426, upload-time = "2026-10-04T16:29:03.944Z" }, + { url = "https://files.pythonhosted.org/packages/d3/80/77987a41c40be7202a78d9aed4a650bfb05792237cfd3b9e22638d990fe5/rpds_py-2026.9.1-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:839dde845559254f34885267c6878f60d61d5205180226d976fe488d45fa128e", size = 381497, upload-time = "2026-10-04T16:29:05.308Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d0/640b02eb1ecd71a913c1178b6235287b31006266bca9a26862e80e497b54/rpds_py-2026.9.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:56cd8b3f77d7b6812f533b662186a1f28316931166ddc00fb893b1b0db7e9888", size = 405740, upload-time = "2026-10-04T16:29:06.578Z" }, + { url = "https://files.pythonhosted.org/packages/3e/8c/d034195d45d215625a23f2ae85dbbdb86a49a93a51272061c97c80b9d316/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:074a4d198bc34d9a8ea425114fc3ded6d11ec01f6a314a8db67454a5152d8834", size = 555850, upload-time = "2026-10-04T16:29:08.115Z" }, + { url = "https://files.pythonhosted.org/packages/de/f8/532f1addfc86207bc3cf23749638bb0d457bce891595012ed8a08d0543b8/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6beb738155fe8ab8091afdfa5a3226b21c2b1593f1e50ebb90eb25b44dbc0391", size = 618661, upload-time = "2026-10-04T16:29:09.554Z" }, + { url = "https://files.pythonhosted.org/packages/50/5b/b0f2c9833a36a5b1f6ac5cb0e635fabacf713266f46ceefba2102da0bf51/rpds_py-2026.9.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:57492a550a1d88d29d003247e5f78dd8cf04a701fac0e4c8db8745a6d2504e0a", size = 583530, upload-time = "2026-10-04T16:29:11.072Z" }, + { url = "https://files.pythonhosted.org/packages/bf/20/464ed4b98d3c8c6a334f3b5e24d3886de04b05658a95fc40a37e0e6e4775/rpds_py-2026.9.1-cp311-cp311-win32.whl", hash = "sha256:d95a354e02393eada6d7351184671aced9d4cce109dabf927cb7aa99624352a1", size = 208125, upload-time = "2026-10-04T16:29:12.408Z" }, + { url = "https://files.pythonhosted.org/packages/df/c9/384a9b62f8cd89c8e3e609b8c9052c140e8c01d807261e0517c904b8bf29/rpds_py-2026.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:ce4d4f52e2a4324396caddbd45a97d8d7be5f42edd25d2355282a9c34f9b2f7f", size = 226045, upload-time = "2026-10-04T16:29:13.751Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3b/0a691f0dcb2301fa9c736346da2d0d4991778373283301c5c12b8f952f3d/rpds_py-2026.9.1-cp311-cp311-win_arm64.whl", hash = "sha256:fdcd198979b4ecffcc1beba366a7fbcf4eb41243691a82fe52ceb0b902f09c12", size = 222636, upload-time = "2026-10-04T16:29:14.989Z" }, + { url = "https://files.pythonhosted.org/packages/5d/34/a828586ea3329fbb50895b50e9cf98ca3d924a9f41a0b26d443bff1b3794/rpds_py-2026.9.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:50906f5aea24b5a865cbd0a589698288631d9f3a54c3a937c83aefa95a0d14af", size = 346822, upload-time = "2026-10-04T16:29:16.258Z" }, + { url = "https://files.pythonhosted.org/packages/90/81/ac6a0d064982251856ce009c9e1dd51a34110b3c055aa7d1aad18b4899a3/rpds_py-2026.9.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e21c1429e205828ea886a2293a4a2c8e01f4c25d9893ca330e97a6cf73f52e7b", size = 341380, upload-time = "2026-10-04T16:29:17.706Z" }, + { url = "https://files.pythonhosted.org/packages/42/ff/bf7d54f362748fd6a49277b9d6531c394074110fedf50ad791ec59133fbb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2693b2728bbcc48d09a981a356954b0c47c53ff25b545856f28a889ea619f69a", size = 373053, upload-time = "2026-10-04T16:29:19.063Z" }, + { url = "https://files.pythonhosted.org/packages/60/de/74b0ccdbbd28687b9b5fdb34c1cabed88352182facaced9d6f5486b8b9ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8601470267d938bcb7f3ab1a336100af51a4fd5b6ed030ef52461bb3ef5e7e07", size = 377742, upload-time = "2026-10-04T16:29:20.543Z" }, + { url = "https://files.pythonhosted.org/packages/c2/6d/b979775a3057b2a5c26d75ecbff60a20a24ef081db6dd76836fca3f20247/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3890a6aa36e6baa53d5258a2a25d3ef8b37ad165a6ab27a892d7c3e3a432cd69", size = 487289, upload-time = "2026-10-04T16:29:21.958Z" }, + { url = "https://files.pythonhosted.org/packages/1d/5d/7c34734ce3ece943d9d6ee0122a74a21bbc75b47acb5b7053c83f6efb1ed/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6b5b393eda5ea42cca1c1a6665f2a4882b4fd5d1777e41ce0545a107fb008c9d", size = 390710, upload-time = "2026-10-04T16:29:23.378Z" }, + { url = "https://files.pythonhosted.org/packages/1d/6d/b26eb1e75395925b3a142ed351cbed2ec8212f5c9d937aee3df32c701baa/rpds_py-2026.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:addeda51556dac7c1a2f14cda62db8b621cd12afba3091d03a96c72932387eab", size = 371261, upload-time = "2026-10-04T16:29:25.1Z" }, + { url = "https://files.pythonhosted.org/packages/7c/98/b2fdfe10301a9e27af21e634337fbba7baac0bc17fe44619a17c26bba2cb/rpds_py-2026.9.1-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:d9edf30457d74eebfd76b045535e36f1cd89062566a128a0db2145ca042d787e", size = 376075, upload-time = "2026-10-04T16:29:26.748Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b1/c4b8d954e49c3c69cf8063c0c9e0919c99f3d2cecc46311606a1cbe835dc/rpds_py-2026.9.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:815d26356930846a40c7bc1366e7b1b0320ab8a063e66c11298a208bed0fd237", size = 399358, upload-time = "2026-10-04T16:29:28.282Z" }, + { url = "https://files.pythonhosted.org/packages/b3/59/9559a7293c97dff0cbb293efffbd36644103883ecc27741af8ef90c84ca8/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3b5a6f40f0a1486b4b36c888123afc67acdbd9f33235927acf5ff295429a0ba3", size = 550267, upload-time = "2026-10-04T16:29:29.851Z" }, + { url = "https://files.pythonhosted.org/packages/6c/9d/6dc60e49511de4c8b00e74f9c1d43aed4d27f712cdb1ade92f2c199cbf64/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b5b8b0753718d258fd454283fbd57e14545d3b40583fa672e27cb4f987626bcc", size = 614018, upload-time = "2026-10-04T16:29:31.54Z" }, + { url = "https://files.pythonhosted.org/packages/fb/bc/92a4ecf27301b886232a413360f6b348a81d55ffef654f2ebda5970ebc3d/rpds_py-2026.9.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:46d80bc76b51a6c24f9944368c28d38b8bcbcea1da4f2f8d3ebc31a67e8c6ec6", size = 578509, upload-time = "2026-10-04T16:29:33.01Z" }, + { url = "https://files.pythonhosted.org/packages/08/53/efb97f2e6589b7ab8394385a73870e0b2ab2a195281c117b21fd6d7d4855/rpds_py-2026.9.1-cp312-cp312-win32.whl", hash = "sha256:befc2d6a953e563f8a7bfd87a42c22ebf8a3e980dcb7b6a4d17b70b0e914e8a3", size = 205401, upload-time = "2026-10-04T16:29:34.451Z" }, + { url = "https://files.pythonhosted.org/packages/1c/84/1700cc748d0eaa747486e4e82882d2575224e6e9a3148df583058850c629/rpds_py-2026.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:5ce8943f79c2210f7abcc28e86367b03b28d95027fd01c46d2472373ae70c86f", size = 222923, upload-time = "2026-10-04T16:29:35.709Z" }, + { url = "https://files.pythonhosted.org/packages/c3/89/0302215373c2f8b4408b0fdfee955368cc378a98ff59508d47a7e0dc2dbf/rpds_py-2026.9.1-cp312-cp312-win_arm64.whl", hash = "sha256:501909f2e4a1e2dee528ef766fe3c469060ebc17e54a8383d404ba07a81a6f02", size = 218415, upload-time = "2026-10-04T16:29:37.263Z" }, + { url = "https://files.pythonhosted.org/packages/83/ea/ee88fd9e756ff93fb6b1182a47ec09504a242620e33ce1d20679efefe841/rpds_py-2026.9.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:a36b70596407634ca82d4b989a3729074a008537a0522e4c8046a67c729103e9", size = 346229, upload-time = "2026-10-04T16:29:38.82Z" }, + { url = "https://files.pythonhosted.org/packages/57/71/a097d6552f837500fc36e6b23d09cfb9890c3cc47531f9ca64e149799615/rpds_py-2026.9.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eba5d173f7d5708b22a93815017a4611873ed54db9f268077c0dd1ed99cfc858", size = 340514, upload-time = "2026-10-04T16:29:40.405Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b7/497e85768bf4e0d8ddbaa096a4cac31d1509251dee2728a8490aa367e0b5/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:457866b85daf5034296666168b84a69e0b2e89dc4f1af102b46f6448a60b9063", size = 372611, upload-time = "2026-10-04T16:29:41.778Z" }, + { url = "https://files.pythonhosted.org/packages/52/4b/74ab4108916250b6e198e0d3af05bc6835eb046315f22f7a0ceb49667c5a/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a3a52a3ba86436ab3aef510fbe21512abc2ddd1993005dfe50514bd2284ef025", size = 377712, upload-time = "2026-10-04T16:29:43.242Z" }, + { url = "https://files.pythonhosted.org/packages/0c/8e/067e77d9d7b3cc793c9d909b7e97e7aadbbb1fb094093b6876902cc96d38/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7841166b7fa64c9c56404617ae4341448847482d45933b13135d26c130519e5", size = 488106, upload-time = "2026-10-04T16:29:44.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b4/c5aae6c2dde269bf955f6b7d35065c655a57e47750d9668052ad67e74dda/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:926bdd3e3b5998ddf70cc64bc8cf57209571f9044542913afb673799fec77dd0", size = 390795, upload-time = "2026-10-04T16:29:46.129Z" }, + { url = "https://files.pythonhosted.org/packages/a0/36/76fab39973ee11e7f9f357c55138197bb01c86f6502cb76487e3b4f42db0/rpds_py-2026.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7868b85224291c6cb6759f9b5adb9745f486d226f62b16a614dd5a2a5ab2b35b", size = 370794, upload-time = "2026-10-04T16:29:47.603Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fe/cd2a80e6d7b871937a60e935c5d507aa390d143f4ff3636f640b9733d5df/rpds_py-2026.9.1-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:3cd182d7291d29b92c521a0069d9c01ba6193628a9a105531d11b40a6d731a33", size = 375673, upload-time = "2026-10-04T16:29:49.223Z" }, + { url = "https://files.pythonhosted.org/packages/6c/18/7464a9953724e55a3b3206062fa0ffdeaa519584c6aabf65d3956d94f131/rpds_py-2026.9.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e6ea1cda8d8c688278430e4268a42f5e5da3bdd74578dfadc0820c3f1766ce83", size = 398758, upload-time = "2026-10-04T16:29:50.601Z" }, + { url = "https://files.pythonhosted.org/packages/c0/86/1534b436700fd49ff411063b7c4d7e938adfabf90895b6cf1622d5a7d1f6/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5943980471829f6de242a20b109de3111ba6b77e3af0ffc587028ac854b05e6c", size = 550370, upload-time = "2026-10-04T16:29:52.002Z" }, + { url = "https://files.pythonhosted.org/packages/57/1c/e1fa82a8a01e3c5820f3ba98a8b2673f642128eb368fa88871b01dd2c909/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:76d3af9732d2dab69f28179b40ba2d87e2f1d5824b4a694780aa787d685e8f36", size = 613106, upload-time = "2026-10-04T16:29:53.655Z" }, + { url = "https://files.pythonhosted.org/packages/29/55/b20b8c4c3dde8755bfcd5b08492a02d0cd2e26929aedf6199ca2a377d42a/rpds_py-2026.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:78326f4cb4427a56ba4996c0762b63be45f06b85f086526420d2b3a66e40f84d", size = 578235, upload-time = "2026-10-04T16:29:55.157Z" }, + { url = "https://files.pythonhosted.org/packages/55/42/df3f7bbc3f7ab37a8a9db8d6c2ff2c985422899f1f7926afbf7ec3c0b8b4/rpds_py-2026.9.1-cp313-cp313-win32.whl", hash = "sha256:172e47169583f46ce118cbec68e6795d0da0f4606b488b6434f8276bca0a058c", size = 205293, upload-time = "2026-10-04T16:29:56.669Z" }, + { url = "https://files.pythonhosted.org/packages/31/9c/ba5a9569d719bfdd6ce863df4133ac6a1658cf1b07cc3534c31db729fbbc/rpds_py-2026.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:3e93b2cd69a9830be33e03945cd7cda940a0a8bfcfbff41d6144f0cb0d3d8bd9", size = 222409, upload-time = "2026-10-04T16:29:58.049Z" }, + { url = "https://files.pythonhosted.org/packages/35/72/f28ca566f6c23c35bbf7445f65eb0364577b25a026305995e24f78b83d94/rpds_py-2026.9.1-cp313-cp313-win_arm64.whl", hash = "sha256:d151e148117294133bf8af7eeace085e7e87432db15ab6adf640330298a47f6f", size = 217681, upload-time = "2026-10-04T16:29:59.449Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f2/67b94be1532767803415c1c5a1fd88ea487643d74a673cec1ba140af77bb/rpds_py-2026.9.1-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c9d1aca01f49170fdcf5c92761b1fafe97f554b721ca4570c5949fff778f0d4b", size = 347178, upload-time = "2026-10-04T16:30:00.865Z" }, + { url = "https://files.pythonhosted.org/packages/04/37/b751de2b59b0197a1d92a5dd491de88e8a5e928c2e6562581974f1e85263/rpds_py-2026.9.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3f0e9ac28fc067d4d34b88ae43c48e9489455c97fee9633d851f7eeed5a05d35", size = 341878, upload-time = "2026-10-04T16:30:02.564Z" }, + { url = "https://files.pythonhosted.org/packages/72/e2/5873bc4643c250db9e05d48dc0c93763d4aa68bc3b81164cb1af3b45b284/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:07deecbfce94c78473018bc7d10b337cc651d12df87a1eb2cb3e4024bc9c33d0", size = 373963, upload-time = "2026-10-04T16:30:04.026Z" }, + { url = "https://files.pythonhosted.org/packages/51/03/5acf7632158247f3f6386ff0af3a1ee48167d575037e8d0920594b76d92b/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:821b2755db9194409254012f429c56643416fb96ef9be090be82ec8826b7f477", size = 377975, upload-time = "2026-10-04T16:30:05.555Z" }, + { url = "https://files.pythonhosted.org/packages/e6/00/63fda451b8bffa5808fc8bb311ee7c073b340974b09f273c7b2a145d3d62/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c91c210ae7645626c608400e3519b4a642f837cce09ca830db3beb2e9f274d4", size = 490347, upload-time = "2026-10-04T16:30:07.156Z" }, + { url = "https://files.pythonhosted.org/packages/a1/ae/c093ffd070ba0fb02f76c565d06fecc65ad6e4afdbae78f7031076d3cdac/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:54ac2158a6f96cfbabff0b2eedaf94b90c5ec7ca8317fcadc61e1c2b2e0ff6ef", size = 392962, upload-time = "2026-10-04T16:30:08.77Z" }, + { url = "https://files.pythonhosted.org/packages/22/9d/d08a1128ab199b2f0cf25bfeb0639bd05119fff4b7c47bec24ef9a8ec23f/rpds_py-2026.9.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eac2f5dbafd585dfe31f86a23ebf0d3ba480a9d49ebc87947267b5608d4ea0cd", size = 371623, upload-time = "2026-10-04T16:30:10.501Z" }, + { url = "https://files.pythonhosted.org/packages/53/c7/4758ddcbb75609414bbccfcb11d612436f9b3ee821bd2f33f0f1604ee648/rpds_py-2026.9.1-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:8aa5dda18d39b6143eb24809d158f9252c88f402749b6f1b62a506cc7d96cc35", size = 376997, upload-time = "2026-10-04T16:30:12.124Z" }, + { url = "https://files.pythonhosted.org/packages/87/e4/947bd7f608ff60faf46dc9d389c3dffd0e3d767d78a0be19978448ef0ce7/rpds_py-2026.9.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5c90e7fa02e8f5de0d10c17595c568ada48c5302e749462c0ea1a4c362111a86", size = 400169, upload-time = "2026-10-04T16:30:13.804Z" }, + { url = "https://files.pythonhosted.org/packages/4b/35/fe93e020a0543b5670472c18d7e6af3197c08da571240ce1965c84f85c0f/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e6d198bad4e49dd6732fbd636e2fc5c082f45c8cad0b4acb756b00c82c76072e", size = 551615, upload-time = "2026-10-04T16:30:15.332Z" }, + { url = "https://files.pythonhosted.org/packages/0d/4f/5d2a0136bb03b2a56a39dc6ff92d58a6e3e53a2e17079238b86228882f16/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:96beca19ec79de272e8668585380ff9092c47077c1d7a1e098e00bbd921f4785", size = 614655, upload-time = "2026-10-04T16:30:16.92Z" }, + { url = "https://files.pythonhosted.org/packages/09/1c/3f1025aaf70d9bf7272cc41f8b64ee76b48bf01726248138430e16f23b38/rpds_py-2026.9.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5cf77eb04f20b720be95265a3e00eb2a14814074255cc27069c551b2db53118", size = 579602, upload-time = "2026-10-04T16:30:18.555Z" }, + { url = "https://files.pythonhosted.org/packages/53/0d/5c72e6204f76610608706da32b6b7e11ef7e10317558a7bb15a122e008dc/rpds_py-2026.9.1-cp314-cp314-win32.whl", hash = "sha256:a03d57b86d2a51d0a66c92177e2be154ad015f357791d306e714569999cdb4cc", size = 206315, upload-time = "2026-10-04T16:30:20.05Z" }, + { url = "https://files.pythonhosted.org/packages/a4/0b/489d48abbcc7d70cf3fbf662d9d22abf1f4650761c0a9ae05260800800d3/rpds_py-2026.9.1-cp314-cp314-win_amd64.whl", hash = "sha256:837c6b305e26fe0f75b15c92cf3b2ba29e0ae19dc40b1c557b026cb426347d0c", size = 222852, upload-time = "2026-10-04T16:30:21.604Z" }, + { url = "https://files.pythonhosted.org/packages/91/16/bbb05a7e6a10cf79ba639be7f799d770ee15f64175cc61d081b218dd402a/rpds_py-2026.9.1-cp314-cp314-win_arm64.whl", hash = "sha256:fce4b85234a0cbad67bf8e6e1201ee815d172c9aebad75f25645bc4d834f8e31", size = 218709, upload-time = "2026-10-04T16:30:23.036Z" }, + { url = "https://files.pythonhosted.org/packages/22/ac/ac507a0a4ec478ca470440a09583db4be5259ba7670aeba0620822f1e57a/rpds_py-2026.9.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:3a72c11530d71abfb66c8d7696a2f86c43e63fca8b948f1a784ac490f4ec688e", size = 349596, upload-time = "2026-10-04T16:30:24.558Z" }, + { url = "https://files.pythonhosted.org/packages/e9/f2/817a46b658d5070f477f722c298ee9a24525b0e4017347964146ef5fdd0e/rpds_py-2026.9.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:068c37bba854ec2fe42f7365c640af11dd9895890ccbf2df5070d0c059bd7f96", size = 343114, upload-time = "2026-10-04T16:30:26.048Z" }, + { url = "https://files.pythonhosted.org/packages/6c/42/6ade976b13ac1b4cb3bf2eb603f1be2fe74df19a29988d4c2b386be59d6f/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fca4eb6df565e2a928f1c7dad92d27db8f9df0f449e76423ed5d7e713ed445", size = 374197, upload-time = "2026-10-04T16:30:27.699Z" }, + { url = "https://files.pythonhosted.org/packages/d9/70/77cdf1d3f1a07faabe936016ae623aec7981f73108a8fe7a203ed2e21998/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c933c6678c6f116ff8af47a4c6db0868b8ace74af0343016c0ef00f00272ea69", size = 378025, upload-time = "2026-10-04T16:30:29.451Z" }, + { url = "https://files.pythonhosted.org/packages/3f/6b/18a44a3beaa9b7931acb04af7bd9539836477c630a794452d4826d6185d4/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:028ad274ea951dac64491b5d1e65712a4aeabfdbdb9fccf797b57bd899b0c495", size = 491969, upload-time = "2026-10-04T16:30:30.995Z" }, + { url = "https://files.pythonhosted.org/packages/73/27/fb39cfd6bddaf741b024f813890374578ff8ac1f1adc473659c048b03b05/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:740d0a99cf9de0b17a3943388e9294a59becf75e7c43421f387bd3c7a9901f7c", size = 393905, upload-time = "2026-10-04T16:30:32.628Z" }, + { url = "https://files.pythonhosted.org/packages/ed/71/0fa7bb77b57af0d710273964180d11b503f62b8a5c358eb2d8c3f62feff6/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0da298fb372dc192610a4b9ecbc68a0cd8b675bbbd1fc519d01b41cfd658333e", size = 374569, upload-time = "2026-10-04T16:30:34.257Z" }, + { url = "https://files.pythonhosted.org/packages/54/22/f41cfac269af3b449513ef1bc3d7f32fde52abbbd2d01c7e76b47743acd9/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:eb61be926bb81567c1f48bdc8aa22b9855048dc2efd53871f9f7e6e9a5632346", size = 377482, upload-time = "2026-10-04T16:30:35.997Z" }, + { url = "https://files.pythonhosted.org/packages/b4/fc/312b49006e7f8f9ca5f96647577b8aa6f3df30519c46bd448f5c425af0b2/rpds_py-2026.9.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:42e75466f83cd43f6026c81eab74246efb2bdadafb307b85700632d06c68f299", size = 400040, upload-time = "2026-10-04T16:30:37.76Z" }, + { url = "https://files.pythonhosted.org/packages/cf/a6/18cca7a878dc7fa95165a83343fd4d7b65643fd22e54e47340a451121d5c/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:617f59cde379b4f648a09797b7f683d04b90a46344cddab85639da5aff0f5531", size = 551849, upload-time = "2026-10-04T16:30:39.443Z" }, + { url = "https://files.pythonhosted.org/packages/e4/6d/1f5685e20f39604691bdc3c05aaa6b8bd2f954e9e996477adf2376768e33/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3edae8c5ddfdb6985d49ae9d150516e5076888879022f91a26c2de9276ce0bdb", size = 614842, upload-time = "2026-10-04T16:30:41.231Z" }, + { url = "https://files.pythonhosted.org/packages/c6/25/98652109fd9f7e10268dd4571aa52b81987001b806f37ef1a18260de714a/rpds_py-2026.9.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0f045bb053c9057720d72c56dffe30dffdc05997b2897a827b9325f0ab6623fa", size = 582606, upload-time = "2026-10-04T16:30:43.345Z" }, + { url = "https://files.pythonhosted.org/packages/19/03/11ca09099bab5f53373a80a334c424ec917c13d050760a59499d2af5171e/rpds_py-2026.9.1-cp314-cp314t-win32.whl", hash = "sha256:bf35d0568abda97233239ce32896d3ad53fccc537832c104e30c94aa5fb93569", size = 203341, upload-time = "2026-10-04T16:30:44.954Z" }, + { url = "https://files.pythonhosted.org/packages/6f/8a/88909e3ffd9f47f5b58211473875d8c3c09079f0058c46fb72c55a702a26/rpds_py-2026.9.1-cp314-cp314t-win_amd64.whl", hash = "sha256:1e8d4d79d828299bf44a55db22a9388ab967b49d17132c88eab0f4360b48da8e", size = 222843, upload-time = "2026-10-04T16:30:46.486Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b7/a662f367d4896dd0a10cef2fc91f10b7f08af1c10858e287e019563f338d/rpds_py-2026.9.1-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:1d77b649e6f7cdf12ca5c2a98dad0ad37f9ea9b6f960408a92f0cb12bb3d04d9", size = 347463, upload-time = "2026-10-04T16:30:48.203Z" }, + { url = "https://files.pythonhosted.org/packages/ae/3f/ad45d03df4f84ebae5439577ee81f3999d182711e82235c8037b6528890e/rpds_py-2026.9.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:00ba2d8c7dd4ee537978ddf4b3fbd712bef2d8751603f7f3146b3f4287768e25", size = 342051, upload-time = "2026-10-04T16:30:49.872Z" }, + { url = "https://files.pythonhosted.org/packages/7e/31/3dcd68c13d4bcc59c1f7eb33ac8e80698f06f3eb0d8a1e06419836071c20/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec450527cbf485e13c8d3602a54f428ab0432fdade0ede75efd74b735421c871", size = 374143, upload-time = "2026-10-04T16:30:51.508Z" }, + { url = "https://files.pythonhosted.org/packages/cf/0d/68c1f058a250fbd1380ebda9fc227cbf50117adf8ffe8161ef383ea79f68/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:306ee1850d8105b5baf977e78d45fcadd12c1a54678d614c9baf217708446e91", size = 378604, upload-time = "2026-10-04T16:30:53.206Z" }, + { url = "https://files.pythonhosted.org/packages/d7/d6/2d4c59b85397cb4800594fadf692688ccf5ce556adc930e7a5bf21061a5e/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ef6b65b03247c54692ad4fd9ee97cb772781927db72e3cb05e70b3db6d1ff14f", size = 490790, upload-time = "2026-10-04T16:30:54.925Z" }, + { url = "https://files.pythonhosted.org/packages/da/04/7e05dc3aebaf52f4e026766bd668fdd09a9d0e23f64a14686b36b3501892/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a575404ebc9cf2e91edd32eaf570ec1430eb900d4f56724ba7dd4bc1fc9c176d", size = 393146, upload-time = "2026-10-04T16:30:56.625Z" }, + { url = "https://files.pythonhosted.org/packages/57/ca/e2e9a0a46a74ed51a0498ba1fe10f4ea6b2d9a155f372a2f91e51f18cf10/rpds_py-2026.9.1-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c16ab111bc27c646ba8aa005d0527754edc538ebb636f0b1bf8e244b48d1945", size = 372022, upload-time = "2026-10-04T16:30:58.295Z" }, + { url = "https://files.pythonhosted.org/packages/ba/cb/8f8774df5134e23424372838bcc5c7ed4127d723e1ff52f7bebd4dcb2563/rpds_py-2026.9.1-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:7664419f27db41d4f1c43a78dccda7dd6e8ef2428df3ee01d0c2a07a6b071297", size = 377092, upload-time = "2026-10-04T16:30:59.984Z" }, + { url = "https://files.pythonhosted.org/packages/90/02/8d7095d73bf9114219be40230baa5df00611e0a82ed9517779ff9c19f82b/rpds_py-2026.9.1-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4b26b03d9d2658ee2fa234f8f4f19f38a09773fe5261028025032e26d4d35af0", size = 400830, upload-time = "2026-10-04T16:31:01.721Z" }, + { url = "https://files.pythonhosted.org/packages/ec/02/8206856f8f363cd042a8315dc86b3912f5dcb6d3c66bbb24b69c2bfb0775/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:be3e47e2d91aa3942ff9bf4077a505226005abfc39b6f7554a91c1b9393986b9", size = 551478, upload-time = "2026-10-04T16:31:03.472Z" }, + { url = "https://files.pythonhosted.org/packages/41/6b/36211f1bb1f0b0313f496d92f5905b74ea107f27cb16fa3355a82f04575e/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:6307a0da524939decb8ca4a3933b8ab62525794411d6984fca6726e732804af6", size = 615173, upload-time = "2026-10-04T16:31:05.281Z" }, + { url = "https://files.pythonhosted.org/packages/35/77/cda0c4a6f055446b692f0ed5692f73707cafd3dff82672ede31b1a9b59de/rpds_py-2026.9.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:159a7aab5c5e8b112c8830f54717ce56da1252ebdbb526f5be2df2309280b9e7", size = 579653, upload-time = "2026-10-04T16:31:07.065Z" }, + { url = "https://files.pythonhosted.org/packages/74/ec/d8385f446240aed643b9e92a5055cff3015cc04a13c61f73b2883c478ed5/rpds_py-2026.9.1-cp315-cp315-win32.whl", hash = "sha256:dbc2673f9223d420c91145599b3ba45a8a50c207d1976908e5fb5ddb0c9b9429", size = 206498, upload-time = "2026-10-04T16:31:08.989Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a5/71b5cd00e0521e3b6b81828baea368c62b6b700ebdd9554cd7d41ddf12fa/rpds_py-2026.9.1-cp315-cp315-win_amd64.whl", hash = "sha256:75c38c50ab9aca840225d9a9a3810bf11d04bd5c1f186cabbb8aee56db3e9b15", size = 223121, upload-time = "2026-10-04T16:31:10.84Z" }, + { url = "https://files.pythonhosted.org/packages/33/58/dba857c3bc8221b31b62eb170a3080f4f191de79f047200389b7ed1b06a7/rpds_py-2026.9.1-cp315-cp315-win_arm64.whl", hash = "sha256:a431156bb41865fc14cd5d79bb9d7bbed83110b0159e34e62ae30951f96c0009", size = 218741, upload-time = "2026-10-04T16:31:12.592Z" }, + { url = "https://files.pythonhosted.org/packages/5b/d0/320ab28ccc1415eeb509d68682b0014fb74690cd49f1c2d29a232475af50/rpds_py-2026.9.1-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:ef0d8c843e2827d6c120ab4687e9423fb1d893db1df27b7c1506615bcb9734a0", size = 349719, upload-time = "2026-10-04T16:31:14.48Z" }, + { url = "https://files.pythonhosted.org/packages/56/88/f5b12f1358f443c08b7ce3cc8391d82d335f4872580e2e097847fd36087a/rpds_py-2026.9.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:45bc6bccf78b20fd834237d18db64965d7ee68ba7f60440a26c7ab71e7b8d51a", size = 343267, upload-time = "2026-10-04T16:31:16.827Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0c/c765b0059d532acb3b9c45d781ccc22f15a96dbe443d00903f643ba9df10/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d55198263bb51f557550c6ed2e6d1cb6a6fed6eb5c9120b741c5926bef8a45d", size = 374555, upload-time = "2026-10-04T16:31:18.931Z" }, + { url = "https://files.pythonhosted.org/packages/6b/8a/cafddfda77564a10cd21184640c3bffda6a2b8d20972fb5dedd5e0166328/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a8763f20692da7df39b0afdd1ba3042b004c50a45994f76c2d9a25641f7673db", size = 378346, upload-time = "2026-10-04T16:31:20.75Z" }, + { url = "https://files.pythonhosted.org/packages/b9/01/5e626016eff72c183bf6c96539240cace15d402468647a453ec08415b2fc/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e43d4a1f673e8a1cbd8533e809e02b4bf9d4f2280269bb640436556312121250", size = 492373, upload-time = "2026-10-04T16:31:22.614Z" }, + { url = "https://files.pythonhosted.org/packages/3b/9c/15a2469e9389242f46896b3f0a01d68caea8a5a35c011fcb05ef333aae73/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea394a937f17a54c51239348bdbe2e3518124c8d4a8951ba04a311d3095bd18f", size = 394371, upload-time = "2026-10-04T16:31:24.768Z" }, + { url = "https://files.pythonhosted.org/packages/63/f5/c100ff77e1e6366e947c75969c258fdfc4b7bc5bbfe7351e62ffbf2a1228/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdeaa99ce822dca76cfb1b993e9120c5ea212f2eb66d48950ad63c349668a018", size = 375132, upload-time = "2026-10-04T16:31:26.588Z" }, + { url = "https://files.pythonhosted.org/packages/dd/f4/fe0269c9de253e99c81cabc12b8971a5feaa083debdaff1221e06264d9e3/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:b4f062343e7ad3fa94f2c66e5ae667dee47ee74dd41a9057c4fbe163236a123d", size = 377642, upload-time = "2026-10-04T16:31:28.677Z" }, + { url = "https://files.pythonhosted.org/packages/05/65/b34a7b257baccff8f4a24a722933166d4941d5ebdc9c3f4bc4ffcd5ce4f4/rpds_py-2026.9.1-cp315-cp315t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:22ffd29a63d71fb1b81552c21f2c2b734949b7ac751a9be70675a939a900839b", size = 400855, upload-time = "2026-10-04T16:31:30.802Z" }, + { url = "https://files.pythonhosted.org/packages/98/32/844e54176b6071b90b38a564e6940bc6eb8f97b2890dc709c19db9dec0f4/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:08dae4a4095150a7c4545a1fb40b98e1ab1744fbc2770d92c977b9dadaa49ab6", size = 552573, upload-time = "2026-10-04T16:31:32.709Z" }, + { url = "https://files.pythonhosted.org/packages/17/73/6041d20729dffbfdf155c02d65be58bc225a1c1fb548fd87c23ef306138f/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:9a0460d43603d1fd9ef59c30278531e15d78581721ddb538fa560aa7817ea4ad", size = 615840, upload-time = "2026-10-04T16:31:34.565Z" }, + { url = "https://files.pythonhosted.org/packages/af/9e/418094adaee6b056ce199051b255448ed872829051e341b2294c80da0977/rpds_py-2026.9.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:1c2d1f6da5128eabf34e963d7163a818846075a52568250d006c4c953b40f903", size = 582764, upload-time = "2026-10-04T16:31:36.665Z" }, + { url = "https://files.pythonhosted.org/packages/3d/9b/1698ebf6b840ddfe8b472198abbed6ace35c6e398faeecd6c47dae742a4e/rpds_py-2026.9.1-cp315-cp315t-win32.whl", hash = "sha256:5c6ee90dee3e85e055ddfd502d611643d9b0fd94c818220bda84ec3dacd9b27b", size = 203795, upload-time = "2026-10-04T16:31:38.53Z" }, + { url = "https://files.pythonhosted.org/packages/8a/e2/91f70d804c61f8eac39a417e82aa1024f655ab9e8bdd7393b196242bc41b/rpds_py-2026.9.1-cp315-cp315t-win_amd64.whl", hash = "sha256:fe5ad0664ec772b02c45859041aa17655709cced7a31005817fbbbd988c25567", size = 223037, upload-time = "2026-10-04T16:31:40.468Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ad/f0eba548e297987964ef8088403db875b333963bf8189f3f563b6936b20e/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4c0d2cb595a420b34d5086db0add011e26e2c09d6a024afbac4228bf8f863a30", size = 384112, upload-time = "2026-10-04T16:31:42.643Z" }, + { url = "https://files.pythonhosted.org/packages/33/89/891fa4d81f1eae7fe262ecd0aba2c51de94a116c7f3ccfb034fa75f4c537/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f3d6ed6a98cfd19155996605474982cc470d7601746a6439078f1a5a3fa8b050", size = 389662, upload-time = "2026-10-04T16:31:44.642Z" }, + { url = "https://files.pythonhosted.org/packages/4f/46/912cf623b2263f9c9c2d04e8508fc38dbe89983faeba5fb36ca4558ae550/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8171b44a054e5c67fd748ada04187f1250bf35b95f85e52ab64bcf3331a923bb", size = 504637, upload-time = "2026-10-04T16:31:46.667Z" }, + { url = "https://files.pythonhosted.org/packages/9b/5c/7f3cfa7c5f01765c9f47c8398210ed0c1eb686c0e99c223cb1c6776d3fb9/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fda1d96e542c37b6c804547dbf489c129fe7c97183a76a5ec275909ba1a063df", size = 402607, upload-time = "2026-10-04T16:31:49.068Z" }, + { url = "https://files.pythonhosted.org/packages/f0/76/2e915d4115ee453c33e6af17bc1df7e22ddc52974e178eeeb92a78c09983/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:270bdcdaac5d5b6f73c5e22e7e135c7f2a50e789f71d9e241d5be8d90026e19a", size = 382762, upload-time = "2026-10-04T16:31:51.24Z" }, + { url = "https://files.pythonhosted.org/packages/0d/e5/844382925d7b84a4074ad79fc2b9d05eb6231ea243b34f247e68e519b606/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:84a6ecc0c940169190d2c23bd969debd48c94dbc855acd60188a68d71d421608", size = 389563, upload-time = "2026-10-04T16:31:53.549Z" }, + { url = "https://files.pythonhosted.org/packages/81/82/d6e3951602dc2e24790ef9d299aa24bf5e2493df5043f2c6da00480cc447/rpds_py-2026.9.1-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ab4b2fda7c2b542f7f9d886cc6a838c5079d2b76f72e6081411faba11adde2c9", size = 416842, upload-time = "2026-10-04T16:31:55.76Z" }, + { url = "https://files.pythonhosted.org/packages/ea/1c/8d248e4ea671d525ab7daa0703ad81cc2175076fa0ccd7ef088facbd2b01/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:44b32a7c4f0da3d28af31c259e38ddcff096f855e205ed0671d02fcf44f1ea1c", size = 562434, upload-time = "2026-10-04T16:31:57.874Z" }, + { url = "https://files.pythonhosted.org/packages/ad/38/e7ac0db898120d15dea25e3661b1242a40cb3b23d1f4db86c15a01fe0ba1/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:a3dbc5ed9514908d5046107d7b1346bde71eea61de6e0e4919c19354f97e769f", size = 627909, upload-time = "2026-10-04T16:31:59.977Z" }, + { url = "https://files.pythonhosted.org/packages/03/c8/37e555514932cb1ee36c75349187aa882a98dee5d5654c761699ed8a0d27/rpds_py-2026.9.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6eae33003518fd4cb4f83a218d5371469dd3001aa3b87128c005b07762f7fe5e", size = 593658, upload-time = "2026-10-04T16:32:02.14Z" }, + { url = "https://files.pythonhosted.org/packages/12/5c/5f69a91add94a8a33acea68a2b034a464946a654ff7296af9d957ef0d6a5/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_10_12_x86_64.whl", hash = "sha256:0483515261947e4e8b8e1375bf7463e7eb6ccfb3d86e7b554d90cd5285f20f32", size = 351769, upload-time = "2026-10-04T16:32:04.675Z" }, + { url = "https://files.pythonhosted.org/packages/41/22/35ea8bf3b2682b90ab687c74e4828418ff12298a5b0b0a0c033f61c86a30/rpds_py-2026.9.1-pp311-pypy311_pp80-macosx_11_0_arm64.whl", hash = "sha256:4cfaf02209061880210819934de2f4f6aa83dc04dafe6770276acc240a56da31", size = 351719, upload-time = "2026-10-04T16:32:06.834Z" }, + { url = "https://files.pythonhosted.org/packages/a3/90/a9ba81408369d34c1aca73319c15adc91ed45c1d21e9e8ee4832ffb7fe0b/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6cdc537c8633d7fd92a82e2e0d2ab74320a3f63d5e59fb9cf08711e08fe151c4", size = 381109, upload-time = "2026-10-04T16:32:08.994Z" }, + { url = "https://files.pythonhosted.org/packages/b3/44/5192a0bed94cec86bd2a5e1cc5a1bb8f7eec3aec907eacd2deb13e87e326/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:10e208f2425d973938afcd56e28a7c4be32e27b6a60b5d381f49fb9d8acf9759", size = 388222, upload-time = "2026-10-04T16:32:11.321Z" }, + { url = "https://files.pythonhosted.org/packages/92/cd/5356549711448f18b52f7a11ffbe90f1228774996fbf3c6cd1b18d22abaf/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6c0dbbcc19735fe5f8b0a54c07659d154a9e69f47e15d0a6ab7299215daf62cb", size = 500384, upload-time = "2026-10-04T16:32:13.478Z" }, + { url = "https://files.pythonhosted.org/packages/7a/88/ddda9d28adfe33119c75b2e733d4ba7e326f41d7e1b1093951771768ca48/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:684fd492fff4fead00587544e059be2bbcb6f93454f21fa2a91b66fc7508be82", size = 401661, upload-time = "2026-10-04T16:32:15.653Z" }, + { url = "https://files.pythonhosted.org/packages/32/c3/bb59ba16a6b4a57995d15b8c04c00f28df3b938c4dcdde48fbe0f73edb0c/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1028417bb44037eb3069c1009bd7b7277212876cda22fbe565b0bca9fab6d2c", size = 380748, upload-time = "2026-10-04T16:32:17.727Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b8/0580faa1c5a32ddc160130dd7ae54d2d007272a89a40a6b5db3e50f9f585/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:492e5e428cbe126221611f47e068f01660352feec4ad18bc0f5ea9b2ae88fb14", size = 385731, upload-time = "2026-10-04T16:32:19.855Z" }, + { url = "https://files.pythonhosted.org/packages/bf/70/f73564642bbe3322c7eeef2c2f258cf040b71c41a430b532e59d04a1b838/rpds_py-2026.9.1-pp312-pypy312_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:88b5268892fde430d5531f95bc560b6efbbd67c929662c586afd729a96e7461c", size = 412131, upload-time = "2026-10-04T16:32:22.285Z" }, + { url = "https://files.pythonhosted.org/packages/8c/5d/17fff2e1f8f68721a2afb5cb48f7e442c751bb6b4883157c5abaf618cd08/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:01445c8d194aa032a08e944f16567672da1c62dbdbefd8b6d0693032e290cf68", size = 558193, upload-time = "2026-10-04T16:32:24.4Z" }, + { url = "https://files.pythonhosted.org/packages/2a/d0/869ab6fb08531f97aae4a780b4d61b4190d8aef48fe054ee28bcf7114466/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_i686.whl", hash = "sha256:eef6a03b0b6d08d0835ccfa8ec8d1bc70525e3801387567137b50c557695e6da", size = 622448, upload-time = "2026-10-04T16:32:26.844Z" }, + { url = "https://files.pythonhosted.org/packages/ba/a5/9672e532fe02cd3b92c78cfd8743abca939d96853006c63835009a1ecb6f/rpds_py-2026.9.1-pp312-pypy312_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6b9bf3135b4ad5981df9a73d71a35272d650a2985ae9c2746357b24d59de2448", size = 591126, upload-time = "2026-10-04T16:32:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/80/ef/3a9f8e4279c7920af561deed4cb7ebebed2794a8f608cf404d5eef14a105/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_10_12_x86_64.whl", hash = "sha256:56c6952a9b15047466d0c2347c446a761d4527f89976156341e68f0ce5cc08b0", size = 357108, upload-time = "2026-10-04T16:32:31.641Z" }, + { url = "https://files.pythonhosted.org/packages/b7/55/4b2fa381a583760aea5c92841e4e928a358e1c6511b129219e9c2826a226/rpds_py-2026.9.1-pp312-pypy312_pp80-macosx_11_0_arm64.whl", hash = "sha256:b242c27c8f836305a4a72df9cdd564386ac57b807bd252a063223331c9316b37", size = 346877, upload-time = "2026-10-04T16:32:34.061Z" }, +] + [[package]] name = "s3fs" version = "0.4.2"