From 4e0a01c86321a89ce6c4365044d22051c72c81f6 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Wed, 15 Jul 2026 23:14:57 +0200 Subject: [PATCH 01/10] feat: initialize python monorepo structure --- .../@local/repo-chores/python/repo_chores}/prune.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {.github/actions/prune-repository => libs/@local/repo-chores/python/repo_chores}/prune.py (100%) diff --git a/.github/actions/prune-repository/prune.py b/libs/@local/repo-chores/python/repo_chores/prune.py similarity index 100% rename from .github/actions/prune-repository/prune.py rename to libs/@local/repo-chores/python/repo_chores/prune.py From 4c7fb70cc2121321a3496f36f629eb4730321e50 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Wed, 15 Jul 2026 23:43:10 +0200 Subject: [PATCH 02/10] feat: initialize repo chores --- .config/mise/config.toml | 2 +- .config/mise/mise.lock | 26 +- .config/mise/tasks/fix/python.sh | 7 + .config/mise/tasks/lint/python.sh | 24 + .config/mise/tasks/sync/python.sh | 11 + .dockerignore | 1 + .github/actions/prune-repository/action.yml | 7 +- .github/workflows/lint.yml | 22 + .gitignore | 1 + .lefthook.yml | 5 + AGENTS.md | 16 + README.md | 33 + libs/@local/repo-chores/python/LICENSE.md | 606 ++++++++++++++++++ libs/@local/repo-chores/python/package.json | 11 + libs/@local/repo-chores/python/pyproject.toml | 25 + .../python/repo_chores/__init__.py | 1 + .../repo-chores/python/repo_chores/cli.py | 84 +++ .../repo-chores/python/repo_chores/prune.py | 125 ++-- .../repo-chores/python/repo_chores/sync.py | 469 ++++++++++++++ .../python/repo_chores/tach.domain.toml | 29 + .../python/repo_chores/toml_edit.py | 107 ++++ .../python/repo_chores/workspace.py | 193 ++++++ .../repo-chores/python/tests/conftest.py | 134 ++++ .../repo-chores/python/tests/test_prune.py | 189 ++++++ .../repo-chores/python/tests/test_sync.py | 198 ++++++ .../python/tests/test_workspace.py | 51 ++ package.json | 2 + pyproject.toml | 199 ++++++ turbo.json | 4 + uv.lock | 394 ++++++++++++ yarn.lock | 6 + 31 files changed, 2926 insertions(+), 56 deletions(-) create mode 100755 .config/mise/tasks/fix/python.sh create mode 100755 .config/mise/tasks/lint/python.sh create mode 100755 .config/mise/tasks/sync/python.sh create mode 100644 libs/@local/repo-chores/python/LICENSE.md create mode 100644 libs/@local/repo-chores/python/package.json create mode 100644 libs/@local/repo-chores/python/pyproject.toml create mode 100644 libs/@local/repo-chores/python/repo_chores/__init__.py create mode 100644 libs/@local/repo-chores/python/repo_chores/cli.py mode change 100644 => 100755 libs/@local/repo-chores/python/repo_chores/prune.py create mode 100644 libs/@local/repo-chores/python/repo_chores/sync.py create mode 100644 libs/@local/repo-chores/python/repo_chores/tach.domain.toml create mode 100644 libs/@local/repo-chores/python/repo_chores/toml_edit.py create mode 100644 libs/@local/repo-chores/python/repo_chores/workspace.py create mode 100644 libs/@local/repo-chores/python/tests/conftest.py create mode 100644 libs/@local/repo-chores/python/tests/test_prune.py create mode 100644 libs/@local/repo-chores/python/tests/test_sync.py create mode 100644 libs/@local/repo-chores/python/tests/test_workspace.py create mode 100644 pyproject.toml create mode 100644 uv.lock diff --git a/.config/mise/config.toml b/.config/mise/config.toml index c3d96926ad7..7ded92ead78 100644 --- a/.config/mise/config.toml +++ b/.config/mise/config.toml @@ -16,7 +16,7 @@ node = { version = "22.21.1", postinstall = "corepack enable" } # Helper to install tools cargo-binstall = "1.19.1" -uv = "0.11.18" +uv = "0.11.28" # Tools to compile the project 'cargo:wasm-opt' = "0.116.1" diff --git a/.config/mise/mise.lock b/.config/mise/mise.lock index a0b941c3084..91919b0877f 100644 --- a/.config/mise/mise.lock +++ b/.config/mise/mise.lock @@ -231,31 +231,31 @@ version = "0.7.1" backend = "ubi:terrastruct/d2" [[tools.uv]] -version = "0.11.18" +version = "0.11.28" backend = "aqua:astral-sh/uv" [tools.uv."platforms.linux-arm64"] -checksum = "sha256:6d895725333680bf7633ad635baff8e49dc45d3b52e00b2b3adf6ced41f2ebe2" -url = "https://github.com/astral-sh/uv/releases/download/0.11.18/uv-aarch64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/435541698" +checksum = "sha256:da10cdfa7d92212b7acb62021a0fd61bcf8580c58c3632ec915d10c3a1a7906b" +url = "https://github.com/astral-sh/uv/releases/download/0.11.28/uv-aarch64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/469655715" provenance = "github-attestations" [tools.uv."platforms.linux-x64"] -checksum = "sha256:a095a969fc8357f42e35652e0554525a47a29010ddb814bd82650c2ffa7d6d62" -url = "https://github.com/astral-sh/uv/releases/download/0.11.18/uv-x86_64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/435541798" +checksum = "sha256:f02146b371c35c287d860f003ece7345c86e358a3fd70a9b63700cd141ee7fb4" +url = "https://github.com/astral-sh/uv/releases/download/0.11.28/uv-x86_64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/469655835" provenance = "github-attestations" [tools.uv."platforms.macos-arm64"] -checksum = "sha256:1a7adf8dadae3b55853115d13a8bf564d219597ad13824b93b213706933863e5" -url = "https://github.com/astral-sh/uv/releases/download/0.11.18/uv-aarch64-apple-darwin.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/435541676" +checksum = "sha256:33540eb7c883ab857eff79bd5ac2aa31fe27b595abecb4a9c003a2c998447232" +url = "https://github.com/astral-sh/uv/releases/download/0.11.28/uv-aarch64-apple-darwin.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/469655699" provenance = "github-attestations" [tools.uv."platforms.macos-x64"] -checksum = "sha256:00a61e3db99b53c927a7e6c4ccdccb898aa3253d07928822211e9dc570a25661" -url = "https://github.com/astral-sh/uv/releases/download/0.11.18/uv-x86_64-apple-darwin.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/435541772" +checksum = "sha256:2ad79983127ffca7d77b77ce6a24278d7e4f7b817a1acf72fea5f8124b4aac5e" +url = "https://github.com/astral-sh/uv/releases/download/0.11.28/uv-x86_64-apple-darwin.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/469655811" provenance = "github-attestations" [[tools.yq]] diff --git a/.config/mise/tasks/fix/python.sh b/.config/mise/tasks/fix/python.sh new file mode 100755 index 00000000000..741bf95a39c --- /dev/null +++ b/.config/mise/tasks/fix/python.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +#MISE description="Fix Python: sync lockfile, apply ruff autofixes and formatting" +set -euo pipefail + +mise exec uv -- uv sync +mise exec uv -- uv run --frozen ruff check --fix . +mise exec uv -- uv run --frozen ruff format . diff --git a/.config/mise/tasks/lint/python.sh b/.config/mise/tasks/lint/python.sh new file mode 100755 index 00000000000..68b3a08e39b --- /dev/null +++ b/.config/mise/tasks/lint/python.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash +#MISE description="Lint Python: lock stability, workspace sync, ruff format + lint, ty type checks, tach architecture checks" +set -uo pipefail + +FAILED=0 + +run() { + echo "$ $*" + mise exec uv -- "$@" || FAILED=1 +} + +# `--locked` doubles as the uv.lock stability check: it fails if the lockfile +# is out of sync with the workspace manifests. +run uv sync --locked +# Boundaries: explicit workspace membership, uniform requires-python, shared +# tool pins, and generated package.json turbo wiring. +run uv run --frozen repo-chores sync --check +run uv run --frozen ruff format --check . +run uv run --frozen ruff check . +run uv run --frozen ty check +run uv run --frozen tach check +run uv run --frozen tach check-external + +exit "$FAILED" diff --git a/.config/mise/tasks/sync/python.sh b/.config/mise/tasks/sync/python.sh new file mode 100755 index 00000000000..643d6cc871b --- /dev/null +++ b/.config/mise/tasks/sync/python.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +#MISE description="Synchronize Python workspace membership, version bounds, and generated package.json wiring" +set -euo pipefail + +# Unfrozen on purpose: this is a fix task, so a stale uv.lock is expected +# input. `uv run` refreshes the lock and environment before running the tool. +mise exec uv -- uv run repo-chores sync +# Membership or dependency fixes change the workspace graph; refresh the lock +# and environment again so the result is immediately usable. +mise exec uv -- uv lock +mise exec uv -- uv sync diff --git a/.dockerignore b/.dockerignore index 61a8cd29fc9..a251fe11f19 100644 --- a/.dockerignore +++ b/.dockerignore @@ -136,6 +136,7 @@ blocks/**/.env **/pip-delete-this-directory.txt **/.mypy_cache **/.pytest_cache +**/.ruff_cache **/.hypothesis **/wheels diff --git a/.github/actions/prune-repository/action.yml b/.github/actions/prune-repository/action.yml index a1133a75169..8474d9cf28f 100644 --- a/.github/actions/prune-repository/action.yml +++ b/.github/actions/prune-repository/action.yml @@ -12,12 +12,15 @@ runs: shell: bash env: SCOPE: ${{ inputs.scope }} - run: python3 ${{ github.action_path }}/prune.py "$SCOPE" + # Executed directly: pruning happens before any dependencies are + # installed, so the script relies on the stdlib alone. `repo-chores + # prune` wraps the same logic for use inside the workspace environment. + run: python3 libs/@local/repo-chores/python/repo_chores/prune.py "$SCOPE" - name: Copy required files shell: bash run: | - cp -R Cargo.toml Cargo.lock rust-toolchain.toml oxfmt.config.ts infra/ out/ + cp -R Cargo.toml Cargo.lock rust-toolchain.toml oxfmt.config.ts pyproject.toml uv.lock infra/ out/ # Globs are fun, especially in Bash. Covers all dot-files except `.`, `..`, and `.git`. shopt -s extglob diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c8b85c97272..535bd1e1be0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -97,6 +97,10 @@ jobs: | jq '[.tasks[] | select(.task == "lint:clippy" and .command != "")] != []' || echo 'false') echo "clippy=$CLIPPY" | tee -a $GITHUB_OUTPUT + RUFF=$(turbo run lint:ruff --filter '${{ matrix.name }}' --dry-run=json \ + | jq '[.tasks[] | select(.task == "lint:ruff" and .command != "")] != []' || echo 'false') + echo "ruff=$RUFF" | tee -a $GITHUB_OUTPUT + HAS_RUST=$([[ -f "${{ matrix.path }}/Cargo.toml" || ${{ matrix.path }} = "apps/hash-graph" ]] && echo 'true' || echo 'false') echo "has-rust=$HAS_RUST" | tee -a $GITHUB_OUTPUT @@ -129,6 +133,10 @@ jobs: if: always() && steps.lints.outputs.tsc == 'true' run: turbo run lint:tsc --filter "${{ matrix.name }}" + - name: Run ruff + if: always() && steps.lints.outputs.ruff == 'true' + run: turbo run lint:ruff --filter "${{ matrix.name }}" + - name: Run rustfmt if: always() && steps.lints.outputs.has-rust == 'true' working-directory: ${{ matrix.path }} @@ -282,6 +290,20 @@ jobs: exit 1 fi + - name: Run yarn lint:python + if: ${{ success() || failure() }} + run: | + if ! yarn lint:python; then + echo '' + echo '' + echo 'ℹ️ ℹ️ ℹ️' + echo 'Python checks failed (uv.lock stability, ruff, ty, or tach).' + echo 'Try running `yarn fix:python` locally to apply autofixes;' + echo 'ty and tach findings need to be fixed by hand.' + echo 'ℹ️ ℹ️ ℹ️' + exit 1 + fi + - name: Validate Claude Code skills if: ${{ success() || failure() }} run: | diff --git a/.gitignore b/.gitignore index d36c8241fe1..563dd821f72 100644 --- a/.gitignore +++ b/.gitignore @@ -123,6 +123,7 @@ blocks/**/.env **/pip-delete-this-directory.txt **/.mypy_cache **/.pytest_cache +**/.ruff_cache **/.hypothesis **/wheels diff --git a/.lefthook.yml b/.lefthook.yml index f5dcdb9b442..6d45320cadb 100644 --- a/.lefthook.yml +++ b/.lefthook.yml @@ -31,6 +31,11 @@ pre-commit: glob: "*.rs" run: rustfmt {staged_files} || true stage_fixed: true + python: + tags: [backend, style] + glob: "*.py" + run: uv run --frozen ruff check --fix {staged_files} && uv run --frozen ruff format {staged_files} || true + stage_fixed: true toml: tags: [backend, style] glob: "*.toml" diff --git a/AGENTS.md b/AGENTS.md index 2575a5db8ff..a550cf04302 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,9 +61,11 @@ The HASH repository is organized into several key directories: - TypeScript type check: `yarn lint:tsc` - ESLint: `yarn lint:eslint` - Formatting check: `yarn lint:format` +- Python (ruff, ty, tach, uv.lock stability, workspace sync): `mise run lint:python` - Fix ESLint issues: `yarn fix:eslint` - Fix formatting: `yarn fix:format` +- Fix Python (ruff autofixes + formatting, lock refresh): `mise run fix:python` ### For Specific Packages @@ -77,6 +79,10 @@ turbo run --filter '' cargo nextest run --package cargo test --package --doc # For doc tests cargo clippy --all-features --package + +# For Python packages (from the package directory) +uv run --frozen pytest tests +uv run --frozen ruff check . ``` For Rust packages, you can add features as needed with `--all-features`, specific features like `--features=foo,bar`, or use `cargo-hack` with `--feature-powerset` for comprehensive feature testing. @@ -91,6 +97,16 @@ mise run sync:turborepo # sync package.json identity + deps from Cargo.toml m `sync:turborepo` only manages that generated wiring — the `scripts` section is hand-maintained and is used by CI and Turborepo (e.g. `test:unit`, `lint:clippy`, `doc:dependency-diagram`), so add or edit scripts by hand. The task wraps the `repo-chores` CLI; the equivalent direct invocation is `cargo run --package hash-repo-chores --bin repo-chores-cli -- sync-turborepo`. A related task, `mise run fix:package-json`, sorts `package.json` keys consistently. +### Monorepo wiring for Python packages + +Python packages form a single uv workspace rooted at the repository's `pyproject.toml` (shared lockfile, virtual environment, and ruff/ty/tach configuration; Python version bound `>=3.14,<3.15`). After **adding, removing, or renaming a Python package**, or changing its workspace dependencies, re-sync the generated wiring: + +```bash +mise run sync:python # membership, requires-python, dev pins, package.json wiring, uv.lock +``` + +The task wraps the Python `repo-chores` CLI (`libs/@local/repo-chores/python`; direct invocation: `uv run repo-chores sync`). Unlike the Rust wiring, the managed `package.json` includes baseline `scripts` (`lint:ruff`, `fix:ruff`, and `test:unit` when a `tests/` directory exists) — ruff and pytest are requirements, not opt-ins. Extra scripts and other keys are preserved. CI runs `repo-chores sync --check` and fails on any drift, including `pyproject.toml` files that are not workspace members. Import boundaries for new packages are declared in a `tach.domain.toml` next to the package's code; global tach settings live under `[tool.tach]` in the root `pyproject.toml`. + ## Documentation Maintenance ### Petrinaut user-facing docs diff --git a/README.md b/README.md index 19b4d076664..b5ff396eee1 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,39 @@ This repository's contents is divided across several primary sections: +
+   Python tooling + +### Python tooling + +Python packages are managed as a single [uv](https://docs.astral.sh/uv/) workspace rooted at [`pyproject.toml`](/pyproject.toml), pinned to Python 3.14 (uv downloads the interpreter automatically; `mise install` provides uv itself). All packages share one lockfile (`uv.lock`), one virtual environment (`.venv`), and the workspace-level tool configuration: + +- **[ruff](https://docs.astral.sh/ruff/)** — linting (`ALL` rules + preview, with curated exceptions) and formatting +- **[ty](https://docs.astral.sh/ty/)** — type checking +- **[tach](https://docs.gauge.sh/)** — import-boundary and layering checks, configured under `[tool.tach]` in the root `pyproject.toml` +- **pytest** — tests, run per-package through turbo (`test:unit`) + +Common commands: + +```sh +uv sync # create/refresh .venv from uv.lock +mise run lint:python # everything CI runs: lock stability, sync --check, ruff, ty, tach +mise run fix:python # apply ruff autofixes + formatting, refresh the lock +mise run sync:python # regenerate the boring parts (see below) +``` + +To add a new Python package, create a directory with a `pyproject.toml` (any location; `libs/` or `tools/` are conventional) and run `mise run sync:python`. The sync command — implemented by [`libs/@local/repo-chores/python`](/libs/@local/repo-chores/python), the Python sibling of the Rust `sync-turborepo` tooling — generates and enforces: + +- explicit membership in the root `[tool.uv.workspace]` (no globs; CI fails on unlisted packages), +- a uniform `requires-python` bound across every member (the Python 3.14 boundary), +- shared ruff/pytest pins in each member's dev group, +- each member's `package.json` turbo wiring (`@python/` with managed `lint:ruff`/`fix:ruff`/`test:unit` scripts and `workspace:*` dependencies mirroring `[tool.uv.sources]`), +- coverage by the root `package.json` yarn workspace globs, plus the managed ruff `src` and pytest `testpaths` arrays. + +Module boundaries for new packages are declared in a `tach.domain.toml` next to the package's code (layer assignments; see [`libs/@local/repo-chores/python/repo_chores/tach.domain.toml`](/libs/@local/repo-chores/python/repo_chores/tach.domain.toml)). CI prunes per-package jobs with `turbo prune` (via `repo-chores prune`), which keeps the pruned tree a valid uv workspace by copying the manifests of pruned-out members. + +
+
  Environment variables diff --git a/libs/@local/repo-chores/python/LICENSE.md b/libs/@local/repo-chores/python/LICENSE.md new file mode 100644 index 00000000000..9a70d795493 --- /dev/null +++ b/libs/@local/repo-chores/python/LICENSE.md @@ -0,0 +1,606 @@ +# GNU Affero General Public License + +_Version 3, 19 November 2007_ +_Copyright © 2007 Free Software Foundation, Inc. <>_ + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +## Preamble + +The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights +with two steps: **(1)** assert copyright on the software, and **(2)** offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + +A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + +The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + +An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + +The precise terms and conditions for copying, distribution and +modification follow. + +## TERMS AND CONDITIONS + +### 0. Definitions + +“This License” refers to version 3 of the GNU Affero General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this +License. Each licensee is addressed as “you”. “Licensees” and +“recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a “modified version” of the +earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based +on the Program. + +To “propagate” a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + +To “convey” a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” +to the extent that it includes a convenient and prominently visible +feature that **(1)** displays an appropriate copyright notice, and **(2)** +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +### 1. Source Code + +The “source code” for a work means the preferred form of the work +for making modifications to it. “Object code” means any non-source +form of a work. + +A “Standard Interface” means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other +than the work as a whole, that **(a)** is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and **(b)** serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +“Major Component”, in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + +The Corresponding Source for a work in source code form is that +same work. + +### 2. Basic Permissions + +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + +### 3. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + +### 4. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +### 5. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + +- **a)** The work must carry prominent notices stating that you modified + it, and giving a relevant date. +- **b)** The work must carry prominent notices stating that it is + released under this License and any conditions added under section 7. + This requirement modifies the requirement in section 4 to + “keep intact all notices”. +- **c)** You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. +- **d)** If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +“aggregate” if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +### 6. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + +- **a)** Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. +- **b)** Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either **(1)** a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or **(2)** access to copy the + Corresponding Source from a network server at no charge. +- **c)** Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. +- **d)** Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. +- **e)** Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A “User Product” is either **(1)** a “consumer product”, which means any +tangible personal property which is normally used for personal, family, +or household purposes, or **(2)** anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, “normally used” refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +### 7. Additional Terms + +“Additional permissions” are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + +- **a)** Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or +- **b)** Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or +- **c)** Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or +- **d)** Limiting the use for publicity purposes of names of licensors or + authors of the material; or +- **e)** Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or +- **f)** Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + +All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + +### 8. Termination + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated **(a)** +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and **(b)** permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +### 9. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +### 10. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An “entity transaction” is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +### 11. Patents + +A “contributor” is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, “control” includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To “grant” such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either **(1)** cause the Corresponding Source to be so +available, or **(2)** arrange to deprive yourself of the benefit of the +patent license for this particular work, or **(3)** arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. “Knowingly relying” means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + +A patent license is “discriminatory” if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license **(a)** in connection with copies of the covered work +conveyed by you (or copies made from those copies), or **(b)** primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +### 12. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + +### 13. Remote Network Interaction; Use with the GNU General Public License + +Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + +### 14. Revised Versions of this License + +The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License “or any later version” applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + +### 15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +### 16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + +### 17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. diff --git a/libs/@local/repo-chores/python/package.json b/libs/@local/repo-chores/python/package.json new file mode 100644 index 00000000000..ca1de8a3645 --- /dev/null +++ b/libs/@local/repo-chores/python/package.json @@ -0,0 +1,11 @@ +{ + "name": "@python/hash-repo-chores", + "version": "0.0.0-private", + "private": true, + "license": "AGPL-3", + "scripts": { + "fix:ruff": "uv run --frozen ruff check --fix . && uv run --frozen ruff format .", + "lint:ruff": "uv run --frozen ruff check . && uv run --frozen ruff format --check .", + "test:unit": "uv run --frozen pytest tests" + } +} diff --git a/libs/@local/repo-chores/python/pyproject.toml b/libs/@local/repo-chores/python/pyproject.toml new file mode 100644 index 00000000000..4c94fe96647 --- /dev/null +++ b/libs/@local/repo-chores/python/pyproject.toml @@ -0,0 +1,25 @@ +[project] +name = "hash-repo-chores" +version = "0.0.0" +description = "Keeps the boring parts of the Python workspace correct: membership, version bounds, and turbo wiring" +requires-python = ">=3.14,<3.15" +dependencies = [ + "packaging>=25", + "tomlkit>=0.13", +] + +[project.scripts] +repo-chores = "repo_chores.cli:main" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["repo_chores"] + +[dependency-groups] +dev = [ + "pytest>=8.0", + "ruff>=0.15.21", +] diff --git a/libs/@local/repo-chores/python/repo_chores/__init__.py b/libs/@local/repo-chores/python/repo_chores/__init__.py new file mode 100644 index 00000000000..fa721554570 --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/__init__.py @@ -0,0 +1 @@ +"""Workspace chores for the Python side of the monorepo.""" diff --git a/libs/@local/repo-chores/python/repo_chores/cli.py b/libs/@local/repo-chores/python/repo_chores/cli.py new file mode 100644 index 00000000000..d907f625057 --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/cli.py @@ -0,0 +1,84 @@ +"""Command-line entry point for the Python repo chores.""" + +import argparse +import sys +from pathlib import Path + +from repo_chores import prune +from repo_chores.sync import synchronize +from repo_chores.workspace import WorkspaceError, find_workspace_root + + +def parse_args(argv: list[str] | None = None) -> argparse.Namespace: + parser = argparse.ArgumentParser( + prog="repo-chores", + description="Keeps the boring parts of the Python workspace correct.", + ) + subparsers = parser.add_subparsers(dest="command", required=True) + + sync_parser = subparsers.add_parser( + "sync", + help="Synchronize workspace membership, version bounds, and turbo wiring", + ) + sync_parser.add_argument( + "--check", + action="store_true", + help="Report deviations without fixing them (exit 1 if any are found)", + ) + + prune_parser = subparsers.add_parser( + "prune", + help="Prune the turbo workspace to the packages required for the given scopes", + ) + prune_parser.add_argument( + "scope", + help="Newline or space-separated list of package scopes to include.", + ) + prune_parser.add_argument( + "--dry-run", + action="store_true", + help="Print what would be done without executing turbo prune or creating stubs.", + ) + + return parser.parse_args(argv) + + +def run_sync(*, check: bool) -> None: + try: + root = find_workspace_root(Path.cwd()) + findings = synchronize(root, apply=not check) + except WorkspaceError as error: + print(f"error: {error}", file=sys.stderr) + raise SystemExit(2) from error + + label = "would fix" if check else "fixed" + for finding in findings: + prefix = label if finding.fixable else "cannot fix" + print(f"{prefix}: {finding.path}: {finding.message}") + + if check and findings: + print( + f"\n{len(findings)} deviation(s) found." + " Run `mise run sync:python` (or `uv run repo-chores sync`) to fix.", + file=sys.stderr, + ) + raise SystemExit(1) + + if not check and any(not finding.fixable for finding in findings): + raise SystemExit(1) + + +def main(argv: list[str] | None = None) -> None: + args = parse_args(argv) + + match args.command: + case "sync": + run_sync(check=args.check) + case "prune": + prune.run(args.scope, dry_run=args.dry_run) + case _: # pragma: no cover - argparse enforces the command set + raise SystemExit(2) + + +if __name__ == "__main__": + main() diff --git a/libs/@local/repo-chores/python/repo_chores/prune.py b/libs/@local/repo-chores/python/repo_chores/prune.py old mode 100644 new mode 100755 index e1eca864964..83905603f3a --- a/libs/@local/repo-chores/python/repo_chores/prune.py +++ b/libs/@local/repo-chores/python/repo_chores/prune.py @@ -1,24 +1,25 @@ #!/usr/bin/env python3 -"""Prunes the turbo workspace to only the packages required for the given scope(s). +"""Prune the turbo workspace to the packages required for the given scope(s). -Handles cyclic and extra dependencies that turbo's dependency graph doesn't track. +Scopes are expanded with dependency rules that turbo's graph leaves out +(cyclic and test-data crates), and the pruned output stays a valid Cargo and +uv workspace: members that turbo removed are stubbed back in. + +This file runs directly (`python3 prune.py`) before any dependencies are +installed, so it stays stdlib-only and self-contained. `repo-chores prune` +exposes the same logic inside the workspace environment. """ import argparse import json import subprocess +import tomllib from collections.abc import Iterable -from glob import glob from pathlib import Path -import tomllib - -# --------------------------------------------------------------------------- -# Extra dependency rules that turbo doesn't track -# --------------------------------------------------------------------------- - -# If any of these packages appear in the dependency closure, add the -# corresponding extra packages to the scope. +# Dependency rules that turbo's graph does not track. When any package whose +# name starts with a key appears in the dependency closure, the listed extra +# packages join the scope. EXTRA_DEPENDENCIES: dict[str, list[str]] = { # Cyclic: hashql crates need compiletest "@rust/hashql-ast": ["@rust/hashql-compiletest"], @@ -56,7 +57,6 @@ def turbo_dependency_map() -> dict[str, frozenset[str]]: """Query turbo for all packages and return a map of package name to its dependencies.""" - result = subprocess.run( ["turbo", "query", TURBO_QUERY], capture_output=True, @@ -78,7 +78,6 @@ def expand_scopes(dependencies: Iterable[str]) -> frozenset[str]: A rule triggers when any dependency name starts with the trigger prefix. """ - extras: set[str] = set() for trigger, additions in EXTRA_DEPENDENCIES.items(): @@ -121,34 +120,26 @@ def turbo_prune(scopes: Iterable[str], *, dry_run: bool = False) -> None: subprocess.run(args, check=True) -def resolve_workspace_members() -> list[Path]: +def resolve_cargo_members(root: Path) -> list[Path]: """Read workspace members from Cargo.toml and resolve globs to Cargo.toml paths.""" - - with open("Cargo.toml", "rb") as fh: + with (root / "Cargo.toml").open("rb") as fh: cargo = tomllib.load(fh) members: list[str] = cargo["workspace"]["members"] - paths: list[Path] = [] - - for member in members: - for match in glob(f"{member}/Cargo.toml"): - paths.append(Path(match)) - return paths + return [match for member in members for match in root.glob(f"{member}/Cargo.toml")] -def stub_missing_members(*, dry_run: bool = False) -> None: +def stub_missing_cargo_members(root: Path, out: Path, *, dry_run: bool = False) -> None: """Create dummy Cargo.toml stubs for workspace members not included by turbo prune.""" - - for cargo_path in resolve_workspace_members(): - directory = cargo_path.parent - out_cargo = Path("out") / directory / "Cargo.toml" + for cargo_path in resolve_cargo_members(root): + out_cargo = out / cargo_path.relative_to(root) if out_cargo.exists(): continue # Read the package name from the real Cargo.toml - with open(cargo_path, "rb") as fh: + with cargo_path.open("rb") as fh: pkg = tomllib.load(fh) name = pkg.get("package", {}).get("name") @@ -160,12 +151,60 @@ def stub_missing_members(*, dry_run: bool = False) -> None: continue # Create the stub - out_dir = out_cargo.parent - src_dir = out_dir / "src" + src_dir = out_cargo.parent / "src" src_dir.mkdir(parents=True, exist_ok=True) - (src_dir / "lib.rs").write_text("\n") - out_cargo.write_text(f'[package]\nname = "{name}"\nedition.workspace = true\n') + (src_dir / "lib.rs").write_text("\n", encoding="utf-8") + stub = f'[package]\nname = "{name}"\nedition.workspace = true\n' + out_cargo.write_text(stub, encoding="utf-8") + + +def resolve_uv_members(root: Path) -> list[Path]: + """Read workspace member globs from pyproject.toml and resolve to pyproject.toml paths.""" + pyproject_path = root / "pyproject.toml" + if not pyproject_path.exists(): + return [] + + with pyproject_path.open("rb") as fh: + pyproject = tomllib.load(fh) + + workspace = pyproject.get("tool", {}).get("uv", {}).get("workspace", {}) + members: list[str] = workspace.get("members", []) + excluded = {match for pattern in workspace.get("exclude", []) for match in root.glob(pattern)} + + return [ + match + for member in members + for match in root.glob(f"{member}/pyproject.toml") + if match.parent not in excluded + ] + + +def stub_missing_uv_members(root: Path, out: Path, *, dry_run: bool = False) -> None: + """Copy manifests for uv workspace members that turbo prune left out. + + uv validates the whole workspace graph against uv.lock even with `--frozen`, + so every member's pyproject.toml must exist in the pruned output. The + manifest alone is enough: members are only installed when requested, so + the pruned-away sources are never built. + """ + for member_pyproject in resolve_uv_members(root): + out_pyproject = out / member_pyproject.relative_to(root) + + if out_pyproject.exists(): + continue + + if dry_run: + print(f"[dry-run] Would stub: {out_pyproject}") + continue + + out_pyproject.parent.mkdir(parents=True, exist_ok=True) + out_pyproject.write_bytes(member_pyproject.read_bytes()) + + +def parse_scopes(scope: str) -> frozenset[str]: + """Split a newline or space-separated scope list into individual scopes.""" + return frozenset(s.strip() for line in scope.splitlines() for s in line.split() if s.strip()) def parse_args(argv: list[str] | None = None) -> argparse.Namespace: @@ -184,17 +223,23 @@ def parse_args(argv: list[str] | None = None) -> argparse.Namespace: return parser.parse_args(argv) -def main(argv: list[str] | None = None) -> None: - args = parse_args(argv) - - initial = { - s.strip() for line in args.scope.splitlines() for s in line.split() if s.strip() - } +def run(scope: str, *, dry_run: bool = False) -> None: + """Expand the scopes, run `turbo prune`, and stub pruned-out workspace members.""" + initial = parse_scopes(scope) dependencies = turbo_dependency_map() scopes = fixpoint_expand(initial, dependencies) - turbo_prune(scopes, dry_run=args.dry_run) - stub_missing_members(dry_run=args.dry_run) + turbo_prune(scopes, dry_run=dry_run) + + root = Path.cwd() + out = root / "out" + stub_missing_cargo_members(root, out, dry_run=dry_run) + stub_missing_uv_members(root, out, dry_run=dry_run) + + +def main(argv: list[str] | None = None) -> None: + args = parse_args(argv) + run(args.scope, dry_run=args.dry_run) if __name__ == "__main__": diff --git a/libs/@local/repo-chores/python/repo_chores/sync.py b/libs/@local/repo-chores/python/repo_chores/sync.py new file mode 100644 index 00000000000..334d2cafe06 --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/sync.py @@ -0,0 +1,469 @@ +"""Check and fix the workspace invariants. + +Every rule reports deviations as :class:`Finding` records; in apply mode the fixable +are written back to disk: + +- every discovered pyproject.toml is an explicit uv workspace member, +- every member is reachable through the root package.json yarn workspace globs, +- every member declares the workspace's exact requires-python bound, +- every member's dev group carries the shared ruff (and, with tests, pytest) pins, +- every member has a package.json wiring it into turbo (`@python/`), +- the root manifest's ruff `src`, pytest `testpaths`, and tach `source_roots` + cover every member. + +Manifest edits are made in place; comments, ordering, and formatting survive +every fix. The entry point is :func:`synchronize`. +""" + +import json +import shutil +import subprocess +from collections.abc import Iterable, Mapping +from dataclasses import dataclass +from fnmatch import fnmatch +from functools import cache +from pathlib import Path + +import tomlkit +from packaging.requirements import InvalidRequirement, Requirement +from packaging.utils import canonicalize_name +from tomlkit.items import Array + +from repo_chores.toml_edit import ( + array_to_str, + navigate_to_array, + navigate_to_table, + reconcile_string_array, +) +from repo_chores.workspace import ( + Member, + Workspace, + WorkspaceError, + load_workspace, +) + +RUFF_FIX_SCRIPT = "uv run --frozen ruff check --fix . && uv run --frozen ruff format ." +RUFF_LINT_SCRIPT = "uv run --frozen ruff check . && uv run --frozen ruff format --check ." +PYTEST_SCRIPT = "uv run --frozen pytest tests" + +DEFAULT_LICENSE = "AGPL-3" +NPM_SCOPE = "@python" + + +@dataclass(frozen=True, kw_only=True, slots=True) +class Finding: + """A single deviation from the expected workspace state. + + A fixable finding is corrected in apply mode; an unfixable finding + requires a manual edit and fails the run in either mode. + """ + + path: str + message: str + fixable: bool = True + + +@dataclass(frozen=True, kw_only=True, slots=True) +class ManifestExpectation: + """A managed string array in the root manifest and its expected contents. + + The expected values are deduplicated and sorted on construction, so every + comparison and reconciliation downstream sees the canonical form. + """ + + table_path: tuple[str, ...] + key: str + expected: tuple[str, ...] + description: str + + def __post_init__(self) -> None: + object.__setattr__(self, "expected", tuple(sorted(set(self.expected)))) + + +def _write(*, path: Path, content: str, apply: bool) -> None: + """Write `content` to `path` in apply mode; check mode leaves disk untouched.""" + if apply: + path.write_text(content, encoding="utf-8") + + +@cache +def _oxfmt_executable() -> str: + """Resolve the oxfmt binary once per run. + + Raises :exc:`WorkspaceError` when oxfmt is not on PATH; `mise install` + provisions it. + """ + executable = shutil.which("oxfmt") + if executable is None: + raise WorkspaceError("oxfmt not found on PATH; run `mise install` to provision it") + + return executable + + +@cache +def _format_package_json(content: str, /, *, root: Path) -> str: + """Format package.json content with the repository formatter. + + oxfmt discovers its configuration from `root`, including package.json + key and script sorting, so generated files match `yarn lint:format` + byte for byte and the canonical ordering has a single owner. Results + are cached: formatting is pure in `content` and the configuration at + `root`. + + Raises :exc:`WorkspaceError` when oxfmt rejects the content. + """ + result = subprocess.run( + [_oxfmt_executable(), "--stdin-filepath=package.json"], + input=content, + capture_output=True, + text=True, + cwd=root, + check=False, + ) + if result.returncode != 0: + raise WorkspaceError(f"oxfmt failed to format package.json: {result.stderr.strip()}") + + return result.stdout + + +def _pins_by_name(specifiers: Iterable[str], /) -> dict[str, str]: + """Index verbatim requirement strings by canonical distribution name. + + Canonicalization follows the PyPA rules, so `Foo.Bar` and `foo-bar` name + the same distribution and compare equal. + + Raises :exc:`InvalidRequirement` when a specifier does not parse. + """ + return {canonicalize_name(Requirement(pin).name): pin for pin in specifiers} + + +def _upsert_requirement(dev_group: Array, /, *, tool: str, specifier: str) -> None: + """Replace the requirement pinning `tool` in place, or append `specifier`. + + In-place replacement keeps the entry's position and trivia; the pinned + tool keeps its spot in the list when only the version spec changes. + """ + # The entries were already parsed when the member's pins were indexed, + # so the Requirement construction here cannot fail. + for index, existing in enumerate(array_to_str(dev_group)): + if existing is not None and canonicalize_name(Requirement(existing).name) == tool: + dev_group[index] = specifier + return + + if not dev_group: + dev_group.multiline(multiline=True) + dev_group.append(specifier) + + +def _named_members(workspace: Workspace) -> list[Member]: + """Select the members that carry a `[project]` name.""" + return [member for member in workspace.members if member.name is not None] + + +def _sync_root_manifest(workspace: Workspace, /, *, apply: bool) -> list[Finding]: + """Reconcile the managed arrays of the root manifest. + + Managed arrays are the uv workspace members, the ruff src roots, the + pytest testpaths, and the tach source roots; each must list exactly the + discovered members (or, for testpaths, the members with a tests + directory). Arrays containing non-string entries are reported as + unfixable and left untouched. + """ + manifest_path = workspace.root / "pyproject.toml" + document = tomlkit.parse(manifest_path.read_text(encoding="utf-8")) + findings: list[Finding] = [] + + member_directories = tuple(member.directory for member in _named_members(workspace)) + test_directories = tuple( + f"{member.directory}/tests" for member in _named_members(workspace) if member.has_tests + ) + + expectations = ( + ManifestExpectation( + table_path=("tool", "uv", "workspace"), + key="members", + expected=member_directories, + description="workspace members", + ), + ManifestExpectation( + table_path=("tool", "ruff"), + key="src", + expected=member_directories, + description="ruff src roots", + ), + ManifestExpectation( + table_path=("tool", "pytest", "ini_options"), + key="testpaths", + expected=tuple(test_directories), + description="pytest testpaths", + ), + ManifestExpectation( + table_path=("tool", "tach"), + key="source_roots", + expected=member_directories, + description="tach source roots", + ), + ) + + for expectation in expectations: + table = navigate_to_table(document, path=expectation.table_path) + current = navigate_to_array(table, path=(expectation.key,)) + current_items = list(array_to_str(current)) + + if any(item is None for item in current_items): + findings.append( + Finding( + path="pyproject.toml", + message=f"{expectation.description} must only contain strings", + fixable=False, + ) + ) + continue + + if tuple(current_items) == expectation.expected: + continue + + findings.append( + Finding( + path="pyproject.toml", + message=f"{expectation.description} must list every member:" + f" {', '.join(expectation.expected)}", + ) + ) + reconcile_string_array(current, expected=expectation.expected) + + if findings: + _write(path=manifest_path, content=tomlkit.dumps(document), apply=apply) + + return findings + + +def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Finding]: + """Ensure every member is reachable through the yarn workspace globs. + + turbo discovers packages through the root package.json workspaces list; + a member outside every glob is invisible to it. Missing members are added + as explicit entries and the list is kept sorted. + """ + package_json_path = workspace.root / "package.json" + data = json.loads(package_json_path.read_text(encoding="utf-8")) + + patterns = [ + pattern + for pattern in data.get("workspaces", {}).get("packages", []) + if isinstance(pattern, str) and not pattern.startswith("!") + ] + + findings: list[Finding] = [] + for member in _named_members(workspace): + if any(fnmatch(member.directory, pattern) for pattern in patterns): + continue + + findings.append( + Finding( + path="package.json", + message=( + f"{member.directory} is not covered by workspaces.packages; turbo cannot see it" + ), + ) + ) + + data["workspaces"]["packages"] = sorted({*data["workspaces"]["packages"], member.directory}) + + if findings: + content = _format_package_json(json.dumps(data), root=workspace.root) + _write(path=package_json_path, content=content, apply=apply) + + return findings + + +def _unnamed_member_findings(workspace: Workspace) -> list[Finding]: + """Report manifests that lack a `[project]` name. + + uv rejects nameless workspace members, so these manifests stay out of + the managed arrays and surface as unfixable findings. + """ + return [ + Finding( + path=f"{member.directory}/pyproject.toml", + message=( + "manifest has no [project] name; every pyproject.toml must be a" + " workspace member (move tool-only configuration into the root manifest)" + ), + fixable=False, + ) + for member in workspace.members + if member.name is None + ] + + +def _sync_member_dev_group( + workspace: Workspace, + member: Member, + /, + *, + document: tomlkit.TOMLDocument, +) -> list[Finding]: + """Align a member's dev group with the workspace tool pins. + + Every member needs ruff (its lint scripts run `uv run --frozen ruff` from + the member directory), and members with tests need pytest. Each pin must + match the root dev group's specifier exactly, so the shared lockfile + resolves one version per tool. + """ + try: + root_specifiers = _pins_by_name(workspace.dev_dependencies) + except InvalidRequirement as error: + return [ + Finding( + path="pyproject.toml", message=f"invalid dev requirement: {error}", fixable=False + ) + ] + try: + member_specifiers = _pins_by_name(member.dev_dependencies) + except InvalidRequirement as error: + return [ + Finding( + path=f"{member.directory}/pyproject.toml", + message=f"invalid dev requirement: {error}", + fixable=False, + ) + ] + + required_tools = ["ruff", *(["pytest"] if member.has_tests else [])] + + findings: list[Finding] = [] + for tool in required_tools: + root_specifier = root_specifiers.get(tool) + if root_specifier is None: + findings.append( + Finding( + path="pyproject.toml", + message=f"the root dev group does not pin {tool}, so members cannot inherit it", + fixable=False, + ) + ) + continue + + if member_specifiers.get(tool) == root_specifier: + continue + + findings.append( + Finding( + path=f"{member.directory}/pyproject.toml", + message=f'dev group must pin "{root_specifier}" (matching the workspace root)', + ) + ) + dev_group = navigate_to_array(document, path=("dependency-groups", "dev")) + _upsert_requirement(dev_group, tool=tool, specifier=root_specifier) + + return findings + + +def _sync_member_manifest(workspace: Workspace, member: Member, /, *, apply: bool) -> list[Finding]: + """Align a member manifest with the workspace: requires-python and tool pins.""" + manifest_path = workspace.root / member.directory / "pyproject.toml" + document = tomlkit.parse(manifest_path.read_text(encoding="utf-8")) + findings: list[Finding] = [] + + if member.requires_python != workspace.requires_python: + findings.append( + Finding( + path=f"{member.directory}/pyproject.toml", + message=f'requires-python must be "{workspace.requires_python}"' + f" (found {member.requires_python!r})", + ) + ) + + table = navigate_to_table(document, path=("project",)) + table["requires-python"] = workspace.requires_python + + findings.extend(_sync_member_dev_group(workspace, member, document=document)) + + if findings: + _write(path=manifest_path, content=tomlkit.dumps(document), apply=apply) + + return findings + + +def assemble_package_json( + member: Member, existing: Mapping[str, object] | None, / +) -> dict[str, object]: + """Assemble the package.json contents wiring a member into turbo. + + Managed keys (name, version, private, the ruff and pytest scripts, and + the dependencies mirroring the member's workspace dependencies) are + overwritten; everything else in `existing`, including hand-written + scripts, is preserved. Key and script ordering is left to the repository + formatter, which owns the canonical package.json layout. + """ + data: dict[str, object] = dict(existing or {}) + scripts = data.get("scripts") + scripts = dict(scripts) if isinstance(scripts, dict) else {} + + scripts["fix:ruff"] = RUFF_FIX_SCRIPT + scripts["lint:ruff"] = RUFF_LINT_SCRIPT + if member.has_tests: + scripts["test:unit"] = PYTEST_SCRIPT + + data["name"] = f"{NPM_SCOPE}/{member.name}" + data["version"] = "0.0.0-private" + data["private"] = True + data.setdefault("license", DEFAULT_LICENSE) + data["scripts"] = scripts + + dependencies = { + f"{NPM_SCOPE}/{dependency}": "workspace:*" for dependency in member.workspace_dependencies + } + if dependencies: + data["dependencies"] = dependencies + else: + data.pop("dependencies", None) + + return data + + +def _sync_member_package_json( + workspace: Workspace, member: Member, /, *, apply: bool +) -> list[Finding]: + """Ensure a member's package.json matches the formatted assembly byte for byte.""" + package_json_path = workspace.root / member.directory / "package.json" + original = ( + package_json_path.read_text(encoding="utf-8") if package_json_path.is_file() else None + ) + existing = json.loads(original) if original is not None else None + + assembled = assemble_package_json(member, existing) + expected = _format_package_json(json.dumps(assembled), root=workspace.root) + if original == expected: + return [] + + _write(path=package_json_path, content=expected, apply=apply) + return [ + Finding( + path=f"{member.directory}/package.json", + message="turbo wiring is missing or out of date" + f" (managed by `repo-chores sync`, name {NPM_SCOPE}/{member.name})", + ) + ] + + +def synchronize(root: Path, /, *, apply: bool) -> list[Finding]: + """Check every workspace invariant, fixing fixable deviations when `apply` is set. + + Check mode never writes; apply mode writes each corrected file once. The + returned findings describe every deviation that was found, fixed or not. + """ + workspace = load_workspace(root) + + findings = [ + *_sync_root_manifest(workspace, apply=apply), + *_sync_root_package_json(workspace, apply=apply), + *_unnamed_member_findings(workspace), + ] + + for member in _named_members(workspace): + findings.extend(_sync_member_manifest(workspace, member, apply=apply)) + findings.extend(_sync_member_package_json(workspace, member, apply=apply)) + + return findings diff --git a/libs/@local/repo-chores/python/repo_chores/tach.domain.toml b/libs/@local/repo-chores/python/repo_chores/tach.domain.toml new file mode 100644 index 00000000000..eb5db251d4f --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/tach.domain.toml @@ -0,0 +1,29 @@ +# repo-chores layering: the workspace model (domain) feeds the TOML editing +# helpers (capability) and the sync engine (orchestration), which the CLI +# (application) drives. The package root stays empty. + +[root] +layer = "domain" + +[[modules]] +layer = "domain" +path = "workspace" + +[[modules]] +layer = "capability" +path = "toml_edit" + +[[modules]] +layer = "orchestration" +path = "sync" + +# prune runs before anything is installed: the bootstrap layer forbids every +# internal import, and the empty external list forbids third-party ones. +[[modules]] +depends_on_external = [] +layer = "bootstrap" +path = "prune" + +[[modules]] +layer = "application" +path = "cli" diff --git a/libs/@local/repo-chores/python/repo_chores/toml_edit.py b/libs/@local/repo-chores/python/repo_chores/toml_edit.py new file mode 100644 index 00000000000..4869c3bbb92 --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/toml_edit.py @@ -0,0 +1,107 @@ +"""In-place editing of parsed TOML documents. + +:func:`navigate_to_table` and :func:`navigate_to_array` descend to a node along a +key path, creating missing levels and validating the shape of what they +find. :func:`reconcile_string_array` rewrites a managed array to an expected +value set, and :func:`array_to_str` exposes array elements for string-only +processing. + +Edits are local: everything an edit leaves alone keeps its comments, +ordering, and formatting, so a manifest survives a parse-adjust-dump +round-trip faithfully. +""" + +from collections.abc import Generator, Iterable, MutableMapping, Sequence +from typing import TypeIs + +import tomlkit +from tomlkit.items import Array, String + +from repo_chores.workspace import WorkspaceError + +type TomlTable = MutableMapping[str, object] +"""A live table node inside a parsed tomlkit document.""" + + +def is_table(value: object, /) -> TypeIs[TomlTable]: + """Narrow a tomlkit node to a live table. + + Indexing a parsed document yields :class:`Table` nodes, or + :class:`OutOfOrderTableProxy` nodes for a super-table whose subtables are + split across the file. Both are mutable mappings with string keys, and + both preserve trivia through mutation, so the narrowed type accepts + either. + """ + return isinstance(value, MutableMapping) + + +def navigate_to_table(table: TomlTable, /, *, path: Iterable[str]) -> TomlTable: + """Descend to (creating, if necessary) the table at `path`. + + Raises :exc:`WorkspaceError` when a key on the way holds a non-table value. + """ + for key in path: + if key not in table: + table[key] = tomlkit.table() + + value = table[key] + if not is_table(value): + raise WorkspaceError(f"expected a table at [{key}], found {type(value).__name__}") + + table = value + + return table + + +def navigate_to_array(table: TomlTable, /, *, path: Sequence[str]) -> Array: + """Descend to (creating, if necessary) the array at `path`. + + Raises :exc:`WorkspaceError` when the final key holds a non-array value. + """ + [*prefix, key] = path + table = navigate_to_table(table, path=prefix) + if key not in table: + table[key] = tomlkit.array() + + value = table[key] + if not isinstance(value, Array): + raise WorkspaceError(f"expected an array at `{key}`, found {type(value).__name__}") + + return value + + +def array_to_str(array: Array, /) -> Generator[str | None]: + """Yield each array element as a string, or None for elements of other types.""" + for item in array: + yield item if isinstance(item, String) else None + + +def insert_sorted(array: Array, value: str, /) -> None: + """Insert `value` before the first larger element, keeping a sorted array sorted.""" + for index, item in enumerate(array): + if item > value: + array.insert(index, value) + return + + array.append(value) + + +def reconcile_string_array(array: Array, /, *, expected: Sequence[str]) -> None: + """Mutate a strings-only array to exactly the sorted `expected` values. + + Stale and duplicate entries are removed, missing ones inserted in sorted + position. Surviving entries are untouched, so their comments and + formatting are preserved. + """ + remaining = set(expected) + for index in reversed(range(len(array))): + item = array[index] + if item in remaining: + remaining.discard(item) + else: + del array[index] + + if not array: + array.multiline(multiline=True) + for value in remaining: + insert_sorted(array, value) diff --git a/libs/@local/repo-chores/python/repo_chores/workspace.py b/libs/@local/repo-chores/python/repo_chores/workspace.py new file mode 100644 index 00000000000..f47cb2a8c6e --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/workspace.py @@ -0,0 +1,193 @@ +"""Discovery and shared model of the Python workspace. + +The workspace is rooted at the pyproject.toml declaring `[tool.uv.workspace]`. +:func:`load_workspace` parses that manifest, discovers every member manifest in +the repository, and returns an immutable :class:`Workspace` snapshot. + +tomllib parses into untyped dictionaries; every value crossing this module's +boundary is narrowed to a checked type. +""" + +import tomllib +from collections.abc import Mapping +from dataclasses import dataclass +from pathlib import Path +from typing import TypeIs + +PRUNED_DIRECTORIES = frozenset( + { + ".git", + ".ruff_cache", + ".turbo", + ".venv", + "__pycache__", + "build", + "dist", + "node_modules", + "out", + "target", + "venv", + } +) +"""Directory names that never contain workspace members and are skipped during discovery.""" + + +class WorkspaceError(RuntimeError): + """Raised when the workspace or one of its manifests cannot be interpreted.""" + + +@dataclass(frozen=True, kw_only=True, slots=True) +class Member: + """A Python package manifest discovered in the repository.""" + + directory: str + """Posix path of the package directory, relative to the workspace root.""" + + name: str | None + """The distribution name, or None when the manifest has no `[project]` name.""" + + requires_python: str | None + dev_dependencies: tuple[str, ...] + workspace_dependencies: tuple[str, ...] + has_tests: bool + + +@dataclass(frozen=True, kw_only=True, slots=True) +class Workspace: + """The workspace root manifest together with every discovered member.""" + + root: Path + requires_python: str + declared_members: tuple[str, ...] + dev_dependencies: tuple[str, ...] + members: tuple[Member, ...] + + +def _load_toml(path: Path, /) -> Mapping[str, object]: + """Parse a TOML file, wrapping parse failures in :exc:`WorkspaceError`.""" + try: + return tomllib.loads(path.read_text(encoding="utf-8")) + except tomllib.TOMLDecodeError as error: + raise WorkspaceError(f"{path} is not valid TOML: {error}") from error + + +def _is_table(value: object, /) -> TypeIs[Mapping[str, object]]: + """Narrow a parsed TOML value to a table. + + TOML keys are always strings, so a Mapping instance check is sufficient + to justify the declared key type. + """ + return isinstance(value, Mapping) + + +def _table_at(table: Mapping[str, object], /, *path: str) -> Mapping[str, object]: + """Descend through nested tables, returning an empty mapping where absent.""" + for key in path: + value = table.get(key) + if not _is_table(value): + return {} + table = value + + return table + + +def _str_at(table: Mapping[str, object], key: str, /) -> str | None: + """Read a string value, returning None when absent or of another type.""" + value = table.get(key) + return value if isinstance(value, str) else None + + +def _str_entries(table: Mapping[str, object], key: str, /) -> tuple[str, ...]: + """Collect the string entries of a list value, skipping entries of other types.""" + value = table.get(key) + if not isinstance(value, list): + return () + + return tuple(entry for entry in value if isinstance(entry, str)) + + +def _dev_dependencies(manifest: Mapping[str, object], /) -> tuple[str, ...]: + """Read the dev dependency group of a manifest.""" + return _str_entries(_table_at(manifest, "dependency-groups"), "dev") + + +def find_workspace_root(start: Path, /) -> Path: + """Walk upwards from `start` to the manifest declaring the uv workspace. + + Raises :exc:`WorkspaceError` when no ancestor declares `[tool.uv.workspace]`. + """ + for directory in (start, *start.parents): + manifest_path = directory / "pyproject.toml" + if not manifest_path.is_file(): + continue + + if "workspace" in _table_at(_load_toml(manifest_path), "tool", "uv"): + return directory + + raise WorkspaceError(f"no pyproject.toml with a [tool.uv.workspace] above {start}") + + +def find_member_manifests(root: Path, /) -> list[Path]: + """Find every pyproject.toml under `root` except the workspace root's own. + + Traversal skips :data:`PRUNED_DIRECTORIES` and returns paths in sorted order, + so discovery is deterministic across runs and platforms. + """ + manifests: list[Path] = [] + for directory, directory_names, file_names in root.walk(): + directory_names[:] = sorted(set(directory_names) - PRUNED_DIRECTORIES) + if directory != root and "pyproject.toml" in file_names: + manifests.append(directory / "pyproject.toml") + + return sorted(manifests) + + +def load_member(root: Path, manifest_path: Path, /) -> Member: + """Parse a member manifest into a :class:`Member`. + + Workspace dependencies are the `[tool.uv.sources]` entries marked + `workspace = true`. + """ + manifest = _load_toml(manifest_path) + project = _table_at(manifest, "project") + + workspace_dependencies = tuple( + sorted( + dependency + for dependency, source in _table_at(manifest, "tool", "uv", "sources").items() + if _is_table(source) and source.get("workspace") is True + ) + ) + + return Member( + directory=manifest_path.parent.relative_to(root).as_posix(), + name=_str_at(project, "name"), + requires_python=_str_at(project, "requires-python"), + dev_dependencies=_dev_dependencies(manifest), + workspace_dependencies=workspace_dependencies, + has_tests=(manifest_path.parent / "tests").is_dir(), + ) + + +def load_workspace(root: Path, /) -> Workspace: + """Parse the root manifest and discover every member in the repository. + + Raises :exc:`WorkspaceError` when the root manifest declares no + requires-python bound; that bound is the single source of truth for the + workspace's Python version. + """ + manifest = _load_toml(root / "pyproject.toml") + + requires_python = _str_at(_table_at(manifest, "project"), "requires-python") + if requires_python is None: + raise WorkspaceError(f"{root / 'pyproject.toml'} does not declare requires-python") + + return Workspace( + root=root, + requires_python=requires_python, + declared_members=_str_entries(_table_at(manifest, "tool", "uv", "workspace"), "members"), + dev_dependencies=_dev_dependencies(manifest), + members=tuple( + load_member(root, manifest_path) for manifest_path in find_member_manifests(root) + ), + ) diff --git a/libs/@local/repo-chores/python/tests/conftest.py b/libs/@local/repo-chores/python/tests/conftest.py new file mode 100644 index 00000000000..4046f496b08 --- /dev/null +++ b/libs/@local/repo-chores/python/tests/conftest.py @@ -0,0 +1,134 @@ +"""Shared fixture: a miniature repository exercising every sync rule.""" + +import json +from pathlib import Path + +import pytest + +REQUIRES_PYTHON = ">=3.14,<3.15" + +ROOT_PYPROJECT = f"""\ +[project] +name = "fixture-root" +version = "0.0.0" +requires-python = "{REQUIRES_PYTHON}" + +[tool.uv] +package = false + +[tool.uv.workspace] +members = [ + "packages/alpha", +] + +[dependency-groups] +dev = [ + "pytest>=8.0", + "ruff>=0.15.21", + "tach>=0.35,<0.36", +] + +[tool.ruff] +src = [] + +[tool.pytest.ini_options] +testpaths = [] + +[tool.tach] +source_roots = [] +""" + +ALPHA_PYPROJECT = """\ +[project] +name = "alpha" +version = "0.1.0" +requires-python = ">=3.13" + +[dependency-groups] +dev = [ + "pytest>=7.0", +] +""" + +BETA_PYPROJECT = """\ +[project] +name = "beta" +version = "0.1.0" +requires-python = ">=3.14,<3.15" +dependencies = [ + "alpha", +] + +[dependency-groups] +dev = [ + "pytest>=8.0", + "ruff>=0.15.21", +] + +[tool.uv.sources] +alpha = { workspace = true } +""" + +GAMMA_PYPROJECT = """\ +[project] +name = "gamma" +version = "0.1.0" +requires-python = ">=3.14,<3.15" + +[dependency-groups] +dev = [ + "ruff>=0.15.21", +] +""" + +TOOL_ONLY_PYPROJECT = """\ +[tool.some-linter] +option = true +""" + + +@pytest.fixture +def fixture_repo(tmp_path: Path) -> Path: + """Build a repository with one compliant member and one deviation per sync rule.""" + (tmp_path / "pyproject.toml").write_text(ROOT_PYPROJECT) + (tmp_path / "package.json").write_text( + json.dumps( + { + "name": "fixture-root", + "private": True, + "workspaces": {"packages": ["!**/node_modules", "packages/**"]}, + }, + indent=2, + ) + + "\n" + ) + + # alpha: declared member, but wrong requires-python, stale dev pin, no package.json. + alpha = tmp_path / "packages" / "alpha" + (alpha / "tests").mkdir(parents=True) + (alpha / "pyproject.toml").write_text(ALPHA_PYPROJECT) + + # beta: undeclared member with a workspace dependency and stale turbo wiring. + beta = tmp_path / "packages" / "beta" + beta.mkdir(parents=True) + (beta / "pyproject.toml").write_text(BETA_PYPROJECT) + (beta / "package.json").write_text( + json.dumps({"name": "@python/wrong-name", "version": "0.0.0-private"}, indent=2) + "\n" + ) + + # gamma: compliant manifest outside the yarn workspace globs. + gamma = tmp_path / "outside" / "lib" + gamma.mkdir(parents=True) + (gamma / "pyproject.toml").write_text(GAMMA_PYPROJECT) + + # A tool-configuration-only manifest: unfixable finding. + tool_only = tmp_path / "packages" / "toolcfg" + tool_only.mkdir(parents=True) + (tool_only / "pyproject.toml").write_text(TOOL_ONLY_PYPROJECT) + + # Manifests under pruned directories must be invisible. + hidden = tmp_path / "node_modules" / "dep" + hidden.mkdir(parents=True) + (hidden / "pyproject.toml").write_text('[project]\nname = "hidden"\n') + + return tmp_path diff --git a/libs/@local/repo-chores/python/tests/test_prune.py b/libs/@local/repo-chores/python/tests/test_prune.py new file mode 100644 index 00000000000..116837dba0d --- /dev/null +++ b/libs/@local/repo-chores/python/tests/test_prune.py @@ -0,0 +1,189 @@ +"""Tests for the turbo workspace prune module.""" + +from pathlib import Path + +from repo_chores import prune + + +class TestParseScopes: + def test_splits_on_spaces_and_newlines(self) -> None: + assert prune.parse_scopes("@apps/a @apps/b\n@apps/c") == frozenset( + {"@apps/a", "@apps/b", "@apps/c"} + ) + + def test_ignores_blank_lines_and_extra_whitespace(self) -> None: + assert prune.parse_scopes("\n @apps/a \n\n\t@apps/b\n") == frozenset( + {"@apps/a", "@apps/b"} + ) + + +class TestExpandScopes: + def test_no_rule_matches(self) -> None: + assert prune.expand_scopes({"@apps/hash-frontend"}) == frozenset() + + def test_prefix_trigger(self) -> None: + # Rules trigger on name prefixes: a child crate pulls in the whole family. + assert "@rust/darwin-kperf-codegen" in prune.expand_scopes({"@rust/darwin-kperf-sys"}) + + +class TestFixpointExpand: + def test_expands_rules_triggered_by_dependencies(self) -> None: + dependencies = {"@apps/hash-graph": frozenset({"@rust/hashql-ast"})} + scopes = prune.fixpoint_expand({"@apps/hash-graph"}, dependencies) + assert scopes == frozenset({"@apps/hash-graph", "@rust/hashql-compiletest"}) + + def test_expansion_reaches_fixpoint_through_added_scopes(self) -> None: + # The scope added by the first rule has dependencies that trigger another rule. + dependencies = { + "@rust/hashql-compiletest": frozenset({"@rust/hash-graph-types"}), + } + scopes = prune.fixpoint_expand({"@rust/hashql-ast"}, dependencies) + assert scopes == frozenset( + { + "@rust/hashql-ast", + "@rust/hashql-compiletest", + "@rust/hash-graph-test-data", + } + ) + + def test_terminates_on_cyclic_dependency_maps(self) -> None: + dependencies = { + "@apps/a": frozenset({"@apps/b"}), + "@apps/b": frozenset({"@apps/a"}), + } + scopes = prune.fixpoint_expand({"@apps/a"}, dependencies) + assert scopes == frozenset({"@apps/a"}) + + +class TestResolveCargoMembers: + def test_resolves_globs_and_literal_members(self, tmp_path: Path) -> None: + (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*", "standalone"]\n') + for member in ("crates/a", "crates/b", "standalone"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "Cargo.toml").write_text( + f'[package]\nname = "{member.replace("/", "-")}"\n' + ) + # A directory matching the glob but without a manifest is not a member. + (tmp_path / "crates" / "not-a-crate").mkdir() + + members = prune.resolve_cargo_members(tmp_path) + + assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ + "crates/a/Cargo.toml", + "crates/b/Cargo.toml", + "standalone/Cargo.toml", + ] + + +class TestStubMissingCargoMembers: + @staticmethod + def make_workspace(root: Path) -> None: + (root / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*"]\n') + for name in ("kept", "pruned"): + (root / "crates" / name).mkdir(parents=True) + (root / "crates" / name / "Cargo.toml").write_text(f'[package]\nname = "{name}"\n') + + def test_stubs_only_missing_members(self, tmp_path: Path) -> None: + self.make_workspace(tmp_path) + out = tmp_path / "out" + kept_manifest = out / "crates" / "kept" / "Cargo.toml" + kept_manifest.parent.mkdir(parents=True) + kept_manifest.write_text("untouched") + + prune.stub_missing_cargo_members(tmp_path, out) + + assert kept_manifest.read_text() == "untouched" + stub = out / "crates" / "pruned" / "Cargo.toml" + assert 'name = "pruned"' in stub.read_text() + assert (out / "crates" / "pruned" / "src" / "lib.rs").exists() + + def test_skips_manifests_without_a_package_name(self, tmp_path: Path) -> None: + (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["virtual"]\n') + (tmp_path / "virtual").mkdir() + (tmp_path / "virtual" / "Cargo.toml").write_text("[workspace]\n") + + prune.stub_missing_cargo_members(tmp_path, tmp_path / "out") + + assert not (tmp_path / "out" / "virtual" / "Cargo.toml").exists() + + def test_dry_run_writes_nothing(self, tmp_path: Path) -> None: + self.make_workspace(tmp_path) + out = tmp_path / "out" + + prune.stub_missing_cargo_members(tmp_path, out, dry_run=True) + + assert not out.exists() + + +class TestResolveUvMembers: + def test_missing_root_pyproject(self, tmp_path: Path) -> None: + assert prune.resolve_uv_members(tmp_path) == [] + + def test_pyproject_without_workspace(self, tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text('[project]\nname = "root"\n') + assert prune.resolve_uv_members(tmp_path) == [] + + def test_resolves_member_globs(self, tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text( + '[tool.uv.workspace]\nmembers = ["tools/*", "single"]\n' + ) + for member in ("tools/a", "tools/b", "single"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "pyproject.toml").write_text("[project]\n") + (tmp_path / "tools" / "not-a-package").mkdir() + + members = prune.resolve_uv_members(tmp_path) + + assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ + "single/pyproject.toml", + "tools/a/pyproject.toml", + "tools/b/pyproject.toml", + ] + + def test_respects_workspace_excludes(self, tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text( + '[tool.uv.workspace]\nmembers = ["tools/*"]\nexclude = ["tools/skipped"]\n' + ) + for member in ("tools/a", "tools/skipped"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "pyproject.toml").write_text("[project]\n") + + members = prune.resolve_uv_members(tmp_path) + + assert [path.relative_to(tmp_path).as_posix() for path in members] == [ + "tools/a/pyproject.toml" + ] + + +class TestStubMissingUvMembers: + @staticmethod + def make_workspace(root: Path) -> None: + (root / "pyproject.toml").write_text('[tool.uv.workspace]\nmembers = ["tools/*"]\n') + for name in ("kept", "pruned"): + (root / "tools" / name).mkdir(parents=True) + (root / "tools" / name / "pyproject.toml").write_text( + f'[project]\nname = "{name}"\nversion = "1.2.3"\ndependencies = ["numpy>=2"]\n' + ) + + def test_copies_manifests_of_missing_members(self, tmp_path: Path) -> None: + self.make_workspace(tmp_path) + out = tmp_path / "out" + kept_manifest = out / "tools" / "kept" / "pyproject.toml" + kept_manifest.parent.mkdir(parents=True) + kept_manifest.write_text("untouched") + + prune.stub_missing_uv_members(tmp_path, out) + + assert kept_manifest.read_text() == "untouched" + # The stub is a byte-for-byte manifest copy: uv validates the workspace + # graph (including each member's dependencies) against uv.lock. + stub = out / "tools" / "pruned" / "pyproject.toml" + assert stub.read_bytes() == (tmp_path / "tools" / "pruned" / "pyproject.toml").read_bytes() + + def test_dry_run_writes_nothing(self, tmp_path: Path) -> None: + self.make_workspace(tmp_path) + out = tmp_path / "out" + + prune.stub_missing_uv_members(tmp_path, out, dry_run=True) + + assert not out.exists() diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py new file mode 100644 index 00000000000..63efa387242 --- /dev/null +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -0,0 +1,198 @@ +"""Tests for the sync engine: check findings, fixes, and idempotency.""" + +import json +import tomllib +from pathlib import Path + +from repo_chores.sync import assemble_package_json, synchronize +from repo_chores.workspace import Member + + +class TestCheck: + def test_reports_every_deviation_without_writing(self, fixture_repo: Path) -> None: + before = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} + + findings = synchronize(fixture_repo, apply=False) + messages = "\n".join(f"{finding.path}: {finding.message}" for finding in findings) + + assert "workspace members must list every member" in messages + assert "ruff src roots must list every member" in messages + assert "pytest testpaths must list every member" in messages + assert "tach source roots must list every member" in messages + assert "outside/lib is not covered by workspaces.packages" in messages + assert 'packages/alpha/pyproject.toml: requires-python must be ">=3.14,<3.15"' in messages + assert 'dev group must pin "ruff>=0.15.21"' in messages + assert 'dev group must pin "pytest>=8.0"' in messages + assert "packages/alpha/package.json: turbo wiring is missing" in messages + assert "packages/beta/package.json: turbo wiring is missing" in messages + assert "packages/toolcfg/pyproject.toml: manifest has no [project] name" in messages + + after = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} + assert before == after, "check mode must not write" + + def test_unnamed_manifest_is_unfixable(self, fixture_repo: Path) -> None: + findings = synchronize(fixture_repo, apply=False) + unfixable = [finding for finding in findings if not finding.fixable] + + assert [finding.path for finding in unfixable] == ["packages/toolcfg/pyproject.toml"] + + def test_invalid_dev_requirement_is_an_unfixable_finding(self, fixture_repo: Path) -> None: + manifest_path = fixture_repo / "packages" / "alpha" / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace('"pytest>=7.0"', '">=not-a-requirement"') + ) + + findings = synchronize(fixture_repo, apply=False) + + assert any( + finding.path == "packages/alpha/pyproject.toml" + and "invalid dev requirement" in finding.message + and not finding.fixable + for finding in findings + ) + + +class TestFix: + def test_fixes_are_applied_and_idempotent(self, fixture_repo: Path) -> None: + synchronize(fixture_repo, apply=True) + + root_manifest = tomllib.loads((fixture_repo / "pyproject.toml").read_text()) + expected_members = ["outside/lib", "packages/alpha", "packages/beta"] + assert root_manifest["tool"]["uv"]["workspace"]["members"] == expected_members + assert root_manifest["tool"]["ruff"]["src"] == expected_members + assert root_manifest["tool"]["tach"]["source_roots"] == expected_members + assert root_manifest["tool"]["pytest"]["ini_options"]["testpaths"] == [ + "packages/alpha/tests" + ] + + root_package_json = json.loads((fixture_repo / "package.json").read_text()) + assert "outside/lib" in root_package_json["workspaces"]["packages"] + + alpha_manifest = tomllib.loads( + (fixture_repo / "packages" / "alpha" / "pyproject.toml").read_text() + ) + assert alpha_manifest["project"]["requires-python"] == ">=3.14,<3.15" + assert alpha_manifest["dependency-groups"]["dev"] == ["pytest>=8.0", "ruff>=0.15.21"] + + alpha_package_json = json.loads( + (fixture_repo / "packages" / "alpha" / "package.json").read_text() + ) + assert alpha_package_json["name"] == "@python/alpha" + assert alpha_package_json["license"] == "AGPL-3" + assert "test:unit" in alpha_package_json["scripts"] + + beta_package_json = json.loads( + (fixture_repo / "packages" / "beta" / "package.json").read_text() + ) + assert beta_package_json["name"] == "@python/beta" + assert beta_package_json["dependencies"] == {"@python/alpha": "workspace:*"} + assert "test:unit" not in beta_package_json["scripts"] + + # Only the unfixable finding remains; a second apply changes nothing. + remaining = synchronize(fixture_repo, apply=True) + assert [finding.fixable for finding in remaining] == [False] + + def test_root_manifest_comments_survive_fixes(self, fixture_repo: Path) -> None: + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace( + "[tool.uv.workspace]", "# Managed members list.\n[tool.uv.workspace]" + ) + ) + + synchronize(fixture_repo, apply=True) + + assert "# Managed members list." in manifest_path.read_text() + + def test_removes_stale_and_duplicate_member_entries(self, fixture_repo: Path) -> None: + stale = ( + 'members = [\n "packages/ghost",\n "packages/alpha",\n "packages/alpha",\n]' + ) + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace('members = [\n "packages/alpha",\n]', stale) + ) + + synchronize(fixture_repo, apply=True) + + root_manifest = tomllib.loads(manifest_path.read_text()) + assert root_manifest["tool"]["uv"]["workspace"]["members"] == [ + "outside/lib", + "packages/alpha", + "packages/beta", + ] + + def test_non_string_member_entries_are_reported_not_clobbered(self, fixture_repo: Path) -> None: + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace( + 'members = [\n "packages/alpha",\n]', + 'members = [\n "packages/alpha",\n 42,\n]', + ) + ) + + findings = synchronize(fixture_repo, apply=True) + + assert any( + "workspace members must only contain strings" in finding.message and not finding.fixable + for finding in findings + ) + root_manifest = tomllib.loads(manifest_path.read_text()) + assert root_manifest["tool"]["uv"]["workspace"]["members"] == ["packages/alpha", 42] + + +class TestAssemblePackageJson: + @staticmethod + def make_member( + *, + workspace_dependencies: tuple[str, ...] = (), + has_tests: bool = False, + ) -> Member: + return Member( + directory="packages/alpha", + name="alpha", + requires_python=">=3.14,<3.15", + dev_dependencies=(), + workspace_dependencies=workspace_dependencies, + has_tests=has_tests, + ) + + @staticmethod + def scripts_of(assembled: dict[str, object]) -> dict[str, str]: + scripts = assembled["scripts"] + assert isinstance(scripts, dict) + checked = { + key: value + for key, value in scripts.items() + if isinstance(key, str) and isinstance(value, str) + } + assert len(checked) == len(scripts) + return checked + + def test_preserves_custom_scripts_and_extra_keys(self) -> None: + existing = { + "description": "Hand-written description", + "scripts": {"custom:thing": "echo hi"}, + } + + assembled = assemble_package_json(self.make_member(), existing) + + assert assembled["description"] == "Hand-written description" + assert self.scripts_of(assembled)["custom:thing"] == "echo hi" + assert "lint:ruff" in self.scripts_of(assembled) + assert "fix:ruff" in self.scripts_of(assembled) + + def test_manages_identity_scripts_and_dependencies(self) -> None: + member = self.make_member(workspace_dependencies=("alpha-core",), has_tests=True) + + assembled = assemble_package_json(member, {"name": "@python/stale", "license": "MIT"}) + + assert assembled["name"] == "@python/alpha", "stale names are overwritten" + assert assembled["license"] == "MIT", "hand-set licenses are preserved" + assert "test:unit" in self.scripts_of(assembled) + assert assembled["dependencies"] == {"@python/alpha-core": "workspace:*"} + + def test_omits_empty_dependencies(self) -> None: + assembled = assemble_package_json(self.make_member(), {"dependencies": {"x": "1"}}) + + assert "dependencies" not in assembled diff --git a/libs/@local/repo-chores/python/tests/test_workspace.py b/libs/@local/repo-chores/python/tests/test_workspace.py new file mode 100644 index 00000000000..bd358592aca --- /dev/null +++ b/libs/@local/repo-chores/python/tests/test_workspace.py @@ -0,0 +1,51 @@ +"""Tests for workspace discovery and parsing.""" + +from pathlib import Path + +import pytest + +from repo_chores.workspace import ( + WorkspaceError, + find_member_manifests, + find_workspace_root, + load_workspace, +) + + +class TestFindMemberManifests: + def test_skips_pruned_directories_and_root_manifest(self, fixture_repo: Path) -> None: + manifests = find_member_manifests(fixture_repo) + directories = [ + manifest.parent.relative_to(fixture_repo).as_posix() for manifest in manifests + ] + + assert directories == [ + "outside/lib", + "packages/alpha", + "packages/beta", + "packages/toolcfg", + ] + + +class TestFindWorkspaceRoot: + def test_walks_up_from_a_member_directory(self, fixture_repo: Path) -> None: + assert find_workspace_root(fixture_repo / "packages" / "alpha") == fixture_repo + + def test_errors_when_no_workspace_exists(self, tmp_path: Path) -> None: + with pytest.raises(WorkspaceError, match=r"tool\.uv\.workspace"): + find_workspace_root(tmp_path) + + +class TestLoadWorkspace: + def test_parses_root_and_members(self, fixture_repo: Path) -> None: + workspace = load_workspace(fixture_repo) + + assert workspace.requires_python == ">=3.14,<3.15" + assert workspace.declared_members == ("packages/alpha",) + + members = {member.directory: member for member in workspace.members} + assert members["packages/alpha"].has_tests + assert members["packages/alpha"].requires_python == ">=3.13" + assert members["packages/beta"].workspace_dependencies == ("alpha",) + assert not members["packages/beta"].has_tests + assert members["packages/toolcfg"].name is None diff --git a/package.json b/package.json index f5824780b92..57a32f3167a 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "fix:eslint": "mise run fix:eslint", "fix:format": "oxfmt --write", "fix:markdownlint": "mise exec --env dev markdownlint-cli2 -- markdownlint-cli2 --fix", + "fix:python": "mise run fix:python", "fix:taplo": "taplo fmt", "fix:yarn-deduplicate": "yarn dedupe --strategy highest", "generate-ontology-type-ids": "yarn workspace @apps/hash-api generate-ontology-type-ids", @@ -50,6 +51,7 @@ "lint:format": "oxfmt --check", "lint:license-in-workspaces": "yarn workspace @local/repo-chores exe scripts/check-license-in-workspaces.ts", "lint:markdownlint": "mise exec --env dev markdownlint-cli2 -- markdownlint-cli2", + "lint:python": "mise run lint:python", "lint:skill": "yarn agents:skill-management validate", "lint:taplo": "taplo fmt --check", "lint:tsc": "mise run lint:tsc", diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000000..8eb920984f0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,199 @@ +# Root of the Python workspace. Shared configuration for every Python package +# in the repository lives here; per-package manifests only declare identity and +# dependencies. Generated sections are kept correct by `mise run sync:python` +# (see libs/@local/repo-chores/python) and validated in CI. + +[project] +name = "hash" +version = "0.0.0" +description = "Workspace-level Python configuration for the HASH monorepo" +# The single source of truth for the workspace Python version: every member +# must declare exactly the same bound, enforced by `repo-chores sync --check`. +requires-python = ">=3.14,<3.15" + +[tool.uv] +package = false + +# Managed by `mise run sync:python`: every pyproject.toml in the repository +# must be listed here explicitly. CI fails if one is missing. +[tool.uv.workspace] +members = [ + "libs/@local/repo-chores/python", +] + +[dependency-groups] +dev = [ + # Workspace tooling: `uv run repo-chores sync [--check]` and + # `uv run repo-chores prune `. + "hash-repo-chores", + "pytest>=8.0", + "ruff>=0.15.21", + "tach>=0.35,<0.36", + "ty>=0.0.59", +] + +[tool.uv.sources] +hash-repo-chores = { workspace = true } + +[tool.pytest.ini_options] +addopts = "-q --import-mode=importlib" +# Managed by `mise run sync:python`: one entry per member tests directory. +testpaths = [ + "libs/@local/repo-chores/python/tests", +] + +[tool.ruff] +target-version = "py314" +line-length = 100 +extend-exclude = [ + # Standalone end-user example script: it predates the Python workspace, + # deliberately has no third-party dependencies, and follows its own style. + "libs/@hashintel/petrinaut-cli/examples/python_stdio.py", +] + +# Managed by `mise run sync:python`: one entry per workspace member, so ruff +# classifies member-local imports as first-party. +src = [ + "libs/@local/repo-chores/python", +] + +[tool.ruff.lint] +# Preview rules are enabled deliberately: the strictest available rule set, +# with exceptions curated below. +preview = true +select = ["ALL"] +ignore = [ + # Formatter conflicts (ruff's own recommendation). + "COM812", + "ISC001", + # No copyright-header convention in this repository. + "CPY001", + # Docstring-style pair choices: summary on the first line, no blank + # line before the class docstring. + "D203", + "D213", + # Docstring presence is judged in review, not by rule: a docstring has + # to earn its keep, and mandatory-docstring rules breed filler that + # restates the signature. Module docstrings (D100) stay required. The + # same reasoning covers the pydoclint section rules (DOC): documented + # returns/raises are welcome, mandated ones produce boilerplate. + "D101", + "D102", + "D103", + "D104", + "D105", + "D107", + "DOC201", + "DOC402", + "DOC501", + # Inline f-string messages at the raise site read better than the + # msg-variable indirection these rules force. + "EM101", + "EM102", + "TRY003", + # Keyword-only argument passing is the house style; the *total* + # argument-count limit fights it without adding safety. PLR0917 keeps + # policing the positional count via `max-positional-args` below. + "PLR0913", + # Typing-only import blocks are a hazard for runtime-evaluated + # annotations: pydantic models and TypeAdapters build their schemas from + # annotations at runtime, so imports moved under TYPE_CHECKING break + # model building. + "TC001", + "TC002", + "TC003", +] + +[tool.ruff.lint.pylint] +# Positional arguments are capped tightly (PLR0917): beyond this, callers +# must pass keywords. +max-positional-args = 3 + +[tool.ruff.lint.flake8-tidy-imports.banned-api] +"__future__.annotations".msg = "Python 3.14 evaluates annotations lazily (PEP 649); the future import is redundant and subtly changes annotation semantics." +"typing.Any".msg = "Any is banned: use object for pass-through values, a TypeVar for generic code, or pydantic's JsonValue for opaque JSON." + +[tool.ruff.lint.pydocstyle] +convention = "pep257" + +[tool.ruff.lint.per-file-ignores] +# Tests assert by design, compare against literal expectations, reach into +# private state to pin behavior, and may run subprocesses built from local +# argv. Test trees use importlib import mode instead of __init__.py files, +# and grouping tests in classes (PLR6301) is the house pytest idiom. +"**/tests/**" = ["S101", "PLR2004", "SLF001", "D100", "S603", "INP001", "PLR6301"] +# Fixture generators are standalone scripts: they print, they live outside +# the package tree, and they assert their own arithmetic. +"**/fixtures/**" = ["T201", "INP001", "S101", "PLR2004", "D100"] +# CLI modules print their results and import heavy dependencies inside +# command bodies on purpose: --help must not pay for the underlying imports. +"**/cli.py" = ["PLC0415", "T201"] +"**/*_cli.py" = ["PLC0415", "T201"] +# The prune module is CI plumbing: it reports progress via print and exists +# to spawn `turbo` (resolved from PATH) with locally-built arguments. +"libs/@local/repo-chores/python/repo_chores/prune.py" = ["T201", "S404", "S603", "S607"] +# The sync engine pipes generated package.json content through the repository +# formatter (oxfmt, resolved via shutil.which); all arguments are owned. +"libs/@local/repo-chores/python/repo_chores/sync.py" = ["S404", "S603"] + +[tool.pyright] +venvPath = "." +venv = ".venv" + +[tool.ty.environment] +python = "./.venv" + +[tool.ty.rules] +# Suppressions must pull their weight, mirroring tach's +# `unused_ignore_directives = "error"` and ruff's RUF100. +unused-ignore-comment = "error" + +[tool.ty.src] +exclude = [ + # Kept in sync with [tool.ruff] extend-exclude. + "libs/\\@hashintel/petrinaut-cli/examples/python_stdio.py", +] + +# Global tach settings. Modules and interfaces live next to the code they +# describe, in each package's tach.domain.toml. +[tool.tach] +exact = true +exclude = [ + "**/.venv/**", + "**/__pycache__/**", + "**/node_modules/**", + "**/tests/**", +] +forbid_circular_dependencies = true +ignore_type_checking_imports = false +# Layer ordering alone constrains imports: a module may import from its own +# layer or any lower one, and upward imports fail `tach check`. Declaring a +# module is therefore a two-line layer assignment; `depends_on` stays +# available for packages that want explicitly curated edges. +layers_explicit_depends_on = false +respect_gitignore = true +root_module = "ignore" + +# Managed by `mise run sync:python`: one entry per workspace member. +source_roots = [ + "libs/@local/repo-chores/python", +] + +layers = [ + "application", + "orchestration", + "capability", + "domain", + # Self-contained tooling that runs before the environment exists. The + # bottom position is the isolation guarantee: a bootstrap module importing + # anything above it fails `tach check`. + "bootstrap", +] + +[tool.tach.rules] +require_ignore_directive_reasons = "error" +# Accounting is scoped to each package's [project.dependencies]; a dependency +# that stops being imported fails `tach check-external`. Dependencies that are +# legitimately unimported belong in a `[tool.tach.external]` exclude list. +unused_external_dependencies = "error" +unused_ignore_directives = "error" diff --git a/turbo.json b/turbo.json index 8652ee651b4..497fa7cd49e 100644 --- a/turbo.json +++ b/turbo.json @@ -101,6 +101,7 @@ "env": ["CHECK_TEMPORARILY_DISABLED_RULES"], "dependsOn": ["codegen", "@local/eslint#build"] }, + "lint:ruff": {}, "lint:tsc": { "dependsOn": ["codegen", "build:types"] }, @@ -108,6 +109,9 @@ "dependsOn": ["codegen", "@local/eslint#build"] }, "fix:clippy": {}, + "fix:ruff": { + "cache": false + }, "sentry:sourcemaps": { "dependsOn": ["build"] } diff --git a/uv.lock b/uv.lock new file mode 100644 index 00000000000..71a29da0537 --- /dev/null +++ b/uv.lock @@ -0,0 +1,394 @@ +version = 1 +revision = 3 +requires-python = "==3.14.*" + +[manifest] +members = [ + "hash", + "hash-repo-chores", +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "gitdb" +version = "4.0.12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "smmap" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/72/94/63b0fc47eb32792c7ba1fe1b694daec9a63620db1e313033d18140c2320a/gitdb-4.0.12.tar.gz", hash = "sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571", size = 394684, upload-time = "2025-01-02T07:20:46.413Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl", hash = "sha256:67073e15955400952c6565cc3e707c554a4eea2e428946f7a4c162fab9bd9bcf", size = 62794, upload-time = "2025-01-02T07:20:43.624Z" }, +] + +[[package]] +name = "gitpython" +version = "3.1.51" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "gitdb" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/59/30/a8a0c15f9480dc91b5b7f11ebd26105e5f80898d7ff02da197fef35d8395/gitpython-3.1.51.tar.gz", hash = "sha256:22c9c94bb6b0b9f3c7157c684fece45a414cea204586b600beae6cd4570dcd6d", size = 223519, upload-time = "2026-07-12T13:40:07.922Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f8/11/1232bb1ba52a230f20ff08e1b3df7cd9d43a71b61cc0a1c37941064fe4c7/gitpython-3.1.51-py3-none-any.whl", hash = "sha256:d5b29685708f3c80a56db040b665bfd69492c8e150b5848532af8013b686c5a4", size = 215246, upload-time = "2026-07-12T13:40:06.43Z" }, +] + +[[package]] +name = "hash" +version = "0.0.0" +source = { virtual = "." } + +[package.dev-dependencies] +dev = [ + { name = "hash-repo-chores" }, + { name = "pytest" }, + { name = "ruff" }, + { name = "tach" }, + { name = "ty" }, +] + +[package.metadata] + +[package.metadata.requires-dev] +dev = [ + { name = "hash-repo-chores", editable = "libs/@local/repo-chores/python" }, + { name = "pytest", specifier = ">=8.0" }, + { name = "ruff", specifier = ">=0.15.21" }, + { name = "tach", specifier = ">=0.35,<0.36" }, + { name = "ty", specifier = ">=0.0.59" }, +] + +[[package]] +name = "hash-repo-chores" +version = "0.0.0" +source = { editable = "libs/@local/repo-chores/python" } +dependencies = [ + { name = "packaging" }, + { name = "tomlkit" }, +] + +[package.dev-dependencies] +dev = [ + { name = "pytest" }, + { name = "ruff" }, +] + +[package.metadata] +requires-dist = [ + { name = "packaging", specifier = ">=25" }, + { name = "tomlkit", specifier = ">=0.13" }, +] + +[package.metadata.requires-dev] +dev = [ + { name = "pytest", specifier = ">=8.0" }, + { name = "ruff", specifier = ">=0.15.21" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "networkx" +version = "3.6.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6a/51/63fe664f3908c97be9d2e4f1158eb633317598cfa6e1fc14af5383f17512/networkx-3.6.1.tar.gz", hash = "sha256:26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509", size = 2517025, upload-time = "2025-12-08T17:02:39.908Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504, upload-time = "2025-12-08T17:02:38.159Z" }, +] + +[[package]] +name = "packaging" +version = "26.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" }, +] + +[[package]] +name = "pluggy" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, +] + +[[package]] +name = "prompt-toolkit" +version = "3.0.52" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "wcwidth" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198, upload-time = "2025-08-27T15:24:02.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" }, +] + +[[package]] +name = "pydot" +version = "4.0.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pyparsing" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/50/35/b17cb89ff865484c6a20ef46bf9d95a5f07328292578de0b295f4a6beec2/pydot-4.0.1.tar.gz", hash = "sha256:c2148f681c4a33e08bf0e26a9e5f8e4099a82e0e2a068098f32ce86577364ad5", size = 162594, upload-time = "2025-06-17T20:09:56.454Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/32/a7125fb28c4261a627f999d5fb4afff25b523800faed2c30979949d6facd/pydot-4.0.1-py3-none-any.whl", hash = "sha256:869c0efadd2708c0be1f916eb669f3d664ca684bc57ffb7ecc08e70d5e93fee6", size = 37087, upload-time = "2025-06-17T20:09:55.25Z" }, +] + +[[package]] +name = "pygments" +version = "2.20.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, +] + +[[package]] +name = "pyparsing" +version = "3.3.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" }, +] + +[[package]] +name = "pytest" +version = "9.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, +] + +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "rich" +version = "15.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" }, +] + +[[package]] +name = "ruff" +version = "0.15.21" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/36/6f65aa9989acdec45d417192d8f4e7921931d8a6cf87ac74bce3eed98a8e/ruff-0.15.21.tar.gz", hash = "sha256:d0cfc841c572283c36548f82664a54ce6565567f1b0d5b4cf2caac693d8b7500", size = 4769401, upload-time = "2026-07-09T20:01:34.005Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/c6/ede15cac6839f3dbce52565c8f5164a8210e669c7bc4decb03e5bdf47d0d/ruff-0.15.21-py3-none-linux_armv6l.whl", hash = "sha256:63ea0e965e5d73c90e95b2434beeafc70820536717f561b32ab6e777cb9bdf5d", size = 10854342, upload-time = "2026-07-09T20:00:53.998Z" }, + { url = "https://files.pythonhosted.org/packages/28/9d/d825b07ee7ea9e2d61df92a860033c94e06e7300d50a1c2653aac27d24fe/ruff-0.15.21-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:0f212c5d7d54c01bbfe6dcab02b724a39300f3e34ed7acbe995ccb320a2c58bd", size = 11139539, upload-time = "2026-07-09T20:00:57.809Z" }, + { url = "https://files.pythonhosted.org/packages/f5/de/3b107712e642f063c7a9e0887c427b22cb44097de5aab36c05f2e280670c/ruff-0.15.21-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e6312e41bc96791299614995ea3a977c5857c3b5662b1ecef6755b02b87cb646", size = 10595437, upload-time = "2026-07-09T20:01:00.006Z" }, + { url = "https://files.pythonhosted.org/packages/9a/6f/b4523cc90ba239ede441447a19d0c968846a3012e5a0b0c5b62831a3d5e3/ruff-0.15.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01d65b4831c6b2a4ba8ee6faa84049d44d982b7a706e622c4094c509e51673be", size = 10990053, upload-time = "2026-07-09T20:01:02.187Z" }, + { url = "https://files.pythonhosted.org/packages/92/cc/c6a9872a5375f0628875481cf2f66b13d7d865bf3ca2e57f91c7e762d976/ruff-0.15.21-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2c5a913a589120ce67933d5d05fd6ddbcc2481c6a054980ee767f7414c72b4fd", size = 10666096, upload-time = "2026-07-09T20:01:04.299Z" }, + { url = "https://files.pythonhosted.org/packages/ab/97/c621f7a17e097f1790fa3af6374138823b330b2d03fc38337945daca212c/ruff-0.15.21-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5ef04b681d02ad4dc9620f00f83ac5c22f652d0e9a9cfe431d219b16ad5ccc41", size = 11537011, upload-time = "2026-07-09T20:01:06.771Z" }, + { url = "https://files.pythonhosted.org/packages/ea/51/d928727e476e25ccc57c6f449ffd80241a651a973ad949d39cfb2a771d28/ruff-0.15.21-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:16d090c0740916594157e75b80d666eab8e78083b39b3b0e1d698f4670a17b86", size = 12347101, upload-time = "2026-07-09T20:01:08.859Z" }, + { url = "https://files.pythonhosted.org/packages/1e/88/8cd62026802b16018ad06931d87997cf795ba2a6239ab659606c87d96bf0/ruff-0.15.21-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3a10e74757dd65004d779b73e2f3c5210156d9980b41224d50d2ebcf1db51e67", size = 11572001, upload-time = "2026-07-09T20:01:11.092Z" }, + { url = "https://files.pythonhosted.org/packages/b2/97/f63084cf55444fc110e8cb985ebfcc592af47f597d44453d778cb81bc156/ruff-0.15.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bab0905d2f29e0d9fbc3c373ed23db0095edaa3f71f1f4f519ec15134d9e85c8", size = 11549239, upload-time = "2026-07-09T20:01:13.27Z" }, + { url = "https://files.pythonhosted.org/packages/9d/77/f107da4a2874b7715914b03f09ba9c54424de3ff8a1cc5d015d3ee2ce0ac/ruff-0.15.21-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:00eca240af5789fec6fe7df74c088cc1f9644ed83027113468efba7c92b94075", size = 11535340, upload-time = "2026-07-09T20:01:15.206Z" }, + { url = "https://files.pythonhosted.org/packages/d5/e9/601deb322d3303a7bf212b0100ead6f2ee3f6a044d89c30f2f92bf83c731/ruff-0.15.21-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:262ab31557a75141325e32d3357f3597645a7f084e732b6b054dde428ecd9341", size = 10964048, upload-time = "2026-07-09T20:01:17.723Z" }, + { url = "https://files.pythonhosted.org/packages/ea/2e/0f2176d1e99c15192caea19c8c3a0a955246b4cb4de795042eeb616345cd/ruff-0.15.21-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:659c4e7a4212f83306045ec7c5e5a356d16d9a6ef4ae0c7a4d872914fc655d9d", size = 10667055, upload-time = "2026-07-09T20:01:19.73Z" }, + { url = "https://files.pythonhosted.org/packages/48/60/abd74a02e0c4214f12a68becfd30af7165cfdcb0e661ecdc60bbb949c09a/ruff-0.15.21-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9e866eab611a5f959d36df2d10e446973a3610bc42b0c15b31dc27977d59c233", size = 11242043, upload-time = "2026-07-09T20:01:21.947Z" }, + { url = "https://files.pythonhosted.org/packages/b2/c6/583075d8ccabb4b229345edcaf1545eb3d8d6be90f686a479d7e94088bbf/ruff-0.15.21-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:e89bc93c0d3803ba870b55c29671bad9dc6d94bb1eb181b056b52eb05b52854f", size = 11648064, upload-time = "2026-07-09T20:01:24.023Z" }, + { url = "https://files.pythonhosted.org/packages/3a/3c/37d0ecb729a7cc2d393ea7dce316fc585680f35d93b8d62139d7d0a3700c/ruff-0.15.21-py3-none-win32.whl", hash = "sha256:01f8d5be84823c172b389e123174f781f9daf86d6c58719d603f941932195cdd", size = 10896555, upload-time = "2026-07-09T20:01:26.941Z" }, + { url = "https://files.pythonhosted.org/packages/c0/b8/e43466b2a6067ce91e669068f6e28d6c719a920f014b070d5c8731725de3/ruff-0.15.21-py3-none-win_amd64.whl", hash = "sha256:d4b8d9a2f0f12b816b50447f6eccb9f4bb01a6b82c86b50fb3b5354b458dc6d3", size = 12038772, upload-time = "2026-07-09T20:01:29.497Z" }, + { url = "https://files.pythonhosted.org/packages/dd/75/e90ab9aeece218a9fc5a5bc3ec97d0ee6bb3c4ff95869463c1de58e29a1c/ruff-0.15.21-py3-none-win_arm64.whl", hash = "sha256:6e83115d4b9377c1cbc13abf0e051f069fab0ef815ea0504a8a008cee24dd0a8", size = 11375265, upload-time = "2026-07-09T20:01:31.772Z" }, +] + +[[package]] +name = "smmap" +version = "5.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1f/ea/49c993d6dfdd7338c9b1000a0f36817ed7ec84577ae2e52f890d1a4ff909/smmap-5.0.3.tar.gz", hash = "sha256:4d9debb8b99007ae47165abc08670bd74cb74b5227dda7f643eccc4e9eb5642c", size = 22506, upload-time = "2026-03-09T03:43:26.1Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c1/d4/59e74daffcb57a07668852eeeb6035af9f32cbfd7a1d2511f17d2fe6a738/smmap-5.0.3-py3-none-any.whl", hash = "sha256:c106e05d5a61449cf6ba9a1e650227ecfb141590d2a98412103ff35d89fc7b2f", size = 24390, upload-time = "2026-03-09T03:43:24.361Z" }, +] + +[[package]] +name = "tach" +version = "0.35.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "gitpython" }, + { name = "networkx" }, + { name = "prompt-toolkit" }, + { name = "pydot" }, + { name = "pyyaml" }, + { name = "rich" }, + { name = "tomli" }, + { name = "tomli-w" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/81/54/8bae607899ba9fd7abd9895215f2e5dc789a73529f8afeb0a10d2ee71500/tach-0.35.0.tar.gz", hash = "sha256:db8594820685f8ce316ef45d4dfa1a8ed39ce97dd873aa5006800d2668c3b3bb", size = 731143, upload-time = "2026-05-12T12:48:58.19Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/30/65/7ec3ac15167d9a2def25ed5cc6699348a940d7d24408d0c0b3e9bf14f1c3/tach-0.35.0-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:83b43975bcd23ddca2de388891d9f2cce7de3775682ac0a7857981adc4454787", size = 4042721, upload-time = "2026-05-12T12:48:52.149Z" }, + { url = "https://files.pythonhosted.org/packages/ad/b6/e43617eaf57cd2f8a27935c87256eab63b8505e1c7b7a3e1947f2a612f88/tach-0.35.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:f14a3943783fa3285030468958718a0696d908d50a5c5119e2b42dae37e32114", size = 3910668, upload-time = "2026-05-12T12:48:50.646Z" }, + { url = "https://files.pythonhosted.org/packages/41/de/936963142c9af18e7a59909960bf6d4645e82190471e162c28ba80dd2475/tach-0.35.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0109591f1be3d0e323769d495b1e303ee41305bf03e9143328000a40eee7059", size = 4262505, upload-time = "2026-05-12T12:48:44.476Z" }, + { url = "https://files.pythonhosted.org/packages/87/0e/575f119447647e2321fc71bacf3909450b743fcbaf5015f11037bd304fee/tach-0.35.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:272234f3ff9f6cef54dffb5175a83313938461e37617c1fe18bbbaa2cc52179c", size = 4156922, upload-time = "2026-05-12T12:48:47.828Z" }, + { url = "https://files.pythonhosted.org/packages/1e/16/d235f6ba6be79c8c4490ee1469a73e2325d1f8f380c29954c4103b6aff09/tach-0.35.0-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:236d2113e4920e83fa60fd814d09a7fc9cbab87fd60a0a79d5afc9dd60a81102", size = 4576596, upload-time = "2026-05-12T12:49:02.238Z" }, + { url = "https://files.pythonhosted.org/packages/7f/e5/254462c90ec22cd1f2f8f5dc27f4b8bef62940eb3775565366d3fb6cd563/tach-0.35.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0c65273272f842c1490c2086279296a250a3eeb40b01c02a252b0c8021c52441", size = 5202902, upload-time = "2026-05-12T12:48:53.869Z" }, + { url = "https://files.pythonhosted.org/packages/33/b8/aeb321f3752522198a5e8a2f8b0e88cf36f54c108938ec50a845fe19290c/tach-0.35.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afa96c12355acf2a00dc27d3c39ccbca5516fa954640051d9dab9fd47a373d6d", size = 4284724, upload-time = "2026-05-12T12:48:56.742Z" }, + { url = "https://files.pythonhosted.org/packages/37/07/65d158d670a3106f3b327e53187fdf812a2894a3286407154f802ade6874/tach-0.35.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:162677645f6a28b0fd91d5d33334b1e92ac40c8085540f40bf072fc8ab6a2b0c", size = 4530463, upload-time = "2026-05-12T12:49:04.743Z" }, + { url = "https://files.pythonhosted.org/packages/e9/f2/7fc5ee5e9521ab6d75c0fa9affad4f324bf70f0554c47251cba599a30b5e/tach-0.35.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:e9940ec5f07200e349fb68d85939f72b659b96644c28d2f3d4e97d290ec85f95", size = 4437612, upload-time = "2026-05-12T12:48:46.409Z" }, + { url = "https://files.pythonhosted.org/packages/ea/06/5dd9e47839e9d5b202bf1f9d9d526940020f561d461607498938d2c55a5f/tach-0.35.0-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:4162f07b9ca0364eb4f05530b2b6a66b6c6544fae8752e4378458f604346f800", size = 4432234, upload-time = "2026-05-12T12:48:49.178Z" }, + { url = "https://files.pythonhosted.org/packages/81/87/267e1ea74dc4bacce03d301991b39da58211f636325b1fed7bd83b5e9c40/tach-0.35.0-cp37-abi3-musllinux_1_2_i686.whl", hash = "sha256:2c2e9fc654a7a250f3698b26872c89de7b42f649736e3c322cb91edcc749cd55", size = 4587446, upload-time = "2026-05-12T12:49:03.473Z" }, + { url = "https://files.pythonhosted.org/packages/a4/c3/0859a8f4f85b167174a9173df79bc0f15b93908d69537a737f1c44e2d8b9/tach-0.35.0-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:e73aebad3af4aa99c20f72d54f270e40eac8681b5fd3bb439333936bfba5c892", size = 5330778, upload-time = "2026-05-12T12:48:55.096Z" }, + { url = "https://files.pythonhosted.org/packages/4b/0f/e1842c063d0ac7be804797fab569ac782ef8a9fa349092c71125bc628e4d/tach-0.35.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e9275b65ff31e7ff9842b3bd7417a393115dbadd1fa8c3d953ae330cff7fbefb", size = 4565068, upload-time = "2026-05-12T12:49:06.024Z" }, + { url = "https://files.pythonhosted.org/packages/2e/e5/054784261781dbcb8ac663a5d09af6c7996f5bde5230282b4c062dcf1f1f/tach-0.35.0-cp37-abi3-win32.whl", hash = "sha256:72dd6553d9fdd1e72fbd8e5b71892a463e8cd70b3ff6377b4f682aab100937d3", size = 3378975, upload-time = "2026-05-12T12:49:00.79Z" }, + { url = "https://files.pythonhosted.org/packages/4b/1d/5dddf88fa9433bf4fcc76afad18e49d8e50e24f1f40c981c286edccd6c2d/tach-0.35.0-cp37-abi3-win_amd64.whl", hash = "sha256:746271a5313c348e00c1b85927260e3e1a75351d86b2da1746e85c5dd77051e6", size = 3671788, upload-time = "2026-05-12T12:48:59.619Z" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "tomli-w" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/19/75/241269d1da26b624c0d5e110e8149093c759b7a286138f4efd61a60e75fe/tomli_w-1.2.0.tar.gz", hash = "sha256:2dd14fac5a47c27be9cd4c976af5a12d87fb1f0b4512f81d69cce3b35ae25021", size = 7184, upload-time = "2025-01-15T12:07:24.262Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl", hash = "sha256:188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90", size = 6675, upload-time = "2025-01-15T12:07:22.074Z" }, +] + +[[package]] +name = "tomlkit" +version = "0.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/51/db/03eaf4331631ef6b27d6e3c9b68c54dc6f0d63d87201fed600cc409307fd/tomlkit-0.15.0.tar.gz", hash = "sha256:7d1a9ecba3086638211b13814ea79c90dd54dd11993564376f3aa92271f5c7a3", size = 161875, upload-time = "2026-05-10T07:38:22.245Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6a/43/8bd850ee71a191bf072e31302c73a66be413fecdd98fdcd111ecbcce13ca/tomlkit-0.15.0-py3-none-any.whl", hash = "sha256:4dbc8f0fc024412b57ced8757ac7461305126a648ff8c2c807fcb8e133a78738", size = 41328, upload-time = "2026-05-10T07:38:23.517Z" }, +] + +[[package]] +name = "ty" +version = "0.0.59" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/95/b0/84ae7b3bf6e3e9f57eb9635eeff5a80b36e57aa089f40be0fb5c384fa176/ty-0.0.59.tar.gz", hash = "sha256:53e53ffeed78ad59cd237fa8ea1316d2b94e13efdea9a945698acab549e005aa", size = 6145435, upload-time = "2026-07-12T20:22:02.781Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/57/e8/650b42fbef4d48e6ca682b0b6e9b68fa8fcf55cbb0a6892ab89990018b6f/ty-0.0.59-py3-none-linux_armv6l.whl", hash = "sha256:f8fb08a767ef8f11ea3c537b9d77860726cc2bc39e6f77ad13c02d5b289f20a7", size = 11700328, upload-time = "2026-07-12T20:21:26.046Z" }, + { url = "https://files.pythonhosted.org/packages/22/ac/0ca3a89d5f59ae5f308e5e83428cac5f9143200767743e052fba90b4b81e/ty-0.0.59-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:c7f4d5630836c8a0ba13dd4ac7bdae080a7d6ebe965b817ff642dc961bcf2a53", size = 11494310, upload-time = "2026-07-12T20:21:28.491Z" }, + { url = "https://files.pythonhosted.org/packages/f3/f8/5076de6001cefbccd8e6dc8472262697e43308ff66b0e87c72abba136357/ty-0.0.59-py3-none-macosx_11_0_arm64.whl", hash = "sha256:872f6fb02c6db5553c4d5fb283b3d50f0985fb9a29a910e4fda4793a775c1926", size = 11026797, upload-time = "2026-07-12T20:21:30.879Z" }, + { url = "https://files.pythonhosted.org/packages/2e/0f/fca28481b6a138e2b798ad9fdc98a095475f9104948ba242fce4b477782b/ty-0.0.59-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2af8eefbfe806337770eec12c0c819c5f1b8f5b85f8369cb1cc9fa25234a2208", size = 11475304, upload-time = "2026-07-12T20:21:33.041Z" }, + { url = "https://files.pythonhosted.org/packages/08/4b/1fed8b81b389ef4bbc0400f19e05fc16496b162577779dc0e5fc65ac216c/ty-0.0.59-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0acf8b76a1c9a7ddef460b42475f6c76193164426ab080783af1c3175b4b999b", size = 11533131, upload-time = "2026-07-12T20:21:35.189Z" }, + { url = "https://files.pythonhosted.org/packages/5f/fc/04eec35e05a10e0fea1c6503a290ccc3935efda9c845aff64e83282c1af7/ty-0.0.59-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:043c2e00eb1d7475f928af7dedd71f69b64e69bfca55e36f4c968479e1373fc4", size = 12205932, upload-time = "2026-07-12T20:21:37.324Z" }, + { url = "https://files.pythonhosted.org/packages/a9/dd/a61de859659fa11b55917ad38340a8f2c61f5ae17d1874929f29084c6990/ty-0.0.59-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f0d688d857441df57f48fca66c029d85cf737c510e7be1d01144cdad1e58d968", size = 12758406, upload-time = "2026-07-12T20:21:39.525Z" }, + { url = "https://files.pythonhosted.org/packages/c6/e8/fa66f05997eab8ca75fc4f17320140e25467849e0cc75597f898cc22099c/ty-0.0.59-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a96c9f88394a3b42c737e2125b2330543f0d90a43b49761f377d96f8c3ee0d62", size = 12288176, upload-time = "2026-07-12T20:21:41.784Z" }, + { url = "https://files.pythonhosted.org/packages/15/68/0fca59963bd5123f42d5f7da50667e7a52e8e9615e3a16d8c2c0d3b2d143/ty-0.0.59-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f08dbcb268edcafcb152e59475b5b495ce28d0b340a395c09943557678f4d5a6", size = 12028471, upload-time = "2026-07-12T20:21:43.82Z" }, + { url = "https://files.pythonhosted.org/packages/e1/5b/cd7dabbbab392578f11179919da5c25d8c3322e5388a688f539ea0539603/ty-0.0.59-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:8812764b9a40fdc98df1272826e73a298ef56b06681135e643bcf90aad1896f7", size = 12297646, upload-time = "2026-07-12T20:21:45.76Z" }, + { url = "https://files.pythonhosted.org/packages/1d/37/2e9c94f0b383d8cbe1a35517ab470b7810bc9d7501603ab532bcd5be5e90/ty-0.0.59-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:fd53b8581641d8dad7bfac6d5ea589e91a883d6837e0b9a286fdae30722b7c69", size = 11432519, upload-time = "2026-07-12T20:21:47.694Z" }, + { url = "https://files.pythonhosted.org/packages/9d/0a/af93e9785200f11ac416cc20235fc2464c9bd978e791190684ea0e458795/ty-0.0.59-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:86da5872124a41877d95058bc17d33ddcff034b587eb5f1e2917ab88ba227dac", size = 11554993, upload-time = "2026-07-12T20:21:49.671Z" }, + { url = "https://files.pythonhosted.org/packages/4b/dd/651bf87e20d00376c81b19124756491cffaf20eb8bec05a8794e5a8cf641/ty-0.0.59-py3-none-musllinux_1_2_i686.whl", hash = "sha256:6a233eef5f2fd4d894881e4a0aec83c9f172bfae1d787d6596ee1939fcc7723e", size = 11818230, upload-time = "2026-07-12T20:21:51.659Z" }, + { url = "https://files.pythonhosted.org/packages/16/50/c947c4155fea751d135b19affdf734bbce72a94e446b866cf0c62f8bed69/ty-0.0.59-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7ff678c18b5f1e3128b75a35e50dee7908dea55155baa31cd790619d5014cbf5", size = 12135194, upload-time = "2026-07-12T20:21:53.796Z" }, + { url = "https://files.pythonhosted.org/packages/b1/13/e5feb138888de1e95037c843571bbbd4ac21bf0a190507468098599a321f/ty-0.0.59-py3-none-win32.whl", hash = "sha256:cf8abb4b8095c5fe39102b8127f5886db308c8d4600909ddbc905512ce9c8163", size = 11179249, upload-time = "2026-07-12T20:21:55.752Z" }, + { url = "https://files.pythonhosted.org/packages/76/dd/52914dcbeeba92c207de40ef7109a58dcb5527aeb21c8f8feb7402aa9e29/ty-0.0.59-py3-none-win_amd64.whl", hash = "sha256:1dde20a82243d24407869e5a608c2f15efddd5cefc662aef461a5af84bfb3f8b", size = 12251079, upload-time = "2026-07-12T20:21:58.1Z" }, + { url = "https://files.pythonhosted.org/packages/d4/8f/ac36fde77e223297454c1e0aeb8888c169eaacf3163bb609e3af942c88cb/ty-0.0.59-py3-none-win_arm64.whl", hash = "sha256:987043ee9e021f49493d9135891ac69c1affeee0d4ad4480c5fa4d9c975fc91b", size = 11650921, upload-time = "2026-07-12T20:22:00.348Z" }, +] + +[[package]] +name = "wcwidth" +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/34/74/c6428f875774288bec1396f5bfcbc2d925700a4dad61727fd5f2b12f249d/wcwidth-0.8.2.tar.gz", hash = "sha256:91fbef97204b96a3d4d421609b80340b760cf33e26da123ff243d76b1fda8dda", size = 1466253, upload-time = "2026-06-29T18:11:11.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/96/42/3e5985a0a7e57de470b320c6d6a1a67c844f6737a587f3d44dd13d1819e7/wcwidth-0.8.2-py3-none-any.whl", hash = "sha256:d63947694a0539a1d51e01eda7caf800c291020e6cdd7e28ad7b14dd33ad4f85", size = 323166, upload-time = "2026-06-29T18:11:09.888Z" }, +] diff --git a/yarn.lock b/yarn.lock index 7bcac4a4d2e..3f30441f9a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11175,6 +11175,12 @@ __metadata: languageName: node linkType: hard +"@python/hash-repo-chores@workspace:libs/@local/repo-chores/python": + version: 0.0.0-use.local + resolution: "@python/hash-repo-chores@workspace:libs/@local/repo-chores/python" + languageName: unknown + linkType: soft + "@radix-ui/colors@npm:3.0.0": version: 3.0.0 resolution: "@radix-ui/colors@npm:3.0.0" From 0b513ff93ffbcacb5bc7f7ca16d9838eb7e86b69 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 00:14:44 +0200 Subject: [PATCH 03/10] feat: add upper bound lint --- .config/mise/tasks/lint/python.sh | 2 + AGENTS.md | 2 +- README.md | 2 +- libs/@local/repo-chores/python/pyproject.toml | 14 +- .../repo-chores/python/repo_chores/cli.py | 23 +++ .../repo-chores/python/repo_chores/lint.py | 179 ++++++++++++++++++ .../repo-chores/python/repo_chores/sync.py | 14 +- .../python/repo_chores/tach.domain.toml | 4 + .../python/repo_chores/workspace.py | 34 ++++ .../repo-chores/python/tests/test_lint.py | 148 +++++++++++++++ .../repo-chores/python/tests/test_sync.py | 2 + pyproject.toml | 15 +- uv.lock | 62 +++--- 13 files changed, 446 insertions(+), 55 deletions(-) create mode 100644 libs/@local/repo-chores/python/repo_chores/lint.py create mode 100644 libs/@local/repo-chores/python/tests/test_lint.py diff --git a/.config/mise/tasks/lint/python.sh b/.config/mise/tasks/lint/python.sh index 68b3a08e39b..536a891b310 100755 --- a/.config/mise/tasks/lint/python.sh +++ b/.config/mise/tasks/lint/python.sh @@ -15,6 +15,8 @@ run uv sync --locked # Boundaries: explicit workspace membership, uniform requires-python, shared # tool pins, and generated package.json turbo wiring. run uv run --frozen repo-chores sync --check +# Dependency rules: fully bounded version ranges, registry-only sources. +run uv run --frozen repo-chores lint run uv run --frozen ruff format --check . run uv run --frozen ruff check . run uv run --frozen ty check diff --git a/AGENTS.md b/AGENTS.md index a550cf04302..eaee593d775 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,7 +61,7 @@ The HASH repository is organized into several key directories: - TypeScript type check: `yarn lint:tsc` - ESLint: `yarn lint:eslint` - Formatting check: `yarn lint:format` -- Python (ruff, ty, tach, uv.lock stability, workspace sync): `mise run lint:python` +- Python (ruff, ty, tach, dependency bounds, uv.lock stability, workspace sync): `mise run lint:python` - Fix ESLint issues: `yarn fix:eslint` - Fix formatting: `yarn fix:format` diff --git a/README.md b/README.md index b5ff396eee1..8c8659749de 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ Common commands: ```sh uv sync # create/refresh .venv from uv.lock -mise run lint:python # everything CI runs: lock stability, sync --check, ruff, ty, tach +mise run lint:python # everything CI runs: lock stability, sync --check, dependency lint, ruff, ty, tach mise run fix:python # apply ruff autofixes + formatting, refresh the lock mise run sync:python # regenerate the boring parts (see below) ``` diff --git a/libs/@local/repo-chores/python/pyproject.toml b/libs/@local/repo-chores/python/pyproject.toml index 4c94fe96647..b826267cd04 100644 --- a/libs/@local/repo-chores/python/pyproject.toml +++ b/libs/@local/repo-chores/python/pyproject.toml @@ -1,11 +1,11 @@ [project] -name = "hash-repo-chores" -version = "0.0.0" -description = "Keeps the boring parts of the Python workspace correct: membership, version bounds, and turbo wiring" +name = "hash-repo-chores" +version = "0.0.0" +description = "Keeps the boring parts of the Python workspace correct: membership, version bounds, and turbo wiring" requires-python = ">=3.14,<3.15" dependencies = [ - "packaging>=25", - "tomlkit>=0.13", + "packaging>=26.2,<27", + "tomlkit>=0.15,<0.16", ] [project.scripts] @@ -20,6 +20,6 @@ packages = ["repo_chores"] [dependency-groups] dev = [ - "pytest>=8.0", - "ruff>=0.15.21", + "pytest>=9.1.1,<10", + "ruff>=0.15.21,<0.16", ] diff --git a/libs/@local/repo-chores/python/repo_chores/cli.py b/libs/@local/repo-chores/python/repo_chores/cli.py index d907f625057..7e07c5e17be 100644 --- a/libs/@local/repo-chores/python/repo_chores/cli.py +++ b/libs/@local/repo-chores/python/repo_chores/cli.py @@ -5,6 +5,7 @@ from pathlib import Path from repo_chores import prune +from repo_chores.lint import lint from repo_chores.sync import synchronize from repo_chores.workspace import WorkspaceError, find_workspace_root @@ -26,6 +27,11 @@ def parse_args(argv: list[str] | None = None) -> argparse.Namespace: help="Report deviations without fixing them (exit 1 if any are found)", ) + subparsers.add_parser( + "lint", + help="Lint dependency requirements: upper bounds and registry-only sources", + ) + prune_parser = subparsers.add_parser( "prune", help="Prune the turbo workspace to the packages required for the given scopes", @@ -68,12 +74,29 @@ def run_sync(*, check: bool) -> None: raise SystemExit(1) +def run_lint() -> None: + try: + root = find_workspace_root(Path.cwd()) + findings = lint(root) + except WorkspaceError as error: + print(f"error: {error}", file=sys.stderr) + raise SystemExit(2) from error + + for finding in findings: + print(f"{finding.path}: {finding.message}") + + if findings: + raise SystemExit(1) + + def main(argv: list[str] | None = None) -> None: args = parse_args(argv) match args.command: case "sync": run_sync(check=args.check) + case "lint": + run_lint() case "prune": prune.run(args.scope, dry_run=args.dry_run) case _: # pragma: no cover - argparse enforces the command set diff --git a/libs/@local/repo-chores/python/repo_chores/lint.py b/libs/@local/repo-chores/python/repo_chores/lint.py new file mode 100644 index 00000000000..3b5ed138d62 --- /dev/null +++ b/libs/@local/repo-chores/python/repo_chores/lint.py @@ -0,0 +1,179 @@ +"""Lint the workspace's dependency requirements. + +Two rules, both judged with :mod:`packaging` semantics and reported as +findings (lint never edits): + +- every version range carries a lower and an upper bound (cargo-style, e.g. + `>=1.2.3,<2`): without an upper bound any upstream release can break the + build, and without a lower bound resolution may silently downgrade to any + historic release. A dependency can be exempted by naming it in the + manifest's `[tool.hash]` allowlist; unused allowlist entries are themselves + errors, so the list shrinks when exemptions expire. +- URL requirements are rejected: workspace members are wired through + `[tool.uv.sources]`, and everything else resolves from the registry. + +The entry point is :func:`lint`. +""" + +from collections.abc import Iterable +from pathlib import Path + +from packaging.requirements import InvalidRequirement, Requirement +from packaging.utils import canonicalize_name + +from repo_chores.workspace import ( + INSECURE_BOUNDS_ALLOWLIST_KEY, + Finding, + Workspace, + load_workspace, +) + +LOWER_BOUND_OPERATORS = frozenset({">", ">=", "==", "===", "~="}) +"""Specifier operators that impose a lower bound on resolved versions.""" + +UPPER_BOUND_OPERATORS = frozenset({"<", "<=", "==", "===", "~="}) +"""Specifier operators that impose an upper bound on resolved versions.""" + + +def _missing_bounds(requirement: Requirement, /) -> str | None: + """Describe the missing bounds of a requirement, or None when fully bounded.""" + operators = {specifier.operator for specifier in requirement.specifier} + has_lower = bool(operators & LOWER_BOUND_OPERATORS) + has_upper = bool(operators & UPPER_BOUND_OPERATORS) + + match has_lower, has_upper: + case True, True: + return None + case True, False: + return "has no upper bound, so any upstream release can break the build" + case False, True: + return ( + "has no lower bound, so resolution may silently downgrade to any historic release" + ) + case _: + return "has no version bounds at all" + + +def _lint_requirements( + *, + path: str, + requirements: Iterable[str], + allowlist: frozenset[str], + workspace_members: frozenset[str], +) -> tuple[list[Finding], frozenset[str]]: + """Judge one manifest's requirement strings. + + Returns the findings together with the allowlist entries that actually + exempted something, so the caller can flag the stale remainder. + """ + findings: list[Finding] = [] + used_exemptions: set[str] = set() + + for text in requirements: + try: + requirement = Requirement(text) + except InvalidRequirement as error: + findings.append( + Finding(path=path, message=f"invalid requirement: {error}", fixable=False) + ) + continue + + name = canonicalize_name(requirement.name) + + if requirement.url is not None: + findings.append( + Finding( + path=path, + message=f"`{text}` is a URL requirement; workspace members are wired" + " through [tool.uv.sources], and everything else must resolve from" + " the registry", + fixable=False, + ) + ) + continue + + if name in workspace_members: + continue + + problem = _missing_bounds(requirement) + if problem is None: + continue + + if name in allowlist: + used_exemptions.add(name) + continue + + findings.append( + Finding( + path=path, + message=f"`{text}` {problem}; pin a full range (e.g. `>=X.Y.Z, list[Finding]: + return [ + Finding( + path=path, + message=f'"{name}" in `[tool.hash] {INSECURE_BOUNDS_ALLOWLIST_KEY}` exempts' + " nothing; remove it", + fixable=False, + ) + for name in allowlist + if canonicalize_name(name) not in used + ] + + +def _lint_manifest( + *, + path: str, + requirements: tuple[str, ...], + allowlist: tuple[str, ...], + workspace_members: frozenset[str], +) -> list[Finding]: + canonical_allowlist = frozenset(canonicalize_name(name) for name in allowlist) + findings, used = _lint_requirements( + path=path, + requirements=requirements, + allowlist=canonical_allowlist, + workspace_members=workspace_members, + ) + findings.extend(_stale_exemption_findings(path=path, allowlist=allowlist, used=used)) + return findings + + +def lint_workspace(workspace: Workspace, /) -> list[Finding]: + """Judge every manifest's requirements against the dependency rules.""" + members = frozenset( + canonicalize_name(member.name) for member in workspace.members if member.name is not None + ) + + findings = _lint_manifest( + path="pyproject.toml", + requirements=workspace.dev_dependencies, + allowlist=workspace.insecure_bounds_allowlist, + workspace_members=members, + ) + for member in workspace.members: + findings.extend( + _lint_manifest( + path=f"{member.directory}/pyproject.toml", + requirements=member.dependencies + member.dev_dependencies, + allowlist=member.insecure_bounds_allowlist, + workspace_members=members, + ) + ) + + return findings + + +def lint(root: Path, /) -> list[Finding]: + """Load the workspace at `root` and judge its dependency requirements.""" + return lint_workspace(load_workspace(root)) diff --git a/libs/@local/repo-chores/python/repo_chores/sync.py b/libs/@local/repo-chores/python/repo_chores/sync.py index 334d2cafe06..9a8e380c3a0 100644 --- a/libs/@local/repo-chores/python/repo_chores/sync.py +++ b/libs/@local/repo-chores/python/repo_chores/sync.py @@ -36,6 +36,7 @@ reconcile_string_array, ) from repo_chores.workspace import ( + Finding, Member, Workspace, WorkspaceError, @@ -50,19 +51,6 @@ NPM_SCOPE = "@python" -@dataclass(frozen=True, kw_only=True, slots=True) -class Finding: - """A single deviation from the expected workspace state. - - A fixable finding is corrected in apply mode; an unfixable finding - requires a manual edit and fails the run in either mode. - """ - - path: str - message: str - fixable: bool = True - - @dataclass(frozen=True, kw_only=True, slots=True) class ManifestExpectation: """A managed string array in the root manifest and its expected contents. diff --git a/libs/@local/repo-chores/python/repo_chores/tach.domain.toml b/libs/@local/repo-chores/python/repo_chores/tach.domain.toml index eb5db251d4f..4fceb8d6b7d 100644 --- a/libs/@local/repo-chores/python/repo_chores/tach.domain.toml +++ b/libs/@local/repo-chores/python/repo_chores/tach.domain.toml @@ -17,6 +17,10 @@ path = "toml_edit" layer = "orchestration" path = "sync" +[[modules]] +layer = "orchestration" +path = "lint" + # prune runs before anything is installed: the bootstrap layer forbids every # internal import, and the empty external list forbids third-party ones. [[modules]] diff --git a/libs/@local/repo-chores/python/repo_chores/workspace.py b/libs/@local/repo-chores/python/repo_chores/workspace.py index f47cb2a8c6e..6896b1dbda2 100644 --- a/libs/@local/repo-chores/python/repo_chores/workspace.py +++ b/libs/@local/repo-chores/python/repo_chores/workspace.py @@ -36,6 +36,29 @@ class WorkspaceError(RuntimeError): """Raised when the workspace or one of its manifests cannot be interpreted.""" +INSECURE_BOUNDS_ALLOWLIST_KEY = ( + "allow_insecure_unbounded_dependency_ranges_that_i_will_personally_fix_when_they_break" +) +"""The `[tool.hash]` key exempting named dependencies from the upper-bound lint. + +The name is deliberately painful: an unbounded range is a standing invitation +for an upstream release to break the build, so opting out should read like +the commitment it is.""" + + +@dataclass(frozen=True, kw_only=True, slots=True) +class Finding: + """A single deviation from the expected workspace state. + + A fixable finding can be corrected automatically in apply mode; an + unfixable finding requires a manual edit and fails the run either way. + """ + + path: str + message: str + fixable: bool = True + + @dataclass(frozen=True, kw_only=True, slots=True) class Member: """A Python package manifest discovered in the repository.""" @@ -47,8 +70,10 @@ class Member: """The distribution name, or None when the manifest has no `[project]` name.""" requires_python: str | None + dependencies: tuple[str, ...] dev_dependencies: tuple[str, ...] workspace_dependencies: tuple[str, ...] + insecure_bounds_allowlist: tuple[str, ...] has_tests: bool @@ -60,6 +85,7 @@ class Workspace: requires_python: str declared_members: tuple[str, ...] dev_dependencies: tuple[str, ...] + insecure_bounds_allowlist: tuple[str, ...] members: tuple[Member, ...] @@ -111,6 +137,11 @@ def _dev_dependencies(manifest: Mapping[str, object], /) -> tuple[str, ...]: return _str_entries(_table_at(manifest, "dependency-groups"), "dev") +def _insecure_bounds_allowlist(manifest: Mapping[str, object], /) -> tuple[str, ...]: + """Read the manifest's upper-bound lint exemptions.""" + return _str_entries(_table_at(manifest, "tool", "hash"), INSECURE_BOUNDS_ALLOWLIST_KEY) + + def find_workspace_root(start: Path, /) -> Path: """Walk upwards from `start` to the manifest declaring the uv workspace. @@ -163,8 +194,10 @@ def load_member(root: Path, manifest_path: Path, /) -> Member: directory=manifest_path.parent.relative_to(root).as_posix(), name=_str_at(project, "name"), requires_python=_str_at(project, "requires-python"), + dependencies=_str_entries(project, "dependencies"), dev_dependencies=_dev_dependencies(manifest), workspace_dependencies=workspace_dependencies, + insecure_bounds_allowlist=_insecure_bounds_allowlist(manifest), has_tests=(manifest_path.parent / "tests").is_dir(), ) @@ -187,6 +220,7 @@ def load_workspace(root: Path, /) -> Workspace: requires_python=requires_python, declared_members=_str_entries(_table_at(manifest, "tool", "uv", "workspace"), "members"), dev_dependencies=_dev_dependencies(manifest), + insecure_bounds_allowlist=_insecure_bounds_allowlist(manifest), members=tuple( load_member(root, manifest_path) for manifest_path in find_member_manifests(root) ), diff --git a/libs/@local/repo-chores/python/tests/test_lint.py b/libs/@local/repo-chores/python/tests/test_lint.py new file mode 100644 index 00000000000..74b92b90a67 --- /dev/null +++ b/libs/@local/repo-chores/python/tests/test_lint.py @@ -0,0 +1,148 @@ +"""Tests for the dependency requirement lint.""" + +from pathlib import Path + +from repo_chores.lint import lint_workspace +from repo_chores.workspace import Member, Workspace + + +def make_workspace( + *, + dev_dependencies: tuple[str, ...] = (), + allowlist: tuple[str, ...] = (), + members: tuple[Member, ...] = (), +) -> Workspace: + return Workspace( + root=Path(), + requires_python=">=3.14,<3.15", + declared_members=tuple(member.directory for member in members), + dev_dependencies=dev_dependencies, + insecure_bounds_allowlist=allowlist, + members=members, + ) + + +def make_member( + *, + name: str = "alpha", + dependencies: tuple[str, ...] = (), + dev_dependencies: tuple[str, ...] = (), + allowlist: tuple[str, ...] = (), +) -> Member: + return Member( + directory=f"packages/{name}", + name=name, + requires_python=">=3.14,<3.15", + dependencies=dependencies, + dev_dependencies=dev_dependencies, + workspace_dependencies=(), + insecure_bounds_allowlist=allowlist, + has_tests=False, + ) + + +class TestUpperBounds: + def test_bounded_ranges_pass(self) -> None: + workspace = make_workspace( + dev_dependencies=( + "ruff>=0.15.21,<0.16", + "tach~=0.35.0", + "exact==1.2.3", + "arbitrary===1.2.3", + ) + ) + + assert lint_workspace(workspace) == [] + + def test_missing_upper_bound_fails(self) -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("ruff>=0.15.21",))) + + assert len(findings) == 1 + assert "no upper bound" in findings[0].message + assert not findings[0].fixable + + def test_missing_lower_bound_fails(self) -> None: + # `<2` alone lets resolution reach arbitrarily far down. + findings = lint_workspace(make_workspace(dev_dependencies=("ruff<2",))) + + assert len(findings) == 1 + assert "no lower bound" in findings[0].message + + def test_bare_requirement_fails(self) -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("pytest",))) + + assert len(findings) == 1 + assert "no version bounds at all" in findings[0].message + + def test_exclusion_alone_is_not_a_bound(self) -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("ruff!=0.15.20",))) + + assert len(findings) == 1 + assert "no version bounds at all" in findings[0].message + + def test_workspace_members_are_exempt(self) -> None: + member = make_member(name="hash-repo-chores") + workspace = make_workspace(dev_dependencies=("hash-repo-chores",), members=(member,)) + + assert lint_workspace(workspace) == [] + + def test_member_manifests_are_judged_too(self) -> None: + member = make_member(dependencies=("requests>=2",), dev_dependencies=("pytest",)) + workspace = make_workspace(members=(member,)) + + findings = lint_workspace(workspace) + + assert len(findings) == 2 + assert all(finding.path == "packages/alpha/pyproject.toml" for finding in findings) + + +class TestAllowlist: + def test_allowlisted_dependency_is_exempt(self) -> None: + workspace = make_workspace(dev_dependencies=("ruff>=0.15.21",), allowlist=("ruff",)) + + assert lint_workspace(workspace) == [] + + def test_allowlist_names_are_canonicalized(self) -> None: + member = make_member(dependencies=("legacy.pkg>=1",), allowlist=("Legacy-Pkg",)) + workspace = make_workspace(members=(member,)) + + assert lint_workspace(workspace) == [] + + def test_stale_allowlist_entry_fails(self) -> None: + workspace = make_workspace(dev_dependencies=("ruff>=0.15.21,<0.16",), allowlist=("ruff",)) + + findings = lint_workspace(workspace) + + assert len(findings) == 1 + assert "exempts nothing" in findings[0].message + + def test_allowlist_is_scoped_to_its_manifest(self) -> None: + # The root allowlist does not cover a member's dependencies. + member = make_member(dependencies=("requests>=2",)) + workspace = make_workspace(members=(member,), allowlist=("requests",)) + + findings = lint_workspace(workspace) + + messages = [finding.message for finding in findings] + assert any("no upper bound" in message for message in messages) + assert any("exempts nothing" in message for message in messages) + + +class TestUrlRequirements: + def test_url_requirements_fail_even_when_allowlisted(self) -> None: + workspace = make_workspace( + dev_dependencies=("weird @ https://example.com/weird-1.0.tar.gz",), + allowlist=("weird",), + ) + + findings = lint_workspace(workspace) + + assert any("URL requirement" in finding.message for finding in findings) + + def test_invalid_requirement_is_reported(self) -> None: + workspace = make_workspace(dev_dependencies=(">=1.0",)) + + findings = lint_workspace(workspace) + + assert len(findings) == 1 + assert "invalid requirement" in findings[0].message diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py index 63efa387242..f51d4c1ec50 100644 --- a/libs/@local/repo-chores/python/tests/test_sync.py +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -152,8 +152,10 @@ def make_member( directory="packages/alpha", name="alpha", requires_python=">=3.14,<3.15", + dependencies=(), dev_dependencies=(), workspace_dependencies=workspace_dependencies, + insecure_bounds_allowlist=(), has_tests=has_tests, ) diff --git a/pyproject.toml b/pyproject.toml index 8eb920984f0..d0a5cbe648b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,14 @@ description = "Workspace-level Python configuration for the HASH monorepo" requires-python = ">=3.14,<3.15" [tool.uv] -package = false +# `uv add` writes cargo-style bounded ranges (>=1.2.3, <2.0.0) by default. +# `repo-chores lint` rejects requirements without a lower and upper bound. +add-bounds = "major" +# Dependency cooldown: newly published releases are held back before +# resolution considers them, matching the yarn (`npmMinimalAgeGate`) and mise +# (`minimum_release_age`) posture of 5 days. +exclude-newer = "5 days" +package = false # Managed by `mise run sync:python`: every pyproject.toml in the repository # must be listed here explicitly. CI fails if one is missing. @@ -26,10 +33,10 @@ dev = [ # Workspace tooling: `uv run repo-chores sync [--check]` and # `uv run repo-chores prune `. "hash-repo-chores", - "pytest>=8.0", - "ruff>=0.15.21", + "pytest>=9.1.1,<10", + "ruff>=0.15.21,<0.16", "tach>=0.35,<0.36", - "ty>=0.0.59", + "ty>=0.0.58,<0.1", ] [tool.uv.sources] diff --git a/uv.lock b/uv.lock index 71a29da0537..e539b9d646b 100644 --- a/uv.lock +++ b/uv.lock @@ -2,6 +2,10 @@ version = 1 revision = 3 requires-python = "==3.14.*" +[options] +exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. +exclude-newer-span = "P5D" + [manifest] members = [ "hash", @@ -31,14 +35,14 @@ wheels = [ [[package]] name = "gitpython" -version = "3.1.51" +version = "3.1.50" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "gitdb" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/59/30/a8a0c15f9480dc91b5b7f11ebd26105e5f80898d7ff02da197fef35d8395/gitpython-3.1.51.tar.gz", hash = "sha256:22c9c94bb6b0b9f3c7157c684fece45a414cea204586b600beae6cd4570dcd6d", size = 223519, upload-time = "2026-07-12T13:40:07.922Z" } +sdist = { url = "https://files.pythonhosted.org/packages/33/f6/354ae6491228b5eb40e10d89c4d13c651fe1cf7556e35ebdded50cff57ce/gitpython-3.1.50.tar.gz", hash = "sha256:80da2d12504d52e1f998772dc5baf6e553f8d2fcfe1fcc226c9d9a2ee3372dcc", size = 219798, upload-time = "2026-05-06T04:01:26.571Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f8/11/1232bb1ba52a230f20ff08e1b3df7cd9d43a71b61cc0a1c37941064fe4c7/gitpython-3.1.51-py3-none-any.whl", hash = "sha256:d5b29685708f3c80a56db040b665bfd69492c8e150b5848532af8013b686c5a4", size = 215246, upload-time = "2026-07-12T13:40:06.43Z" }, + { url = "https://files.pythonhosted.org/packages/20/7a/1c6e3562dfd8950adbb11ffbc65d21e7c89d01a6e4f137fa981056de25c5/gitpython-3.1.50-py3-none-any.whl", hash = "sha256:d352abe2908d07355014abdd21ddf798c2a961469239afec4962e9da884858f9", size = 212507, upload-time = "2026-05-06T04:01:23.799Z" }, ] [[package]] @@ -60,10 +64,10 @@ dev = [ [package.metadata.requires-dev] dev = [ { name = "hash-repo-chores", editable = "libs/@local/repo-chores/python" }, - { name = "pytest", specifier = ">=8.0" }, - { name = "ruff", specifier = ">=0.15.21" }, + { name = "pytest", specifier = ">=9.1.1,<10" }, + { name = "ruff", specifier = ">=0.15.21,<0.16" }, { name = "tach", specifier = ">=0.35,<0.36" }, - { name = "ty", specifier = ">=0.0.59" }, + { name = "ty", specifier = ">=0.0.58,<0.1" }, ] [[package]] @@ -83,14 +87,14 @@ dev = [ [package.metadata] requires-dist = [ - { name = "packaging", specifier = ">=25" }, - { name = "tomlkit", specifier = ">=0.13" }, + { name = "packaging", specifier = ">=26.2,<27" }, + { name = "tomlkit", specifier = ">=0.15,<0.16" }, ] [package.metadata.requires-dev] dev = [ - { name = "pytest", specifier = ">=8.0" }, - { name = "ruff", specifier = ">=0.15.21" }, + { name = "pytest", specifier = ">=9.1.1,<10" }, + { name = "ruff", specifier = ">=0.15.21,<0.16" }, ] [[package]] @@ -361,27 +365,27 @@ wheels = [ [[package]] name = "ty" -version = "0.0.59" +version = "0.0.58" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/95/b0/84ae7b3bf6e3e9f57eb9635eeff5a80b36e57aa089f40be0fb5c384fa176/ty-0.0.59.tar.gz", hash = "sha256:53e53ffeed78ad59cd237fa8ea1316d2b94e13efdea9a945698acab549e005aa", size = 6145435, upload-time = "2026-07-12T20:22:02.781Z" } +sdist = { url = "https://files.pythonhosted.org/packages/09/4c/26c90732658903aeb1d289208f7b7b492fa21029e0c4d6c51bdd6f8f5e51/ty-0.0.58.tar.gz", hash = "sha256:8f22484174e65c630660a454bf81b80cae7a3a7e70479f19c170d6cd87949258", size = 6133665, upload-time = "2026-07-10T03:09:30.542Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/57/e8/650b42fbef4d48e6ca682b0b6e9b68fa8fcf55cbb0a6892ab89990018b6f/ty-0.0.59-py3-none-linux_armv6l.whl", hash = "sha256:f8fb08a767ef8f11ea3c537b9d77860726cc2bc39e6f77ad13c02d5b289f20a7", size = 11700328, upload-time = "2026-07-12T20:21:26.046Z" }, - { url = "https://files.pythonhosted.org/packages/22/ac/0ca3a89d5f59ae5f308e5e83428cac5f9143200767743e052fba90b4b81e/ty-0.0.59-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:c7f4d5630836c8a0ba13dd4ac7bdae080a7d6ebe965b817ff642dc961bcf2a53", size = 11494310, upload-time = "2026-07-12T20:21:28.491Z" }, - { url = "https://files.pythonhosted.org/packages/f3/f8/5076de6001cefbccd8e6dc8472262697e43308ff66b0e87c72abba136357/ty-0.0.59-py3-none-macosx_11_0_arm64.whl", hash = "sha256:872f6fb02c6db5553c4d5fb283b3d50f0985fb9a29a910e4fda4793a775c1926", size = 11026797, upload-time = "2026-07-12T20:21:30.879Z" }, - { url = "https://files.pythonhosted.org/packages/2e/0f/fca28481b6a138e2b798ad9fdc98a095475f9104948ba242fce4b477782b/ty-0.0.59-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2af8eefbfe806337770eec12c0c819c5f1b8f5b85f8369cb1cc9fa25234a2208", size = 11475304, upload-time = "2026-07-12T20:21:33.041Z" }, - { url = "https://files.pythonhosted.org/packages/08/4b/1fed8b81b389ef4bbc0400f19e05fc16496b162577779dc0e5fc65ac216c/ty-0.0.59-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0acf8b76a1c9a7ddef460b42475f6c76193164426ab080783af1c3175b4b999b", size = 11533131, upload-time = "2026-07-12T20:21:35.189Z" }, - { url = "https://files.pythonhosted.org/packages/5f/fc/04eec35e05a10e0fea1c6503a290ccc3935efda9c845aff64e83282c1af7/ty-0.0.59-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:043c2e00eb1d7475f928af7dedd71f69b64e69bfca55e36f4c968479e1373fc4", size = 12205932, upload-time = "2026-07-12T20:21:37.324Z" }, - { url = "https://files.pythonhosted.org/packages/a9/dd/a61de859659fa11b55917ad38340a8f2c61f5ae17d1874929f29084c6990/ty-0.0.59-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f0d688d857441df57f48fca66c029d85cf737c510e7be1d01144cdad1e58d968", size = 12758406, upload-time = "2026-07-12T20:21:39.525Z" }, - { url = "https://files.pythonhosted.org/packages/c6/e8/fa66f05997eab8ca75fc4f17320140e25467849e0cc75597f898cc22099c/ty-0.0.59-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a96c9f88394a3b42c737e2125b2330543f0d90a43b49761f377d96f8c3ee0d62", size = 12288176, upload-time = "2026-07-12T20:21:41.784Z" }, - { url = "https://files.pythonhosted.org/packages/15/68/0fca59963bd5123f42d5f7da50667e7a52e8e9615e3a16d8c2c0d3b2d143/ty-0.0.59-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f08dbcb268edcafcb152e59475b5b495ce28d0b340a395c09943557678f4d5a6", size = 12028471, upload-time = "2026-07-12T20:21:43.82Z" }, - { url = "https://files.pythonhosted.org/packages/e1/5b/cd7dabbbab392578f11179919da5c25d8c3322e5388a688f539ea0539603/ty-0.0.59-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:8812764b9a40fdc98df1272826e73a298ef56b06681135e643bcf90aad1896f7", size = 12297646, upload-time = "2026-07-12T20:21:45.76Z" }, - { url = "https://files.pythonhosted.org/packages/1d/37/2e9c94f0b383d8cbe1a35517ab470b7810bc9d7501603ab532bcd5be5e90/ty-0.0.59-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:fd53b8581641d8dad7bfac6d5ea589e91a883d6837e0b9a286fdae30722b7c69", size = 11432519, upload-time = "2026-07-12T20:21:47.694Z" }, - { url = "https://files.pythonhosted.org/packages/9d/0a/af93e9785200f11ac416cc20235fc2464c9bd978e791190684ea0e458795/ty-0.0.59-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:86da5872124a41877d95058bc17d33ddcff034b587eb5f1e2917ab88ba227dac", size = 11554993, upload-time = "2026-07-12T20:21:49.671Z" }, - { url = "https://files.pythonhosted.org/packages/4b/dd/651bf87e20d00376c81b19124756491cffaf20eb8bec05a8794e5a8cf641/ty-0.0.59-py3-none-musllinux_1_2_i686.whl", hash = "sha256:6a233eef5f2fd4d894881e4a0aec83c9f172bfae1d787d6596ee1939fcc7723e", size = 11818230, upload-time = "2026-07-12T20:21:51.659Z" }, - { url = "https://files.pythonhosted.org/packages/16/50/c947c4155fea751d135b19affdf734bbce72a94e446b866cf0c62f8bed69/ty-0.0.59-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7ff678c18b5f1e3128b75a35e50dee7908dea55155baa31cd790619d5014cbf5", size = 12135194, upload-time = "2026-07-12T20:21:53.796Z" }, - { url = "https://files.pythonhosted.org/packages/b1/13/e5feb138888de1e95037c843571bbbd4ac21bf0a190507468098599a321f/ty-0.0.59-py3-none-win32.whl", hash = "sha256:cf8abb4b8095c5fe39102b8127f5886db308c8d4600909ddbc905512ce9c8163", size = 11179249, upload-time = "2026-07-12T20:21:55.752Z" }, - { url = "https://files.pythonhosted.org/packages/76/dd/52914dcbeeba92c207de40ef7109a58dcb5527aeb21c8f8feb7402aa9e29/ty-0.0.59-py3-none-win_amd64.whl", hash = "sha256:1dde20a82243d24407869e5a608c2f15efddd5cefc662aef461a5af84bfb3f8b", size = 12251079, upload-time = "2026-07-12T20:21:58.1Z" }, - { url = "https://files.pythonhosted.org/packages/d4/8f/ac36fde77e223297454c1e0aeb8888c169eaacf3163bb609e3af942c88cb/ty-0.0.59-py3-none-win_arm64.whl", hash = "sha256:987043ee9e021f49493d9135891ac69c1affeee0d4ad4480c5fa4d9c975fc91b", size = 11650921, upload-time = "2026-07-12T20:22:00.348Z" }, + { url = "https://files.pythonhosted.org/packages/51/e1/5d1aa2a75829459834689f080e4be7a9d8828ce14b939ebed69161a35811/ty-0.0.58-py3-none-linux_armv6l.whl", hash = "sha256:47412850b6fbef61c42f244f6a51aa2f2c9e91f08cfbafd2d1e3730d2419d317", size = 11706915, upload-time = "2026-07-10T03:08:51.028Z" }, + { url = "https://files.pythonhosted.org/packages/96/e1/929eda9cc72a9afe39a03c76f946a503508d37343cc8ff2e64226afda105/ty-0.0.58-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:79deb7bb4e5b3a1eee6ab9abc724d6ce3559d4977982707f310a139ee11fc703", size = 11532079, upload-time = "2026-07-10T03:08:53.771Z" }, + { url = "https://files.pythonhosted.org/packages/07/43/ebc58b3fc7d86a7abba2829f1674f7d4ae3a08f9794c1f31b707950c871f/ty-0.0.58-py3-none-macosx_11_0_arm64.whl", hash = "sha256:5a28af3187e661708a386d44a4fc32896a5f589fb07b734a11ab2f516e7572b7", size = 11092983, upload-time = "2026-07-10T03:08:56.025Z" }, + { url = "https://files.pythonhosted.org/packages/92/6e/9547dbb8e51e47749cfb721a02b4fc862f9a932fa0f66a34a4d6dc429bb1/ty-0.0.58-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:21a6977e34bc362fb378add46e59d5d56331c1c36727e6904767217ca8479718", size = 11490492, upload-time = "2026-07-10T03:08:58.49Z" }, + { url = "https://files.pythonhosted.org/packages/d9/76/9f83b51b5e7795d6c8d76b4bb1bb7cebf4c10d609e846c02ab138e404556/ty-0.0.58-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3ac23e6bf6105ceca46632debf1b10b98125aaf60202aeae02f6abfeea242b3d", size = 11503696, upload-time = "2026-07-10T03:09:00.741Z" }, + { url = "https://files.pythonhosted.org/packages/47/9d/9fd48a0696c680f74e50f31cd54e524eeb58c97ea9bb1c3b8e04230ba215/ty-0.0.58-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bb6df6a8c6a21894807a49851370ec7fc64aa910296c78ada31db0ef19359112", size = 12158653, upload-time = "2026-07-10T03:09:02.998Z" }, + { url = "https://files.pythonhosted.org/packages/bc/ea/b5de845d2d8edae04d901c7585af7f04a057e18b26311f7fa4ca62b2da30/ty-0.0.58-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9df5847eebc026cde088b44420a03f7c6c169a7db747176bdf0a656eb1144713", size = 12723019, upload-time = "2026-07-10T03:09:05.291Z" }, + { url = "https://files.pythonhosted.org/packages/17/1c/54083b23eeff1e101f50b6df6a2c7f1e14b31abe0577c91bcae9e2c9395d/ty-0.0.58-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:53a331a7f1f85872c810676a0f16096ef98c1b95c8c9a573fe7fde64d0a93e7c", size = 12275715, upload-time = "2026-07-10T03:09:07.564Z" }, + { url = "https://files.pythonhosted.org/packages/22/88/16925434b06faa49d36aa7e7508a6821ec6feacb429ca2fd80a3d52716b4/ty-0.0.58-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb0b05cd479fdcedc2e6781d376ee1a33569f37ae7f58357004635f615c4374c", size = 12033075, upload-time = "2026-07-10T03:09:10.222Z" }, + { url = "https://files.pythonhosted.org/packages/58/2b/b55708dd483982ae03d14da3667e3f0346cd384e11cca3dd3674a8b598c1/ty-0.0.58-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9a0012786077e5becbb6add9fe51eda1d4d36d249afd3ae6cd141d554af15ae3", size = 12367729, upload-time = "2026-07-10T03:09:12.338Z" }, + { url = "https://files.pythonhosted.org/packages/91/a3/99ad66652956408f7e9ac3db6b4a416199d773b6c073cf95b0eea126d340/ty-0.0.58-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4ede96d7f6d149156da254e784b062b817736b68d4c6d660555a3d02d96966fb", size = 11439798, upload-time = "2026-07-10T03:09:14.518Z" }, + { url = "https://files.pythonhosted.org/packages/ee/23/344ceed4fe02ed498711e1f4a47b6e311fb1e9c4fecc19d31894be7a3472/ty-0.0.58-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:47608e58f73901b989402e6f283249cda4c2314282ec368aa74ab61761c62bd5", size = 11512695, upload-time = "2026-07-10T03:09:16.852Z" }, + { url = "https://files.pythonhosted.org/packages/55/cf/3801831812c468f3fd0b3043a80f557a9aa90e6c27375763d7c3121e03f2/ty-0.0.58-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9757de17cc17e4c6bc26e18d4e26dea52ffee53d41a10d9087c6465e6ab12e2b", size = 11812253, upload-time = "2026-07-10T03:09:19.151Z" }, + { url = "https://files.pythonhosted.org/packages/7b/80/bce4f245787b77d1ec9feec7d9161eade5e01a77dbc132e016b24df83b0d/ty-0.0.58-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:f3776d54c1d935fcb8f814bd58efba402c86c555f93e1144c59d087e7aa8b906", size = 12123918, upload-time = "2026-07-10T03:09:21.636Z" }, + { url = "https://files.pythonhosted.org/packages/46/00/bab3d6268e7e88c792bf7cdde81bd11b31aa587eaba75196502b729747c8/ty-0.0.58-py3-none-win32.whl", hash = "sha256:8f50ec0ac3b42baa4c75895dc367071dc86b00ab440d29fdc72c633286a94815", size = 11230897, upload-time = "2026-07-10T03:09:23.871Z" }, + { url = "https://files.pythonhosted.org/packages/9c/68/d9504c895864aaa84a840dce6ac7f8e681f6938be1882c8d4f60832dbe57/ty-0.0.58-py3-none-win_amd64.whl", hash = "sha256:de8847b3a65475ae4773bddd3126bfcf29f017e88967c4dcc9c75d743a4d3e5c", size = 12299376, upload-time = "2026-07-10T03:09:26.292Z" }, + { url = "https://files.pythonhosted.org/packages/26/04/c9847cb680b5fe8e1f7d7b483edd5cedcc29394496e7b8ed40d96be796ba/ty-0.0.58-py3-none-win_arm64.whl", hash = "sha256:7334bb38789878f60677f2eb9c1de4bfdf4583e2443790989c77da9b10fe0989", size = 11710495, upload-time = "2026-07-10T03:09:28.478Z" }, ] [[package]] From ca03fcf5c4f354b09720baafe8e4ada440e74a9a Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 00:31:18 +0200 Subject: [PATCH 04/10] fix: remove fnmatch --- .../repo-chores/python/repo_chores/sync.py | 12 ++++++----- .../repo-chores/python/tests/test_sync.py | 21 +++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/libs/@local/repo-chores/python/repo_chores/sync.py b/libs/@local/repo-chores/python/repo_chores/sync.py index 9a8e380c3a0..cd5ff515b25 100644 --- a/libs/@local/repo-chores/python/repo_chores/sync.py +++ b/libs/@local/repo-chores/python/repo_chores/sync.py @@ -20,9 +20,8 @@ import subprocess from collections.abc import Iterable, Mapping from dataclasses import dataclass -from fnmatch import fnmatch from functools import cache -from pathlib import Path +from pathlib import Path, PurePosixPath import tomlkit from packaging.requirements import InvalidRequirement, Requirement @@ -230,8 +229,10 @@ def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Fin """Ensure every member is reachable through the yarn workspace globs. turbo discovers packages through the root package.json workspaces list; - a member outside every glob is invisible to it. Missing members are added - as explicit entries and the list is kept sorted. + a member outside every glob is invisible to it. Coverage is judged with + path-aware glob semantics (`*` stays within one segment, `**` recurses), + matching how yarn reads the patterns. Missing members are added as + explicit entries and the list is kept sorted. """ package_json_path = workspace.root / "package.json" data = json.loads(package_json_path.read_text(encoding="utf-8")) @@ -244,7 +245,8 @@ def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Fin findings: list[Finding] = [] for member in _named_members(workspace): - if any(fnmatch(member.directory, pattern) for pattern in patterns): + directory = PurePosixPath(member.directory) + if any(directory.full_match(pattern) for pattern in patterns): continue findings.append( diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py index f51d4c1ec50..7ce5ec629dc 100644 --- a/libs/@local/repo-chores/python/tests/test_sync.py +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -30,6 +30,27 @@ def test_reports_every_deviation_without_writing(self, fixture_repo: Path) -> No after = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} assert before == after, "check mode must not write" + def test_single_segment_globs_do_not_cover_nested_members(self, fixture_repo: Path) -> None: + # fnmatch's `*` crosses path separators and would falsely treat the + # nested member as covered; yarn's `*` stays within one segment. + package_json_path = fixture_repo / "package.json" + data = json.loads(package_json_path.read_text()) + data["workspaces"]["packages"] = ["!**/node_modules", "outside/*", "packages/*"] + package_json_path.write_text(json.dumps(data, indent=2) + "\n") + + nested = fixture_repo / "packages" / "group" / "deep" + nested.mkdir(parents=True) + (nested / "pyproject.toml").write_text( + '[project]\nname = "deep"\nversion = "0.1.0"\nrequires-python = ">=3.14,<3.15"\n' + ) + + findings = synchronize(fixture_repo, apply=False) + + messages = [finding.message for finding in findings] + assert any("packages/group/deep is not covered" in message for message in messages) + assert not any("packages/alpha is not covered" in message for message in messages) + assert not any("outside/lib is not covered" in message for message in messages) + def test_unnamed_manifest_is_unfixable(self, fixture_repo: Path) -> None: findings = synchronize(fixture_repo, apply=False) unfixable = [finding for finding in findings if not finding.fixable] From 89b5d84f235dcbcb6a75948b7f072287fd11ff71 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 02:09:28 +0200 Subject: [PATCH 05/10] fix: make ty strict --- .../petrinaut-cli/MODEL_EXAMPLES.md | 12 ++----- .../petrinaut-cli/PYTHON_INTEGRATION.md | 4 ++- libs/@hashintel/petrinaut-cli/README.md | 2 ++ .../repo-chores/python/repo_chores/sync.py | 3 ++ .../python/repo_chores/workspace.py | 28 +++++++-------- .../repo-chores/python/tests/test_prune.py | 27 +++++++------- .../repo-chores/python/tests/test_sync.py | 17 ++++++++- pyproject.toml | 35 ++++++++++++++----- 8 files changed, 80 insertions(+), 48 deletions(-) diff --git a/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md b/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md index 9a999cfcccd..1eed638a882 100644 --- a/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md +++ b/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md @@ -28,9 +28,7 @@ The SIR model has two parameters, three uncolored places, and one metric. Uncolored initial states are supplied as token counts. ```python -with PetrinautClient( - model=Path("libs/@hashintel/petrinaut-cli/examples/sir-model.json") -) as client: +with PetrinautClient(model=Path("libs/@hashintel/petrinaut-cli/examples/sir-model.json")) as client: result = client.run( parameters={ "infection_rate": 1.5, @@ -57,9 +55,7 @@ attributes defined by that color: `x`, `y`, `direction`, and `velocity`. ```python with PetrinautClient( - model=Path( - "libs/@hashintel/petrinaut-cli/examples/satellites-launcher.json" - ) + model=Path("libs/@hashintel/petrinaut-cli/examples/satellites-launcher.json") ) as client: result = client.run( parameters={ @@ -92,9 +88,7 @@ This model combines token counts with several colors. `InboundShipments`, ```python with PetrinautClient( - model=Path( - "libs/@hashintel/petrinaut-cli/examples/supply-chain-with-disruption.json" - ) + model=Path("libs/@hashintel/petrinaut-cli/examples/supply-chain-with-disruption.json") ) as client: result = client.run( parameters={ diff --git a/libs/@hashintel/petrinaut-cli/PYTHON_INTEGRATION.md b/libs/@hashintel/petrinaut-cli/PYTHON_INTEGRATION.md index a6c08d3cda5..4c60596c007 100644 --- a/libs/@hashintel/petrinaut-cli/PYTHON_INTEGRATION.md +++ b/libs/@hashintel/petrinaut-cli/PYTHON_INTEGRATION.md @@ -113,6 +113,7 @@ import optuna client = PetrinautClient(CLI_PATH, MODEL_PATH) + def objective(trial): result = client.run( parameters={ @@ -127,6 +128,7 @@ def objective(trial): ) return result["metrics"]["Infected Fraction"] + study = optuna.create_study(direction="minimize") study.optimize(objective, n_trials=100, n_jobs=1) client.close() @@ -148,7 +150,7 @@ For parallel trials, create one client/process per Optuna worker. different color schemas: ```python - initialState={ + initialState = { "InboundShipments": [ {"eta": 1, "risk_score": 0.2, "source": 1, "cost": 10}, {"eta": 2, "risk_score": 0.4, "source": 2, "cost": 12}, diff --git a/libs/@hashintel/petrinaut-cli/README.md b/libs/@hashintel/petrinaut-cli/README.md index 2d5831f32b2..7f76432fbc7 100644 --- a/libs/@hashintel/petrinaut-cli/README.md +++ b/libs/@hashintel/petrinaut-cli/README.md @@ -83,6 +83,7 @@ sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) sock.connect("/tmp/petrinaut.sock") stream = sock.makefile("rwb") + def request(payload): stream.write((json.dumps(payload) + "\n").encode()) stream.flush() @@ -91,6 +92,7 @@ def request(payload): raise RuntimeError(response["error"]["message"]) return response["result"] + metadata = request({"id": 1, "method": "metadata"}) result = request({ diff --git a/libs/@local/repo-chores/python/repo_chores/sync.py b/libs/@local/repo-chores/python/repo_chores/sync.py index cd5ff515b25..46ad52ba6d3 100644 --- a/libs/@local/repo-chores/python/repo_chores/sync.py +++ b/libs/@local/repo-chores/python/repo_chores/sync.py @@ -395,6 +395,9 @@ def assemble_package_json( scripts["lint:ruff"] = RUFF_LINT_SCRIPT if member.has_tests: scripts["test:unit"] = PYTEST_SCRIPT + elif scripts.get("test:unit") == PYTEST_SCRIPT: + # Managed script only; hand-written test:unit entries survive. + del scripts["test:unit"] data["name"] = f"{NPM_SCOPE}/{member.name}" data["version"] = "0.0.0-private" diff --git a/libs/@local/repo-chores/python/repo_chores/workspace.py b/libs/@local/repo-chores/python/repo_chores/workspace.py index 6896b1dbda2..c83fe3fde1e 100644 --- a/libs/@local/repo-chores/python/repo_chores/workspace.py +++ b/libs/@local/repo-chores/python/repo_chores/workspace.py @@ -14,21 +14,19 @@ from pathlib import Path from typing import TypeIs -PRUNED_DIRECTORIES = frozenset( - { - ".git", - ".ruff_cache", - ".turbo", - ".venv", - "__pycache__", - "build", - "dist", - "node_modules", - "out", - "target", - "venv", - } -) +PRUNED_DIRECTORIES = frozenset({ + ".git", + ".ruff_cache", + ".turbo", + ".venv", + "__pycache__", + "build", + "dist", + "node_modules", + "out", + "target", + "venv", +}) """Directory names that never contain workspace members and are skipped during discovery.""" diff --git a/libs/@local/repo-chores/python/tests/test_prune.py b/libs/@local/repo-chores/python/tests/test_prune.py index 116837dba0d..0353b1169b8 100644 --- a/libs/@local/repo-chores/python/tests/test_prune.py +++ b/libs/@local/repo-chores/python/tests/test_prune.py @@ -7,14 +7,17 @@ class TestParseScopes: def test_splits_on_spaces_and_newlines(self) -> None: - assert prune.parse_scopes("@apps/a @apps/b\n@apps/c") == frozenset( - {"@apps/a", "@apps/b", "@apps/c"} - ) + assert prune.parse_scopes("@apps/a @apps/b\n@apps/c") == frozenset({ + "@apps/a", + "@apps/b", + "@apps/c", + }) def test_ignores_blank_lines_and_extra_whitespace(self) -> None: - assert prune.parse_scopes("\n @apps/a \n\n\t@apps/b\n") == frozenset( - {"@apps/a", "@apps/b"} - ) + assert prune.parse_scopes("\n @apps/a \n\n\t@apps/b\n") == frozenset({ + "@apps/a", + "@apps/b", + }) class TestExpandScopes: @@ -38,13 +41,11 @@ def test_expansion_reaches_fixpoint_through_added_scopes(self) -> None: "@rust/hashql-compiletest": frozenset({"@rust/hash-graph-types"}), } scopes = prune.fixpoint_expand({"@rust/hashql-ast"}, dependencies) - assert scopes == frozenset( - { - "@rust/hashql-ast", - "@rust/hashql-compiletest", - "@rust/hash-graph-test-data", - } - ) + assert scopes == frozenset({ + "@rust/hashql-ast", + "@rust/hashql-compiletest", + "@rust/hash-graph-test-data", + }) def test_terminates_on_cyclic_dependency_maps(self) -> None: dependencies = { diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py index 7ce5ec629dc..354c33319b1 100644 --- a/libs/@local/repo-chores/python/tests/test_sync.py +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -4,7 +4,7 @@ import tomllib from pathlib import Path -from repo_chores.sync import assemble_package_json, synchronize +from repo_chores.sync import PYTEST_SCRIPT, assemble_package_json, synchronize from repo_chores.workspace import Member @@ -215,6 +215,21 @@ def test_manages_identity_scripts_and_dependencies(self) -> None: assert "test:unit" in self.scripts_of(assembled) assert assembled["dependencies"] == {"@python/alpha-core": "workspace:*"} + def test_removes_managed_pytest_script_when_tests_are_gone(self) -> None: + existing = {"scripts": {"test:unit": PYTEST_SCRIPT, "custom:thing": "echo hi"}} + + assembled = assemble_package_json(self.make_member(has_tests=False), existing) + + assert "test:unit" not in self.scripts_of(assembled) + assert self.scripts_of(assembled)["custom:thing"] == "echo hi" + + def test_preserves_hand_written_test_script_without_tests_directory(self) -> None: + existing = {"scripts": {"test:unit": "vitest run"}} + + assembled = assemble_package_json(self.make_member(has_tests=False), existing) + + assert self.scripts_of(assembled)["test:unit"] == "vitest run" + def test_omits_empty_dependencies(self) -> None: assembled = assemble_package_json(self.make_member(), {"dependencies": {"x": "1"}}) diff --git a/pyproject.toml b/pyproject.toml index d0a5cbe648b..ed61850b904 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,9 @@ # (see libs/@local/repo-chores/python) and validated in CI. [project] +description = "Workspace-level Python configuration for the HASH monorepo" name = "hash" version = "0.0.0" -description = "Workspace-level Python configuration for the HASH monorepo" # The single source of truth for the workspace Python version: every member # must declare exactly the same bound, enforced by `repo-chores sync --check`. requires-python = ">=3.14,<3.15" @@ -50,13 +50,15 @@ testpaths = [ ] [tool.ruff] -target-version = "py314" -line-length = 100 +# Linter: strictest rule set, exceptions curated below. Formatter: next style epoch. +preview = true extend-exclude = [ # Standalone end-user example script: it predates the Python workspace, # deliberately has no third-party dependencies, and follows its own style. "libs/@hashintel/petrinaut-cli/examples/python_stdio.py", ] +line-length = 100 +target-version = "py314" # Managed by `mise run sync:python`: one entry per workspace member, so ruff # classifies member-local imports as first-party. @@ -65,10 +67,6 @@ src = [ ] [tool.ruff.lint] -# Preview rules are enabled deliberately: the strictest available rule set, -# with exceptions curated below. -preview = true -select = ["ALL"] ignore = [ # Formatter conflicts (ruff's own recommendation). "COM812", @@ -110,6 +108,7 @@ ignore = [ "TC002", "TC003", ] +select = ["ALL"] [tool.ruff.lint.pylint] # Positional arguments are capped tightly (PLR0917): beyond this, callers @@ -134,8 +133,8 @@ convention = "pep257" "**/fixtures/**" = ["T201", "INP001", "S101", "PLR2004", "D100"] # CLI modules print their results and import heavy dependencies inside # command bodies on purpose: --help must not pay for the underlying imports. -"**/cli.py" = ["PLC0415", "T201"] "**/*_cli.py" = ["PLC0415", "T201"] +"**/cli.py" = ["PLC0415", "T201"] # The prune module is CI plumbing: it reports progress via print and exists # to spawn `turbo` (resolved from PATH) with locally-built arguments. "libs/@local/repo-chores/python/repo_chores/prune.py" = ["T201", "S404", "S603", "S607"] @@ -143,17 +142,35 @@ convention = "pep257" # formatter (oxfmt, resolved via shutil.which); all arguments are owned. "libs/@local/repo-chores/python/repo_chores/sync.py" = ["S404", "S603"] +# Editor LSP only; CI runs ty. [tool.pyright] -venvPath = "." venv = ".venv" +venvPath = "." [tool.ty.environment] python = "./.venv" +[tool.ty.terminal] +# Warn-level diagnostics fail CI. +error-on-warning = true + [tool.ty.rules] # Suppressions must pull their weight, mirroring tach's # `unused_ignore_directives = "error"` and ruff's RUF100. unused-ignore-comment = "error" +# Rule codes required, mirroring the bare-noqa ban (PGH004). +blanket-ignore-comment = "error" +# Bare generics parameterize as Unknown, the same loophole the Any ban closes. +missing-type-argument = "error" +# Every override is marked; pairs with invalid-explicit-override. +missing-override-decorator = "error" +# Off by default upstream (false-positive prone); relax per rule when noise appears. +division-by-zero = "error" +possibly-missing-attribute = "error" +possibly-missing-import = "error" +possibly-unresolved-reference = "error" +unsupported-dynamic-base = "error" + [tool.ty.src] exclude = [ From f6c9169fe7bf18a95e5aee3acce32dc5dac63e79 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 02:32:20 +0200 Subject: [PATCH 06/10] fix: discourage class based tests --- .../repo-chores/python/tests/test_lint.py | 160 +++---- .../repo-chores/python/tests/test_prune.py | 345 ++++++++-------- .../repo-chores/python/tests/test_sync.py | 389 +++++++++--------- .../python/tests/test_workspace.py | 70 ++-- pyproject.toml | 71 ++-- 5 files changed, 519 insertions(+), 516 deletions(-) diff --git a/libs/@local/repo-chores/python/tests/test_lint.py b/libs/@local/repo-chores/python/tests/test_lint.py index 74b92b90a67..064060cb12e 100644 --- a/libs/@local/repo-chores/python/tests/test_lint.py +++ b/libs/@local/repo-chores/python/tests/test_lint.py @@ -41,108 +41,124 @@ def make_member( ) -class TestUpperBounds: - def test_bounded_ranges_pass(self) -> None: - workspace = make_workspace( - dev_dependencies=( - "ruff>=0.15.21,<0.16", - "tach~=0.35.0", - "exact==1.2.3", - "arbitrary===1.2.3", - ) +# Upper and lower bounds + + +def test_bounded_ranges_pass() -> None: + workspace = make_workspace( + dev_dependencies=( + "ruff>=0.15.21,<0.16", + "tach~=0.35.0", + "exact==1.2.3", + "arbitrary===1.2.3", ) + ) - assert lint_workspace(workspace) == [] + assert lint_workspace(workspace) == [] - def test_missing_upper_bound_fails(self) -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("ruff>=0.15.21",))) - assert len(findings) == 1 - assert "no upper bound" in findings[0].message - assert not findings[0].fixable +def test_missing_upper_bound_fails() -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("ruff>=0.15.21",))) - def test_missing_lower_bound_fails(self) -> None: - # `<2` alone lets resolution reach arbitrarily far down. - findings = lint_workspace(make_workspace(dev_dependencies=("ruff<2",))) + assert len(findings) == 1 + assert "no upper bound" in findings[0].message + assert not findings[0].fixable - assert len(findings) == 1 - assert "no lower bound" in findings[0].message - def test_bare_requirement_fails(self) -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("pytest",))) +def test_missing_lower_bound_fails() -> None: + # `<2` alone lets resolution reach arbitrarily far down. + findings = lint_workspace(make_workspace(dev_dependencies=("ruff<2",))) - assert len(findings) == 1 - assert "no version bounds at all" in findings[0].message + assert len(findings) == 1 + assert "no lower bound" in findings[0].message - def test_exclusion_alone_is_not_a_bound(self) -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("ruff!=0.15.20",))) - assert len(findings) == 1 - assert "no version bounds at all" in findings[0].message +def test_bare_requirement_fails() -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("pytest",))) - def test_workspace_members_are_exempt(self) -> None: - member = make_member(name="hash-repo-chores") - workspace = make_workspace(dev_dependencies=("hash-repo-chores",), members=(member,)) + assert len(findings) == 1 + assert "no version bounds at all" in findings[0].message - assert lint_workspace(workspace) == [] - def test_member_manifests_are_judged_too(self) -> None: - member = make_member(dependencies=("requests>=2",), dev_dependencies=("pytest",)) - workspace = make_workspace(members=(member,)) +def test_exclusion_alone_is_not_a_bound() -> None: + findings = lint_workspace(make_workspace(dev_dependencies=("ruff!=0.15.20",))) - findings = lint_workspace(workspace) + assert len(findings) == 1 + assert "no version bounds at all" in findings[0].message - assert len(findings) == 2 - assert all(finding.path == "packages/alpha/pyproject.toml" for finding in findings) +def test_workspace_members_are_exempt() -> None: + member = make_member(name="hash-repo-chores") + workspace = make_workspace(dev_dependencies=("hash-repo-chores",), members=(member,)) -class TestAllowlist: - def test_allowlisted_dependency_is_exempt(self) -> None: - workspace = make_workspace(dev_dependencies=("ruff>=0.15.21",), allowlist=("ruff",)) + assert lint_workspace(workspace) == [] - assert lint_workspace(workspace) == [] - def test_allowlist_names_are_canonicalized(self) -> None: - member = make_member(dependencies=("legacy.pkg>=1",), allowlist=("Legacy-Pkg",)) - workspace = make_workspace(members=(member,)) +def test_member_manifests_are_judged_too() -> None: + member = make_member(dependencies=("requests>=2",), dev_dependencies=("pytest",)) + workspace = make_workspace(members=(member,)) - assert lint_workspace(workspace) == [] + findings = lint_workspace(workspace) - def test_stale_allowlist_entry_fails(self) -> None: - workspace = make_workspace(dev_dependencies=("ruff>=0.15.21,<0.16",), allowlist=("ruff",)) + assert len(findings) == 2 + assert all(finding.path == "packages/alpha/pyproject.toml" for finding in findings) - findings = lint_workspace(workspace) - assert len(findings) == 1 - assert "exempts nothing" in findings[0].message +# Allowlist - def test_allowlist_is_scoped_to_its_manifest(self) -> None: - # The root allowlist does not cover a member's dependencies. - member = make_member(dependencies=("requests>=2",)) - workspace = make_workspace(members=(member,), allowlist=("requests",)) - findings = lint_workspace(workspace) +def test_allowlisted_dependency_is_exempt() -> None: + workspace = make_workspace(dev_dependencies=("ruff>=0.15.21",), allowlist=("ruff",)) - messages = [finding.message for finding in findings] - assert any("no upper bound" in message for message in messages) - assert any("exempts nothing" in message for message in messages) + assert lint_workspace(workspace) == [] -class TestUrlRequirements: - def test_url_requirements_fail_even_when_allowlisted(self) -> None: - workspace = make_workspace( - dev_dependencies=("weird @ https://example.com/weird-1.0.tar.gz",), - allowlist=("weird",), - ) +def test_allowlist_names_are_canonicalized() -> None: + member = make_member(dependencies=("legacy.pkg>=1",), allowlist=("Legacy-Pkg",)) + workspace = make_workspace(members=(member,)) + + assert lint_workspace(workspace) == [] + + +def test_stale_allowlist_entry_fails() -> None: + workspace = make_workspace(dev_dependencies=("ruff>=0.15.21,<0.16",), allowlist=("ruff",)) + + findings = lint_workspace(workspace) + + assert len(findings) == 1 + assert "exempts nothing" in findings[0].message + + +def test_allowlist_is_scoped_to_its_manifest() -> None: + # The root allowlist does not cover a member's dependencies. + member = make_member(dependencies=("requests>=2",)) + workspace = make_workspace(members=(member,), allowlist=("requests",)) + + findings = lint_workspace(workspace) + + messages = [finding.message for finding in findings] + assert any("no upper bound" in message for message in messages) + assert any("exempts nothing" in message for message in messages) + + +# URL and invalid requirements + + +def test_url_requirements_fail_even_when_allowlisted() -> None: + workspace = make_workspace( + dev_dependencies=("weird @ https://example.com/weird-1.0.tar.gz",), + allowlist=("weird",), + ) + + findings = lint_workspace(workspace) - findings = lint_workspace(workspace) + assert any("URL requirement" in finding.message for finding in findings) - assert any("URL requirement" in finding.message for finding in findings) - def test_invalid_requirement_is_reported(self) -> None: - workspace = make_workspace(dev_dependencies=(">=1.0",)) +def test_invalid_requirement_is_reported() -> None: + workspace = make_workspace(dev_dependencies=(">=1.0",)) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace) - assert len(findings) == 1 - assert "invalid requirement" in findings[0].message + assert len(findings) == 1 + assert "invalid requirement" in findings[0].message diff --git a/libs/@local/repo-chores/python/tests/test_prune.py b/libs/@local/repo-chores/python/tests/test_prune.py index 0353b1169b8..80eecbe6469 100644 --- a/libs/@local/repo-chores/python/tests/test_prune.py +++ b/libs/@local/repo-chores/python/tests/test_prune.py @@ -5,186 +5,187 @@ from repo_chores import prune -class TestParseScopes: - def test_splits_on_spaces_and_newlines(self) -> None: - assert prune.parse_scopes("@apps/a @apps/b\n@apps/c") == frozenset({ - "@apps/a", - "@apps/b", - "@apps/c", - }) - - def test_ignores_blank_lines_and_extra_whitespace(self) -> None: - assert prune.parse_scopes("\n @apps/a \n\n\t@apps/b\n") == frozenset({ - "@apps/a", - "@apps/b", - }) - - -class TestExpandScopes: - def test_no_rule_matches(self) -> None: - assert prune.expand_scopes({"@apps/hash-frontend"}) == frozenset() - - def test_prefix_trigger(self) -> None: - # Rules trigger on name prefixes: a child crate pulls in the whole family. - assert "@rust/darwin-kperf-codegen" in prune.expand_scopes({"@rust/darwin-kperf-sys"}) - - -class TestFixpointExpand: - def test_expands_rules_triggered_by_dependencies(self) -> None: - dependencies = {"@apps/hash-graph": frozenset({"@rust/hashql-ast"})} - scopes = prune.fixpoint_expand({"@apps/hash-graph"}, dependencies) - assert scopes == frozenset({"@apps/hash-graph", "@rust/hashql-compiletest"}) - - def test_expansion_reaches_fixpoint_through_added_scopes(self) -> None: - # The scope added by the first rule has dependencies that trigger another rule. - dependencies = { - "@rust/hashql-compiletest": frozenset({"@rust/hash-graph-types"}), - } - scopes = prune.fixpoint_expand({"@rust/hashql-ast"}, dependencies) - assert scopes == frozenset({ - "@rust/hashql-ast", - "@rust/hashql-compiletest", - "@rust/hash-graph-test-data", - }) - - def test_terminates_on_cyclic_dependency_maps(self) -> None: - dependencies = { - "@apps/a": frozenset({"@apps/b"}), - "@apps/b": frozenset({"@apps/a"}), - } - scopes = prune.fixpoint_expand({"@apps/a"}, dependencies) - assert scopes == frozenset({"@apps/a"}) - - -class TestResolveCargoMembers: - def test_resolves_globs_and_literal_members(self, tmp_path: Path) -> None: - (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*", "standalone"]\n') - for member in ("crates/a", "crates/b", "standalone"): - (tmp_path / member).mkdir(parents=True) - (tmp_path / member / "Cargo.toml").write_text( - f'[package]\nname = "{member.replace("/", "-")}"\n' - ) - # A directory matching the glob but without a manifest is not a member. - (tmp_path / "crates" / "not-a-crate").mkdir() - - members = prune.resolve_cargo_members(tmp_path) - - assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ - "crates/a/Cargo.toml", - "crates/b/Cargo.toml", - "standalone/Cargo.toml", - ] - - -class TestStubMissingCargoMembers: - @staticmethod - def make_workspace(root: Path) -> None: - (root / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*"]\n') - for name in ("kept", "pruned"): - (root / "crates" / name).mkdir(parents=True) - (root / "crates" / name / "Cargo.toml").write_text(f'[package]\nname = "{name}"\n') - - def test_stubs_only_missing_members(self, tmp_path: Path) -> None: - self.make_workspace(tmp_path) - out = tmp_path / "out" - kept_manifest = out / "crates" / "kept" / "Cargo.toml" - kept_manifest.parent.mkdir(parents=True) - kept_manifest.write_text("untouched") - - prune.stub_missing_cargo_members(tmp_path, out) - - assert kept_manifest.read_text() == "untouched" - stub = out / "crates" / "pruned" / "Cargo.toml" - assert 'name = "pruned"' in stub.read_text() - assert (out / "crates" / "pruned" / "src" / "lib.rs").exists() - - def test_skips_manifests_without_a_package_name(self, tmp_path: Path) -> None: - (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["virtual"]\n') - (tmp_path / "virtual").mkdir() - (tmp_path / "virtual" / "Cargo.toml").write_text("[workspace]\n") - - prune.stub_missing_cargo_members(tmp_path, tmp_path / "out") - - assert not (tmp_path / "out" / "virtual" / "Cargo.toml").exists() - - def test_dry_run_writes_nothing(self, tmp_path: Path) -> None: - self.make_workspace(tmp_path) - out = tmp_path / "out" - - prune.stub_missing_cargo_members(tmp_path, out, dry_run=True) - - assert not out.exists() - - -class TestResolveUvMembers: - def test_missing_root_pyproject(self, tmp_path: Path) -> None: - assert prune.resolve_uv_members(tmp_path) == [] - - def test_pyproject_without_workspace(self, tmp_path: Path) -> None: - (tmp_path / "pyproject.toml").write_text('[project]\nname = "root"\n') - assert prune.resolve_uv_members(tmp_path) == [] - - def test_resolves_member_globs(self, tmp_path: Path) -> None: - (tmp_path / "pyproject.toml").write_text( - '[tool.uv.workspace]\nmembers = ["tools/*", "single"]\n' - ) - for member in ("tools/a", "tools/b", "single"): - (tmp_path / member).mkdir(parents=True) - (tmp_path / member / "pyproject.toml").write_text("[project]\n") - (tmp_path / "tools" / "not-a-package").mkdir() - - members = prune.resolve_uv_members(tmp_path) - - assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ - "single/pyproject.toml", - "tools/a/pyproject.toml", - "tools/b/pyproject.toml", - ] - - def test_respects_workspace_excludes(self, tmp_path: Path) -> None: - (tmp_path / "pyproject.toml").write_text( - '[tool.uv.workspace]\nmembers = ["tools/*"]\nexclude = ["tools/skipped"]\n' +def test_parse_scopes_splits_on_spaces_and_newlines() -> None: + assert prune.parse_scopes("@apps/a @apps/b\n@apps/c") == frozenset({ + "@apps/a", + "@apps/b", + "@apps/c", + }) + + +def test_parse_scopes_ignores_blank_lines_and_extra_whitespace() -> None: + assert prune.parse_scopes("\n @apps/a \n\n\t@apps/b\n") == frozenset({ + "@apps/a", + "@apps/b", + }) + + +def test_expand_scopes_no_rule_matches() -> None: + assert prune.expand_scopes({"@apps/hash-frontend"}) == frozenset() + + +def test_expand_scopes_prefix_trigger() -> None: + # Rules trigger on name prefixes: a child crate pulls in the whole family. + assert "@rust/darwin-kperf-codegen" in prune.expand_scopes({"@rust/darwin-kperf-sys"}) + + +def test_fixpoint_expands_rules_triggered_by_dependencies() -> None: + dependencies = {"@apps/hash-graph": frozenset({"@rust/hashql-ast"})} + scopes = prune.fixpoint_expand({"@apps/hash-graph"}, dependencies) + assert scopes == frozenset({"@apps/hash-graph", "@rust/hashql-compiletest"}) + + +def test_expansion_reaches_fixpoint_through_added_scopes() -> None: + # The scope added by the first rule has dependencies that trigger another rule. + dependencies = { + "@rust/hashql-compiletest": frozenset({"@rust/hash-graph-types"}), + } + scopes = prune.fixpoint_expand({"@rust/hashql-ast"}, dependencies) + assert scopes == frozenset({ + "@rust/hashql-ast", + "@rust/hashql-compiletest", + "@rust/hash-graph-test-data", + }) + + +def test_fixpoint_expand_terminates_on_cycles() -> None: + dependencies = { + "@apps/a": frozenset({"@apps/b"}), + "@apps/b": frozenset({"@apps/a"}), + } + scopes = prune.fixpoint_expand({"@apps/a"}, dependencies) + assert scopes == frozenset({"@apps/a"}) + + +def test_resolves_cargo_globs_and_literal_members(tmp_path: Path) -> None: + (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*", "standalone"]\n') + for member in ("crates/a", "crates/b", "standalone"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "Cargo.toml").write_text( + f'[package]\nname = "{member.replace("/", "-")}"\n' ) - for member in ("tools/a", "tools/skipped"): - (tmp_path / member).mkdir(parents=True) - (tmp_path / member / "pyproject.toml").write_text("[project]\n") + # A directory matching the glob but without a manifest is not a member. + (tmp_path / "crates" / "not-a-crate").mkdir() + + members = prune.resolve_cargo_members(tmp_path) + + assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ + "crates/a/Cargo.toml", + "crates/b/Cargo.toml", + "standalone/Cargo.toml", + ] + + +def _make_cargo_workspace(root: Path) -> None: + (root / "Cargo.toml").write_text('[workspace]\nmembers = ["crates/*"]\n') + for name in ("kept", "pruned"): + (root / "crates" / name).mkdir(parents=True) + (root / "crates" / name / "Cargo.toml").write_text(f'[package]\nname = "{name}"\n') + + +def test_stubs_only_missing_cargo_members(tmp_path: Path) -> None: + _make_cargo_workspace(tmp_path) + out = tmp_path / "out" + kept_manifest = out / "crates" / "kept" / "Cargo.toml" + kept_manifest.parent.mkdir(parents=True) + kept_manifest.write_text("untouched") + + prune.stub_missing_cargo_members(tmp_path, out) - members = prune.resolve_uv_members(tmp_path) + assert kept_manifest.read_text() == "untouched" + stub = out / "crates" / "pruned" / "Cargo.toml" + assert 'name = "pruned"' in stub.read_text() + assert (out / "crates" / "pruned" / "src" / "lib.rs").exists() - assert [path.relative_to(tmp_path).as_posix() for path in members] == [ - "tools/a/pyproject.toml" - ] + +def test_skips_manifests_without_a_package_name(tmp_path: Path) -> None: + (tmp_path / "Cargo.toml").write_text('[workspace]\nmembers = ["virtual"]\n') + (tmp_path / "virtual").mkdir() + (tmp_path / "virtual" / "Cargo.toml").write_text("[workspace]\n") + + prune.stub_missing_cargo_members(tmp_path, tmp_path / "out") + + assert not (tmp_path / "out" / "virtual" / "Cargo.toml").exists() + + +def test_cargo_dry_run_writes_nothing(tmp_path: Path) -> None: + _make_cargo_workspace(tmp_path) + out = tmp_path / "out" + + prune.stub_missing_cargo_members(tmp_path, out, dry_run=True) + + assert not out.exists() + + +def test_missing_root_pyproject(tmp_path: Path) -> None: + assert prune.resolve_uv_members(tmp_path) == [] + + +def test_pyproject_without_workspace(tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text('[project]\nname = "root"\n') + assert prune.resolve_uv_members(tmp_path) == [] + + +def test_resolves_uv_member_globs(tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text( + '[tool.uv.workspace]\nmembers = ["tools/*", "single"]\n' + ) + for member in ("tools/a", "tools/b", "single"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "pyproject.toml").write_text("[project]\n") + (tmp_path / "tools" / "not-a-package").mkdir() + + members = prune.resolve_uv_members(tmp_path) + + assert sorted(path.relative_to(tmp_path).as_posix() for path in members) == [ + "single/pyproject.toml", + "tools/a/pyproject.toml", + "tools/b/pyproject.toml", + ] + + +def test_respects_workspace_excludes(tmp_path: Path) -> None: + (tmp_path / "pyproject.toml").write_text( + '[tool.uv.workspace]\nmembers = ["tools/*"]\nexclude = ["tools/skipped"]\n' + ) + for member in ("tools/a", "tools/skipped"): + (tmp_path / member).mkdir(parents=True) + (tmp_path / member / "pyproject.toml").write_text("[project]\n") + + members = prune.resolve_uv_members(tmp_path) + + assert [path.relative_to(tmp_path).as_posix() for path in members] == ["tools/a/pyproject.toml"] + + +def _make_uv_workspace(root: Path) -> None: + (root / "pyproject.toml").write_text('[tool.uv.workspace]\nmembers = ["tools/*"]\n') + for name in ("kept", "pruned"): + (root / "tools" / name).mkdir(parents=True) + (root / "tools" / name / "pyproject.toml").write_text( + f'[project]\nname = "{name}"\nversion = "1.2.3"\ndependencies = ["numpy>=2"]\n' + ) -class TestStubMissingUvMembers: - @staticmethod - def make_workspace(root: Path) -> None: - (root / "pyproject.toml").write_text('[tool.uv.workspace]\nmembers = ["tools/*"]\n') - for name in ("kept", "pruned"): - (root / "tools" / name).mkdir(parents=True) - (root / "tools" / name / "pyproject.toml").write_text( - f'[project]\nname = "{name}"\nversion = "1.2.3"\ndependencies = ["numpy>=2"]\n' - ) +def test_copies_manifests_of_missing_members(tmp_path: Path) -> None: + _make_uv_workspace(tmp_path) + out = tmp_path / "out" + kept_manifest = out / "tools" / "kept" / "pyproject.toml" + kept_manifest.parent.mkdir(parents=True) + kept_manifest.write_text("untouched") - def test_copies_manifests_of_missing_members(self, tmp_path: Path) -> None: - self.make_workspace(tmp_path) - out = tmp_path / "out" - kept_manifest = out / "tools" / "kept" / "pyproject.toml" - kept_manifest.parent.mkdir(parents=True) - kept_manifest.write_text("untouched") + prune.stub_missing_uv_members(tmp_path, out) - prune.stub_missing_uv_members(tmp_path, out) + assert kept_manifest.read_text() == "untouched" + # The stub is a byte-for-byte manifest copy: uv validates the workspace + # graph (including each member's dependencies) against uv.lock. + stub = out / "tools" / "pruned" / "pyproject.toml" + assert stub.read_bytes() == (tmp_path / "tools" / "pruned" / "pyproject.toml").read_bytes() - assert kept_manifest.read_text() == "untouched" - # The stub is a byte-for-byte manifest copy: uv validates the workspace - # graph (including each member's dependencies) against uv.lock. - stub = out / "tools" / "pruned" / "pyproject.toml" - assert stub.read_bytes() == (tmp_path / "tools" / "pruned" / "pyproject.toml").read_bytes() - def test_dry_run_writes_nothing(self, tmp_path: Path) -> None: - self.make_workspace(tmp_path) - out = tmp_path / "out" +def test_uv_dry_run_writes_nothing(tmp_path: Path) -> None: + _make_uv_workspace(tmp_path) + out = tmp_path / "out" - prune.stub_missing_uv_members(tmp_path, out, dry_run=True) + prune.stub_missing_uv_members(tmp_path, out, dry_run=True) - assert not out.exists() + assert not out.exists() diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py index 354c33319b1..6ff8a6098db 100644 --- a/libs/@local/repo-chores/python/tests/test_sync.py +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -7,230 +7,241 @@ from repo_chores.sync import PYTEST_SCRIPT, assemble_package_json, synchronize from repo_chores.workspace import Member +# Check mode -class TestCheck: - def test_reports_every_deviation_without_writing(self, fixture_repo: Path) -> None: - before = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} - - findings = synchronize(fixture_repo, apply=False) - messages = "\n".join(f"{finding.path}: {finding.message}" for finding in findings) - - assert "workspace members must list every member" in messages - assert "ruff src roots must list every member" in messages - assert "pytest testpaths must list every member" in messages - assert "tach source roots must list every member" in messages - assert "outside/lib is not covered by workspaces.packages" in messages - assert 'packages/alpha/pyproject.toml: requires-python must be ">=3.14,<3.15"' in messages - assert 'dev group must pin "ruff>=0.15.21"' in messages - assert 'dev group must pin "pytest>=8.0"' in messages - assert "packages/alpha/package.json: turbo wiring is missing" in messages - assert "packages/beta/package.json: turbo wiring is missing" in messages - assert "packages/toolcfg/pyproject.toml: manifest has no [project] name" in messages - - after = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} - assert before == after, "check mode must not write" - - def test_single_segment_globs_do_not_cover_nested_members(self, fixture_repo: Path) -> None: - # fnmatch's `*` crosses path separators and would falsely treat the - # nested member as covered; yarn's `*` stays within one segment. - package_json_path = fixture_repo / "package.json" - data = json.loads(package_json_path.read_text()) - data["workspaces"]["packages"] = ["!**/node_modules", "outside/*", "packages/*"] - package_json_path.write_text(json.dumps(data, indent=2) + "\n") - - nested = fixture_repo / "packages" / "group" / "deep" - nested.mkdir(parents=True) - (nested / "pyproject.toml").write_text( - '[project]\nname = "deep"\nversion = "0.1.0"\nrequires-python = ">=3.14,<3.15"\n' - ) - findings = synchronize(fixture_repo, apply=False) +def test_check_reports_every_deviation_without_writing(fixture_repo: Path) -> None: + before = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} - messages = [finding.message for finding in findings] - assert any("packages/group/deep is not covered" in message for message in messages) - assert not any("packages/alpha is not covered" in message for message in messages) - assert not any("outside/lib is not covered" in message for message in messages) + findings = synchronize(fixture_repo, apply=False) + messages = "\n".join(f"{finding.path}: {finding.message}" for finding in findings) - def test_unnamed_manifest_is_unfixable(self, fixture_repo: Path) -> None: - findings = synchronize(fixture_repo, apply=False) - unfixable = [finding for finding in findings if not finding.fixable] + assert "workspace members must list every member" in messages + assert "ruff src roots must list every member" in messages + assert "pytest testpaths must list every member" in messages + assert "tach source roots must list every member" in messages + assert "outside/lib is not covered by workspaces.packages" in messages + assert 'packages/alpha/pyproject.toml: requires-python must be ">=3.14,<3.15"' in messages + assert 'dev group must pin "ruff>=0.15.21"' in messages + assert 'dev group must pin "pytest>=8.0"' in messages + assert "packages/alpha/package.json: turbo wiring is missing" in messages + assert "packages/beta/package.json: turbo wiring is missing" in messages + assert "packages/toolcfg/pyproject.toml: manifest has no [project] name" in messages - assert [finding.path for finding in unfixable] == ["packages/toolcfg/pyproject.toml"] + after = {path: path.read_text() for path in fixture_repo.rglob("*") if path.is_file()} + assert before == after, "check mode must not write" - def test_invalid_dev_requirement_is_an_unfixable_finding(self, fixture_repo: Path) -> None: - manifest_path = fixture_repo / "packages" / "alpha" / "pyproject.toml" - manifest_path.write_text( - manifest_path.read_text().replace('"pytest>=7.0"', '">=not-a-requirement"') - ) - findings = synchronize(fixture_repo, apply=False) +def test_single_segment_globs_do_not_cover_nested_members(fixture_repo: Path) -> None: + # fnmatch's `*` crosses path separators and would falsely treat the + # nested member as covered; yarn's `*` stays within one segment. + package_json_path = fixture_repo / "package.json" + data = json.loads(package_json_path.read_text()) + data["workspaces"]["packages"] = ["!**/node_modules", "outside/*", "packages/*"] + package_json_path.write_text(json.dumps(data, indent=2) + "\n") - assert any( - finding.path == "packages/alpha/pyproject.toml" - and "invalid dev requirement" in finding.message - and not finding.fixable - for finding in findings - ) + nested = fixture_repo / "packages" / "group" / "deep" + nested.mkdir(parents=True) + (nested / "pyproject.toml").write_text( + '[project]\nname = "deep"\nversion = "0.1.0"\nrequires-python = ">=3.14,<3.15"\n' + ) + findings = synchronize(fixture_repo, apply=False) -class TestFix: - def test_fixes_are_applied_and_idempotent(self, fixture_repo: Path) -> None: - synchronize(fixture_repo, apply=True) + messages = [finding.message for finding in findings] + assert any("packages/group/deep is not covered" in message for message in messages) + assert not any("packages/alpha is not covered" in message for message in messages) + assert not any("outside/lib is not covered" in message for message in messages) - root_manifest = tomllib.loads((fixture_repo / "pyproject.toml").read_text()) - expected_members = ["outside/lib", "packages/alpha", "packages/beta"] - assert root_manifest["tool"]["uv"]["workspace"]["members"] == expected_members - assert root_manifest["tool"]["ruff"]["src"] == expected_members - assert root_manifest["tool"]["tach"]["source_roots"] == expected_members - assert root_manifest["tool"]["pytest"]["ini_options"]["testpaths"] == [ - "packages/alpha/tests" - ] - root_package_json = json.loads((fixture_repo / "package.json").read_text()) - assert "outside/lib" in root_package_json["workspaces"]["packages"] +def test_unnamed_manifest_is_unfixable(fixture_repo: Path) -> None: + findings = synchronize(fixture_repo, apply=False) + unfixable = [finding for finding in findings if not finding.fixable] - alpha_manifest = tomllib.loads( - (fixture_repo / "packages" / "alpha" / "pyproject.toml").read_text() - ) - assert alpha_manifest["project"]["requires-python"] == ">=3.14,<3.15" - assert alpha_manifest["dependency-groups"]["dev"] == ["pytest>=8.0", "ruff>=0.15.21"] + assert [finding.path for finding in unfixable] == ["packages/toolcfg/pyproject.toml"] - alpha_package_json = json.loads( - (fixture_repo / "packages" / "alpha" / "package.json").read_text() - ) - assert alpha_package_json["name"] == "@python/alpha" - assert alpha_package_json["license"] == "AGPL-3" - assert "test:unit" in alpha_package_json["scripts"] - beta_package_json = json.loads( - (fixture_repo / "packages" / "beta" / "package.json").read_text() - ) - assert beta_package_json["name"] == "@python/beta" - assert beta_package_json["dependencies"] == {"@python/alpha": "workspace:*"} - assert "test:unit" not in beta_package_json["scripts"] - - # Only the unfixable finding remains; a second apply changes nothing. - remaining = synchronize(fixture_repo, apply=True) - assert [finding.fixable for finding in remaining] == [False] - - def test_root_manifest_comments_survive_fixes(self, fixture_repo: Path) -> None: - manifest_path = fixture_repo / "pyproject.toml" - manifest_path.write_text( - manifest_path.read_text().replace( - "[tool.uv.workspace]", "# Managed members list.\n[tool.uv.workspace]" - ) - ) +def test_invalid_dev_requirement_is_an_unfixable_finding(fixture_repo: Path) -> None: + manifest_path = fixture_repo / "packages" / "alpha" / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace('"pytest>=7.0"', '">=not-a-requirement"') + ) - synchronize(fixture_repo, apply=True) + findings = synchronize(fixture_repo, apply=False) - assert "# Managed members list." in manifest_path.read_text() + assert any( + finding.path == "packages/alpha/pyproject.toml" + and "invalid dev requirement" in finding.message + and not finding.fixable + for finding in findings + ) - def test_removes_stale_and_duplicate_member_entries(self, fixture_repo: Path) -> None: - stale = ( - 'members = [\n "packages/ghost",\n "packages/alpha",\n "packages/alpha",\n]' - ) - manifest_path = fixture_repo / "pyproject.toml" - manifest_path.write_text( - manifest_path.read_text().replace('members = [\n "packages/alpha",\n]', stale) - ) - synchronize(fixture_repo, apply=True) - - root_manifest = tomllib.loads(manifest_path.read_text()) - assert root_manifest["tool"]["uv"]["workspace"]["members"] == [ - "outside/lib", - "packages/alpha", - "packages/beta", - ] - - def test_non_string_member_entries_are_reported_not_clobbered(self, fixture_repo: Path) -> None: - manifest_path = fixture_repo / "pyproject.toml" - manifest_path.write_text( - manifest_path.read_text().replace( - 'members = [\n "packages/alpha",\n]', - 'members = [\n "packages/alpha",\n 42,\n]', - ) - ) +# Fix mode + + +def test_fixes_are_applied_and_idempotent(fixture_repo: Path) -> None: + synchronize(fixture_repo, apply=True) + + root_manifest = tomllib.loads((fixture_repo / "pyproject.toml").read_text()) + expected_members = ["outside/lib", "packages/alpha", "packages/beta"] + assert root_manifest["tool"]["uv"]["workspace"]["members"] == expected_members + assert root_manifest["tool"]["ruff"]["src"] == expected_members + assert root_manifest["tool"]["tach"]["source_roots"] == expected_members + assert root_manifest["tool"]["pytest"]["ini_options"]["testpaths"] == ["packages/alpha/tests"] + + root_package_json = json.loads((fixture_repo / "package.json").read_text()) + assert "outside/lib" in root_package_json["workspaces"]["packages"] - findings = synchronize(fixture_repo, apply=True) + alpha_manifest = tomllib.loads( + (fixture_repo / "packages" / "alpha" / "pyproject.toml").read_text() + ) + assert alpha_manifest["project"]["requires-python"] == ">=3.14,<3.15" + assert alpha_manifest["dependency-groups"]["dev"] == ["pytest>=8.0", "ruff>=0.15.21"] - assert any( - "workspace members must only contain strings" in finding.message and not finding.fixable - for finding in findings + alpha_package_json = json.loads( + (fixture_repo / "packages" / "alpha" / "package.json").read_text() + ) + assert alpha_package_json["name"] == "@python/alpha" + assert alpha_package_json["license"] == "AGPL-3" + assert "test:unit" in alpha_package_json["scripts"] + + beta_package_json = json.loads( + (fixture_repo / "packages" / "beta" / "package.json").read_text() + ) + assert beta_package_json["name"] == "@python/beta" + assert beta_package_json["dependencies"] == {"@python/alpha": "workspace:*"} + assert "test:unit" not in beta_package_json["scripts"] + + # Only the unfixable finding remains; a second apply changes nothing. + remaining = synchronize(fixture_repo, apply=True) + assert [finding.fixable for finding in remaining] == [False] + + +def test_root_manifest_comments_survive_fixes(fixture_repo: Path) -> None: + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace( + "[tool.uv.workspace]", "# Managed members list.\n[tool.uv.workspace]" ) - root_manifest = tomllib.loads(manifest_path.read_text()) - assert root_manifest["tool"]["uv"]["workspace"]["members"] == ["packages/alpha", 42] - - -class TestAssemblePackageJson: - @staticmethod - def make_member( - *, - workspace_dependencies: tuple[str, ...] = (), - has_tests: bool = False, - ) -> Member: - return Member( - directory="packages/alpha", - name="alpha", - requires_python=">=3.14,<3.15", - dependencies=(), - dev_dependencies=(), - workspace_dependencies=workspace_dependencies, - insecure_bounds_allowlist=(), - has_tests=has_tests, + ) + + synchronize(fixture_repo, apply=True) + + assert "# Managed members list." in manifest_path.read_text() + + +def test_fix_removes_stale_and_duplicate_member_entries(fixture_repo: Path) -> None: + stale = 'members = [\n "packages/ghost",\n "packages/alpha",\n "packages/alpha",\n]' + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace('members = [\n "packages/alpha",\n]', stale) + ) + + synchronize(fixture_repo, apply=True) + + root_manifest = tomllib.loads(manifest_path.read_text()) + assert root_manifest["tool"]["uv"]["workspace"]["members"] == [ + "outside/lib", + "packages/alpha", + "packages/beta", + ] + + +def test_non_string_member_entries_are_reported_not_clobbered(fixture_repo: Path) -> None: + manifest_path = fixture_repo / "pyproject.toml" + manifest_path.write_text( + manifest_path.read_text().replace( + 'members = [\n "packages/alpha",\n]', + 'members = [\n "packages/alpha",\n 42,\n]', ) + ) + + findings = synchronize(fixture_repo, apply=True) + + assert any( + "workspace members must only contain strings" in finding.message and not finding.fixable + for finding in findings + ) + root_manifest = tomllib.loads(manifest_path.read_text()) + assert root_manifest["tool"]["uv"]["workspace"]["members"] == ["packages/alpha", 42] + + +# assemble_package_json + + +def _make_member( + *, + workspace_dependencies: tuple[str, ...] = (), + has_tests: bool = False, +) -> Member: + return Member( + directory="packages/alpha", + name="alpha", + requires_python=">=3.14,<3.15", + dependencies=(), + dev_dependencies=(), + workspace_dependencies=workspace_dependencies, + insecure_bounds_allowlist=(), + has_tests=has_tests, + ) + + +def _scripts_of(assembled: dict[str, object]) -> dict[str, str]: + scripts = assembled["scripts"] + assert isinstance(scripts, dict) + checked = { + key: value + for key, value in scripts.items() + if isinstance(key, str) and isinstance(value, str) + } + assert len(checked) == len(scripts) + return checked + + +def test_assemble_preserves_custom_scripts_and_extra_keys() -> None: + existing = { + "description": "Hand-written description", + "scripts": {"custom:thing": "echo hi"}, + } + + assembled = assemble_package_json(_make_member(), existing) + + assert assembled["description"] == "Hand-written description" + assert _scripts_of(assembled)["custom:thing"] == "echo hi" + assert "lint:ruff" in _scripts_of(assembled) + assert "fix:ruff" in _scripts_of(assembled) - @staticmethod - def scripts_of(assembled: dict[str, object]) -> dict[str, str]: - scripts = assembled["scripts"] - assert isinstance(scripts, dict) - checked = { - key: value - for key, value in scripts.items() - if isinstance(key, str) and isinstance(value, str) - } - assert len(checked) == len(scripts) - return checked - def test_preserves_custom_scripts_and_extra_keys(self) -> None: - existing = { - "description": "Hand-written description", - "scripts": {"custom:thing": "echo hi"}, - } +def test_assemble_manages_identity_scripts_and_dependencies() -> None: + member = _make_member(workspace_dependencies=("alpha-core",), has_tests=True) - assembled = assemble_package_json(self.make_member(), existing) + assembled = assemble_package_json(member, {"name": "@python/stale", "license": "MIT"}) - assert assembled["description"] == "Hand-written description" - assert self.scripts_of(assembled)["custom:thing"] == "echo hi" - assert "lint:ruff" in self.scripts_of(assembled) - assert "fix:ruff" in self.scripts_of(assembled) + assert assembled["name"] == "@python/alpha", "stale names are overwritten" + assert assembled["license"] == "MIT", "hand-set licenses are preserved" + assert "test:unit" in _scripts_of(assembled) + assert assembled["dependencies"] == {"@python/alpha-core": "workspace:*"} - def test_manages_identity_scripts_and_dependencies(self) -> None: - member = self.make_member(workspace_dependencies=("alpha-core",), has_tests=True) - assembled = assemble_package_json(member, {"name": "@python/stale", "license": "MIT"}) +def test_assemble_removes_managed_pytest_script_when_tests_are_gone() -> None: + existing = {"scripts": {"test:unit": PYTEST_SCRIPT, "custom:thing": "echo hi"}} - assert assembled["name"] == "@python/alpha", "stale names are overwritten" - assert assembled["license"] == "MIT", "hand-set licenses are preserved" - assert "test:unit" in self.scripts_of(assembled) - assert assembled["dependencies"] == {"@python/alpha-core": "workspace:*"} + assembled = assemble_package_json(_make_member(has_tests=False), existing) - def test_removes_managed_pytest_script_when_tests_are_gone(self) -> None: - existing = {"scripts": {"test:unit": PYTEST_SCRIPT, "custom:thing": "echo hi"}} + assert "test:unit" not in _scripts_of(assembled) + assert _scripts_of(assembled)["custom:thing"] == "echo hi" - assembled = assemble_package_json(self.make_member(has_tests=False), existing) - assert "test:unit" not in self.scripts_of(assembled) - assert self.scripts_of(assembled)["custom:thing"] == "echo hi" +def test_assemble_preserves_hand_written_test_script_without_tests_directory() -> None: + existing = {"scripts": {"test:unit": "vitest run"}} - def test_preserves_hand_written_test_script_without_tests_directory(self) -> None: - existing = {"scripts": {"test:unit": "vitest run"}} + assembled = assemble_package_json(_make_member(has_tests=False), existing) - assembled = assemble_package_json(self.make_member(has_tests=False), existing) + assert _scripts_of(assembled)["test:unit"] == "vitest run" - assert self.scripts_of(assembled)["test:unit"] == "vitest run" - def test_omits_empty_dependencies(self) -> None: - assembled = assemble_package_json(self.make_member(), {"dependencies": {"x": "1"}}) +def test_assemble_omits_empty_dependencies() -> None: + assembled = assemble_package_json(_make_member(), {"dependencies": {"x": "1"}}) - assert "dependencies" not in assembled + assert "dependencies" not in assembled diff --git a/libs/@local/repo-chores/python/tests/test_workspace.py b/libs/@local/repo-chores/python/tests/test_workspace.py index bd358592aca..b90b3cca68f 100644 --- a/libs/@local/repo-chores/python/tests/test_workspace.py +++ b/libs/@local/repo-chores/python/tests/test_workspace.py @@ -12,40 +12,36 @@ ) -class TestFindMemberManifests: - def test_skips_pruned_directories_and_root_manifest(self, fixture_repo: Path) -> None: - manifests = find_member_manifests(fixture_repo) - directories = [ - manifest.parent.relative_to(fixture_repo).as_posix() for manifest in manifests - ] - - assert directories == [ - "outside/lib", - "packages/alpha", - "packages/beta", - "packages/toolcfg", - ] - - -class TestFindWorkspaceRoot: - def test_walks_up_from_a_member_directory(self, fixture_repo: Path) -> None: - assert find_workspace_root(fixture_repo / "packages" / "alpha") == fixture_repo - - def test_errors_when_no_workspace_exists(self, tmp_path: Path) -> None: - with pytest.raises(WorkspaceError, match=r"tool\.uv\.workspace"): - find_workspace_root(tmp_path) - - -class TestLoadWorkspace: - def test_parses_root_and_members(self, fixture_repo: Path) -> None: - workspace = load_workspace(fixture_repo) - - assert workspace.requires_python == ">=3.14,<3.15" - assert workspace.declared_members == ("packages/alpha",) - - members = {member.directory: member for member in workspace.members} - assert members["packages/alpha"].has_tests - assert members["packages/alpha"].requires_python == ">=3.13" - assert members["packages/beta"].workspace_dependencies == ("alpha",) - assert not members["packages/beta"].has_tests - assert members["packages/toolcfg"].name is None +def test_find_member_manifests_skips_pruned_and_root(fixture_repo: Path) -> None: + manifests = find_member_manifests(fixture_repo) + directories = [manifest.parent.relative_to(fixture_repo).as_posix() for manifest in manifests] + + assert directories == [ + "outside/lib", + "packages/alpha", + "packages/beta", + "packages/toolcfg", + ] + + +def test_find_workspace_root_walks_up_from_member(fixture_repo: Path) -> None: + assert find_workspace_root(fixture_repo / "packages" / "alpha") == fixture_repo + + +def test_find_workspace_root_errors_when_no_workspace_exists(tmp_path: Path) -> None: + with pytest.raises(WorkspaceError, match=r"tool\.uv\.workspace"): + find_workspace_root(tmp_path) + + +def test_load_workspace_parses_root_and_members(fixture_repo: Path) -> None: + workspace = load_workspace(fixture_repo) + + assert workspace.requires_python == ">=3.14,<3.15" + assert workspace.declared_members == ("packages/alpha",) + + members = {member.directory: member for member in workspace.members} + assert members["packages/alpha"].has_tests + assert members["packages/alpha"].requires_python == ">=3.13" + assert members["packages/beta"].workspace_dependencies == ("alpha",) + assert not members["packages/beta"].has_tests + assert members["packages/toolcfg"].name is None diff --git a/pyproject.toml b/pyproject.toml index ed61850b904..25844b96f64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,27 +12,19 @@ version = "0.0.0" requires-python = ">=3.14,<3.15" [tool.uv] -# `uv add` writes cargo-style bounded ranges (>=1.2.3, <2.0.0) by default. -# `repo-chores lint` rejects requirements without a lower and upper bound. -add-bounds = "major" -# Dependency cooldown: newly published releases are held back before -# resolution considers them, matching the yarn (`npmMinimalAgeGate`) and mise -# (`minimum_release_age`) posture of 5 days. -exclude-newer = "5 days" +add-bounds = "major" # require cargo-style bounded ranges (>=1.2.3, <2.0.0) +exclude-newer = "5 days" # mirrors npm release age package = false -# Managed by `mise run sync:python`: every pyproject.toml in the repository -# must be listed here explicitly. CI fails if one is missing. [tool.uv.workspace] +# Managed by `mise run sync:python` members = [ "libs/@local/repo-chores/python", ] [dependency-groups] dev = [ - # Workspace tooling: `uv run repo-chores sync [--check]` and - # `uv run repo-chores prune `. - "hash-repo-chores", + "hash-repo-chores", # workspace tooling "pytest>=9.1.1,<10", "ruff>=0.15.21,<0.16", "tach>=0.35,<0.36", @@ -44,7 +36,7 @@ hash-repo-chores = { workspace = true } [tool.pytest.ini_options] addopts = "-q --import-mode=importlib" -# Managed by `mise run sync:python`: one entry per member tests directory. +# Managed by `mise run sync:python` testpaths = [ "libs/@local/repo-chores/python/tests", ] @@ -60,8 +52,7 @@ extend-exclude = [ line-length = 100 target-version = "py314" -# Managed by `mise run sync:python`: one entry per workspace member, so ruff -# classifies member-local imports as first-party. +# Managed by `mise run sync:python` src = [ "libs/@local/repo-chores/python", ] @@ -96,14 +87,13 @@ ignore = [ "EM101", "EM102", "TRY003", - # Keyword-only argument passing is the house style; the *total* - # argument-count limit fights it without adding safety. PLR0917 keeps - # policing the positional count via `max-positional-args` below. + # Keyword-only argument passing is generally preferred to positional arguments. + # Unlike Rust, keyword arguments can be seen as an impromptu configuration struct. + # PLR0917 is still active and limits the max positional arguments allowed. "PLR0913", - # Typing-only import blocks are a hazard for runtime-evaluated - # annotations: pydantic models and TypeAdapters build their schemas from - # annotations at runtime, so imports moved under TYPE_CHECKING break - # model building. + # Post 3.14 typing annotations are evaluated lazily, additionally modern tooling + # like Pydantic relies on the presence of types in value space, even if not used. + # Removing them creates excessive noqa noise, and creates runtime errors. "TC001", "TC002", "TC003", @@ -111,8 +101,6 @@ ignore = [ select = ["ALL"] [tool.ruff.lint.pylint] -# Positional arguments are capped tightly (PLR0917): beyond this, callers -# must pass keywords. max-positional-args = 3 [tool.ruff.lint.flake8-tidy-imports.banned-api] @@ -125,9 +113,8 @@ convention = "pep257" [tool.ruff.lint.per-file-ignores] # Tests assert by design, compare against literal expectations, reach into # private state to pin behavior, and may run subprocesses built from local -# argv. Test trees use importlib import mode instead of __init__.py files, -# and grouping tests in classes (PLR6301) is the house pytest idiom. -"**/tests/**" = ["S101", "PLR2004", "SLF001", "D100", "S603", "INP001", "PLR6301"] +# argv. Test trees use importlib import mode instead of __init__.py files. +"**/tests/**" = ["S101", "PLR2004", "SLF001", "D100", "S603", "INP001"] # Fixture generators are standalone scripts: they print, they live outside # the package tree, and they assert their own arithmetic. "**/fixtures/**" = ["T201", "INP001", "S101", "PLR2004", "D100"] @@ -151,19 +138,14 @@ venvPath = "." python = "./.venv" [tool.ty.terminal] -# Warn-level diagnostics fail CI. -error-on-warning = true +error-on-warning = true # fail in CI on warnings (Rust equivalent to -D warnings) [tool.ty.rules] -# Suppressions must pull their weight, mirroring tach's -# `unused_ignore_directives = "error"` and ruff's RUF100. -unused-ignore-comment = "error" -# Rule codes required, mirroring the bare-noqa ban (PGH004). -blanket-ignore-comment = "error" -# Bare generics parameterize as Unknown, the same loophole the Any ban closes. -missing-type-argument = "error" -# Every override is marked; pairs with invalid-explicit-override. -missing-override-decorator = "error" +unused-ignore-comment = "error" # see: RUF100 + tach `unused_ignore_directives` +blanket-ignore-comment = "error" # see: PGH004 +missing-type-argument = "error" # bare generics parametrize as Unknown, evading the banned `Any` +missing-override-decorator = "error" # overrides must be made explicit, to show the contract + # Off by default upstream (false-positive prone); relax per rule when noise appears. division-by-zero = "error" possibly-missing-attribute = "error" @@ -178,8 +160,8 @@ exclude = [ "libs/\\@hashintel/petrinaut-cli/examples/python_stdio.py", ] -# Global tach settings. Modules and interfaces live next to the code they -# describe, in each package's tach.domain.toml. +# Global tach settings. Tach if desired (recommended), is configured per module using `tach.domain.toml` +# see: https://docs.gauge.sh/usage/configuration/#tachdomaintoml [tool.tach] exact = true exclude = [ @@ -198,7 +180,7 @@ layers_explicit_depends_on = false respect_gitignore = true root_module = "ignore" -# Managed by `mise run sync:python`: one entry per workspace member. +# Managed by `mise run sync:python` source_roots = [ "libs/@local/repo-chores/python", ] @@ -216,8 +198,5 @@ layers = [ [tool.tach.rules] require_ignore_directive_reasons = "error" -# Accounting is scoped to each package's [project.dependencies]; a dependency -# that stops being imported fails `tach check-external`. Dependencies that are -# legitimately unimported belong in a `[tool.tach.external]` exclude list. -unused_external_dependencies = "error" -unused_ignore_directives = "error" +unused_external_dependencies = "error" # on false positives, use `tool.tach.external` +unused_ignore_directives = "error" From 0bba6e63625ce24b2659e99776b74b05ad85f53b Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 03:13:47 +0200 Subject: [PATCH 07/10] fix: added `.venv` to license ignore --- .../scripts/check-license-in-workspaces.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts b/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts index 398401c49e5..43326743814 100644 --- a/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts +++ b/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts @@ -13,7 +13,7 @@ const script = async () => { const yarnWorkspaceDirPaths = [ monorepoRootDirPath, ...Object.entries(yarnWorkspaceInfoLookup).map(([, yarnWorkspaceInfo]) => - path.resolve(monorepoRootDirPath, yarnWorkspaceInfo.location), + path.resolve(monorepoRootDirPath, yarnWorkspaceInfo.location) ), ]; @@ -48,7 +48,7 @@ const script = async () => { for (const yarnWorkspaceDirPath of yarnWorkspaceDirPaths) { const canonicalLicenseFilePath = path.resolve( yarnWorkspaceDirPath, - "LICENSE.md", + "LICENSE.md" ); const currentLicenseFilePaths = licenseFilePaths.filter( @@ -56,7 +56,7 @@ const script = async () => { licenseFilePath.startsWith(yarnWorkspaceDirPath) && !licenseFilePath .slice(yarnWorkspaceDirPath.length + 1) - .includes(path.sep), + .includes(path.sep) ); let canonicalLicenseFilePathIsPresent = false; @@ -71,12 +71,12 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[MISSING]"), - path.relative(monorepoRootDirPath, canonicalLicenseFilePath), + path.relative(monorepoRootDirPath, canonicalLicenseFilePath) ); } else { console.log( chalk.green("[FOUND] "), - path.relative(monorepoRootDirPath, canonicalLicenseFilePath), + path.relative(monorepoRootDirPath, canonicalLicenseFilePath) ); } @@ -89,19 +89,19 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[NAMING] "), - path.relative(monorepoRootDirPath, licenseFilePath), + path.relative(monorepoRootDirPath, licenseFilePath) ); } else { console.log( chalk.yellow(" "), - path.relative(monorepoRootDirPath, licenseFilePath), + path.relative(monorepoRootDirPath, licenseFilePath) ); } } } const unusedLicenseFilePaths = licenseFilePaths.filter( - (licenseFilePath) => !usedLicenseFileSet.has(licenseFilePath), + (licenseFilePath) => !usedLicenseFileSet.has(licenseFilePath) ); let extraLicenseFilesArePresent = false; @@ -111,13 +111,13 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[NAMING] "), - path.relative(monorepoRootDirPath, licenseFilePath), + path.relative(monorepoRootDirPath, licenseFilePath) ); } else { extraLicenseFilesArePresent = true; console.log( chalk.yellow("[EXTRA] "), - path.relative(monorepoRootDirPath, licenseFilePath), + path.relative(monorepoRootDirPath, licenseFilePath) ); } } @@ -130,16 +130,16 @@ const script = async () => { if (checkFailed) { console.log( chalk.red( - "Please make sure that each Yarn workspace has a LICENSE.md file. Additional license files need to be named as LICENSE-*.md (all caps)", - ), + "Please make sure that each Yarn workspace has a LICENSE.md file. Additional license files need to be named as LICENSE-*.md (all caps)" + ) ); } if (extraLicenseFilesArePresent) { console.log( chalk.yellow( - "You may want to delete or relocate extra license files which are not located in Yarn workspaces", - ), + "You may want to delete or relocate extra license files which are not located in Yarn workspaces" + ) ); } From 259fef9023a265eb5c551e1a37d5f788fe557ee3 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Thu, 16 Jul 2026 10:12:25 +0200 Subject: [PATCH 08/10] fix: formaet --- .../scripts/check-license-in-workspaces.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts b/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts index 43326743814..398401c49e5 100644 --- a/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts +++ b/libs/@local/repo-chores/node/scripts/check-license-in-workspaces.ts @@ -13,7 +13,7 @@ const script = async () => { const yarnWorkspaceDirPaths = [ monorepoRootDirPath, ...Object.entries(yarnWorkspaceInfoLookup).map(([, yarnWorkspaceInfo]) => - path.resolve(monorepoRootDirPath, yarnWorkspaceInfo.location) + path.resolve(monorepoRootDirPath, yarnWorkspaceInfo.location), ), ]; @@ -48,7 +48,7 @@ const script = async () => { for (const yarnWorkspaceDirPath of yarnWorkspaceDirPaths) { const canonicalLicenseFilePath = path.resolve( yarnWorkspaceDirPath, - "LICENSE.md" + "LICENSE.md", ); const currentLicenseFilePaths = licenseFilePaths.filter( @@ -56,7 +56,7 @@ const script = async () => { licenseFilePath.startsWith(yarnWorkspaceDirPath) && !licenseFilePath .slice(yarnWorkspaceDirPath.length + 1) - .includes(path.sep) + .includes(path.sep), ); let canonicalLicenseFilePathIsPresent = false; @@ -71,12 +71,12 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[MISSING]"), - path.relative(monorepoRootDirPath, canonicalLicenseFilePath) + path.relative(monorepoRootDirPath, canonicalLicenseFilePath), ); } else { console.log( chalk.green("[FOUND] "), - path.relative(monorepoRootDirPath, canonicalLicenseFilePath) + path.relative(monorepoRootDirPath, canonicalLicenseFilePath), ); } @@ -89,19 +89,19 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[NAMING] "), - path.relative(monorepoRootDirPath, licenseFilePath) + path.relative(monorepoRootDirPath, licenseFilePath), ); } else { console.log( chalk.yellow(" "), - path.relative(monorepoRootDirPath, licenseFilePath) + path.relative(monorepoRootDirPath, licenseFilePath), ); } } } const unusedLicenseFilePaths = licenseFilePaths.filter( - (licenseFilePath) => !usedLicenseFileSet.has(licenseFilePath) + (licenseFilePath) => !usedLicenseFileSet.has(licenseFilePath), ); let extraLicenseFilesArePresent = false; @@ -111,13 +111,13 @@ const script = async () => { checkFailed = true; console.log( chalk.red("[NAMING] "), - path.relative(monorepoRootDirPath, licenseFilePath) + path.relative(monorepoRootDirPath, licenseFilePath), ); } else { extraLicenseFilesArePresent = true; console.log( chalk.yellow("[EXTRA] "), - path.relative(monorepoRootDirPath, licenseFilePath) + path.relative(monorepoRootDirPath, licenseFilePath), ); } } @@ -130,16 +130,16 @@ const script = async () => { if (checkFailed) { console.log( chalk.red( - "Please make sure that each Yarn workspace has a LICENSE.md file. Additional license files need to be named as LICENSE-*.md (all caps)" - ) + "Please make sure that each Yarn workspace has a LICENSE.md file. Additional license files need to be named as LICENSE-*.md (all caps)", + ), ); } if (extraLicenseFilesArePresent) { console.log( chalk.yellow( - "You may want to delete or relocate extra license files which are not located in Yarn workspaces" - ) + "You may want to delete or relocate extra license files which are not located in Yarn workspaces", + ), ); } From ebb40a5cd14ee9d455826f69d323d35413d06f03 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Mon, 27 Jul 2026 10:51:43 +0200 Subject: [PATCH 09/10] fix: ruff complaints --- apps/petrinaut-opt/openapi/openapi.json | 9 +- apps/petrinaut-opt/package.json | 6 +- apps/petrinaut-opt/pyproject.toml | 8 +- .../petrinaut-opt/scripts/generate_openapi.py | 3 - apps/petrinaut-opt/src/optimization_api.py | 182 +- apps/petrinaut-opt/src/petrinaut_client.py | 349 ++-- apps/petrinaut-opt/src/petrinaut_optimizer.py | 732 ++++--- apps/petrinaut-opt/src/telemetry.py | 153 +- apps/petrinaut-opt/src/utils.py | 29 +- apps/petrinaut-opt/tests/conftest.py | 10 +- .../tests/test_optimization_api.py | 254 ++- .../tests/test_petrinaut_client.py | 177 +- .../tests/test_petrinaut_optimizer.py | 225 +- apps/petrinaut-opt/tests/test_status.py | 94 +- apps/petrinaut-opt/tests/test_telemetry.py | 51 +- apps/petrinaut-opt/uv.lock | 1818 ----------------- .../petrinaut-optimizer-client/package.json | 2 +- .../src/openapi.gen.ts | 5 +- pyproject.toml | 4 + uv.lock | 887 ++++++++ yarn.lock | 14 +- 21 files changed, 2069 insertions(+), 2943 deletions(-) delete mode 100644 apps/petrinaut-opt/uv.lock diff --git a/apps/petrinaut-opt/openapi/openapi.json b/apps/petrinaut-opt/openapi/openapi.json index 1c6baa01e1f..eeac25cb4eb 100644 --- a/apps/petrinaut-opt/openapi/openapi.json +++ b/apps/petrinaut-opt/openapi/openapi.json @@ -14,6 +14,7 @@ "title": "HTTPValidationError", "type": "object" }, + "JsonValue": {}, "Phase": { "enum": [ "idle", @@ -143,7 +144,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": true, + "additionalProperties": { + "$ref": "#/components/schemas/JsonValue" + }, "title": "Optimization Manifest", "type": "object" } @@ -201,7 +204,9 @@ "content": { "application/json": { "schema": { - "additionalProperties": true, + "additionalProperties": { + "$ref": "#/components/schemas/JsonValue" + }, "title": "Optimization Manifest", "type": "object" } diff --git a/apps/petrinaut-opt/package.json b/apps/petrinaut-opt/package.json index 40010ca846a..cc0c43dd9e9 100644 --- a/apps/petrinaut-opt/package.json +++ b/apps/petrinaut-opt/package.json @@ -1,14 +1,16 @@ { - "name": "@apps/petrinaut-opt", + "name": "@python/petrinaut-optimization", "version": "0.0.0-private", "private": true, "description": "Scenario-parameter optimization for Petrinaut using Optuna", "license": "(MIT OR Apache-2.0)", "scripts": { "codegen": "uv run python -m scripts.generate_openapi", + "fix:ruff": "uv run --frozen ruff check --fix . && uv run --frozen ruff format .", "install:deps": "uv sync", + "lint:ruff": "uv run --frozen ruff check . && uv run --frozen ruff format --check .", "start": "uv run uvicorn src.optimization_api:app", "start:dev": "uv run uvicorn src.optimization_api:app --reload", - "test:unit": "uv run pytest && yarn codegen && git diff --exit-code -- openapi/openapi.json" + "test:unit": "uv run --frozen pytest tests" } } diff --git a/apps/petrinaut-opt/pyproject.toml b/apps/petrinaut-opt/pyproject.toml index 8c53cb83ab2..0eea9c6d64d 100644 --- a/apps/petrinaut-opt/pyproject.toml +++ b/apps/petrinaut-opt/pyproject.toml @@ -3,7 +3,7 @@ name = "petrinaut-optimization" version = "0.1.0" description = "Scenario-parameter optimization for Petrinaut using Optuna" readme = "README.md" -requires-python = ">=3.10.20" +requires-python = ">=3.14,<3.15" dependencies = [ "fastapi>=0.128.8", "opentelemetry-exporter-otlp-proto-grpc>=1.44.0", @@ -11,14 +11,16 @@ dependencies = [ "opentelemetry-instrumentation-fastapi>=0.65b0", "opentelemetry-sdk>=1.44.0", "optuna>=3.6", + "pydantic>=2.13.4,<3.0.0", "python-dotenv>=1.0.0", "uvicorn[standard]>=0.39.0", ] [dependency-groups] dev = [ - "httpx>=0.28", - "pytest>=8.3", + "httpx2>=2.7.0,<3", + "pytest>=9.1.1,<10", + "ruff>=0.15.21,<0.16", ] [tool.pytest.ini_options] diff --git a/apps/petrinaut-opt/scripts/generate_openapi.py b/apps/petrinaut-opt/scripts/generate_openapi.py index ebe6a4fa49f..0bec1836e9a 100644 --- a/apps/petrinaut-opt/scripts/generate_openapi.py +++ b/apps/petrinaut-opt/scripts/generate_openapi.py @@ -1,13 +1,10 @@ """Write the FastAPI OpenAPI schema used by TypeScript code generation.""" -from __future__ import annotations - import json from pathlib import Path from src.optimization_api import app - output_path = Path(__file__).resolve().parents[1] / "openapi" / "openapi.json" output_path.parent.mkdir(parents=True, exist_ok=True) output_path.write_text( diff --git a/apps/petrinaut-opt/src/optimization_api.py b/apps/petrinaut-opt/src/optimization_api.py index 4b808ae4571..28d1cea8a55 100644 --- a/apps/petrinaut-opt/src/optimization_api.py +++ b/apps/petrinaut-opt/src/optimization_api.py @@ -1,20 +1,18 @@ -#!/usr/bin/env python3 """HTTP API for streaming Petrinaut optimization studies.""" -from __future__ import annotations - import asyncio import logging import os import threading -from collections.abc import AsyncIterator, Awaitable, Callable +from collections.abc import AsyncGenerator, AsyncIterator, Awaitable, Callable from contextlib import asynccontextmanager, suppress from pathlib import Path -from typing import Any +from typing import Protocol from dotenv import load_dotenv from fastapi import FastAPI, HTTPException, Request from fastapi.responses import JSONResponse, StreamingResponse +from pydantic import JsonValue from starlette.background import BackgroundTask from starlette.types import ASGIApp, Message, Receive, Scope, Send @@ -23,7 +21,6 @@ from src.telemetry import flush_telemetry, setup_telemetry from src.utils import Phase, RunStatus, StatusStore, set_status - REPO_ROOT = Path(__file__).resolve().parent.parent.parent.parent load_dotenv(REPO_ROOT / ".env") log = logging.getLogger("pn_api") @@ -31,7 +28,11 @@ MAX_ACTIVE_OPTIMIZATIONS = 4 RETRY_AFTER_SECONDS = 30 _OPTIMIZATION_PATHS = {"/optimize/all", "/optimize/best"} -_SSE_RESPONSES = { + +type OptimizationManifest = dict[str, JsonValue] +"""The opaque JSON manifest forwarded verbatim to the Petrinaut CLI.""" + +_SSE_RESPONSES: dict[int | str, dict[str, JsonValue]] = { 200: { "description": "Server-Sent Events optimization stream", "content": {"text/event-stream": {"schema": {"type": "string"}}}, @@ -50,7 +51,27 @@ } -class _RequestBodyTooLarge(Exception): +class ClosableModel(Protocol): + """The CLI adapter shutdown surface the API drives during cleanup.""" + + def close(self, *, graceful: bool = ...) -> None: ... + + +class OptimizationStreamer(Protocol): + """The optimizer surface the SSE routes consume; a seam for test fakes.""" + + @property + def n_trials(self) -> int: ... + + @property + def pn_model(self) -> ClosableModel: ... + + def stream_all(self, request: Request, run_id: str, n_trials: int) -> AsyncIterator[str]: ... + + def stream_best(self, request: Request, run_id: str, n_trials: int) -> AsyncIterator[str]: ... + + +class _RequestBodyTooLargeError(RuntimeError): pass @@ -87,12 +108,12 @@ async def limited_receive() -> Message: if message["type"] == "http.request": received_bytes += len(message.get("body", b"")) if received_bytes > MAX_REQUEST_BODY_BYTES: - raise _RequestBodyTooLarge + raise _RequestBodyTooLargeError return message try: await self.app(scope, limited_receive, send) - except _RequestBodyTooLarge: + except _RequestBodyTooLargeError: await self._reject(scope, receive, send) @staticmethod @@ -105,11 +126,12 @@ async def _reject(scope: Scope, receive: Receive, send: Send) -> None: @asynccontextmanager -async def lifespan(app: FastAPI) -> AsyncIterator[None]: +async def lifespan(app: FastAPI) -> AsyncGenerator[None]: """Initialize the run-scoped status registry.""" app.state.statuses = StatusStore() app.state.optimization_admission_lock = asyncio.Lock() app.state.active_optimizations = 0 + try: yield finally: @@ -124,14 +146,14 @@ async def lifespan(app: FastAPI) -> AsyncIterator[None]: setup_telemetry(app) -def create_model(optimization_manifest: dict[str, Any]) -> PetrinautModel: +def create_model(optimization_manifest: OptimizationManifest) -> PetrinautModel: """Create the CLI adapter; retained as a narrow seam for API tests.""" return PetrinautModel(optimization_manifest) def initialize_optimizer( - optimization_manifest: dict[str, Any], -) -> PetrinautOptimizer: + optimization_manifest: OptimizationManifest, +) -> OptimizationStreamer: """Start Petrinaut and build an Optuna study from its description.""" model = create_model(optimization_manifest) try: @@ -158,13 +180,13 @@ async def _acquire_optimization_slot( "request_id": request_id, }, ) + raise HTTPException( status_code=429, - detail=( - "The optimizer is already running its maximum number of studies" - ), + detail=("The optimizer is already running its maximum number of studies"), headers={"Retry-After": str(RETRY_AFTER_SECONDS)}, ) + app.state.active_optimizations += 1 @@ -174,8 +196,8 @@ async def _release_optimization_slot(app: FastAPI) -> None: async def _initialize_admitted_optimizer( - app: FastAPI, optimization_manifest: dict[str, Any] -) -> PetrinautOptimizer: + app: FastAPI, optimization_manifest: OptimizationManifest +) -> OptimizationStreamer: """Initialize off-loop and clean up if the request task is cancelled.""" initializer = asyncio.create_task( asyncio.to_thread(initialize_optimizer, optimization_manifest) @@ -187,33 +209,30 @@ async def _initialize_admitted_optimizer( # the initializer finishes, close whatever CLI it started even if no # coroutine is left awaiting it. close() is idempotent, so the # awaited recovery close and this callback can coexist. - def _close_abandoned_optimizer(task: asyncio.Task[PetrinautOptimizer]) -> None: + def _close_abandoned_optimizer(task: asyncio.Task[OptimizationStreamer]) -> None: if task.cancelled() or task.exception() is not None: return threading.Thread( - target=task.result().pn_model.close, - kwargs={"graceful": False}, + target=lambda: task.result().pn_model.close(graceful=False), daemon=True, name="petrinaut-abandoned-cli-close", ).start() initializer.add_done_callback(_close_abandoned_optimizer) - optimizer: PetrinautOptimizer | None = None + optimizer: OptimizationStreamer | None = None try: with suppress(Exception, asyncio.CancelledError): optimizer = await asyncio.shield(initializer) if optimizer is not None: with suppress(Exception): - await asyncio.to_thread( - optimizer.pn_model.close, graceful=False - ) + await asyncio.to_thread(optimizer.pn_model.close, graceful=False) finally: await asyncio.shield(_release_optimization_slot(app)) raise def _create_admitted_run_cleanup( - app: FastAPI, optimizer: PetrinautOptimizer + app: FastAPI, optimizer: OptimizationStreamer ) -> Callable[[], Awaitable[None]]: """Build the idempotent teardown for one admitted optimization run. @@ -283,28 +302,22 @@ def _initialization_error( ) -@app.post( - "/optimize/all", - response_class=StreamingResponse, - responses=_SSE_RESPONSES, -) -async def post_optimize_all( - request: Request, - optimization_manifest: dict[str, Any], -) -> StreamingResponse: - """Stream one SSE data frame for every completed Optuna trial.""" +async def _admit_optimization_run( + request: Request, optimization_manifest: OptimizationManifest +) -> tuple[OptimizationStreamer, str]: + """Admit, register, and initialize one optimization run for an SSE route.""" request_id = request.headers.get("x-hash-request-id") await _acquire_optimization_slot(request.app, request_id=request_id) + try: run_id = request.app.state.statuses.create().run_id except BaseException: await asyncio.shield(_release_optimization_slot(request.app)) raise - optimizer: PetrinautOptimizer | None = None + + optimizer: OptimizationStreamer | None = None try: - optimizer = await _initialize_admitted_optimizer( - request.app, optimization_manifest - ) + optimizer = await _initialize_admitted_optimizer(request.app, optimization_manifest) set_status( request.app, run_id, @@ -315,17 +328,23 @@ async def post_optimize_all( if optimizer is not None: with suppress(Exception): await asyncio.to_thread(optimizer.pn_model.close, graceful=False) + await asyncio.shield(_release_optimization_slot(request.app)) - raise _initialization_error( - request.app, run_id, error, request_id=request_id - ) from error + raise _initialization_error(request.app, run_id, error, request_id=request_id) from error + + return optimizer, run_id + +def _streaming_run_response( + request: Request, + optimizer: OptimizationStreamer, + *, + run_id: str, + stream: AsyncIterator[str], +) -> StreamingResponse: cleanup = _create_admitted_run_cleanup(request.app, optimizer) return StreamingResponse( - _stream_with_cleanup( - optimizer.stream_all(request, run_id=run_id, n_trials=optimizer.n_trials), - cleanup, - ), + _stream_with_cleanup(stream, cleanup), media_type="text/event-stream", headers={ "Cache-Control": "no-cache", @@ -336,6 +355,25 @@ async def post_optimize_all( ) +@app.post( + "/optimize/all", + response_class=StreamingResponse, + responses=_SSE_RESPONSES, +) +async def post_optimize_all( + request: Request, + optimization_manifest: OptimizationManifest, +) -> StreamingResponse: + """Stream one SSE data frame for every completed Optuna trial.""" + optimizer, run_id = await _admit_optimization_run(request, optimization_manifest) + return _streaming_run_response( + request, + optimizer, + run_id=run_id, + stream=optimizer.stream_all(request, run_id=run_id, n_trials=optimizer.n_trials), + ) + + @app.post( "/optimize/best", response_class=StreamingResponse, @@ -343,49 +381,15 @@ async def post_optimize_all( ) async def post_optimize_best( request: Request, - optimization_manifest: dict[str, Any], + optimization_manifest: OptimizationManifest, ) -> StreamingResponse: """Stream the best-so-far SSE data frame after every completed trial.""" - request_id = request.headers.get("x-hash-request-id") - await _acquire_optimization_slot(request.app, request_id=request_id) - try: - run_id = request.app.state.statuses.create().run_id - except BaseException: - await asyncio.shield(_release_optimization_slot(request.app)) - raise - optimizer: PetrinautOptimizer | None = None - try: - optimizer = await _initialize_admitted_optimizer( - request.app, optimization_manifest - ) - set_status( - request.app, - run_id, - phase=Phase.running, - detail="Petrinaut CLI and Optimization Model initialized", - ) - except Exception as error: - if optimizer is not None: - with suppress(Exception): - await asyncio.to_thread(optimizer.pn_model.close, graceful=False) - await asyncio.shield(_release_optimization_slot(request.app)) - raise _initialization_error( - request.app, run_id, error, request_id=request_id - ) from error - - cleanup = _create_admitted_run_cleanup(request.app, optimizer) - return StreamingResponse( - _stream_with_cleanup( - optimizer.stream_best(request, run_id=run_id, n_trials=optimizer.n_trials), - cleanup, - ), - media_type="text/event-stream", - headers={ - "Cache-Control": "no-cache", - "X-Accel-Buffering": "no", - "X-Optimization-Run-ID": run_id, - }, - background=BackgroundTask(cleanup), + optimizer, run_id = await _admit_optimization_run(request, optimization_manifest) + return _streaming_run_response( + request, + optimizer, + run_id=run_id, + stream=optimizer.stream_best(request, run_id=run_id, n_trials=optimizer.n_trials), ) diff --git a/apps/petrinaut-opt/src/petrinaut_client.py b/apps/petrinaut-opt/src/petrinaut_client.py index 272378d7dec..e1d6121f7fe 100644 --- a/apps/petrinaut-opt/src/petrinaut_client.py +++ b/apps/petrinaut-opt/src/petrinaut_client.py @@ -1,19 +1,18 @@ -#!/usr/bin/env python3 """Small stdio client for the Petrinaut optimization CLI protocol.""" -from __future__ import annotations - import json import math import os -import select +import selectors import signal -import subprocess +import subprocess # noqa: S404 — this module exists to own the Petrinaut CLI subprocess. import threading import time -from collections.abc import Callable, Mapping, Sequence -from typing import Any +from collections.abc import Mapping, Sequence +from contextlib import suppress +from typing import IO, Protocol, Self +from pydantic import JsonValue MAX_MANIFEST_BYTES = 8 * 1024 * 1024 MAX_PROTOCOL_LINE_BYTES = 8 * 1024 * 1024 @@ -22,6 +21,84 @@ PROCESS_SHUTDOWN_TIMEOUT_SECONDS = 5 _STDERR_DRAIN_CHUNK_BYTES = 64 * 1024 +type Scalar = bool | int | float +"""One flat JSON scalar exchanged as an optimization parameter value.""" + + +class PetrinautProcess(Protocol): + """The slice of ``subprocess.Popen`` behaviour this client depends on.""" + + @property + def stdin(self) -> IO[bytes] | None: ... + + @property + def stdout(self) -> IO[bytes] | None: ... + + @property + def stderr(self) -> IO[bytes] | None: ... + + @property + def pid(self) -> int | None: + """Process id used to signal the process group; ``None`` for fakes.""" + ... + + @property + def returncode(self) -> int | None: ... + + def poll(self) -> int | None: ... + + def wait(self, timeout: float | None = None, /) -> int: ... + + def terminate(self) -> None: ... + + def kill(self) -> None: ... + + +class PetrinautProcessFactory(Protocol): + """Spawn one Petrinaut CLI process; a seam for tests to inject fakes.""" + + def __call__( + self, + command: Sequence[str], + /, + *, + stdin: int, + stdout: int, + stderr: int, + bufsize: int, + close_fds: bool, + env: Mapping[str, str], + start_new_session: bool, + umask: int, + ) -> PetrinautProcess: ... + + +def _spawn_cli_process( + command: Sequence[str], + /, + *, + stdin: int, + stdout: int, + stderr: int, + bufsize: int, + close_fds: bool, + env: Mapping[str, str], + start_new_session: bool, + umask: int, +) -> subprocess.Popen[bytes]: + """Spawn the CLI process; the argv is owned configuration, never user input.""" + return subprocess.Popen( # noqa: S603 — argv is built from owned configuration, never request data. + command, + stdin=stdin, + stdout=stdout, + stderr=stderr, + bufsize=bufsize, + close_fds=close_fds, + env=env, + start_new_session=start_new_session, + umask=umask, + ) + def _child_environment() -> dict[str, str]: """Avoid exposing the API process's credentials to model expressions.""" @@ -55,10 +132,10 @@ class PetrinautModel: def __init__( self, - optimization_manifest: Mapping[str, Any], + optimization_manifest: Mapping[str, JsonValue], *, command: Sequence[str] = ("petrinaut",), - popen_factory: Callable[..., Any] = subprocess.Popen, + popen_factory: PetrinautProcessFactory = _spawn_cli_process, bootstrap_timeout_seconds: float = BOOTSTRAP_TIMEOUT_SECONDS, request_timeout_seconds: float = PROTOCOL_READ_TIMEOUT_SECONDS, ) -> None: @@ -72,14 +149,14 @@ def __init__( self._popen_factory = popen_factory self._bootstrap_timeout_seconds = bootstrap_timeout_seconds self._request_timeout_seconds = request_timeout_seconds - self._process: subprocess.Popen[bytes] | None = None + self._process: PetrinautProcess | None = None self._next_id = 1 self._state_lock = threading.Lock() self._stdout_buffer = bytearray() self._stderr_buffer = bytearray() self._stderr_thread: threading.Thread | None = None - def __enter__(self) -> PetrinautModel: + def __enter__(self) -> Self: self.start() return self @@ -98,14 +175,14 @@ def start(self) -> None: raise PetrinautClientError( f"the optimization manifest is not valid JSON: {error}" ) from error + if len(manifest.encode("utf-8")) > MAX_MANIFEST_BYTES: - raise PetrinautClientError( - "the optimization manifest exceeds the 8 MiB limit" - ) + raise PetrinautClientError("the optimization manifest exceeds the 8 MiB limit") with self._state_lock: if self._process is not None: return + try: process = self._popen_factory( [ @@ -124,9 +201,8 @@ def start(self) -> None: umask=0o077, ) except (OSError, ValueError) as error: - raise PetrinautClientError( - f"failed to start the Petrinaut CLI: {error}" - ) from error + raise PetrinautClientError(f"failed to start the Petrinaut CLI: {error}") from error + self._process = process if process.stdin is None or process.stdout is None or process.stderr is None: @@ -144,9 +220,7 @@ def start(self) -> None: ).strip() except (BrokenPipeError, OSError, ValueError, PetrinautClientError) as error: self.close(graceful=False) - raise PetrinautClientError( - "failed to bootstrap the Petrinaut CLI" - ) from error + raise PetrinautClientError("failed to bootstrap the Petrinaut CLI") from error if not status.startswith("Petrinaut stdio ready"): details = status.strip() or f"process exited with code {process.poll()}" @@ -165,101 +239,114 @@ def start(self) -> None: self._stderr_thread.start() @staticmethod - def _fallback_readline(stream: Any, maximum_bytes: int) -> bytes: + def _fallback_readline(stream: IO[bytes], maximum_bytes: int) -> bytes: """Read test doubles which do not expose a file descriptor.""" - line = stream.readline(maximum_bytes + 2) - if isinstance(line, str): - return line.encode() - return line + return stream.readline(maximum_bytes + 2) + + @staticmethod + def _decode_protocol_line(line: bytes, description: str) -> str: + if len(line) > MAX_PROTOCOL_LINE_BYTES: + raise PetrinautProtocolError(f"{description} exceeded the 8 MiB line limit") + try: + return line.decode("utf-8") + except UnicodeDecodeError as error: + raise PetrinautProtocolError(f"{description} was not valid UTF-8") from error def _readline( self, - stream: Any, + stream: IO[bytes], buffer: bytearray, *, timeout_seconds: float, description: str, ) -> str: """Read one size- and time-bounded UTF-8 protocol line.""" - try: - descriptor = stream.fileno() - except (AttributeError, OSError, ValueError): - line = self._fallback_readline(stream, MAX_PROTOCOL_LINE_BYTES) - if len(line) > MAX_PROTOCOL_LINE_BYTES: - raise PetrinautProtocolError( - f"{description} exceeded the 8 MiB line limit" - ) + with selectors.DefaultSelector() as selector: try: - return line.decode("utf-8") - except UnicodeDecodeError as error: - raise PetrinautProtocolError( - f"{description} was not valid UTF-8" - ) from error + key = selector.register(stream, selectors.EVENT_READ) + except OSError, ValueError: + # Test doubles (io.BytesIO and friends) expose no descriptor + # to poll, so read them directly and rely on the size bound. + line = self._fallback_readline(stream, MAX_PROTOCOL_LINE_BYTES) + else: + line = self._read_polled_line( + selector, + key.fd, + buffer, + timeout_seconds=timeout_seconds, + description=description, + ) + return self._decode_protocol_line(line, description) + + @staticmethod + def _read_polled_line( + selector: selectors.BaseSelector, + descriptor: int, + buffer: bytearray, + *, + timeout_seconds: float, + description: str, + ) -> bytes: + """Accumulate one newline-terminated line from the registered pipe.""" deadline = time.monotonic() + timeout_seconds + while True: newline = buffer.find(b"\n") if newline >= 0: line = bytes(buffer[: newline + 1]) + del buffer[: newline + 1] - break + return line + if len(buffer) > MAX_PROTOCOL_LINE_BYTES: - raise PetrinautProtocolError( - f"{description} exceeded the 8 MiB line limit" - ) + raise PetrinautProtocolError(f"{description} exceeded the 8 MiB line limit") remaining = deadline - time.monotonic() - if remaining <= 0: - raise PetrinautClientError(f"{description} timed out") - ready, _, _ = select.select([descriptor], [], [], remaining) - if not ready: + if remaining <= 0 or not selector.select(remaining): raise PetrinautClientError(f"{description} timed out") + + # One raw read of whatever is available: readiness only promises + # *some* bytes, and a buffered stream.read would block for a full + # chunk. The CLI pipes are opened unbuffered (bufsize=0), so no + # data can be stranded in a Python-level buffer above this read. chunk = os.read(descriptor, _STDERR_DRAIN_CHUNK_BYTES) if not chunk: line = bytes(buffer) + buffer.clear() - break - buffer.extend(chunk) + return line - if len(line) > MAX_PROTOCOL_LINE_BYTES: - raise PetrinautProtocolError(f"{description} exceeded the 8 MiB line limit") - try: - return line.decode("utf-8") - except UnicodeDecodeError as error: - raise PetrinautProtocolError( - f"{description} was not valid UTF-8" - ) from error + buffer.extend(chunk) @staticmethod - def _drain_stderr(stream: Any) -> None: + def _drain_stderr(stream: IO[bytes]) -> None: """Prevent CLI diagnostics from filling and blocking its stderr pipe.""" while True: try: chunk = stream.read(_STDERR_DRAIN_CHUNK_BYTES) - except (OSError, ValueError): + except OSError, ValueError: return + if not chunk: return - def _exchange(self, method: str, params: Mapping[str, Any] | None = None) -> Any: + def _exchange(self, method: str, params: Mapping[str, JsonValue] | None = None) -> JsonValue: process = self._process if process is None or process.stdin is None or process.stdout is None: raise PetrinautClientError("the Petrinaut CLI is not running") + if process.poll() is not None: - raise PetrinautClientError( - f"the Petrinaut CLI exited with code {process.returncode}" - ) + raise PetrinautClientError(f"the Petrinaut CLI exited with code {process.returncode}") request_id = self._next_id self._next_id += 1 - request: dict[str, Any] = {"id": request_id, "method": method} + request: dict[str, JsonValue] = {"id": request_id, "method": method} if params is not None: request["params"] = dict(params) try: - process.stdin.write( - (json.dumps(request, separators=(",", ":")) + "\n").encode() - ) + process.stdin.write((json.dumps(request, separators=(",", ":")) + "\n").encode()) process.stdin.flush() line = self._readline( process.stdout, @@ -277,15 +364,14 @@ def _exchange(self, method: str, params: Mapping[str, Any] | None = None) -> Any PetrinautClientError, ) as error: self.close(graceful=False) - raise PetrinautClientError( - "failed to communicate with the Petrinaut CLI" - ) from error + raise PetrinautClientError("failed to communicate with the Petrinaut CLI") from error if not line: self.close(graceful=False) raise PetrinautClientError( f"the Petrinaut CLI exited without a response (code {process.poll()})" ) + try: return self._parse_response(line, request_id) except PetrinautProtocolError: @@ -293,81 +379,105 @@ def _exchange(self, method: str, params: Mapping[str, Any] | None = None) -> Any raise @staticmethod - def _parse_response(line: str, request_id: int) -> Any: + def _parse_response(line: str, request_id: int) -> JsonValue: """Validate one response without conflating handled run errors.""" try: - response = json.loads(line) + response: JsonValue = json.loads(line) except json.JSONDecodeError as error: - raise PetrinautProtocolError( - "the Petrinaut CLI returned invalid JSON" - ) from error + raise PetrinautProtocolError("the Petrinaut CLI returned invalid JSON") from error + if not isinstance(response, dict): - raise PetrinautProtocolError( - "the Petrinaut CLI returned a non-object response" - ) + raise PetrinautProtocolError("the Petrinaut CLI returned a non-object response") + if response.get("id") != request_id: - raise PetrinautProtocolError( - "the Petrinaut CLI returned a mismatched response id" - ) + raise PetrinautProtocolError("the Petrinaut CLI returned a mismatched response id") + if "error" in response: error = response["error"] message = error.get("message", error) if isinstance(error, dict) else error + raise PetrinautRunError(str(message)) + if "result" not in response: - raise PetrinautProtocolError( - "the Petrinaut CLI response omitted its result" - ) + raise PetrinautProtocolError("the Petrinaut CLI response omitted its result") + return response["result"] - def describe_optimization(self) -> dict[str, Any]: + def describe_optimization(self) -> dict[str, JsonValue]: """Return the CLI-owned Optuna study and parameter description.""" result = self._exchange("optimization.describe") if not isinstance(result, dict): self.close(graceful=False) - raise PetrinautProtocolError( - "optimization.describe returned a non-object result" - ) + raise PetrinautProtocolError("optimization.describe returned a non-object result") + return result - def objective(self, parameter_values: Mapping[str, Any]) -> float: + def objective(self, parameter_values: Mapping[str, Scalar]) -> float: """Evaluate one flat set of Optuna-proposed scenario parameter values.""" - result = self._exchange( - "optimization.evaluate", - {"parameterValues": dict(parameter_values)}, - ) + values: dict[str, JsonValue] = dict(parameter_values) + result = self._exchange("optimization.evaluate", {"parameterValues": values}) if not isinstance(result, dict): self.close(graceful=False) - raise PetrinautProtocolError( - "optimization.evaluate returned a non-object result" - ) + raise PetrinautProtocolError("optimization.evaluate returned a non-object result") + objective = result.get("objective") if ( isinstance(objective, bool) or not isinstance(objective, (int, float)) or not math.isfinite(objective) ): - raise PetrinautRunError( - "Petrinaut optimization objective is not a finite number" - ) + raise PetrinautRunError("Petrinaut optimization objective is not a finite number") + return float(objective) @staticmethod - def _signal_process(process: Any, signal_number: signal.Signals) -> None: + def _signal_process(process: PetrinautProcess, signal_number: signal.Signals) -> None: """Signal the isolated process group, falling back for test doubles.""" - process_id = getattr(process, "pid", None) - if isinstance(process_id, int): + process_id = process.pid + if process_id is not None: try: os.killpg(process_id, signal_number) - return except ProcessLookupError: return except OSError: pass + else: + return + if signal_number is signal.SIGTERM: process.terminate() else: process.kill() + @classmethod + def _terminate_process(cls, process: PetrinautProcess) -> None: + """Escalate from SIGTERM to SIGKILL until the process group exits.""" + cls._signal_process(process, signal.SIGTERM) + try: + process.wait(PROCESS_SHUTDOWN_TIMEOUT_SECONDS) + except subprocess.TimeoutExpired: + cls._signal_process(process, signal.SIGKILL) + with suppress(subprocess.TimeoutExpired): + process.wait(PROCESS_SHUTDOWN_TIMEOUT_SECONDS) + + @classmethod + def _shutdown_process(cls, process: PetrinautProcess, *, graceful: bool) -> None: + if process.stdin is not None and not process.stdin.closed: + with suppress(OSError, ValueError): + process.stdin.close() + + if process.poll() is None and graceful: + with suppress(subprocess.TimeoutExpired): + process.wait(PROCESS_SHUTDOWN_TIMEOUT_SECONDS) + + if process.poll() is None: + cls._terminate_process(process) + + for stream in (process.stdout, process.stderr): + if stream is not None and not stream.closed: + with suppress(OSError, ValueError): + stream.close() + def close(self, *, graceful: bool = True) -> None: """Terminate the owned CLI process; safe to call repeatedly. @@ -381,40 +491,13 @@ def close(self, *, graceful: bool = True) -> None: with self._state_lock: process = self._process self._process = None + if process is None: return - if process.stdin is not None and not process.stdin.closed: - try: - process.stdin.close() - except (BrokenPipeError, OSError, ValueError): - pass - if process.poll() is None and graceful: - try: - process.wait(timeout=PROCESS_SHUTDOWN_TIMEOUT_SECONDS) - except subprocess.TimeoutExpired: - pass - if process.poll() is None: - self._signal_process(process, signal.SIGTERM) - try: - process.wait(timeout=PROCESS_SHUTDOWN_TIMEOUT_SECONDS) - except subprocess.TimeoutExpired: - self._signal_process(process, signal.SIGKILL) - try: - process.wait(timeout=PROCESS_SHUTDOWN_TIMEOUT_SECONDS) - except subprocess.TimeoutExpired: - pass - for stream in (process.stdout, process.stderr): - if stream is not None and not stream.closed: - try: - stream.close() - except (OSError, ValueError): - pass + self._shutdown_process(process, graceful=graceful) stderr_thread = self._stderr_thread self._stderr_thread = None - if ( - stderr_thread is not None - and stderr_thread is not threading.current_thread() - ): + if stderr_thread is not None and stderr_thread is not threading.current_thread(): stderr_thread.join(timeout=1) diff --git a/apps/petrinaut-opt/src/petrinaut_optimizer.py b/apps/petrinaut-opt/src/petrinaut_optimizer.py index 162c9478acf..114b4b5f310 100644 --- a/apps/petrinaut-opt/src/petrinaut_optimizer.py +++ b/apps/petrinaut-opt/src/petrinaut_optimizer.py @@ -1,174 +1,241 @@ -#!/usr/bin/env python3 """Optuna study orchestration backed by the Petrinaut optimization protocol.""" -from __future__ import annotations - import asyncio -import json import logging -import math import queue import threading -from collections.abc import AsyncIterator, Callable, Mapping -from datetime import datetime -from typing import Any, Literal, TypeAlias, cast +from collections.abc import AsyncIterator, Callable, Iterator, Mapping +from dataclasses import dataclass, field +from datetime import UTC, datetime +from enum import Enum, auto +from typing import Annotated, Literal, Protocol, Self import optuna -from fastapi import Request -from opentelemetry import context as otel_context, trace +from fastapi import FastAPI +from opentelemetry import context as otel_context +from opentelemetry import trace from opentelemetry.trace import Span, Status, StatusCode +from pydantic import BaseModel, Discriminator, Field, JsonValue, Tag, model_validator -from src.petrinaut_client import PetrinautModel, PetrinautRunError +from src.petrinaut_client import PetrinautRunError, Scalar from src.utils import Phase, set_status - log = logging.getLogger("pn_optimize") tracer = trace.get_tracer("pn_optimize") optuna.logging.set_verbosity(optuna.logging.WARNING) -SAMPLERS = { - "tpe": optuna.samplers.TPESampler, - "random": optuna.samplers.RandomSampler, -} DEFAULT_STUDY_NAME = "opt_study" SSE_HEARTBEAT_SECONDS = 30 _DISCONNECT_POLL_SECONDS = 0.1 _WORKER_SHUTDOWN_TIMEOUT_SECONDS = 12 -_SENTINEL = object() - -Scalar: TypeAlias = int | float | bool -ParameterDescriptor: TypeAlias = Mapping[str, Any] - - -def _finite_number(value: Any, name: str) -> float: - if ( - isinstance(value, bool) - or not isinstance(value, (int, float)) - or not math.isfinite(value) - ): - raise ValueError(f"{name} must be a finite number") - return float(value) - - -def _parse_description( - description: Mapping[str, Any], -) -> tuple[ - Literal["maximize", "minimize"], - str, - int, - int, - tuple[ParameterDescriptor, ...], -]: - """Validate only the small, generic optimization protocol contract.""" - direction = description.get("direction") - if direction not in {"maximize", "minimize"}: - raise ValueError("optimization.describe direction must be maximize or minimize") - - study = description.get("study") - if not isinstance(study, dict): - raise ValueError("optimization.describe omitted its study settings") - sampler = study.get("sampler") - if sampler not in SAMPLERS: - raise ValueError(f"unsupported Optuna sampler: {sampler!r}") - n_trials = study.get("trials") - if isinstance(n_trials, bool) or not isinstance(n_trials, int) or n_trials < 1: - raise ValueError("optimization.describe study.trials must be positive") - seed = study.get("seed") - if isinstance(seed, bool) or not isinstance(seed, int) or seed < 0: - raise ValueError( - "optimization.describe study.seed must be a non-negative integer" - ) - raw_parameters = description.get("parameters") - if not isinstance(raw_parameters, list): - raise ValueError("optimization.describe parameters must be an array") - - parameters: list[ParameterDescriptor] = [] - identifiers: set[str] = set() - for index, parameter in enumerate(raw_parameters): - if not isinstance(parameter, dict): - raise ValueError(f"optimization parameter {index} must be an object") - identifier = parameter.get("identifier") - if not isinstance(identifier, str) or not identifier: - raise ValueError(f"optimization parameter {index} has no valid identifier") - if identifier in identifiers: - raise ValueError(f'duplicate optimization parameter "{identifier}"') - identifiers.add(identifier) - - parameter_type = parameter.get("type") - if parameter_type == "float": - minimum = _finite_number(parameter.get("minimum"), f"{identifier}.minimum") - maximum = _finite_number(parameter.get("maximum"), f"{identifier}.maximum") - scale = parameter.get("scale") - if minimum >= maximum: - raise ValueError(f"{identifier}.maximum must exceed minimum") - if scale not in {"linear", "log"}: - raise ValueError(f"{identifier}.scale must be linear or log") - if scale == "log" and minimum <= 0: - raise ValueError(f"{identifier}.minimum must be positive for log scale") - elif parameter_type == "int": - minimum = parameter.get("minimum") - maximum = parameter.get("maximum") - step = parameter.get("step") - scale = parameter.get("scale") - if ( - isinstance(minimum, bool) - or not isinstance(minimum, int) - or isinstance(maximum, bool) - or not isinstance(maximum, int) - ): - raise ValueError(f"{identifier} integer bounds must be integers") - if minimum >= maximum: - raise ValueError(f"{identifier}.maximum must exceed minimum") - if isinstance(step, bool) or not isinstance(step, int) or step < 1: - raise ValueError(f"{identifier}.step must be a positive integer") - if scale not in {"linear", "log"}: - raise ValueError(f"{identifier}.scale must be linear or log") - if scale == "log" and minimum <= 0: - raise ValueError(f"{identifier}.minimum must be positive for log scale") - if scale == "log" and step != 1: - raise ValueError(f"{identifier}.step must be 1 for log scale") - elif parameter_type != "boolean": - raise ValueError( - f"unsupported optimization parameter type: {parameter_type!r}" - ) - - parameters.append(parameter) - - return ( - cast(Literal["maximize", "minimize"], direction), - sampler, - n_trials, - seed, - tuple(parameters), +type SamplerName = Literal["tpe", "random"] + +SAMPLERS: Mapping[SamplerName, Callable[[int], optuna.samplers.BaseSampler]] = { + "tpe": lambda seed: optuna.samplers.TPESampler(seed=seed), + "random": lambda seed: optuna.samplers.RandomSampler(seed=seed), +} + +type _StrictFinite = Annotated[float, Field(strict=True, allow_inf_nan=False)] +type _StrictInt = Annotated[int, Field(strict=True)] + + +class FloatParameter(BaseModel): + """One continuous scenario parameter described by the CLI.""" + + identifier: str = Field(min_length=1) + type: Literal["float"] + minimum: _StrictFinite + maximum: _StrictFinite + scale: Literal["linear", "log"] + + @model_validator(mode="after") + def _check_bounds(self) -> Self: + if self.minimum >= self.maximum: + raise ValueError(f"{self.identifier}.maximum must exceed minimum") + if self.scale == "log" and self.minimum <= 0: + raise ValueError(f"{self.identifier}.minimum must be positive for log scale") + + return self + + +class IntParameter(BaseModel): + """One integer scenario parameter described by the CLI.""" + + identifier: str = Field(min_length=1) + type: Literal["int"] + minimum: _StrictInt + maximum: _StrictInt + step: Annotated[int, Field(strict=True, ge=1)] + scale: Literal["linear", "log"] + + @model_validator(mode="after") + def _check_bounds(self) -> Self: + if self.minimum >= self.maximum: + raise ValueError(f"{self.identifier}.maximum must exceed minimum") + if self.scale == "log" and self.minimum <= 0: + raise ValueError(f"{self.identifier}.minimum must be positive for log scale") + if self.scale == "log" and self.step != 1: + raise ValueError(f"{self.identifier}.step must be 1 for log scale") + + return self + + +class BooleanParameter(BaseModel): + """One boolean scenario parameter described by the CLI.""" + + identifier: str = Field(min_length=1) + type: Literal["boolean"] + + +def _parameter_tag(value: object) -> str | None: + """Extract the ``type`` union tag during validation and serialization. + + A callable discriminator sees the *raw* input: a mapping when validating + CLI JSON, an existing model instance otherwise. Returning ``None`` for + anything else lets pydantic report a proper ``union_tag_not_found`` + validation error instead of an ``AttributeError``. + """ + tag = value.get("type") if isinstance(value, Mapping) else getattr(value, "type", None) + return tag if isinstance(tag, str) else None + + +type ParameterDescriptor = Annotated[ + Annotated[FloatParameter, Tag("float")] + | Annotated[IntParameter, Tag("int")] + | Annotated[BooleanParameter, Tag("boolean")], + Discriminator(_parameter_tag), +] + + +class StudySettings(BaseModel): + """The Optuna study configuration owned by the CLI.""" + + sampler: SamplerName + trials: Annotated[int, Field(strict=True, ge=1)] + seed: Annotated[int, Field(strict=True, ge=0)] + + +class OptimizationDescription(BaseModel): + """The small, generic ``optimization.describe`` protocol contract.""" + + direction: Literal["maximize", "minimize"] + study: StudySettings + parameters: tuple[ParameterDescriptor, ...] + + @model_validator(mode="after") + def _check_unique_identifiers(self) -> Self: + identifiers: set[str] = set() + for parameter in self.parameters: + if parameter.identifier in identifiers: + raise ValueError(f'duplicate optimization parameter "{parameter.identifier}"') + identifiers.add(parameter.identifier) + + return self + + +class OptimizationModel(Protocol): + """The CLI adapter surface the optimizer drives; a seam for test fakes.""" + + def describe_optimization(self) -> Mapping[str, JsonValue]: ... + + def objective(self, parameter_values: Mapping[str, Scalar], /) -> float: ... + + def close(self, *, graceful: bool = ...) -> None: ... + + +class StreamRequest(Protocol): + """The slice of ``fastapi.Request`` the SSE streams observe.""" + + @property + def app(self) -> FastAPI: ... + + @property + def headers(self) -> Mapping[str, str]: ... + + async def is_disconnected(self) -> bool: ... + + +class TrialFrame(BaseModel): + """One per-trial SSE data frame in the shape Yannis's client expects.""" + + step: int + params: dict[str, JsonValue] + init_state: dict[str, JsonValue] = Field(default_factory=dict) + metric: float | None + state: str + + +class ErrorFrame(BaseModel): + """The terminal SSE data frame reporting a failed study.""" + + state: Literal["ERROR"] = "ERROR" + message: str + + +class _StreamSignal(Enum): + """Terminal marker the worker thread posts once the study has ended.""" + + DONE = auto() + + +type _StreamEvent = TrialFrame | ErrorFrame | _StreamSignal + +type _FrameBuilder = Callable[[optuna.Study, optuna.trial.FrozenTrial], TrialFrame | None] +"""Convert one completed trial into the next frame to stream, if any.""" + + +def _every_trial_frame(_study: optuna.Study, trial: optuna.trial.FrozenTrial) -> TrialFrame: + return TrialFrame( + step=trial.number, + params=dict(trial.params), + metric=trial.value, + state=trial.state.name, ) +def _best_so_far_frame(study: optuna.Study, trial: optuna.trial.FrozenTrial) -> TrialFrame | None: + has_completed = any( + candidate.state is optuna.trial.TrialState.COMPLETE + for candidate in study.get_trials(deepcopy=False) + ) + if not has_completed: + return None + return TrialFrame( + step=trial.number, + params=dict(study.best_params), + metric=study.best_value, + state="COMPLETE", + ) + + +@dataclass(slots=True) +class _StreamState: + """Outcome shared between the frame loop and the teardown path.""" + + completed: bool = False + log_context: dict[str, str | None] = field(default_factory=dict) + + class PetrinautOptimizer: """Optimize the flat parameter descriptors supplied by Petrinaut CLI.""" def __init__( self, - pn_model: PetrinautModel, + pn_model: OptimizationModel, *, - description: Mapping[str, Any] | None = None, - **sampler_options: Any, + description: Mapping[str, JsonValue] | None = None, ) -> None: - raw_description = ( + parsed = OptimizationDescription.model_validate( pn_model.describe_optimization() if description is None else description ) - direction, sampler_name, n_trials, seed, parameters = _parse_description( - raw_description - ) - self.parameters = parameters - self.study_name = ( - f"{DEFAULT_STUDY_NAME}_{datetime.now().strftime('%m/%d/%Y-%H:%M:%S')}" - ) - sampler_options.setdefault("seed", seed) - self.sampler = SAMPLERS[sampler_name](**sampler_options) - self.direction = direction - self.n_trials = n_trials + self.parameters = parsed.parameters + started_at = datetime.now(tz=UTC).strftime("%m/%d/%Y-%H:%M:%S") + self.study_name = f"{DEFAULT_STUDY_NAME}_{started_at}" + self.sampler = SAMPLERS[parsed.study.sampler](parsed.study.seed) + self.direction: Literal["maximize", "minimize"] = parsed.direction + self.n_trials = parsed.study.trials self.study = optuna.create_study( study_name=self.study_name, storage=None, @@ -179,35 +246,35 @@ def __init__( self.pn_model = pn_model self.lock = threading.Lock() - def suggest(self, trial: optuna.Trial) -> dict[str, Scalar]: + def suggest(self, trial: optuna.trial.BaseTrial) -> dict[str, Scalar]: """Ask Optuna for each non-fixed scenario parameter described by the CLI.""" values: dict[str, Scalar] = {} + for parameter in self.parameters: - identifier = cast(str, parameter["identifier"]) - parameter_type = parameter["type"] - if parameter_type == "float": - values[identifier] = trial.suggest_float( - identifier, - float(parameter["minimum"]), - float(parameter["maximum"]), - log=parameter["scale"] == "log", - ) - elif parameter_type == "int": - values[identifier] = trial.suggest_int( - identifier, - cast(int, parameter["minimum"]), - cast(int, parameter["maximum"]), - step=cast(int, parameter["step"]), - log=parameter["scale"] == "log", - ) - else: - values[identifier] = cast( - bool, - trial.suggest_categorical(identifier, [False, True]), - ) + match parameter: + case FloatParameter(): + values[parameter.identifier] = trial.suggest_float( + parameter.identifier, + parameter.minimum, + parameter.maximum, + log=parameter.scale == "log", + ) + case IntParameter(): + values[parameter.identifier] = trial.suggest_int( + parameter.identifier, + parameter.minimum, + parameter.maximum, + step=parameter.step, + log=parameter.scale == "log", + ) + case BooleanParameter(): + values[parameter.identifier] = trial.suggest_categorical( + parameter.identifier, [False, True] + ) + return values - def objective(self, trial: optuna.Trial) -> float: + def objective(self, trial: optuna.trial.BaseTrial) -> float: """Propose one flat parameter set and ask Petrinaut to evaluate it.""" prune_cause: PetrinautRunError | None = None with tracer.start_as_current_span("optimization.trial") as span: @@ -221,7 +288,7 @@ def objective(self, trial: optuna.Trial) -> float: # so it does not trip the default ERROR status / exception event. # Genuinely unexpected exceptions still propagate through the # `with` block and are recorded as errors as usual. - span.set_attribute("optuna.trial.pruned", True) + span.set_attribute("optuna.trial.pruned", value=True) log.warning( "trial %d failed — pruned", trial.number, @@ -232,14 +299,14 @@ def objective(self, trial: optuna.Trial) -> float: span.set_attribute("optuna.trial.value", value) return value - raise optuna.TrialPruned() from prune_cause + raise optuna.TrialPruned from prune_cause def _start_study_worker( self, *, n_trials: int, callback: Callable[[optuna.Study, optuna.trial.FrozenTrial], None], - events: asyncio.Queue[dict[str, Any] | object], + events: asyncio.Queue[_StreamEvent], loop: asyncio.AbstractEventLoop, ) -> tuple[threading.Thread, Span]: """Run the study on a worker thread that inherits the request's context. @@ -266,30 +333,45 @@ def run() -> None: n_trials=n_trials, callbacks=[callback], ) - except Exception as error: + except Exception as error: # noqa: BLE001 — thread boundary: any failure must become a terminal SSE frame instead of dying silently. study_span.record_exception(error) study_span.set_status(Status(StatusCode.ERROR)) loop.call_soon_threadsafe( events.put_nowait, - {"state": "ERROR", "message": str(error)}, + ErrorFrame(message=str(error)), ) finally: otel_context.detach(token) - loop.call_soon_threadsafe(events.put_nowait, _SENTINEL) + loop.call_soon_threadsafe(events.put_nowait, _StreamSignal.DONE) worker = threading.Thread(target=run, daemon=True) worker.start() return worker, study_span - async def stream_all( - self, request: Request, run_id: str, n_trials: int - ) -> AsyncIterator[str]: + def stream_all(self, request: StreamRequest, run_id: str, n_trials: int) -> AsyncIterator[str]: """Stream Yannis's per-trial SSE frames, followed by the done frame.""" + return self._stream_study(request, run_id, n_trials, frame_builder=_every_trial_frame) + + def stream_best(self, request: StreamRequest, run_id: str, n_trials: int) -> AsyncIterator[str]: + """Stream Yannis's best-so-far SSE frames, followed by the done frame.""" + return self._stream_study(request, run_id, n_trials, frame_builder=_best_so_far_frame) + + async def _stream_study( + self, + request: StreamRequest, + run_id: str, + n_trials: int, + *, + frame_builder: _FrameBuilder, + ) -> AsyncIterator[str]: + """Run one study and stream its SSE frames until a terminal event.""" app = request.app - log_context = { - "request_id": request.headers.get("x-hash-request-id"), - "run_id": run_id, - } + state = _StreamState( + log_context={ + "request_id": request.headers.get("x-hash-request-id"), + "run_id": run_id, + } + ) if not self.lock.acquire(blocking=False): yield 'event: error\ndata: {"message": "already running"}\n\n' return @@ -297,269 +379,145 @@ async def stream_all( set_status(app, run_id, phase=Phase.running, detail="optimization running") log.info( "optimization study started", - extra={"event": "study_started", "trials": n_trials, **log_context}, + extra={"event": "study_started", "trials": n_trials, **state.log_context}, ) loop = asyncio.get_running_loop() - events: asyncio.Queue[dict[str, Any] | object] = asyncio.Queue() + events: asyncio.Queue[_StreamEvent] = asyncio.Queue() stop_flag = threading.Event() def callback(study: optuna.Study, trial: optuna.trial.FrozenTrial) -> None: - payload = { - "step": trial.number, - "params": dict(trial.params), - "init_state": {}, - "metric": trial.value, - "state": trial.state.name, - } - loop.call_soon_threadsafe(events.put_nowait, payload) + frame = frame_builder(study, trial) + if frame is not None: + loop.call_soon_threadsafe(events.put_nowait, frame) if stop_flag.is_set(): study.stop() worker, study_span = self._start_study_worker( n_trials=n_trials, callback=callback, events=events, loop=loop ) - next_heartbeat = loop.time() + SSE_HEARTBEAT_SECONDS - completed = False try: - while True: - if await request.is_disconnected(): - stop_flag.set() - set_status( - app, - run_id, - phase=Phase.idle, - detail="client disconnected, stopped", - ) - log.info( - "client disconnected, stopping optimization study", - extra={"event": "client_disconnected", **log_context}, - ) - break - heartbeat_wait = max(0.0, next_heartbeat - loop.time()) - try: - item = await asyncio.wait_for( - events.get(), - timeout=min(_DISCONNECT_POLL_SECONDS, heartbeat_wait), - ) - except asyncio.TimeoutError: - if loop.time() >= next_heartbeat: - yield ": heartbeat\n\n" - next_heartbeat = loop.time() + SSE_HEARTBEAT_SECONDS - continue - if item is _SENTINEL: - set_status( - app, - run_id, - phase=Phase.done, - detail="optimization completed", - ) - completed = True - log.info( - "optimization study completed", - extra={ - "event": "study_completed", - "trials": n_trials, - **log_context, - }, - ) - yield "event: done\ndata: {}\n\n" - break - event = cast(dict[str, Any], item) - if event.get("state") == "ERROR": - set_status( - app, - run_id, - phase=Phase.error, - detail=cast(str, event.get("message")), - ) - log.warning( - "optimization study failed", - extra={ - "event": "study_failed", - **log_context, - }, - ) - yield f"data: {json.dumps(event)}\n\n" - if event.get("state") == "ERROR": - break + async for frame in self._stream_frames( + request, run_id, n_trials=n_trials, events=events, state=state + ): + yield frame + finally: stop_flag.set() try: # Only a study that ran to completion left the CLI idle enough # for the graceful EOF shutdown; every other exit (disconnect, # error, cancellation) terminates the process group promptly. - await asyncio.to_thread(self.pn_model.close, graceful=completed) + await asyncio.to_thread(self.pn_model.close, graceful=state.completed) await asyncio.to_thread(worker.join, _WORKER_SHUTDOWN_TIMEOUT_SECONDS) if worker.is_alive(): log.error( "Petrinaut optimizer worker did not stop after CLI shutdown", - extra={"event": "worker_join_timeout", **log_context}, + extra={"event": "worker_join_timeout", **state.log_context}, ) finally: self.lock.release() - try: - study_span.set_attribute( - "optuna.study.best_value", self.study.best_value - ) - except ValueError: - # No trial completed (immediate disconnect, or all pruned), - # so there is no best value to record. - pass - study_span.end() - - async def stream_best( - self, request: Request, run_id: str, n_trials: int + self._finish_study_span(study_span) + + @staticmethod + async def _stream_frames( + request: StreamRequest, + run_id: str, + *, + n_trials: int, + events: asyncio.Queue[_StreamEvent], + state: _StreamState, ) -> AsyncIterator[str]: - """Stream Yannis's best-so-far SSE frames, followed by the done frame.""" + """Yield SSE frames and heartbeats until the study reaches a terminal event.""" app = request.app - log_context = { - "request_id": request.headers.get("x-hash-request-id"), - "run_id": run_id, - } - if not self.lock.acquire(blocking=False): - yield 'event: error\ndata: {"message": "already running"}\n\n' - return - - set_status(app, run_id, phase=Phase.running, detail="optimization running") - log.info( - "optimization study started", - extra={"event": "study_started", "trials": n_trials, **log_context}, - ) loop = asyncio.get_running_loop() - events: asyncio.Queue[dict[str, Any] | object] = asyncio.Queue() - stop_flag = threading.Event() - - def callback(study: optuna.Study, trial: optuna.trial.FrozenTrial) -> None: - has_completed = any( - candidate.state is optuna.trial.TrialState.COMPLETE - for candidate in study.get_trials(deepcopy=False) - ) - if has_completed: - payload = { - "step": trial.number, - "params": dict(study.best_params), - "init_state": {}, - "metric": study.best_value, - "state": "COMPLETE", - } - loop.call_soon_threadsafe(events.put_nowait, payload) - if stop_flag.is_set(): - study.stop() - - worker, study_span = self._start_study_worker( - n_trials=n_trials, callback=callback, events=events, loop=loop - ) next_heartbeat = loop.time() + SSE_HEARTBEAT_SECONDS - completed = False + while True: + if await request.is_disconnected(): + set_status( + app, + run_id, + phase=Phase.idle, + detail="client disconnected, stopped", + ) + log.info( + "client disconnected, stopping optimization study", + extra={"event": "client_disconnected", **state.log_context}, + ) + return - try: - while True: - if await request.is_disconnected(): - stop_flag.set() - set_status( - app, - run_id, - phase=Phase.idle, - detail="client disconnected, stopped", - ) - log.info( - "client disconnected, stopping optimization study", - extra={"event": "client_disconnected", **log_context}, - ) - break - heartbeat_wait = max(0.0, next_heartbeat - loop.time()) - try: - item = await asyncio.wait_for( - events.get(), - timeout=min(_DISCONNECT_POLL_SECONDS, heartbeat_wait), - ) - except asyncio.TimeoutError: - if loop.time() >= next_heartbeat: - yield ": heartbeat\n\n" - next_heartbeat = loop.time() + SSE_HEARTBEAT_SECONDS - continue - if item is _SENTINEL: - set_status( - app, - run_id, - phase=Phase.done, - detail="optimization completed", - ) - completed = True + heartbeat_wait = max(0.0, next_heartbeat - loop.time()) + try: + item = await asyncio.wait_for( + events.get(), + timeout=min(_DISCONNECT_POLL_SECONDS, heartbeat_wait), + ) + except TimeoutError: + if loop.time() >= next_heartbeat: + yield ": heartbeat\n\n" + next_heartbeat = loop.time() + SSE_HEARTBEAT_SECONDS + continue + + match item: + case _StreamSignal.DONE: + state.completed = True + set_status(app, run_id, phase=Phase.done, detail="optimization completed") log.info( "optimization study completed", extra={ "event": "study_completed", "trials": n_trials, - **log_context, + **state.log_context, }, ) yield "event: done\ndata: {}\n\n" - break - event = cast(dict[str, Any], item) - if event.get("state") == "ERROR": - set_status( - app, - run_id, - phase=Phase.error, - detail=cast(str, event.get("message")), - ) + return + case ErrorFrame(): + set_status(app, run_id, phase=Phase.error, detail=item.message) log.warning( "optimization study failed", - extra={ - "event": "study_failed", - **log_context, - }, + extra={"event": "study_failed", **state.log_context}, ) - yield f"data: {json.dumps(event)}\n\n" - if event.get("state") == "ERROR": - break + yield f"data: {item.model_dump_json()}\n\n" + return + case TrialFrame(): + yield f"data: {item.model_dump_json()}\n\n" + + def _finish_study_span(self, study_span: Span) -> None: + try: + study_span.set_attribute("optuna.study.best_value", self.study.best_value) + except ValueError: + # No trial completed (immediate disconnect, or all pruned), + # so there is no best value to record. + pass finally: - stop_flag.set() - try: - # Only a study that ran to completion left the CLI idle enough - # for the graceful EOF shutdown; every other exit (disconnect, - # error, cancellation) terminates the process group promptly. - await asyncio.to_thread(self.pn_model.close, graceful=completed) - await asyncio.to_thread(worker.join, _WORKER_SHUTDOWN_TIMEOUT_SECONDS) - if worker.is_alive(): - log.error( - "Petrinaut optimizer worker did not stop after CLI shutdown", - extra={"event": "worker_join_timeout", **log_context}, - ) - finally: - self.lock.release() - try: - study_span.set_attribute( - "optuna.study.best_value", self.study.best_value - ) - except ValueError: - # No trial completed (immediate disconnect, or all pruned), - # so there is no best value to record. - pass - study_span.end() + study_span.end() - def run_stream(self, study: optuna.Study, objective: Any, n_trials: int) -> Any: + @staticmethod + def run_stream( + study: optuna.Study, + objective: Callable[[optuna.Trial], float], + n_trials: int, + ) -> Iterator[tuple[str, int, dict[str, JsonValue], dict[str, JsonValue], float | None]]: """Run a study synchronously, retaining the original local-test shape.""" - events: queue.Queue[Any] = queue.Queue() - done = object() + events: queue.Queue[ + tuple[str, int, dict[str, JsonValue], dict[str, JsonValue], float | None] + | _StreamSignal + ] = queue.Queue() def callback(_study: optuna.Study, trial: optuna.trial.FrozenTrial) -> None: - events.put( - ( - str(trial.state), - trial.number, - dict(trial.params), - {}, - trial.value, - ) - ) + events.put(( + str(trial.state), + trial.number, + dict(trial.params), + {}, + trial.value, + )) def run() -> None: study.optimize(objective, n_trials=n_trials, callbacks=[callback]) - events.put(done) + events.put(_StreamSignal.DONE) threading.Thread(target=run, daemon=True).start() - while (item := events.get()) is not done: + while (item := events.get()) is not _StreamSignal.DONE: yield item diff --git a/apps/petrinaut-opt/src/telemetry.py b/apps/petrinaut-opt/src/telemetry.py index 9e0bd0d2b61..2622e75ebce 100644 --- a/apps/petrinaut-opt/src/telemetry.py +++ b/apps/petrinaut-opt/src/telemetry.py @@ -19,18 +19,23 @@ providers and instruments the FastAPI app; later calls are no-ops. """ -from __future__ import annotations - import logging import os from contextlib import suppress -from typing import Any +from dataclasses import dataclass, field +from typing import Protocol from fastapi import FastAPI from opentelemetry import metrics, trace from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor -from opentelemetry.sdk._logs import LoggerProvider, LoggingHandler -from opentelemetry.sdk._logs.export import BatchLogRecordProcessor, LogExporter +from opentelemetry.sdk._logs import ( # noqa: PLC2701 — the OTEL logs SDK has no public import path yet. + LoggerProvider, + LoggingHandler, +) +from opentelemetry.sdk._logs.export import ( # noqa: PLC2701 — the OTEL logs SDK has no public import path yet. + BatchLogRecordProcessor, + LogRecordExporter, +) from opentelemetry.sdk.metrics import MeterProvider from opentelemetry.sdk.metrics.export import ( MetricExporter, @@ -47,11 +52,28 @@ log = logging.getLogger("pn_telemetry") -_configured = False -# Providers created by ``setup_telemetry``, retained so the app lifespan can -# flush them without shutting down process-global OTEL state. -_providers: list[Any] = [] +class TelemetryProvider(Protocol): + """The flush/shutdown surface shared by tracer, meter, and logger providers.""" + + def force_flush(self) -> object: ... + + def shutdown(self) -> object: ... + + +@dataclass(slots=True) +class _TelemetryState: + """Process-wide bootstrap state. + + Installed providers are retained so the app lifespan can flush them + without shutting down process-global OTEL state. + """ + + configured: bool = False + providers: list[TelemetryProvider] = field(default_factory=list) + + +_state = _TelemetryState() def _service_name() -> str: @@ -59,46 +81,86 @@ def _service_name() -> str: def _protocol() -> str: - return ( - os.environ.get("OTEL_EXPORTER_OTLP_PROTOCOL", _DEFAULT_PROTOCOL).strip().lower() - ) + return os.environ.get("OTEL_EXPORTER_OTLP_PROTOCOL", _DEFAULT_PROTOCOL).strip().lower() def _build_exporters( protocol: str, -) -> tuple[SpanExporter, MetricExporter, LogExporter]: +) -> tuple[SpanExporter, MetricExporter, LogRecordExporter]: """Return the (span, metric, log) exporters for the requested OTLP protocol. Raises ``ValueError`` for an unrecognised ``OTEL_EXPORTER_OTLP_PROTOCOL``. Exporter configuration comes from the standard ``OTEL_EXPORTER_OTLP_*`` - environment variables. + environment variables. Exporter modules import lazily on purpose: only the + selected transport's dependency stack (grpc or http) is ever loaded. """ if protocol == "grpc": - from opentelemetry.exporter.otlp.proto.grpc._log_exporter import OTLPLogExporter - from opentelemetry.exporter.otlp.proto.grpc.metric_exporter import ( + from opentelemetry.exporter.otlp.proto.grpc._log_exporter import ( # noqa: PLC0415 — lazy transport-specific import; no public log-exporter path. + OTLPLogExporter, + ) + from opentelemetry.exporter.otlp.proto.grpc.metric_exporter import ( # noqa: PLC0415 — lazy transport-specific import. OTLPMetricExporter, ) - from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import ( + from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import ( # noqa: PLC0415 — lazy transport-specific import. OTLPSpanExporter, ) return OTLPSpanExporter(), OTLPMetricExporter(), OTLPLogExporter() if protocol == "http/protobuf": - from opentelemetry.exporter.otlp.proto.http._log_exporter import OTLPLogExporter - from opentelemetry.exporter.otlp.proto.http.metric_exporter import ( + from opentelemetry.exporter.otlp.proto.http._log_exporter import ( # noqa: PLC0415, PLC2701 — lazy transport-specific import; no public log-exporter path. + OTLPLogExporter, + ) + from opentelemetry.exporter.otlp.proto.http.metric_exporter import ( # noqa: PLC0415 — lazy transport-specific import. OTLPMetricExporter, ) - from opentelemetry.exporter.otlp.proto.http.trace_exporter import ( + from opentelemetry.exporter.otlp.proto.http.trace_exporter import ( # noqa: PLC0415 — lazy transport-specific import. OTLPSpanExporter, ) return OTLPSpanExporter(), OTLPMetricExporter(), OTLPLogExporter() raise ValueError( - f"unsupported OTEL_EXPORTER_OTLP_PROTOCOL {protocol!r}; " - "expected 'grpc' or 'http/protobuf'" + f"unsupported OTEL_EXPORTER_OTLP_PROTOCOL {protocol!r}; expected 'grpc' or 'http/protobuf'" + ) + + +def _build_providers( + app: FastAPI, protocol: str, providers: list[TelemetryProvider] +) -> tuple[TracerProvider, MeterProvider, LoggingHandler]: + """Build every provider and instrument ``app``. + + Each provider is appended to ``providers`` as soon as it exists, so the + caller can roll back whatever was created when a later step fails. + """ + span_exporter, metric_exporter, log_exporter = _build_exporters(protocol) + + resource = Resource.create({"service.name": _service_name()}) + + tracer_provider = TracerProvider(resource=resource) + providers.append(tracer_provider) + tracer_provider.add_span_processor(BatchSpanProcessor(span_exporter)) + + meter_provider = MeterProvider( + resource=resource, + metric_readers=[PeriodicExportingMetricReader(metric_exporter)], + ) + providers.append(meter_provider) + + logger_provider = LoggerProvider(resource=resource) + providers.append(logger_provider) + logger_provider.add_log_record_processor(BatchLogRecordProcessor(log_exporter)) + # Bridge stdlib logging (`log.info(...)` across the service) to OTLP so + # records reach Loki alongside the traces they belong to. + logging_handler = LoggingHandler(level=logging.INFO, logger_provider=logger_provider) + + FastAPIInstrumentor.instrument_app( + app, + tracer_provider=tracer_provider, + meter_provider=meter_provider, + excluded_urls=_FASTAPI_EXCLUDED_URLS, ) + return tracer_provider, meter_provider, logging_handler def setup_telemetry(app: FastAPI) -> bool: @@ -109,8 +171,7 @@ def setup_telemetry(app: FastAPI) -> bool: logged and swallowed so a misconfigured collector never stops the API from serving. """ - global _configured - if _configured: + if _state.configured: return True endpoint = os.environ.get("OTEL_EXPORTER_OTLP_ENDPOINT") @@ -118,39 +179,11 @@ def setup_telemetry(app: FastAPI) -> bool: log.info("OTEL_EXPORTER_OTLP_ENDPOINT unset; starting without OpenTelemetry") return False - providers: list[Any] = [] + protocol = _protocol() + providers: list[TelemetryProvider] = [] try: - protocol = _protocol() - span_exporter, metric_exporter, log_exporter = _build_exporters(protocol) - - resource = Resource.create({"service.name": _service_name()}) - - tracer_provider = TracerProvider(resource=resource) - providers.append(tracer_provider) - tracer_provider.add_span_processor(BatchSpanProcessor(span_exporter)) - - meter_provider = MeterProvider( - resource=resource, - metric_readers=[PeriodicExportingMetricReader(metric_exporter)], - ) - providers.append(meter_provider) - - logger_provider = LoggerProvider(resource=resource) - providers.append(logger_provider) - logger_provider.add_log_record_processor( - BatchLogRecordProcessor(log_exporter) - ) - # Bridge stdlib logging (`log.info(...)` across the service) to OTLP so - # records reach Loki alongside the traces they belong to. - logging_handler = LoggingHandler( - level=logging.INFO, logger_provider=logger_provider - ) - - FastAPIInstrumentor.instrument_app( - app, - tracer_provider=tracer_provider, - meter_provider=meter_provider, - excluded_urls=_FASTAPI_EXCLUDED_URLS, + tracer_provider, meter_provider, logging_handler = _build_providers( + app, protocol, providers ) except Exception: log.exception("OpenTelemetry bootstrap failed; continuing without telemetry") @@ -167,8 +200,8 @@ def setup_telemetry(app: FastAPI) -> bool: service_logger.setLevel(logging.INFO) service_logger.addHandler(logging_handler) - _providers.extend(providers) - _configured = True + _state.providers.extend(providers) + _state.configured = True log.info( "OpenTelemetry exporting to %s as %r over %s", endpoint, @@ -180,12 +213,12 @@ def setup_telemetry(app: FastAPI) -> bool: def flush_telemetry() -> None: """Flush buffered telemetry without shutting down the providers.""" - for provider in reversed(_providers): + for provider in reversed(_state.providers): with suppress(Exception): provider.force_flush() -def _shutdown_unpublished_providers(providers: list[Any]) -> None: +def _shutdown_unpublished_providers(providers: list[TelemetryProvider]) -> None: """Clean up providers that have not been published as OTEL globals.""" for provider in reversed(providers): with suppress(Exception): diff --git a/apps/petrinaut-opt/src/utils.py b/apps/petrinaut-opt/src/utils.py index 70f348c154a..25b4bfba229 100644 --- a/apps/petrinaut-opt/src/utils.py +++ b/apps/petrinaut-opt/src/utils.py @@ -1,18 +1,17 @@ -from datetime import datetime, timezone -from enum import Enum +"""Run-scoped status tracking shared by the optimization API routes.""" + +from datetime import UTC, datetime +from enum import StrEnum from threading import Lock from uuid import uuid4 -from pydantic import BaseModel - from fastapi import FastAPI - +from pydantic import BaseModel MAX_STATUS_HISTORY = 100 -# ── Helper classes and functions for API status ───────────────────────────────────────────────────────────────── -class Phase(str, Enum): +class Phase(StrEnum): idle = "idle" running = "running" done = "done" @@ -42,8 +41,9 @@ def __init__(self, max_history: int = MAX_STATUS_HISTORY) -> None: def create(self) -> RunStatus: status = RunStatus( run_id=str(uuid4()), - updated_at=datetime.now(timezone.utc), + updated_at=datetime.now(UTC), ) + with self._lock: while len(self._statuses) >= self._max_history: oldest_run_id = next( @@ -54,17 +54,19 @@ def create(self) -> RunStatus: ), next(iter(self._statuses)), ) + del self._statuses[oldest_run_id] + self._statuses[status.run_id] = status + return status def update(self, run_id: str, **changes: object) -> RunStatus: with self._lock: current = self._statuses[run_id] - updated = current.model_copy( - update={**changes, "updated_at": datetime.now(timezone.utc)} - ) + updated = current.model_copy(update={**changes, "updated_at": datetime.now(UTC)}) self._statuses[run_id] = updated + return updated def get(self, run_id: str) -> RunStatus | None: @@ -81,7 +83,6 @@ def set_status(app: FastAPI, run_id: str | None = None, **changes: object) -> Ap return app.state.statuses.update(run_id, **changes) current = app.state.status - app.state.status = current.model_copy( - update={**changes, "updated_at": datetime.now(timezone.utc)} - ) + app.state.status = current.model_copy(update={**changes, "updated_at": datetime.now(UTC)}) + return app.state.status diff --git a/apps/petrinaut-opt/tests/conftest.py b/apps/petrinaut-opt/tests/conftest.py index 02abc6c7115..35190456397 100644 --- a/apps/petrinaut-opt/tests/conftest.py +++ b/apps/petrinaut-opt/tests/conftest.py @@ -1,11 +1,10 @@ -from __future__ import annotations - import pytest +from pydantic import JsonValue @pytest.fixture -def optimization_manifest() -> dict: - """The Python service deliberately treats this document as opaque JSON.""" +def optimization_manifest() -> dict[str, JsonValue]: + """Return a manifest the Python service treats as opaque JSON.""" return { "kind": "petrinaut-optimization", "version": 1, @@ -33,7 +32,8 @@ def optimization_manifest() -> dict: @pytest.fixture -def optimization_description() -> dict: +def optimization_description() -> dict[str, JsonValue]: + """Return the CLI-shaped ``optimization.describe`` result used by tests.""" return { "direction": "maximize", "study": {"trials": 3, "sampler": "random", "seed": 42}, diff --git a/apps/petrinaut-opt/tests/test_optimization_api.py b/apps/petrinaut-opt/tests/test_optimization_api.py index 0d057d010b3..0a86fe3aed1 100644 --- a/apps/petrinaut-opt/tests/test_optimization_api.py +++ b/apps/petrinaut-opt/tests/test_optimization_api.py @@ -1,28 +1,46 @@ -from __future__ import annotations - import asyncio import logging import threading -from typing import Any +from collections.abc import AsyncIterator +from typing import NoReturn import pytest -from fastapi import FastAPI +from fastapi import FastAPI, Request from fastapi.testclient import TestClient +from pydantic import JsonValue +from starlette.types import Message, Receive, Scope, Send from src import optimization_api +from src.optimization_api import ClosableModel + + +class RecordingModel: + """Track how the CLI adapter is shut down.""" + + def __init__(self) -> None: + self.close_calls: list[bool] = [] + + def close(self, *, graceful: bool = True) -> None: + self.close_calls.append(graceful) class FakeOptimizer: n_trials = 1 - async def stream_all(self, *_args: Any, **_kwargs: Any): + def __init__(self, pn_model: ClosableModel | None = None) -> None: + self.pn_model: ClosableModel = RecordingModel() if pn_model is None else pn_model + self.streamed: list[tuple[Request, str, int]] = [] + + async def stream_all(self, request: Request, run_id: str, n_trials: int) -> AsyncIterator[str]: + self.streamed.append((request, run_id, n_trials)) yield ( 'data: {"step": 0, "params": {"rate": 1.0}, ' '"init_state": {}, "metric": 2.0, "state": "COMPLETE"}\n\n' ) yield "event: done\ndata: {}\n\n" - async def stream_best(self, *_args: Any, **_kwargs: Any): + async def stream_best(self, request: Request, run_id: str, n_trials: int) -> AsyncIterator[str]: + self.streamed.append((request, run_id, n_trials)) yield ( 'data: {"step": 0, "params": {"rate": 1.0}, ' '"init_state": {}, "metric": 2.0, "state": "COMPLETE"}\n\n' @@ -31,12 +49,12 @@ async def stream_best(self, *_args: Any, **_kwargs: Any): def test_posts_an_opaque_manifest_to_the_all_sse_route( - optimization_manifest: dict, - monkeypatch, + optimization_manifest: dict[str, JsonValue], + monkeypatch: pytest.MonkeyPatch, ) -> None: - received: list[dict[str, Any]] = [] + received: list[dict[str, JsonValue]] = [] - def initialize(manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(manifest: dict[str, JsonValue]) -> FakeOptimizer: received.append(manifest) return FakeOptimizer() @@ -56,12 +74,12 @@ def initialize(manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: def test_posts_an_opaque_manifest_to_the_best_sse_route( - optimization_manifest: dict, - monkeypatch, + optimization_manifest: dict[str, JsonValue], + monkeypatch: pytest.MonkeyPatch, ) -> None: - received: list[dict[str, Any]] = [] + received: list[dict[str, JsonValue]] = [] - def initialize(manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(manifest: dict[str, JsonValue]) -> FakeOptimizer: received.append(manifest) return FakeOptimizer() @@ -83,7 +101,7 @@ def test_get_is_not_retained_for_manifest_routes() -> None: assert client.get("/optimize/best").status_code == 405 -def test_rejects_oversized_manifests_on_both_routes(monkeypatch) -> None: +def test_rejects_oversized_manifests_on_both_routes(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setattr(optimization_api, "MAX_REQUEST_BODY_BYTES", 8) with TestClient(optimization_api.app) as client: @@ -94,27 +112,25 @@ def test_rejects_oversized_manifests_on_both_routes(monkeypatch) -> None: assert best_response.status_code == 413 -def test_rejects_an_oversized_chunked_manifest(monkeypatch) -> None: +def test_rejects_an_oversized_chunked_manifest(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setattr(optimization_api, "MAX_REQUEST_BODY_BYTES", 5) - incoming = iter( - [ - {"type": "http.request", "body": b"123", "more_body": True}, - {"type": "http.request", "body": b"456", "more_body": False}, - ] - ) - outgoing: list[dict[str, Any]] = [] + incoming = iter([ + {"type": "http.request", "body": b"123", "more_body": True}, + {"type": "http.request", "body": b"456", "more_body": False}, + ]) + outgoing: list[Message] = [] - async def receive() -> dict[str, Any]: + async def receive() -> Message: # noqa: RUF029 — ASGI receive callables must be coroutines. return next(incoming) - async def send(message: dict[str, Any]) -> None: + async def send(message: Message) -> None: # noqa: RUF029 — ASGI send callables must be coroutines. outgoing.append(message) - async def downstream(_scope, receive_body, _send) -> None: + async def downstream(_scope: Scope, receive_body: Receive, _send: Send) -> None: while (await receive_body()).get("more_body", False): pass - scope = { + scope: Scope = { "type": "http", "asgi": {"version": "3.0"}, "http_version": "1.1", @@ -129,18 +145,16 @@ async def downstream(_scope, receive_body, _send) -> None: "server": ("127.0.0.1", 4004), } - asyncio.run( - optimization_api.RequestBodyLimitMiddleware(downstream)(scope, receive, send) - ) + asyncio.run(optimization_api.RequestBodyLimitMiddleware(downstream)(scope, receive, send)) assert outgoing[0]["status"] == 413 def test_reports_initialization_failure_with_the_run_id( - optimization_manifest: dict, - monkeypatch, + optimization_manifest: dict[str, JsonValue], + monkeypatch: pytest.MonkeyPatch, ) -> None: - def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(_manifest: dict[str, JsonValue]) -> NoReturn: raise RuntimeError("manifest rejected by CLI") monkeypatch.setattr(optimization_api, "initialize_optimizer", initialize) @@ -166,26 +180,29 @@ def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: def test_initialization_failure_log_omits_the_raw_error_message( - optimization_manifest: dict, - monkeypatch, - caplog, + optimization_manifest: dict[str, JsonValue], + monkeypatch: pytest.MonkeyPatch, + caplog: pytest.LogCaptureFixture, ) -> None: """The CLI error string can embed user content, so it must not be logged.""" - secret = "Petrinaut failed to load the optimization manifest: user_secret_xyz" + user_content_error = "Petrinaut failed to load the optimization manifest: user_secret_xyz" - def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: - raise RuntimeError(secret) + def initialize(_manifest: dict[str, JsonValue]) -> NoReturn: + raise RuntimeError(user_content_error) monkeypatch.setattr(optimization_api, "initialize_optimizer", initialize) - with caplog.at_level("ERROR", logger="pn_api"): - with TestClient(optimization_api.app) as client: - response = client.post("/optimize/all", json=optimization_manifest) + with caplog.at_level("ERROR", logger="pn_api"), TestClient(optimization_api.app) as client: + response = client.post("/optimize/all", json=optimization_manifest) - failures = [r for r in caplog.records if r.event == "initialization_failed"] + failures = [ + record + for record in caplog.records + if getattr(record, "event", None) == "initialization_failed" + ] assert failures record = failures[0] - assert record.error_type == "RuntimeError" + assert vars(record)["error_type"] == "RuntimeError" assert not hasattr(record, "error_category") assert not hasattr(record, "error") assert "user_secret_xyz" not in record.getMessage() @@ -194,18 +211,19 @@ def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: def test_initializer_runs_off_the_event_loop( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: initializer_thread_ids: list[int] = [] - def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(_manifest: dict[str, JsonValue]) -> FakeOptimizer: initializer_thread_ids.append(threading.get_ident()) return FakeOptimizer() monkeypatch.setattr(optimization_api, "initialize_optimizer", initialize) with TestClient(optimization_api.app) as client: + assert client.portal is not None event_loop_thread_id = client.portal.call(threading.get_ident) response = client.post("/optimize/all", json=optimization_manifest) @@ -215,12 +233,10 @@ def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: def test_rejects_studies_above_the_process_local_limit( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: with TestClient(optimization_api.app) as client: - optimization_api.app.state.active_optimizations = ( - optimization_api.MAX_ACTIVE_OPTIMIZATIONS - ) + optimization_api.app.state.active_optimizations = optimization_api.MAX_ACTIVE_OPTIMIZATIONS response = client.post("/optimize/all", json=optimization_manifest) assert response.status_code == 429 @@ -228,41 +244,29 @@ def test_rejects_studies_above_the_process_local_limit( def test_capacity_rejection_is_logged_with_the_request_id( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], caplog: pytest.LogCaptureFixture, ) -> None: - with caplog.at_level(logging.WARNING, logger="pn_api"): - with TestClient(optimization_api.app) as client: - optimization_api.app.state.active_optimizations = ( - optimization_api.MAX_ACTIVE_OPTIMIZATIONS - ) - response = client.post( - "/optimize/all", - json=optimization_manifest, - headers={"x-hash-request-id": "request-cap-1"}, - ) + with ( + caplog.at_level(logging.WARNING, logger="pn_api"), + TestClient(optimization_api.app) as client, + ): + optimization_api.app.state.active_optimizations = optimization_api.MAX_ACTIVE_OPTIMIZATIONS + response = client.post( + "/optimize/all", + json=optimization_manifest, + headers={"x-hash-request-id": "request-cap-1"}, + ) assert response.status_code == 429 rejection = next( - record - for record in caplog.records - if getattr(record, "event", None) == "capacity_rejected" + record for record in caplog.records if getattr(record, "event", None) == "capacity_rejected" ) - assert rejection.request_id == "request-cap-1" - assert rejection.active_optimizations == optimization_api.MAX_ACTIVE_OPTIMIZATIONS + assert vars(rejection)["request_id"] == "request-cap-1" + assert vars(rejection)["active_optimizations"] == optimization_api.MAX_ACTIVE_OPTIMIZATIONS assert "manifest" not in rejection.getMessage() -class RecordingModel: - """Track how the CLI adapter is shut down.""" - - def __init__(self) -> None: - self.close_calls: list[bool] = [] - - def close(self, *, graceful: bool = True) -> None: - self.close_calls.append(graceful) - - def _admitted_test_app(active_optimizations: int) -> FastAPI: test_app = FastAPI() test_app.state.optimization_admission_lock = asyncio.Lock() @@ -270,44 +274,32 @@ def _admitted_test_app(active_optimizations: int) -> FastAPI: return test_app -def _optimizer_with_recording_model() -> FakeOptimizer: - optimizer = FakeOptimizer() - optimizer.pn_model = RecordingModel() # type: ignore[attr-defined] - return optimizer - - def test_releases_admission_slot_when_a_stream_fails() -> None: test_app = _admitted_test_app(active_optimizations=1) - optimizer = _optimizer_with_recording_model() - cleanup = optimization_api._create_admitted_run_cleanup( - test_app, - optimizer, # type: ignore[arg-type] - ) + model = RecordingModel() + optimizer = FakeOptimizer(model) + cleanup = optimization_api._create_admitted_run_cleanup(test_app, optimizer) - async def failing_stream(): + async def failing_stream() -> AsyncIterator[str]: # noqa: RUF029 — must be an async iterator to feed the stream wrapper. raise RuntimeError("stream failed") yield "unreachable" # pragma: no cover async def consume() -> None: with pytest.raises(RuntimeError, match="stream failed"): - async for _frame in optimization_api._stream_with_cleanup( - failing_stream(), cleanup - ): + async for _frame in optimization_api._stream_with_cleanup(failing_stream(), cleanup): pass asyncio.run(consume()) assert test_app.state.active_optimizations == 0 - assert optimizer.pn_model.close_calls == [False] # type: ignore[attr-defined] + assert model.close_calls == [False] def test_admitted_run_cleanup_releases_the_slot_exactly_once() -> None: test_app = _admitted_test_app(active_optimizations=1) - optimizer = _optimizer_with_recording_model() - cleanup = optimization_api._create_admitted_run_cleanup( - test_app, - optimizer, # type: ignore[arg-type] - ) + model = RecordingModel() + optimizer = FakeOptimizer(model) + cleanup = optimization_api._create_admitted_run_cleanup(test_app, optimizer) async def run_twice() -> None: await cleanup() @@ -316,25 +308,24 @@ async def run_twice() -> None: asyncio.run(run_twice()) assert test_app.state.active_optimizations == 0 - assert optimizer.pn_model.close_calls == [False] # type: ignore[attr-defined] + assert model.close_calls == [False] def test_background_cleanup_covers_a_stream_that_never_starts( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: """An aborted response may never pull the body, skipping generator finallys.""" - optimizer = _optimizer_with_recording_model() - monkeypatch.setattr( - optimization_api, "initialize_optimizer", lambda _manifest, **_kwargs: optimizer - ) + model = RecordingModel() + optimizer = FakeOptimizer(model) + monkeypatch.setattr(optimization_api, "initialize_optimizer", lambda _manifest: optimizer) async def abandon_response() -> None: test_app = optimization_api.app test_app.state.statuses = optimization_api.StatusStore() test_app.state.optimization_admission_lock = asyncio.Lock() test_app.state.active_optimizations = 0 - scope = { + scope: Scope = { "type": "http", "app": test_app, "method": "POST", @@ -342,10 +333,8 @@ async def abandon_response() -> None: "headers": [], "query_string": b"", } - request = optimization_api.Request(scope) - response = await optimization_api.post_optimize_all( - request, optimization_manifest - ) + request = Request(scope) + response = await optimization_api.post_optimize_all(request, optimization_manifest) assert test_app.state.active_optimizations == 1 assert response.background is not None @@ -356,30 +345,28 @@ async def abandon_response() -> None: asyncio.run(abandon_response()) - assert optimizer.pn_model.close_calls == [False] # type: ignore[attr-defined] + assert model.close_calls == [False] def test_cancellation_during_initialization_closes_cli_and_releases_slot( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: - test_app = FastAPI() - test_app.state.optimization_admission_lock = asyncio.Lock() - test_app.state.active_optimizations = 1 + test_app = _admitted_test_app(active_optimizations=1) started = threading.Event() finish = threading.Event() - class ClosableModel: + class PromptCloseAssertingModel: closed = False def close(self, *, graceful: bool = True) -> None: assert graceful is False self.closed = True - optimizer = FakeOptimizer() - optimizer.pn_model = ClosableModel() # type: ignore[attr-defined] + model = PromptCloseAssertingModel() + optimizer = FakeOptimizer(model) - def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(_manifest: dict[str, JsonValue]) -> FakeOptimizer: started.set() finish.wait(timeout=1) return optimizer @@ -388,9 +375,7 @@ def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: async def cancel_initialization() -> None: task = asyncio.create_task( - optimization_api._initialize_admitted_optimizer( - test_app, optimization_manifest - ) + optimization_api._initialize_admitted_optimizer(test_app, optimization_manifest) ) await asyncio.to_thread(started.wait, 1) task.cancel() @@ -400,21 +385,22 @@ async def cancel_initialization() -> None: asyncio.run(cancel_initialization()) - assert optimizer.pn_model.closed is True # type: ignore[attr-defined] + assert model.closed is True assert test_app.state.active_optimizations == 0 def test_second_cancellation_still_closes_an_abandoned_cli( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: """A cancel racing the init-cancel recovery must not orphan the CLI.""" test_app = _admitted_test_app(active_optimizations=1) - optimizer = _optimizer_with_recording_model() + model = RecordingModel() + optimizer = FakeOptimizer(model) started = threading.Event() finish = threading.Event() - def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: + def initialize(_manifest: dict[str, JsonValue]) -> FakeOptimizer: started.set() finish.wait(timeout=2) return optimizer @@ -423,9 +409,7 @@ def initialize(_manifest: dict[str, Any], **_kwargs: Any) -> FakeOptimizer: async def cancel_twice() -> None: task = asyncio.create_task( - optimization_api._initialize_admitted_optimizer( - test_app, optimization_manifest - ) + optimization_api._initialize_admitted_optimizer(test_app, optimization_manifest) ) await asyncio.to_thread(started.wait, 1) task.cancel() @@ -438,28 +422,26 @@ async def cancel_twice() -> None: # The abandoned CLI is closed by the initializer's done-callback, # which hands off to a daemon thread. for _ in range(100): - if optimizer.pn_model.close_calls: # type: ignore[attr-defined] + if model.close_calls: return await asyncio.sleep(0.01) asyncio.run(cancel_twice()) - assert optimizer.pn_model.close_calls == [False] # type: ignore[attr-defined] + assert model.close_calls == [False] assert test_app.state.active_optimizations == 0 -def test_openapi_exposes_post_sse_paths_with_an_untyped_json_body() -> None: +def test_openapi_exposes_post_sse_paths_with_a_json_object_body() -> None: schema = optimization_api.app.openapi() for path in ("/optimize/all", "/optimize/best"): operation = schema["paths"][path] assert "post" in operation assert "get" not in operation - request_schema = operation["post"]["requestBody"]["content"][ - "application/json" - ]["schema"] + request_schema = operation["post"]["requestBody"]["content"]["application/json"]["schema"] assert request_schema["type"] == "object" - stream_schema = operation["post"]["responses"]["200"]["content"][ - "text/event-stream" - ]["schema"] + stream_schema = operation["post"]["responses"]["200"]["content"]["text/event-stream"][ + "schema" + ] assert stream_schema["type"] == "string" diff --git a/apps/petrinaut-opt/tests/test_petrinaut_client.py b/apps/petrinaut-opt/tests/test_petrinaut_client.py index 9efb349b15a..fe4ec6bff24 100644 --- a/apps/petrinaut-opt/tests/test_petrinaut_client.py +++ b/apps/petrinaut-opt/tests/test_petrinaut_client.py @@ -1,15 +1,16 @@ -from __future__ import annotations - import io import json import signal -import subprocess +import subprocess # noqa: S404 — the client under test owns a CLI subprocess. import sys import threading import time -from typing import Any +from collections.abc import Mapping, Sequence +from dataclasses import dataclass +from typing import override import pytest +from pydantic import JsonValue from src import petrinaut_client from src.petrinaut_client import ( @@ -21,12 +22,13 @@ class FakeProcess: - def __init__(self, responses: list[dict[str, Any]]) -> None: + def __init__(self, responses: list[dict[str, JsonValue]]) -> None: self.stdin = io.BytesIO() self.stdout = io.BytesIO( "".join(json.dumps(response) + "\n" for response in responses).encode() ) - self.stderr = io.BytesIO(b"Petrinaut stdio ready for optimization\n") + self.stderr: io.BytesIO = io.BytesIO(b"Petrinaut stdio ready for optimization\n") + self.pid: int | None = None self.returncode: int | None = None self.terminated = False self.killed = False @@ -34,7 +36,7 @@ def __init__(self, responses: list[dict[str, Any]]) -> None: def poll(self) -> int | None: return self.returncode - def wait(self, timeout: float | None = None) -> int: + def wait(self, _timeout: float | None = None, /) -> int: self.returncode = 0 return 0 @@ -47,24 +49,60 @@ def kill(self) -> None: self.returncode = -9 +@dataclass(slots=True) +class RecordedSpawn: + """Every argument the client handed to its process factory.""" + + command: Sequence[str] + stdin: int + stdout: int + stderr: int + bufsize: int + close_fds: bool + env: Mapping[str, str] + start_new_session: bool + umask: int + + def test_bootstraps_an_opaque_manifest_and_uses_optimization_methods( - optimization_manifest: dict, - optimization_description: dict, + optimization_manifest: dict[str, JsonValue], + optimization_description: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: monkeypatch.setenv("AWS_SECRET_ACCESS_KEY", "must-not-leak") monkeypatch.setenv("PETRINAUT_CLI_NODE_OPTIONS", "--max-old-space-size=768") - process = FakeProcess( - [ - {"id": 1, "result": optimization_description}, - {"id": 2, "result": {"objective": 12.5}}, - ] - ) - invocation: dict[str, Any] = {} - - def popen_factory(command: list[str], **kwargs: Any) -> FakeProcess: - invocation["command"] = command - invocation["kwargs"] = kwargs + process = FakeProcess([ + {"id": 1, "result": optimization_description}, + {"id": 2, "result": {"objective": 12.5}}, + ]) + spawns: list[RecordedSpawn] = [] + + def popen_factory( + command: Sequence[str], + /, + *, + stdin: int, + stdout: int, + stderr: int, + bufsize: int, + close_fds: bool, + env: Mapping[str, str], + start_new_session: bool, + umask: int, + ) -> FakeProcess: + spawns.append( + RecordedSpawn( + command=command, + stdin=stdin, + stdout=stdout, + stderr=stderr, + bufsize=bufsize, + close_fds=close_fds, + env=env, + start_new_session=start_new_session, + umask=umask, + ) + ) return process model = PetrinautModel( @@ -75,20 +113,21 @@ def popen_factory(command: list[str], **kwargs: Any) -> FakeProcess: model.start() assert model.describe_optimization() == optimization_description - assert model.objective({"rate": 1.25, "count": 6, "enabled": False}) == 12.5 + assert model.objective({"rate": 1.25, "count": 6, "enabled": False}) == pytest.approx(12.5) lines = [json.loads(line) for line in process.stdin.getvalue().splitlines()] - assert invocation["command"] == [ + spawn = spawns[0] + assert list(spawn.command) == [ "node", "/cli.js", "serve", "--optimization-stdin", "--stdio", ] - assert invocation["kwargs"]["close_fds"] is True - assert invocation["kwargs"]["start_new_session"] is True - assert invocation["kwargs"]["env"]["NODE_OPTIONS"] == ("--max-old-space-size=768") - assert "AWS_SECRET_ACCESS_KEY" not in invocation["kwargs"]["env"] + assert spawn.close_fds is True + assert spawn.start_new_session is True + assert spawn.env["NODE_OPTIONS"] == "--max-old-space-size=768" + assert "AWS_SECRET_ACCESS_KEY" not in spawn.env assert lines == [ optimization_manifest, {"id": 1, "method": "optimization.describe"}, @@ -110,7 +149,7 @@ def popen_factory(command: list[str], **kwargs: Any) -> FakeProcess: def test_bootstrap_and_protocol_reads_use_bounded_defaults( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: model = PetrinautModel(optimization_manifest) @@ -119,7 +158,7 @@ def test_bootstrap_and_protocol_reads_use_bounded_defaults( def test_bootstrap_timeout_terminates_a_stuck_process( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: monkeypatch.setattr(petrinaut_client, "PROCESS_SHUTDOWN_TIMEOUT_SECONDS", 0.05) @@ -138,7 +177,7 @@ def test_bootstrap_timeout_terminates_a_stuck_process( def test_protocol_timeout_terminates_a_stuck_process( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: monkeypatch.setattr(petrinaut_client, "PROCESS_SHUTDOWN_TIMEOUT_SECONDS", 0.05) @@ -166,7 +205,7 @@ def test_protocol_timeout_terminates_a_stuck_process( def test_rejects_an_oversized_protocol_line( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: process = FakeProcess([]) @@ -186,19 +225,18 @@ def test_rejects_an_oversized_protocol_line( def test_drains_stderr_after_the_ready_line( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: drained = threading.Event() class TrackingStream(io.BytesIO): - def read(self, size: int = -1) -> bytes: + @override + def read(self, size: int | None = -1) -> bytes: drained.set() return super().read(size) process = FakeProcess([]) - process.stderr = TrackingStream( - b"Petrinaut stdio ready for optimization\ndiagnostic\n" - ) + process.stderr = TrackingStream(b"Petrinaut stdio ready for optimization\ndiagnostic\n") model = PetrinautModel( optimization_manifest, popen_factory=lambda *_args, **_kwargs: process, @@ -210,17 +248,20 @@ def read(self, size: int = -1) -> bytes: model.close() +class UnkillableProcess(FakeProcess): + """A process whose ``wait`` always times out, forcing signal escalation.""" + + @override + def wait(self, _timeout: float | None = None, /) -> int: + raise subprocess.TimeoutExpired("petrinaut", _timeout or 0) + + def test_close_signals_the_isolated_process_group( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: - process = FakeProcess([]) + process = UnkillableProcess([]) process.pid = 12345 - - def wait(*, timeout: float | None = None) -> int: - raise subprocess.TimeoutExpired("petrinaut", timeout) - - process.wait = wait # type: ignore[method-assign] signals: list[tuple[int, signal.Signals]] = [] monkeypatch.setattr( petrinaut_client.os, @@ -241,24 +282,30 @@ def wait(*, timeout: float | None = None) -> int: ] +class ShutdownRecordingProcess(FakeProcess): + """Record the interleaving of ``killpg`` calls and shutdown waits.""" + + def __init__(self, responses: list[dict[str, JsonValue]]) -> None: + super().__init__(responses) + self.events: list[str] = [] + + @override + def wait(self, _timeout: float | None = None, /) -> int: + self.events.append("wait") + self.returncode = -signal.SIGTERM + return self.returncode + + def test_prompt_close_signals_the_group_before_any_shutdown_wait( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: - process = FakeProcess([]) + process = ShutdownRecordingProcess([]) process.pid = 12345 - events: list[str] = [] - - def wait(*, timeout: float | None = None) -> int: - events.append("wait") - process.returncode = -signal.SIGTERM - return process.returncode - - process.wait = wait # type: ignore[method-assign] monkeypatch.setattr( petrinaut_client.os, "killpg", - lambda _pid, sent_signal: events.append( + lambda _pid, sent_signal: process.events.append( f"killpg:{signal.Signals(sent_signal).name}" ), ) @@ -270,11 +317,11 @@ def wait(*, timeout: float | None = None) -> int: model.close(graceful=False) - assert events == ["killpg:SIGTERM", "wait"] + assert process.events == ["killpg:SIGTERM", "wait"] def test_prompt_close_terminates_a_busy_process_quickly( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: """A mid-trial CLI never notices stdin EOF, so cancellation must signal.""" script = """ @@ -299,14 +346,12 @@ def test_prompt_close_terminates_a_busy_process_quickly( def test_cli_error_during_evaluation_is_recoverable( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: - process = FakeProcess( - [ - {"id": 1, "error": {"message": "scenario failed"}}, - {"id": 2, "result": {"objective": 7}}, - ] - ) + process = FakeProcess([ + {"id": 1, "error": {"message": "scenario failed"}}, + {"id": 2, "result": {"objective": 7}}, + ]) model = PetrinautModel( optimization_manifest, popen_factory=lambda *_args, **_kwargs: process, @@ -316,14 +361,14 @@ def test_cli_error_during_evaluation_is_recoverable( with pytest.raises(PetrinautRunError, match="scenario failed"): model.objective({"rate": 1}) - assert model.objective({"rate": 2}) == 7.0 + assert model.objective({"rate": 2}) == pytest.approx(7.0) model.close() @pytest.mark.parametrize("objective", [True, None, float("inf")]) def test_rejects_a_non_finite_numeric_objective( - optimization_manifest: dict, - objective: Any, + optimization_manifest: dict[str, JsonValue], + objective: JsonValue, ) -> None: process = FakeProcess([{"id": 1, "result": {"objective": objective}}]) model = PetrinautModel( @@ -339,7 +384,7 @@ def test_rejects_a_non_finite_numeric_objective( def test_rejects_a_mismatched_protocol_response( - optimization_manifest: dict, + optimization_manifest: dict[str, JsonValue], ) -> None: process = FakeProcess([{"id": 99, "result": {"objective": 12.5}}]) model = PetrinautModel( diff --git a/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py b/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py index 79d0f6d6e13..6d7e2037d05 100644 --- a/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py +++ b/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py @@ -1,41 +1,38 @@ -from __future__ import annotations - import asyncio import json import logging import threading import time -from typing import Any +from collections.abc import Mapping +from typing import override import optuna import pytest from fastapi import FastAPI +from pydantic import JsonValue, ValidationError from src import petrinaut_optimizer -from src.petrinaut_client import PetrinautClientError, PetrinautRunError +from src.petrinaut_client import PetrinautClientError, PetrinautRunError, Scalar from src.petrinaut_optimizer import PetrinautOptimizer from src.utils import Phase, StatusStore class FakeModel: - eval_timeout = None - - def __init__(self, description: dict[str, Any]) -> None: + def __init__(self, description: dict[str, JsonValue]) -> None: self.description = description - self.evaluations: list[dict[str, Any]] = [] + self.evaluations: list[Mapping[str, Scalar]] = [] self.closed = False self.close_calls: list[bool] = [] - def describe_optimization(self) -> dict[str, Any]: + def describe_optimization(self) -> dict[str, JsonValue]: return self.description - def objective(self, parameter_values: dict[str, Any]) -> float: + def objective(self, parameter_values: Mapping[str, Scalar], /) -> float: self.evaluations.append(parameter_values) - return float( - parameter_values["rate"] - + parameter_values["count"] - + int(parameter_values["enabled"]) - ) + rate = parameter_values["rate"] + count = parameter_values["count"] + enabled = parameter_values["enabled"] + return float(rate) + float(count) + float(enabled) def close(self, *, graceful: bool = True) -> None: self.closed = True @@ -43,28 +40,31 @@ def close(self, *, graceful: bool = True) -> None: class SlowModel(FakeModel): - def objective(self, parameter_values: dict[str, Any]) -> float: + @override + def objective(self, parameter_values: Mapping[str, Scalar], /) -> float: time.sleep(0.04) return super().objective(parameter_values) class FailingModel(FakeModel): - def __init__(self, description: dict[str, Any], error: Exception) -> None: + def __init__(self, description: dict[str, JsonValue], error: Exception) -> None: super().__init__(description) self.error = error - def objective(self, parameter_values: dict[str, Any]) -> float: + @override + def objective(self, parameter_values: Mapping[str, Scalar], /) -> float: self.evaluations.append(parameter_values) raise self.error class StubbornModel(FakeModel): - def __init__(self, description: dict[str, Any]) -> None: + def __init__(self, description: dict[str, JsonValue]) -> None: super().__init__(description) self.entered = threading.Event() self.release = threading.Event() - def objective(self, parameter_values: dict[str, Any]) -> float: + @override + def objective(self, _parameter_values: Mapping[str, Scalar], /) -> float: self.entered.set() self.release.wait() raise PetrinautClientError("CLI closed") @@ -75,9 +75,10 @@ def __init__(self) -> None: self.app = FastAPI() self.app.state.statuses = StatusStore() self.headers: dict[str, str] = {} + self.disconnected = False async def is_disconnected(self) -> bool: - return False + return self.disconnected class DisconnectedAfterWorkerStarts(ConnectedRequest): @@ -85,6 +86,7 @@ def __init__(self, model: StubbornModel) -> None: super().__init__() self.model = model + @override async def is_disconnected(self) -> bool: await asyncio.to_thread(self.model.entered.wait, 1) return True @@ -94,11 +96,18 @@ def _run_id(request: ConnectedRequest) -> str: return request.app.state.statuses.create().run_id +def _with_single_trial(description: dict[str, JsonValue]) -> dict[str, JsonValue]: + """Return a copy of the description whose study runs exactly one trial.""" + study = description["study"] + assert isinstance(study, dict) + return {**description, "study": {**study, "trials": 1}} + + def test_maps_float_integer_step_and_boolean_descriptors_to_optuna( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + optimizer = PetrinautOptimizer(model) trial = optuna.trial.FixedTrial({"rate": 0.5, "count": 6, "enabled": False}) assert optimizer.suggest(trial) == { @@ -112,32 +121,28 @@ def test_maps_float_integer_step_and_boolean_descriptors_to_optuna( assert isinstance(distributions["count"], optuna.distributions.IntDistribution) assert distributions["count"].step == 2 assert distributions["count"].log is False - assert isinstance( - distributions["enabled"], optuna.distributions.CategoricalDistribution - ) + assert isinstance(distributions["enabled"], optuna.distributions.CategoricalDistribution) assert distributions["enabled"].choices == (False, True) def test_objective_sends_only_flat_suggested_values( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + optimizer = PetrinautOptimizer(model) trial = optuna.trial.FixedTrial({"rate": 1.25, "count": 8, "enabled": True}) - assert optimizer.objective(trial) == 10.25 + assert optimizer.objective(trial) == pytest.approx(10.25) assert model.evaluations == [{"rate": 1.25, "count": 8, "enabled": True}] def test_objective_prunes_only_evaluation_errors( - optimization_description: dict, + optimization_description: dict[str, JsonValue], caplog: pytest.LogCaptureFixture, ) -> None: sensitive_detail = "secret user-authored expression" - model = FailingModel( - optimization_description, PetrinautRunError(sensitive_detail) - ) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = FailingModel(optimization_description, PetrinautRunError(sensitive_detail)) + optimizer = PetrinautOptimizer(model) trial = optuna.trial.FixedTrial({"rate": 1.25, "count": 8, "enabled": True}) with ( @@ -146,20 +151,16 @@ def test_objective_prunes_only_evaluation_errors( ): optimizer.objective(trial) - record = next( - record for record in caplog.records if "pruned" in record.getMessage() - ) + record = next(record for record in caplog.records if "pruned" in record.getMessage()) assert sensitive_detail not in record.getMessage() - assert record.error_type == "PetrinautRunError" + assert vars(record)["error_type"] == "PetrinautRunError" def test_objective_propagates_transport_errors( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: - model = FailingModel( - optimization_description, PetrinautClientError("transport failed") - ) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = FailingModel(optimization_description, PetrinautClientError("transport failed")) + optimizer = PetrinautOptimizer(model) trial = optuna.trial.FixedTrial({"rate": 1.25, "count": 8, "enabled": True}) with pytest.raises(PetrinautClientError, match="transport failed"): @@ -167,14 +168,10 @@ def test_objective_propagates_transport_errors( def test_uses_the_cli_supplied_seed_for_deterministic_sampling( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: - first = PetrinautOptimizer( # type: ignore[arg-type] - FakeModel(optimization_description) - ) - second = PetrinautOptimizer( # type: ignore[arg-type] - FakeModel(optimization_description) - ) + first = PetrinautOptimizer(FakeModel(optimization_description)) + second = PetrinautOptimizer(FakeModel(optimization_description)) assert first.suggest(first.study.ask()) == second.suggest(second.study.ask()) @@ -212,33 +209,27 @@ def test_uses_the_cli_supplied_seed_for_deterministic_sampling( ], ) def test_rejects_invalid_cli_descriptions( - optimization_description: dict, - change: dict[str, Any], + optimization_description: dict[str, JsonValue], + change: dict[str, JsonValue], ) -> None: optimization_description.update(change) - with pytest.raises(ValueError): - PetrinautOptimizer( # type: ignore[arg-type] - FakeModel(optimization_description) - ) + with pytest.raises(ValidationError): + PetrinautOptimizer(FakeModel(optimization_description)) def test_stream_all_logs_the_study_lifecycle_with_correlation( - optimization_description: dict, + optimization_description: dict[str, JsonValue], caplog: pytest.LogCaptureFixture, ) -> None: model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + optimizer = PetrinautOptimizer(model) request = ConnectedRequest() - request.headers = {"x-hash-request-id": "request-s1"} # type: ignore[attr-defined] + request.headers = {"x-hash-request-id": "request-s1"} run_id = _run_id(request) async def consume() -> None: - async for _frame in optimizer.stream_all( - request, - run_id, - optimizer.n_trials, # type: ignore[arg-type] - ): + async for _frame in optimizer.stream_all(request, run_id, optimizer.n_trials): pass with caplog.at_level(logging.INFO, logger="pn_optimize"): @@ -251,29 +242,24 @@ async def consume() -> None: } for expected in ("study_started", "study_completed"): record = events[expected] - assert record.run_id == run_id - assert record.request_id == "request-s1" - assert record.trials == optimizer.n_trials + assert vars(record)["run_id"] == run_id + assert vars(record)["request_id"] == "request-s1" + assert vars(record)["trials"] == optimizer.n_trials def test_disconnect_is_logged_with_the_run_id( - optimization_description: dict, + optimization_description: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture, ) -> None: - optimization_description["study"]["trials"] = 1 monkeypatch.setattr(petrinaut_optimizer, "_WORKER_SHUTDOWN_TIMEOUT_SECONDS", 0.01) - model = StubbornModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = StubbornModel(_with_single_trial(optimization_description)) + optimizer = PetrinautOptimizer(model) request = DisconnectedAfterWorkerStarts(model) run_id = _run_id(request) async def consume() -> None: - async for _frame in optimizer.stream_all( - request, - run_id, - optimizer.n_trials, # type: ignore[arg-type] - ): + async for _frame in optimizer.stream_all(request, run_id, optimizer.n_trials): pass model.release.set() await asyncio.sleep(0.05) @@ -286,69 +272,54 @@ async def consume() -> None: for record in caplog.records if getattr(record, "event", None) == "client_disconnected" ) - assert disconnected.run_id == run_id + assert vars(disconnected)["run_id"] == run_id def test_stream_all_preserves_the_existing_sse_frame_shape( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + optimizer = PetrinautOptimizer(model) request = ConnectedRequest() async def collect() -> list[str]: return [ frame - async for frame in optimizer.stream_all( - request, - _run_id(request), - optimizer.n_trials, # type: ignore[arg-type] - ) + async for frame in optimizer.stream_all(request, _run_id(request), optimizer.n_trials) ] frames = asyncio.run(collect()) data = [ - json.loads(frame.removeprefix("data: ")) - for frame in frames - if frame.startswith("data: ") + json.loads(frame.removeprefix("data: ")) for frame in frames if frame.startswith("data: ") ] assert frames[-1] == "event: done\ndata: {}\n\n" assert len(data) == 3 assert all( - set(payload) == {"step", "params", "init_state", "metric", "state"} - for payload in data + set(payload) == {"step", "params", "init_state", "metric", "state"} for payload in data ) assert all(payload["init_state"] == {} for payload in data) - assert all( - set(payload["params"]) == {"rate", "count", "enabled"} for payload in data - ) + assert all(set(payload["params"]) == {"rate", "count", "enabled"} for payload in data) assert model.closed is True assert model.close_calls == [True] def test_stream_best_preserves_the_existing_sse_frame_shape( - optimization_description: dict, + optimization_description: dict[str, JsonValue], ) -> None: model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + optimizer = PetrinautOptimizer(model) request = ConnectedRequest() async def collect() -> list[str]: return [ frame - async for frame in optimizer.stream_best( - request, - _run_id(request), - optimizer.n_trials, # type: ignore[arg-type] - ) + async for frame in optimizer.stream_best(request, _run_id(request), optimizer.n_trials) ] frames = asyncio.run(collect()) data = [ - json.loads(frame.removeprefix("data: ")) - for frame in frames - if frame.startswith("data: ") + json.loads(frame.removeprefix("data: ")) for frame in frames if frame.startswith("data: ") ] assert frames[-1] == "event: done\ndata: {}\n\n" @@ -360,23 +331,18 @@ async def collect() -> list[str]: def test_stream_sends_comment_heartbeats_while_a_trial_is_running( - optimization_description: dict, + optimization_description: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: - optimization_description["study"]["trials"] = 1 monkeypatch.setattr(petrinaut_optimizer, "SSE_HEARTBEAT_SECONDS", 0.01) - model = SlowModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = SlowModel(_with_single_trial(optimization_description)) + optimizer = PetrinautOptimizer(model) request = ConnectedRequest() async def collect() -> list[str]: return [ frame - async for frame in optimizer.stream_all( - request, - _run_id(request), - optimizer.n_trials, # type: ignore[arg-type] - ) + async for frame in optimizer.stream_all(request, _run_id(request), optimizer.n_trials) ] frames = asyncio.run(collect()) @@ -387,27 +353,18 @@ async def collect() -> list[str]: @pytest.mark.parametrize("stream_name", ["stream_all", "stream_best"]) def test_stream_error_is_terminal_and_is_not_followed_by_done( - optimization_description: dict, + optimization_description: dict[str, JsonValue], stream_name: str, caplog: pytest.LogCaptureFixture, ) -> None: - model = FailingModel( - optimization_description, PetrinautClientError("transport failed") - ) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = FailingModel(optimization_description, PetrinautClientError("transport failed")) + optimizer = PetrinautOptimizer(model) request = ConnectedRequest() run_id = _run_id(request) async def collect() -> list[str]: stream = getattr(optimizer, stream_name) - return [ - frame - async for frame in stream( - request, - run_id, - optimizer.n_trials, # type: ignore[arg-type] - ) - ] + return [frame async for frame in stream(request, run_id, optimizer.n_trials)] with caplog.at_level(logging.WARNING, logger="pn_optimize"): frames = asyncio.run(collect()) @@ -425,35 +382,27 @@ async def collect() -> list[str]: assert model.closed is True assert model.close_calls == [False] failure = next( - record - for record in caplog.records - if getattr(record, "event", None) == "study_failed" + record for record in caplog.records if getattr(record, "event", None) == "study_failed" ) - assert failure.run_id == run_id + assert vars(failure)["run_id"] == run_id assert "transport failed" not in failure.getMessage() assert not hasattr(failure, "detail") def test_disconnect_closes_cli_before_a_bounded_worker_join( - optimization_description: dict, + optimization_description: dict[str, JsonValue], monkeypatch: pytest.MonkeyPatch, ) -> None: - optimization_description["study"]["trials"] = 1 monkeypatch.setattr(petrinaut_optimizer, "_WORKER_SHUTDOWN_TIMEOUT_SECONDS", 0.01) - model = StubbornModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] + model = StubbornModel(_with_single_trial(optimization_description)) + optimizer = PetrinautOptimizer(model) request = DisconnectedAfterWorkerStarts(model) run_id = _run_id(request) async def collect() -> list[str]: started_at = time.monotonic() frames = [ - frame - async for frame in optimizer.stream_all( - request, - run_id, - optimizer.n_trials, # type: ignore[arg-type] - ) + frame async for frame in optimizer.stream_all(request, run_id, optimizer.n_trials) ] assert time.monotonic() - started_at < 0.5 model.release.set() diff --git a/apps/petrinaut-opt/tests/test_status.py b/apps/petrinaut-opt/tests/test_status.py index 8d111e39805..4aecfe2c334 100644 --- a/apps/petrinaut-opt/tests/test_status.py +++ b/apps/petrinaut-opt/tests/test_status.py @@ -1,69 +1,63 @@ -import unittest - +import pytest from fastapi import FastAPI from src.utils import Phase, StatusStore, set_status -class StatusStoreTest(unittest.TestCase): - def setUp(self) -> None: - self.app = FastAPI() - self.app.state.statuses = StatusStore() +@pytest.fixture +def status_app() -> FastAPI: + app = FastAPI() + app.state.statuses = StatusStore() + return app + + +def test_concurrent_runs_keep_independent_statuses(status_app: FastAPI) -> None: + first = status_app.state.statuses.create() + second = status_app.state.statuses.create() - def test_concurrent_runs_keep_independent_statuses(self) -> None: - first = self.app.state.statuses.create() - second = self.app.state.statuses.create() + set_status(status_app, first.run_id, phase=Phase.running, detail="first running") + set_status(status_app, second.run_id, phase=Phase.running, detail="second running") + set_status(status_app, first.run_id, phase=Phase.done, detail="first completed") - set_status(self.app, first.run_id, phase=Phase.running, detail="first running") - set_status( - self.app, second.run_id, phase=Phase.running, detail="second running" - ) - set_status(self.app, first.run_id, phase=Phase.done, detail="first completed") + first_status = status_app.state.statuses.get(first.run_id) + second_status = status_app.state.statuses.get(second.run_id) - first_status = self.app.state.statuses.get(first.run_id) - second_status = self.app.state.statuses.get(second.run_id) + assert first_status is not None + assert first_status.phase is Phase.done + assert first_status.detail == "first completed" + assert second_status is not None + assert second_status.phase is Phase.running + assert second_status.detail == "second running" - self.assertEqual(first_status.phase, Phase.done) - self.assertEqual(first_status.detail, "first completed") - self.assertEqual(second_status.phase, Phase.running) - self.assertEqual(second_status.detail, "second running") - def test_all_returns_each_run_with_its_identifier(self) -> None: - first = self.app.state.statuses.create() - second = self.app.state.statuses.create() +def test_all_returns_each_run_with_its_identifier(status_app: FastAPI) -> None: + first = status_app.state.statuses.create() + second = status_app.state.statuses.create() - statuses = self.app.state.statuses.all() + statuses = status_app.state.statuses.all() - self.assertEqual( - [status.run_id for status in statuses], - [first.run_id, second.run_id], - ) + assert [status.run_id for status in statuses] == [first.run_id, second.run_id] - def test_history_discards_the_oldest_runs_at_its_limit(self) -> None: - statuses = StatusStore(max_history=2) - first = statuses.create() - second = statuses.create() - third = statuses.create() - self.assertIsNone(statuses.get(first.run_id)) - self.assertEqual( - [status.run_id for status in statuses.all()], - [second.run_id, third.run_id], - ) +def test_history_discards_the_oldest_runs_at_its_limit() -> None: + statuses = StatusStore(max_history=2) + first = statuses.create() + second = statuses.create() + third = statuses.create() - def test_history_does_not_evict_a_running_run(self) -> None: - statuses = StatusStore(max_history=2) - running = statuses.create() - statuses.update(running.run_id, phase=Phase.running) - finished = statuses.create() - statuses.update(finished.run_id, phase=Phase.done) + assert statuses.get(first.run_id) is None + assert [status.run_id for status in statuses.all()] == [second.run_id, third.run_id] - newest = statuses.create() - self.assertIsNotNone(statuses.get(running.run_id)) - self.assertIsNone(statuses.get(finished.run_id)) - self.assertIsNotNone(statuses.get(newest.run_id)) +def test_history_does_not_evict_a_running_run() -> None: + statuses = StatusStore(max_history=2) + running = statuses.create() + statuses.update(running.run_id, phase=Phase.running) + finished = statuses.create() + statuses.update(finished.run_id, phase=Phase.done) + newest = statuses.create() -if __name__ == "__main__": - unittest.main() + assert statuses.get(running.run_id) is not None + assert statuses.get(finished.run_id) is None + assert statuses.get(newest.run_id) is not None diff --git a/apps/petrinaut-opt/tests/test_telemetry.py b/apps/petrinaut-opt/tests/test_telemetry.py index 981ce36f92d..bf1d833bf30 100644 --- a/apps/petrinaut-opt/tests/test_telemetry.py +++ b/apps/petrinaut-opt/tests/test_telemetry.py @@ -1,11 +1,12 @@ -from __future__ import annotations - import io import logging +import pytest from fastapi import FastAPI from fastapi.testclient import TestClient -from opentelemetry.sdk._logs.export import InMemoryLogRecordExporter +from opentelemetry.sdk._logs.export import ( # noqa: PLC2701 — the OTEL logs SDK has no public import path yet. + InMemoryLogRecordExporter, +) from opentelemetry.sdk.metrics.export import ConsoleMetricExporter from opentelemetry.sdk.trace.export.in_memory_span_exporter import ( InMemorySpanExporter, @@ -29,21 +30,21 @@ def shutdown(self, *_args: object, **_kwargs: object) -> None: self.shut += 1 -def test_flush_preserves_active_providers(monkeypatch) -> None: +def test_flush_preserves_active_providers(monkeypatch: pytest.MonkeyPatch) -> None: spies = [_SpyProvider() for _ in range(3)] - monkeypatch.setattr(telemetry, "_providers", list(spies)) + monkeypatch.setattr(telemetry._state, "providers", list(spies)) telemetry.flush_telemetry() assert all(spy.flushed == 1 for spy in spies) assert all(spy.shut == 0 for spy in spies) - assert telemetry._providers == spies + assert telemetry._state.providers == spies -def test_setup_configures_service_telemetry(monkeypatch) -> None: +def test_setup_configures_service_telemetry(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("OTEL_EXPORTER_OTLP_ENDPOINT", "http://localhost:4317") - monkeypatch.setattr(telemetry, "_configured", False) - monkeypatch.setattr(telemetry, "_providers", []) + monkeypatch.setattr(telemetry._state, "configured", False) + monkeypatch.setattr(telemetry._state, "providers", []) log_exporter = InMemoryLogRecordExporter() # Avoid opening real OTLP connections: swap the exporters for in-memory ones. monkeypatch.setattr( @@ -73,11 +74,11 @@ def instrument(_app: FastAPI, **kwargs: object) -> None: monkeypatch.setattr(service_logger, "handlers", list(service_logger.handlers)) assert telemetry.setup_telemetry(FastAPI()) is True - assert len(telemetry._providers) == 3 - assert tracer_providers == [telemetry._providers[0]] - assert meter_providers == [telemetry._providers[1]] - assert instrumentation["tracer_provider"] is telemetry._providers[0] - assert instrumentation["meter_provider"] is telemetry._providers[1] + assert len(telemetry._state.providers) == 3 + assert tracer_providers == [telemetry._state.providers[0]] + assert meter_providers == [telemetry._state.providers[1]] + assert instrumentation["tracer_provider"] is telemetry._state.providers[0] + assert instrumentation["meter_provider"] is telemetry._state.providers[1] assert instrumentation["excluded_urls"] == "status$" new_handlers = [ handler @@ -95,20 +96,18 @@ def instrument(_app: FastAPI, **kwargs: object) -> None: logging.getLogger("pn_api").info("optimization lifecycle test") logging.getLogger("opentelemetry.exporter").error("exporter failure test") telemetry.flush_telemetry() - exported_bodies = [ - record.log_record.body for record in log_exporter.get_finished_logs() - ] + exported_bodies = [record.log_record.body for record in log_exporter.get_finished_logs()] assert "optimization lifecycle test" in exported_bodies assert "exporter failure test" not in exported_bodies - telemetry._shutdown_unpublished_providers(telemetry._providers) - telemetry._providers.clear() + telemetry._shutdown_unpublished_providers(telemetry._state.providers) + telemetry._state.providers.clear() -def test_setup_cleans_up_partial_configuration(monkeypatch) -> None: +def test_setup_cleans_up_partial_configuration(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setenv("OTEL_EXPORTER_OTLP_ENDPOINT", "http://localhost:4317") - monkeypatch.setattr(telemetry, "_configured", False) - monkeypatch.setattr(telemetry, "_providers", []) + monkeypatch.setattr(telemetry._state, "configured", False) + monkeypatch.setattr(telemetry._state, "providers", []) monkeypatch.setattr( telemetry, "_build_exporters", @@ -126,9 +125,7 @@ def test_setup_cleans_up_partial_configuration(monkeypatch) -> None: def fail_instrumentation(*_args: object, **_kwargs: object) -> None: raise RuntimeError("instrumentation failed") - monkeypatch.setattr( - telemetry.FastAPIInstrumentor, "instrument_app", fail_instrumentation - ) + monkeypatch.setattr(telemetry.FastAPIInstrumentor, "instrument_app", fail_instrumentation) original_handlers = { logger_name: list(logging.getLogger(logger_name).handlers) for logger_name in telemetry._SERVICE_LOGGER_NAMES @@ -137,12 +134,12 @@ def fail_instrumentation(*_args: object, **_kwargs: object) -> None: assert telemetry.setup_telemetry(FastAPI()) is False assert tracer_providers == [] assert meter_providers == [] - assert telemetry._providers == [] + assert telemetry._state.providers == [] for logger_name in telemetry._SERVICE_LOGGER_NAMES: assert logging.getLogger(logger_name).handlers == original_handlers[logger_name] -def test_lifespan_flushes_telemetry_on_exit(monkeypatch) -> None: +def test_lifespan_flushes_telemetry_on_exit(monkeypatch: pytest.MonkeyPatch) -> None: calls = {"count": 0} def _spy() -> None: diff --git a/apps/petrinaut-opt/uv.lock b/apps/petrinaut-opt/uv.lock deleted file mode 100644 index f86eb6be702..00000000000 --- a/apps/petrinaut-opt/uv.lock +++ /dev/null @@ -1,1818 +0,0 @@ -version = 1 -revision = 3 -requires-python = ">=3.10.20" -resolution-markers = [ - "python_full_version >= '3.14'", - "python_full_version == '3.13.*'", - "python_full_version == '3.12.*'", - "python_full_version == '3.11.*'", - "python_full_version < '3.11'", -] - -[[package]] -name = "alembic" -version = "1.18.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "mako" }, - { name = "sqlalchemy" }, - { name = "tomli", marker = "python_full_version < '3.11'" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/1a/cc/ac0bed8e562e7407fe55c3ba85a4dce86e6dbd8730887bd1e406a6c5c18a/alembic-1.18.5.tar.gz", hash = "sha256:1554982221dd17e9a749b53902407578eb305e453f71999e8c7f0a48389fff8e", size = 2060480, upload-time = "2026-06-25T15:20:54.888Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/96/78/5fe6dc3a3a5b2f5a2a4faef8bfe336d5fa049a38884ab3172e0098160c01/alembic-1.18.5-py3-none-any.whl", hash = "sha256:06d8ba9d04558022f5395e9317de03d270f3dced49cee01f89fe7a13c26f14bc", size = 264664, upload-time = "2026-06-25T15:20:56.673Z" }, -] - -[[package]] -name = "annotated-doc" -version = "0.0.4" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" }, -] - -[[package]] -name = "annotated-types" -version = "0.7.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, -] - -[[package]] -name = "anyio" -version = "4.14.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, - { name = "idna" }, - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" }, -] - -[[package]] -name = "asgiref" -version = "3.12.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/e6/26/3b59f2bdae5f640389becb1f673cded775287f5fc4f816309d9ca9a3f93d/asgiref-3.12.1.tar.gz", hash = "sha256:59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340", size = 42378, upload-time = "2026-07-14T09:56:18.087Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/c0/1b/54f4ad77cd8a584fa70746c47df988e002cf1ee1eba43364d46f87803647/asgiref-3.12.1-py3-none-any.whl", hash = "sha256:fe386d1c2bff7259ea95929266d12a8cf9a8b5a1c2598402967d8792e7a7c094", size = 25478, upload-time = "2026-07-14T09:56:16.926Z" }, -] - -[[package]] -name = "certifi" -version = "2026.6.17" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" }, -] - -[[package]] -name = "charset-normalizer" -version = "3.4.9" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ad/81/8e983840c6e5b93b33c2ba81aa3d52c2e42f0e9a690ce7607a2e61da4a5c/charset_normalizer-3.4.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd6280cf040f233bd7d3407b743b4b4c74f70e8e1c4199cb112a62c941c0772a", size = 322240, upload-time = "2026-07-07T14:32:36.236Z" }, - { url = "https://files.pythonhosted.org/packages/de/d1/b4319dc3229d8272fba305e206fc0a148e2de8d4087917ce62ae6382f359/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa99adc8f081b475a12843953db36831eaf83ec33eb46a90629ca6a5de45a616", size = 216475, upload-time = "2026-07-07T14:32:38.142Z" }, - { url = "https://files.pythonhosted.org/packages/80/33/6c99c1b3e6b8bf730e1bc809b9a2608f224145069114c479a2e9e1494346/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c1225416b463483160e4af85d5fc3a9690ccb53fd4b1865a6437825f5ede3209", size = 238670, upload-time = "2026-07-07T14:32:39.658Z" }, - { url = "https://files.pythonhosted.org/packages/7f/f4/ffbb83546e1f198ecc70ecd372b65cf2b50f9068b380abd67640f17a8e18/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:16d10d789dd9bcca1173c95af82c58433122564b7bc39385124be735a35cbe99", size = 233476, upload-time = "2026-07-07T14:32:41.155Z" }, - { url = "https://files.pythonhosted.org/packages/e8/5f/b98b8da398637b551e427e7be922bdec19177dc54d6811dcdaa503f23aac/charset_normalizer-3.4.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9bb41182d93ea91f60b4bc8fbf4c820c69ef8a12ab2d917f3f1834f1acad07e8", size = 223817, upload-time = "2026-07-07T14:32:42.592Z" }, - { url = "https://files.pythonhosted.org/packages/36/31/a276bb2e66243072a3fd06fdcab9cbb61a305b02143d70d2bda21d888fa8/charset_normalizer-3.4.9-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:bcf74c1df76758a395bf0af608c04c82257523f55c9868b334f06270d0f2112b", size = 207974, upload-time = "2026-07-07T14:32:44.258Z" }, - { url = "https://files.pythonhosted.org/packages/5e/be/7ee4453d7e88dfbc4104ccd34900b9f2c7c17dac22881865fe0e82424a25/charset_normalizer-3.4.9-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b5314963fce9b0b12743891de876e724997864ee22aa496f903f426c7e2fa5b2", size = 221655, upload-time = "2026-07-07T14:32:45.64Z" }, - { url = "https://files.pythonhosted.org/packages/1d/85/181c652953eb5276d198f375b1dd641047392050098100a3a02d6534f657/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e9701d0049d92c16703a42771b98d560b95248949f23f8cf7b4eddd201814fb9", size = 219229, upload-time = "2026-07-07T14:32:47.376Z" }, - { url = "https://files.pythonhosted.org/packages/0c/e7/aaf6da33fc9f4691cda8f7efbc9f69179d3d39ec8a4799baf273ee1d8db0/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:65a7ff3f705e57d392f7261b6d0550fe137c3019477431f1c355e0db0a7d3e15", size = 209704, upload-time = "2026-07-07T14:32:48.855Z" }, - { url = "https://files.pythonhosted.org/packages/63/01/f2fb3bd3a73be48b173ee0c6aa8d2497af97d5663a8c4c4b491de4c62f7a/charset_normalizer-3.4.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79580094b00d1789d1f93ea55bc43cb2f611910c72235b7657f3482ddcc1b22d", size = 226243, upload-time = "2026-07-07T14:32:50.239Z" }, - { url = "https://files.pythonhosted.org/packages/c4/02/c57a22739fe05246b0b5783b3bfb6afaac4eebb46f3ececdfb2f048f780e/charset_normalizer-3.4.9-cp310-cp310-win32.whl", hash = "sha256:432786d3561e69aeeae6c7e8648964ce0ad05736120135601f87ac26b9c83381", size = 150935, upload-time = "2026-07-07T14:32:51.676Z" }, - { url = "https://files.pythonhosted.org/packages/37/8d/ca39a7559a4797505530d084fd3a49a2c959efbbbff146302fb7be4e3b35/charset_normalizer-3.4.9-cp310-cp310-win_amd64.whl", hash = "sha256:8c041122946b7ba21bb32c45b1aa57b1be35527690aeb3c5c234521085632eee", size = 162314, upload-time = "2026-07-07T14:32:53.193Z" }, - { url = "https://files.pythonhosted.org/packages/01/da/a44bd7a13d426e69e4894557106cd58669097bfad4a8681123b618fbfc5d/charset_normalizer-3.4.9-cp310-cp310-win_arm64.whl", hash = "sha256:375b83ed0aecfce76c16d198fbc21f3b11b337d68662bea0a995046682a11419", size = 153075, upload-time = "2026-07-07T14:32:54.554Z" }, - { url = "https://files.pythonhosted.org/packages/0b/e3/85ec501f206fb049259288c1f3506e53876937fb00edb47009348e66756b/charset_normalizer-3.4.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0e94703ec9684807f20cfb5eed95c70f67f2a8f21ad620146d7b5a13677b93e5", size = 317075, upload-time = "2026-07-07T14:32:56.021Z" }, - { url = "https://files.pythonhosted.org/packages/c3/69/2a5385192e67175f7d8bd5ce4f57c24bc956439adeae5c13a99aa28a53d1/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a441ea71902098ffe78c5abe6c494f44160b4af614ed16c3d9a3b1d17fd8ee2", size = 213837, upload-time = "2026-07-07T14:32:57.78Z" }, - { url = "https://files.pythonhosted.org/packages/b3/46/03ddc7da576d814fe0a36dd1f0fd3258e95404b4b2e3c026b7923d7e133f/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:304b13570067b2547562e308af560b3963857b1fa90bd6afd978130130fe2d6a", size = 235503, upload-time = "2026-07-07T14:32:59.205Z" }, - { url = "https://files.pythonhosted.org/packages/4e/6e/de0229a7ef40f6f9d28a837eebf4ec47bdca5dab4e900c84f22919af636a/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4773092f8019072343a7447203308b176e10199920eb02d6195e81bbb3274c29", size = 229944, upload-time = "2026-07-07T14:33:00.803Z" }, - { url = "https://files.pythonhosted.org/packages/a5/34/49b9060e8418b14fb5cba9cf6bfb383111e2538a03a1fb18e66a95aeb3d5/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:04ce310cb89c15df659582aee80a0603788732a5e017d5bd5c81158106ce249c", size = 221276, upload-time = "2026-07-07T14:33:02.199Z" }, - { url = "https://files.pythonhosted.org/packages/44/95/80282cce0fae9c3061203d723ee87da996aed79679e65d8935050ee7ca1f/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:c0323c9daef75ef2e5083624b4585018a0c9d5e3b40f607eed81a311270b934b", size = 205260, upload-time = "2026-07-07T14:33:03.698Z" }, - { url = "https://files.pythonhosted.org/packages/0c/74/2f62c8821b969ea3bd67cc2e6976834f48ca5d12664d2559ebcd9bcfbed7/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:871ff67ea1aad4dfd91736464934d56b32dac49f9fbe16cddba36198a7b3a0db", size = 217786, upload-time = "2026-07-07T14:33:05.12Z" }, - { url = "https://files.pythonhosted.org/packages/d9/8d/feabb82cb49fcad14515b1d7d1ca4787b0da7fc723a212bf89bc9e0fac52/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:67830fc78e67501f47bb950471b2dcb9b35b140084429318e862895a8e89c993", size = 216798, upload-time = "2026-07-07T14:33:06.629Z" }, - { url = "https://files.pythonhosted.org/packages/a5/ff/c946d63bc3786d5b84d960b0f7ab7e25b828486a946b5aa997625bcaf6a6/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:3d92613ec25e43b05f042302531ec0f00b8445190e43325880cbd6ab7c2581da", size = 206429, upload-time = "2026-07-07T14:33:08.006Z" }, - { url = "https://files.pythonhosted.org/packages/af/ba/5e5007c370702f85d2ef75791fac7943ed41e080364a673b20142e430e3e/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:280081916dc341820640489a66e4696049401ef1cf6dd672f672e70ad915aca3", size = 223066, upload-time = "2026-07-07T14:33:09.783Z" }, - { url = "https://files.pythonhosted.org/packages/83/d5/9096aa3cf532dfad237861544eb47a0f20d5adbf1039760fed8eaae935d9/charset_normalizer-3.4.9-cp311-cp311-win32.whl", hash = "sha256:ac351b3b8014eead140e77e9717e2992c6bbe30b63bc3422422eb84865412e3d", size = 150456, upload-time = "2026-07-07T14:33:11.217Z" }, - { url = "https://files.pythonhosted.org/packages/ed/a1/e29995109e455dc8eff8d0fac6ae509be39561318a7cfeac5d33ad029213/charset_normalizer-3.4.9-cp311-cp311-win_amd64.whl", hash = "sha256:6366a16e1a25018694d6a5d784d09b046edc9eac40ea2b54065c3052672516a1", size = 161410, upload-time = "2026-07-07T14:33:12.743Z" }, - { url = "https://files.pythonhosted.org/packages/4f/8d/1569f4d0032d6ba2a4fe4591c35bf87868c600c41a71eb5c2e1ffa8464c2/charset_normalizer-3.4.9-cp311-cp311-win_arm64.whl", hash = "sha256:1d22856ffbe153a602df38e4a5464f0b748a54002e0d69ac6d2ad0a197cc99ec", size = 152649, upload-time = "2026-07-07T14:33:14.173Z" }, - { url = "https://files.pythonhosted.org/packages/70/4a/ecbd131485c07fcdfad54e28946d513e3da22ef3b4bd854dcafae54ec739/charset_normalizer-3.4.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:45b0cc4e3556cd875e09102988d1ab8356c998b596c9fced84547c8138b487a0", size = 319300, upload-time = "2026-07-07T14:33:15.666Z" }, - { url = "https://files.pythonhosted.org/packages/ec/96/5d9364e3342d69f3a045e1777bc47c85c383e6e9466d561b33fdb419d1f9/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b2aff1c7b3884512b9512c3eaadd9bab39fb45042ffaaa1dd08ff2b9f8109d9", size = 215802, upload-time = "2026-07-07T14:33:17.031Z" }, - { url = "https://files.pythonhosted.org/packages/4b/4c/5361f9aa7f2cb58d94f2ab831b3d493f69efb1d239654b4744e3c09527cb/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9104ed0bd76a429d46f9ec0dbc9b08ad1d2dcdf2b00a5a0daa1c145329b35b44", size = 237171, upload-time = "2026-07-07T14:33:18.576Z" }, - { url = "https://files.pythonhosted.org/packages/50/78/ce342ca4ff30b2eb49fe6d9578df85974f90c67d294113e94efdd9664cbd/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b86a2b16095d250c6f58b3d9b2eee6f4147754344f3dab0922f7c9bf7d226c9", size = 233075, upload-time = "2026-07-07T14:33:20.084Z" }, - { url = "https://files.pythonhosted.org/packages/01/c4/4fa4c8b3097a11f3c5f09a35b72ed6855fb1d332469504962ab7bafcc702/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e226f6218febc71f6c1fc2fafb91c226f75bdc1d8fb12d66823716e891608fd", size = 224256, upload-time = "2026-07-07T14:33:21.747Z" }, - { url = "https://files.pythonhosted.org/packages/87/3a/ad914516df7e358a81aae018caa5e0470ba827fa6d763b1d2e87d920a5f6/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:90c44bc373b7687f6948b693cceaea1348ae0975d7474746559494468e3c1d84", size = 208784, upload-time = "2026-07-07T14:33:23.313Z" }, - { url = "https://files.pythonhosted.org/packages/d7/74/3c12f9755717dfe5c5c87da63f35d765fa0c00382ec26bf23f7fae34f2ba/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cdef90ae47919cae358d8ab15797a800ed41da7aba5d72419fb510729e2ed4b", size = 219928, upload-time = "2026-07-07T14:33:24.814Z" }, - { url = "https://files.pythonhosted.org/packages/33/9a/895095b83e7907abd6d3d99aad3a38ad0d9686cc186cb0c94c24320fe63e/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:60f44ade2cf573dad7a277e6f8ca9a51a21dda572b13bd7d8539bb3cd5dbedde", size = 218489, upload-time = "2026-07-07T14:33:26.42Z" }, - { url = "https://files.pythonhosted.org/packages/a1/34/ef5c05f412f42520d7709b7d3784d19640839eb7366ded1755511585429f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:a1786910334ed46ab1dd73222f2cd1e05c2c3bb39f6dddb4f8b36fc382058a39", size = 210267, upload-time = "2026-07-07T14:33:27.952Z" }, - { url = "https://files.pythonhosted.org/packages/83/dc/9b29fa4412b318bf3bfea985c35d67eb55e04b59a7c3f2237168b0e0be6f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03d07803992c6c7bbc976327f34b18b6160327fc81cb82c9d504720ac0be3b62", size = 226030, upload-time = "2026-07-07T14:33:29.397Z" }, - { url = "https://files.pythonhosted.org/packages/0e/42/6dbc00b8cd16011691203e33570fa42ed5746599a2e878112d16eab403a3/charset_normalizer-3.4.9-cp312-cp312-win32.whl", hash = "sha256:78841cccf1af7b40f6f716338d50c0902dbe88d9f800b3c973b7a9a0a693a642", size = 151185, upload-time = "2026-07-07T14:33:30.781Z" }, - { url = "https://files.pythonhosted.org/packages/80/cc/f920afd1a23c58ccd53c1d36085a71893a4737ff5e66e0371efab6809850/charset_normalizer-3.4.9-cp312-cp312-win_amd64.whl", hash = "sha256:4b3dac63058cc36820b0dd072f89898604e2d39686fe05321729d00d8ac185a0", size = 162557, upload-time = "2026-07-07T14:33:32.176Z" }, - { url = "https://files.pythonhosted.org/packages/f0/e6/0386d43a261ff4e4b30c5857af7df877254b46bec7b9d1b74b6bf969a90b/charset_normalizer-3.4.9-cp312-cp312-win_arm64.whl", hash = "sha256:78fa18e436a1a0e58dbd7e02fc4473f3f32cceb12df9dfca542d075961c307d2", size = 152665, upload-time = "2026-07-07T14:33:33.711Z" }, - { url = "https://files.pythonhosted.org/packages/b2/06/97ec2aeae780b31d742b6352218b43841a6871e2564578ca522dce4a45c3/charset_normalizer-3.4.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:440eede837960000d74978f0eba527be106b5b9aee0daf779d395276ed0b0614", size = 317688, upload-time = "2026-07-07T14:33:35.408Z" }, - { url = "https://files.pythonhosted.org/packages/d0/39/8ff066c672434225f8d25f8b739f992af250944392173dcc88362681c9bf/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e764fd1e70b6a3e205a0e46f3051701f98a8cb3fad66eeb80e48bb502f8698", size = 214982, upload-time = "2026-07-07T14:33:36.996Z" }, - { url = "https://files.pythonhosted.org/packages/92/8f/3a47a3667c83c2df9483d91644c6c107de3bf8874aa1793da9d3012eb986/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e4fd89cc178bced6ad29cb3e6dd4aa63fa5017c3524dbd0b25998fb64a87cc8b", size = 236460, upload-time = "2026-07-07T14:33:38.536Z" }, - { url = "https://files.pythonhosted.org/packages/f1/60/b22cdbee7e4013dab8b0d7647fc6181120fbbbc8f7025c226d15bd5a47fc/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bd47ba7fc3ca94896759ea0109775132d3e7ab921fbf54038e1bab2e46c313c9", size = 232003, upload-time = "2026-07-07T14:33:40.059Z" }, - { url = "https://files.pythonhosted.org/packages/ea/f8/72eb13dcabe7257035cea8aefd922caad2f110d252bf9f67c4c2ca763aee/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:84fd18bcc17526fc2b3c1af7d2b9217d32c9c04448c16ec693b9b4f1985c3d33", size = 223149, upload-time = "2026-07-07T14:33:41.631Z" }, - { url = "https://files.pythonhosted.org/packages/b0/3e/faee8f9de92b14ee1198e9163252bb15efee7301b31256a3b6d9ebfdd0dd/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:5b10cd92fc5c498b35a8635df6d5a100207f88b63a4dc1de7ef9a548e1e2cd63", size = 207901, upload-time = "2026-07-07T14:33:43.209Z" }, - { url = "https://files.pythonhosted.org/packages/3a/25/45f30093ae27dd7b92a793b61882a38685f993700113ca36e0c9c14965e1/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a4fbdde9dd4a9ce5fd52c2b3a347bb50cc89483ef783f1cb00d408c13f7a96c0", size = 219176, upload-time = "2026-07-07T14:33:44.725Z" }, - { url = "https://files.pythonhosted.org/packages/48/18/c8f397329c35e32f6a837e488986f4ae03bd2abebc453b48714991630c2f/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:416c229f77e5ea25b3dfd4b582f8d73d7e43c22320302b9ab128a2d3a0b38efe", size = 217356, upload-time = "2026-07-07T14:33:46.192Z" }, - { url = "https://files.pythonhosted.org/packages/86/7e/5ce0bba863470fd1902d5e5843968951bddf38abe4742fc97116ef4598b3/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:75286256590a6320cf106a0d28970d3560aad9ee09aa7b34fb40524792436d35", size = 209614, upload-time = "2026-07-07T14:33:47.705Z" }, - { url = "https://files.pythonhosted.org/packages/6c/ef/2473d3c4d869155be4af1191111d59c4d5c4e0173026f7e85b176e23bf65/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:69b157c5d3292bcd443faca052f3096f637f1e074b98212a933c074ae23dc3b8", size = 224991, upload-time = "2026-07-07T14:33:49.238Z" }, - { url = "https://files.pythonhosted.org/packages/d0/a3/53ddae3db108a088156aa8ddfafd411ebbc1340f48c5573f697b27f69a39/charset_normalizer-3.4.9-cp313-cp313-win32.whl", hash = "sha256:51307f5c71007673a2bf8232ad973483d281e74cb99c8c5a990af1eefa6277d9", size = 150622, upload-time = "2026-07-07T14:33:50.711Z" }, - { url = "https://files.pythonhosted.org/packages/e8/ef/6953a77c7cf2c2ff9998e6f575ab3e380119f100223381565a4f94c1f836/charset_normalizer-3.4.9-cp313-cp313-win_amd64.whl", hash = "sha256:fe2c7201c642b7c308f1675355ad7ff7b66acfe3541625efe5a3ad38f29d6115", size = 161947, upload-time = "2026-07-07T14:33:52.197Z" }, - { url = "https://files.pythonhosted.org/packages/6e/fb/d560d1d1555debbfe7849d9cac6145c1b537709d79576bf22557ed803b82/charset_normalizer-3.4.9-cp313-cp313-win_arm64.whl", hash = "sha256:611057cc5d5c0afc743ba8be6bd828c17e0aaa8643f9d0a9b9bb7dea80eb8012", size = 152594, upload-time = "2026-07-07T14:33:53.486Z" }, - { url = "https://files.pythonhosted.org/packages/7e/8d/496817fa0944239ecae662dd57ea765cfeaec6a735f9f025d4b7b72e7143/charset_normalizer-3.4.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:0327fcd59a935777d83410750c50600ee9571af2846f71ce40f25b13da1ef380", size = 317253, upload-time = "2026-07-07T14:33:54.994Z" }, - { url = "https://files.pythonhosted.org/packages/2b/f9/ef4a69ea338ad3c0deceea0f5f7d2380ae8b52132b06d652cb0d2cd86706/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a79d9f4d8001473a30c163556b3c3bfebec837495a412dde78b51672f6134f9", size = 215898, upload-time = "2026-07-07T14:33:56.334Z" }, - { url = "https://files.pythonhosted.org/packages/8c/e7/5ddfd76fc061eb52de219658a4aa431cbacadf0a0219c8854f00da50d289/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:33bdcc2a32c0a0e861f60841a512c8acc658c87c2ac59d89e3a46dacf7d866e4", size = 236718, upload-time = "2026-07-07T14:33:57.9Z" }, - { url = "https://files.pythonhosted.org/packages/49/ba/768fa3f36048d81c477a0ce61f813bc1454d80917ccfe550abd9f44f5e24/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f840ed6d8ecba8255df8c42b87fadeda98ddfc6eeec05e2dc66e26d46dd6f58a", size = 232519, upload-time = "2026-07-07T14:33:59.811Z" }, - { url = "https://files.pythonhosted.org/packages/f4/c4/b3e049d2aa3766180c78507110543d9d50894cc97f57de543f1be521dcdc/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c25fe15c70c59eb7c5ce8c06a1f3fa1da0ecc5ea1e7a5922c40fd2fa9b0d5046", size = 223143, upload-time = "2026-07-07T14:34:01.517Z" }, - { url = "https://files.pythonhosted.org/packages/19/79/55c32d06d76ae4feafe053f061f3e3ab70bcf19f4007797ce8c3efda7830/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:f7fb7d750cfa0a070d2c24e831fd3481019a60dd317ea2b39acbcebc08b6ed81", size = 206742, upload-time = "2026-07-07T14:34:03.04Z" }, - { url = "https://files.pythonhosted.org/packages/10/e0/47c079dd82d217c807479cd59ffd30af56307ea31c108b75758970459ad3/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4d1c96a7a18b9690a4d46df09e3e3382406ae3213727cd1019ebade1c4a81917", size = 219191, upload-time = "2026-07-07T14:34:04.657Z" }, - { url = "https://files.pythonhosted.org/packages/42/ab/b9bc2e77d6b44a7e46ef62ec5cac1c9a6ba7b9135a5d560f002696ec9995/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a4cfde78a9f2880208d16a93b795726a3017d5977e08d1e162a7a31322479c41", size = 218328, upload-time = "2026-07-07T14:34:06.115Z" }, - { url = "https://files.pythonhosted.org/packages/f1/78/c9c71d599f5aa2d42bcdd35cbbd46d7f535351a57e40ff7d8e5a7e219401/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d4d6fcde76f94f5cb9e43e9e9a61f16dacefd228cbbf6f1a09bd9b219a92f1a1", size = 207406, upload-time = "2026-07-07T14:34:07.554Z" }, - { url = "https://files.pythonhosted.org/packages/f6/39/c914445c321a845097ce4f6ac7de9a18228a77b766272125a1ce00d851eb/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:898f0e9068ca27d37f8e83a5b962821df851532e6c4a7d615c1c033f9da6eedf", size = 225157, upload-time = "2026-07-07T14:34:09.061Z" }, - { url = "https://files.pythonhosted.org/packages/9b/f2/c0d4b8508565a36bc5c624e88ed297f5b0b1095011034d7f5b83a69908b5/charset_normalizer-3.4.9-cp314-cp314-win32.whl", hash = "sha256:c1c948747b03be832dceed96ca815cef7360de9aa19d37c730f8e3f6101aca48", size = 151095, upload-time = "2026-07-07T14:34:10.901Z" }, - { url = "https://files.pythonhosted.org/packages/49/fd/a1d26144398c67486422a72bf5812cda22cb4ccfcd95a290fb41ceb4b8e2/charset_normalizer-3.4.9-cp314-cp314-win_amd64.whl", hash = "sha256:16b65ea0f2465b6fb52aa22de5eca612aa964ddfec00a912e26f4656cbef890b", size = 162796, upload-time = "2026-07-07T14:34:12.47Z" }, - { url = "https://files.pythonhosted.org/packages/20/95/d75e82f8ce9fd323ebf059c16c9aadefb22a1ecde13b7840b35835e4886c/charset_normalizer-3.4.9-cp314-cp314-win_arm64.whl", hash = "sha256:40a126142a56b2dfc0aacbad1de8310cbf60da7656db0e6b16eebd48e3e93519", size = 153334, upload-time = "2026-07-07T14:34:14.044Z" }, - { url = "https://files.pythonhosted.org/packages/00/5e/17398df3a139985ba9d11ed072531986f408c8fca952835ef1ab1820c02b/charset_normalizer-3.4.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:609b3ba8fcc0fb5ab7af00719d0fb6ad0cb518e48e7712d12fd68f1327951198", size = 338848, upload-time = "2026-07-07T14:34:15.688Z" }, - { url = "https://files.pythonhosted.org/packages/cd/91/7253a32e86b7e1d1239b1b36ba6dd0f021a21107ab33054b53119cc083b9/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51447e9aa2684679af07ca5021c3db526e0284347ebf4ffcec1154c3350cfe32", size = 223022, upload-time = "2026-07-07T14:34:17.248Z" }, - { url = "https://files.pythonhosted.org/packages/cb/32/2e64bd2be10e89c61e57ebe6a93fd98ae88eb7ebe414b5121f22c96c69eb/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cc1b0fff8ead343dae06305f954eb8468ba0ec1a97881f42489d198e4ce3c632", size = 241590, upload-time = "2026-07-07T14:34:18.813Z" }, - { url = "https://files.pythonhosted.org/packages/3d/ef/d96ec496cfea0c21db43b0ad03891308b02388d054cc902cf0e5a1ad6a88/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa36ec09ef71d158186bc79e359ff5fdd6e7996fe8ab638f00d6b93139ba4fcf", size = 239584, upload-time = "2026-07-07T14:34:20.52Z" }, - { url = "https://files.pythonhosted.org/packages/d4/ce/9af95f7876194bd7a14e3dfe4a4de2e0bff02666a3910d72beafd06cc297/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df115d4d83168fdf2cae48ef1ff6d1cb4c466364e30861b37121de0f3bf1b990", size = 230224, upload-time = "2026-07-07T14:34:22.189Z" }, - { url = "https://files.pythonhosted.org/packages/52/94/af74dde74a3996bd959c350709bfe50e297823d70a8c1cbd54b838880863/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:f86c6358749bd4fda175388691e3ba8c46e24c5347d0afd20f9b7edfc9faf07d", size = 212667, upload-time = "2026-07-07T14:34:23.857Z" }, - { url = "https://files.pythonhosted.org/packages/ee/f0/f1c4fe746c395922961b5916ed1d7d6e7d4c84851d19ed43cc89980ec953/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:32286a2c8d167e897177b673176c1e3e00d4057caf5d2b64eef9a3666b03018e", size = 227179, upload-time = "2026-07-07T14:34:25.586Z" }, - { url = "https://files.pythonhosted.org/packages/e4/56/6c745619ac397e8871e2bcd3cea1eec86b877488f33888b3aef5c3ed506e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:83aed2c10721ddd90f68140685391b50811a880af20654c59af6b6c66c40513c", size = 225372, upload-time = "2026-07-07T14:34:27.212Z" }, - { url = "https://files.pythonhosted.org/packages/78/ad/98aae8630ac71f16711968e38a5acfecce41b778bf2f0312851020f565a8/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cd6c3d4b783c556fa00bf540854e42f135e2f256abd29669fcd0da0f2dec79c2", size = 215222, upload-time = "2026-07-07T14:34:28.774Z" }, - { url = "https://files.pythonhosted.org/packages/f7/40/9593d54209765207a7f11073c06494c1721e4ca4a0a426c597679bf7f91e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ee2f2a527e3c1a6e6411eb4209642e138b544a2d72fe5d0d76daf77b24063534", size = 231958, upload-time = "2026-07-07T14:34:30.345Z" }, - { url = "https://files.pythonhosted.org/packages/b1/27/693ee5e8a18191eb38647360c51cd505013e2bd3b366aa43fd5344c21e3c/charset_normalizer-3.4.9-cp314-cp314t-win32.whl", hash = "sha256:0d861473f743244d349b50f850d10eb87aeb22bbdcc8e64f79273c94af5a8226", size = 155580, upload-time = "2026-07-07T14:34:31.884Z" }, - { url = "https://files.pythonhosted.org/packages/80/3f/bd97d3d9c613013d07cb7733d299385b41df37f0471310f5a73dc359f0b8/charset_normalizer-3.4.9-cp314-cp314t-win_amd64.whl", hash = "sha256:9b8e0f3107e2200b76f6054de99016eac3ee6762713587b36baaa7e4bd2ae177", size = 167620, upload-time = "2026-07-07T14:34:33.438Z" }, - { url = "https://files.pythonhosted.org/packages/3d/c6/eee9dca4439b1061f76373f06ea855678cc4a64c1c3c90b50e479edbb8eb/charset_normalizer-3.4.9-cp314-cp314t-win_arm64.whl", hash = "sha256:19ac87f93086ce37b86e098888555c4b4bc48102279bae3350098c0ed664b501", size = 158037, upload-time = "2026-07-07T14:34:35.018Z" }, - { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" }, -] - -[[package]] -name = "click" -version = "8.4.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/76/d4/81420972a676e8ffea40450d8c8c92943e7218a78fe9b64359836cc9876b/click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6", size = 338000, upload-time = "2026-06-24T17:45:15.148Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76", size = 119243, upload-time = "2026-06-24T17:45:13.73Z" }, -] - -[[package]] -name = "colorama" -version = "0.4.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, -] - -[[package]] -name = "colorlog" -version = "6.10.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a2/61/f083b5ac52e505dfc1c624eafbf8c7589a0d7f32daa398d2e7590efa5fda/colorlog-6.10.1.tar.gz", hash = "sha256:eb4ae5cb65fe7fec7773c2306061a8e63e02efc2c72eba9d27b0fa23c94f1321", size = 17162, upload-time = "2025-10-16T16:14:11.978Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/6d/c1/e419ef3723a074172b68aaa89c9f3de486ed4c2399e2dbd8113a4fdcaf9e/colorlog-6.10.1-py3-none-any.whl", hash = "sha256:2d7e8348291948af66122cff006c9f8da6255d224e7cf8e37d8de2df3bad8c9c", size = 11743, upload-time = "2025-10-16T16:14:10.512Z" }, -] - -[[package]] -name = "exceptiongroup" -version = "1.3.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" }, -] - -[[package]] -name = "fastapi" -version = "0.139.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "annotated-doc" }, - { name = "pydantic" }, - { name = "starlette" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/d3/af/a5f50ccfa659ec1802cb4ca842c23f06d906a8cc9aef6016a2caeea3d4ed/fastapi-0.139.0.tar.gz", hash = "sha256:99ab7b2d92223c76d6cf10757ab3f89d45b38267fc20b2a136cf02f6beac3145", size = 423016, upload-time = "2026-07-01T16:35:33.436Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9e/7c/8e3c6ad324ea5cb36604fc3f968554887891c316d9dfde57761611d907ad/fastapi-0.139.0-py3-none-any.whl", hash = "sha256:cf15e1e9e667ddb0ad63811e60bd11390d1aac838ca4a7a23f421807b2308189", size = 130339, upload-time = "2026-07-01T16:35:32.19Z" }, -] - -[[package]] -name = "googleapis-common-protos" -version = "1.75.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "protobuf" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/b5/c8/f439cffde755cffa462bfbb156278fa6f9d09119719af9814b858fd4f81f/googleapis_common_protos-1.75.0.tar.gz", hash = "sha256:53a062ff3c32552fbd62c11fe23768b78e4ddf0494d5e5fd97d3f4689c75fbbd", size = 151035, upload-time = "2026-05-07T08:04:49.423Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/c8/e2645aa8ed02fd4c7a2f59d68783b65b1f3cbdfe39a6308e156509d1fee8/googleapis_common_protos-1.75.0-py3-none-any.whl", hash = "sha256:961ed60399c457ceb0ee8f285a84c870aabc9c6a832b9d37bb281b5bebde43ed", size = 300631, upload-time = "2026-05-07T08:03:30.345Z" }, -] - -[[package]] -name = "greenlet" -version = "3.5.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e2/f1/fbbfef6af0bad0548f09bc28948ea3c275b4edb19e17fc5ca9900a6a634d/greenlet-3.5.3.tar.gz", hash = "sha256:a61efc018fd3eb317eeca31aba90ee9e7f26f22884a79b6c6ec715bf71bb62f1", size = 200270, upload-time = "2026-06-26T19:28:24.832Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f5/a1/1f7f0c555f5858fd2906fe9f7b0a3554fddb85cb70df7a6aaec41dc292c2/greenlet-3.5.3-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:c180d22d325fb613956b443c3c6f4406eb70e6defc70d3974da2a7b59e06f48c", size = 285838, upload-time = "2026-06-26T18:21:05.167Z" }, - { url = "https://files.pythonhosted.org/packages/0a/29/be9f43ed61677a5759b38c8a9389248133c8c731bbfc0574ecdff66c99fc/greenlet-3.5.3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:483d08c11181c83a6ce1a7a61df0f624a208ec40817a3bb2302714592eee4f04", size = 602342, upload-time = "2026-06-26T19:07:06.908Z" }, - { url = "https://files.pythonhosted.org/packages/b9/42/ba41c97ec36aa4b3ec25e5aa691d79561254805fad7f2f826dd6770587e2/greenlet-3.5.3-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1dae6e0091eae084317e411f047f0b7cb241c6db570f7c45fd6b900a274914ce", size = 615541, upload-time = "2026-06-26T19:10:04.909Z" }, - { url = "https://files.pythonhosted.org/packages/f5/c7/28747042e1df8a9cd120a1ebe15529fc4be3b486e13e8d551ff307a82412/greenlet-3.5.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9bcd2d72ccd70a1ec68ba6ef93e7fbb4420ef9997dabc7010d893bd4015e0bec", size = 615675, upload-time = "2026-06-26T18:32:14.444Z" }, - { url = "https://files.pythonhosted.org/packages/cc/a8/b85525a6c8fba9f009a5f7c8df1545de8fb0f0bf3e0179194ef4e500317f/greenlet-3.5.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:73f152c895e09907e0dbe24f6c2db37beb085cd63db91c3825a0fcd0064124a8", size = 1575057, upload-time = "2026-06-26T19:09:00.264Z" }, - { url = "https://files.pythonhosted.org/packages/03/79/fb76edb218fe6735ab0edeba176c7ab80df9618f7c02ce4208979f3ae7db/greenlet-3.5.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8bdb43e1a1d1873721acab2be99c5befd4d2044ddfd52e4d610801019880a702", size = 1641692, upload-time = "2026-06-26T18:31:41.454Z" }, - { url = "https://files.pythonhosted.org/packages/6b/79/86fe3ee50ed55d9b3907eecd3208b5c3fe8a79515519aae98b4753c3fa1d/greenlet-3.5.3-cp310-cp310-win_amd64.whl", hash = "sha256:0909f9355a9f24845d3299f3112e266a06afb68302041989fd26bd68894933db", size = 238742, upload-time = "2026-06-26T18:20:40.758Z" }, - { url = "https://files.pythonhosted.org/packages/51/58/5404031044f55afad7aad1aff8be3f22b1bed03e237cfeabbc7e5c8cfde0/greenlet-3.5.3-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:aca9b4ce85b152b5524ef7d88170efdff80dc0032aa8b75f9aaf7f3479ea95b4", size = 287424, upload-time = "2026-06-26T18:20:31.469Z" }, - { url = "https://files.pythonhosted.org/packages/b4/bf/1c65e9b94a54d547068fa5b5a8a06f221f3316b48908e08668d29c77cb50/greenlet-3.5.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f71be4920368fe1fabeeaa53d1e3548337e2b223d9565f8ad5e392a75ba23fc", size = 606523, upload-time = "2026-06-26T19:07:08.859Z" }, - { url = "https://files.pythonhosted.org/packages/b8/c7/b66baacc95775ad511287acb0137b95574a9ce5491902372b7564799d790/greenlet-3.5.3-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4d77e67f65f98449e3fb83f795b5d0a8437aead2f874ca89c96576caf4be3af6", size = 618315, upload-time = "2026-06-26T19:10:06.055Z" }, - { url = "https://files.pythonhosted.org/packages/78/2b/28ed29463522fdbe4c15b1f63922041626a7478316b34ab4adda3f0a4aba/greenlet-3.5.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8540f1e6205bd13ca0ce685581037219ca54a1b41a0a15d228c6c9b8ad5903d7", size = 617381, upload-time = "2026-06-26T18:32:16.077Z" }, - { url = "https://files.pythonhosted.org/packages/2a/7b/ad04e9d1337fc04965dc9fc616b6a72cb65a24b800a014c011ec812f5489/greenlet-3.5.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7ef56fe650f50575bf843acde967b9c567687f3c22340941a899b7bc56e956a8", size = 1577771, upload-time = "2026-06-26T19:09:01.537Z" }, - { url = "https://files.pythonhosted.org/packages/d8/33/6c87ab7ba663f70ca21f3022aad1ffe56d3f3e0521e836c2415e13abcc3c/greenlet-3.5.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5121af01cf911e70056c00d4b46d5e9b5d1415550038573d744138bacb59e6b8", size = 1644048, upload-time = "2026-06-26T18:31:42.996Z" }, - { url = "https://files.pythonhosted.org/packages/1c/35/f0d8ee998b422cf8693b270f098e55d8d4ec8006b061b333f54f177d28d9/greenlet-3.5.3-cp311-cp311-win_amd64.whl", hash = "sha256:0f41e4a05a3c0cb31b17023eff28dd111e1d16bf7d7d00406cd7df23f31398a7", size = 239137, upload-time = "2026-06-26T18:23:21.664Z" }, - { url = "https://files.pythonhosted.org/packages/fb/96/b9820295576ef18c9edc404f10e260ae7215ceaf3781a54b720ed2627862/greenlet-3.5.3-cp311-cp311-win_arm64.whl", hash = "sha256:ec6f1af59f6b5f3fc9678e2ea062d8377d22ac644f7844cb7a292910cf12ff44", size = 237630, upload-time = "2026-06-26T18:24:00.281Z" }, - { url = "https://files.pythonhosted.org/packages/5d/6e/4c37d51a2b7f82d2ff11bb6b5f7d766d9a011726624af255e843727627a3/greenlet-3.5.3-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:719757059f5a53fd0dde23f78cffeafcdd97b21c850ddb7ca684a3c1a1f122e2", size = 288685, upload-time = "2026-06-26T18:22:08.977Z" }, - { url = "https://files.pythonhosted.org/packages/7a/73/815dd90131c1b71ebdf53dbc7c276cafec2a1173b97559f97aba72724a87/greenlet-3.5.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:efa9f765dd09f9d0cdac651ffdf631ee59ec5dc6ee7a73e0c012ba9c52fbdf5b", size = 604761, upload-time = "2026-06-26T19:07:10.114Z" }, - { url = "https://files.pythonhosted.org/packages/9f/57/079cfe76bcef36b153b25607ee91c6fcb58f17f8b23c86bbbeabe0c88d72/greenlet-3.5.3-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7faba15ac005376e02a0384504e0243be3370ce010296a44a820feb342b505ab", size = 617044, upload-time = "2026-06-26T19:10:07.25Z" }, - { url = "https://files.pythonhosted.org/packages/37/87/b4d095775a3fb1bcafbb483fc206b27ebb785724c83051447737085dc54e/greenlet-3.5.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:87142215824be6ac05e2e8e2786eec307ccbc27c36723c3881959df654af6861", size = 614244, upload-time = "2026-06-26T18:32:17.594Z" }, - { url = "https://files.pythonhosted.org/packages/8a/70/7559b609683650fa2b95b8ab84b4ab0b26556a635d19675e12aa832d826d/greenlet-3.5.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:215275b1b49320987352e6c1b054acca0064f965a2c66992bed9a6f7d913f149", size = 1574210, upload-time = "2026-06-26T19:09:03.077Z" }, - { url = "https://files.pythonhosted.org/packages/ae/73/be55392074c60fc37655ca40fa6022457bfbf6718e9e342a7b0b41f96dd2/greenlet-3.5.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6b1b0eed82364b0e32c4ea0f221452d33e6bb17ae094d9f72aed9851812747ea", size = 1638627, upload-time = "2026-06-26T18:31:44.748Z" }, - { url = "https://files.pythonhosted.org/packages/14/40/c57489acf8e37d74e2913d4eff63aa0dba17acccc4bdeef874dde2dbbec9/greenlet-3.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:cde8adafa2365676f74a979744629589999093bc86e2484214f58e61df08902c", size = 239882, upload-time = "2026-06-26T18:23:27.518Z" }, - { url = "https://files.pythonhosted.org/packages/71/fd/6fea0e3d6600f785069481ee637e09378dd4118acdfd38ad88ae2db31c98/greenlet-3.5.3-cp312-cp312-win_arm64.whl", hash = "sha256:c4e7b79d83805475f0102008843f6eb45fd3bb0b2e88c774adab5fbaab27117d", size = 238211, upload-time = "2026-06-26T18:22:37.671Z" }, - { url = "https://files.pythonhosted.org/packages/9b/ff/a620267401db30a50cc8450ee90730e2d4a85658c055c0e760d4ed47fb13/greenlet-3.5.3-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:c8d87c2134d871df96ecdea9cec7cbaab286dadab0f56476e57aaf9e8ac11550", size = 287609, upload-time = "2026-06-26T18:21:14.724Z" }, - { url = "https://files.pythonhosted.org/packages/d6/fa/5401ac78021c826a25b6dde0c705e0a8f29b617509f9185a31dac15fbe1b/greenlet-3.5.3-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a2d185dd1621757e70c3861cceffd5317ab4e7ed7eb09c82994828468527ade5", size = 607435, upload-time = "2026-06-26T19:07:11.412Z" }, - { url = "https://files.pythonhosted.org/packages/e9/76/1dc144a2e56e65d36405078ed774224375ea520a1870a6e46e08bb4ac7bf/greenlet-3.5.3-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1c514a468149bf8fbbab874188a3535cd8a48a3e353eb53a3d424296f8dbacd3", size = 619787, upload-time = "2026-06-26T19:10:08.396Z" }, - { url = "https://files.pythonhosted.org/packages/bf/87/c298cee62df1de4ad7fec32abda73526cff347fd143a6ed4ac369246668a/greenlet-3.5.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:915f887cf2682b66419b879423a2e072634aa7b7dce6f3ada4957cfced3f1e9a", size = 616786, upload-time = "2026-06-26T18:32:19.128Z" }, - { url = "https://files.pythonhosted.org/packages/9e/2e/e6f009885ed0705ccf33fe0583c117cfd03cde77e31a596dd5785a30762b/greenlet-3.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:766cfd421c13e450feb340cd472a3ed9957d438727b7b4593ad7c76c5d2b0deb", size = 1574316, upload-time = "2026-06-26T19:09:04.273Z" }, - { url = "https://files.pythonhosted.org/packages/ef/fe/43fd110b01e40da0adb7c90ac7ea744bef2d43dca00de5095fd2351c2a68/greenlet-3.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2ecda9ec22edf38fa389369eaed8c3d37c05f3c54e69f69438dbb2cc1de1458b", size = 1638614, upload-time = "2026-06-26T18:31:46.297Z" }, - { url = "https://files.pythonhosted.org/packages/0f/7c/062447147a61f8b4337b156fe70d32a165fcf2f89d7ca6255e572806705c/greenlet-3.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:c82304750f057167ff60d188df1d0cc1764ce9567eadf03e6a7443bcedd0b30b", size = 239850, upload-time = "2026-06-26T18:21:54.613Z" }, - { url = "https://files.pythonhosted.org/packages/c7/7e/220a7f5824a64a60443fc03b39dfac4ea63a7fb6d481efa27eafa928e7f4/greenlet-3.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:dc133a1569ee667b2a6ef56ce551084aeefd87a5acbc4736d336d1e2edc6cfc4", size = 238141, upload-time = "2026-06-26T18:22:48.507Z" }, - { url = "https://files.pythonhosted.org/packages/c3/93/43e116ee114b28737ba7e12952a0d4e2f55944d0f84e42bc91ba7192a3c9/greenlet-3.5.3-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:fd2e02fa07485778536a036222d616ab957b1d533f36b3ed98ce725d9c9d3117", size = 288202, upload-time = "2026-06-26T18:23:49.604Z" }, - { url = "https://files.pythonhosted.org/packages/82/2f/146d218299046a43d1f029fd544b3d110d0f175a09c715c7e8da4a4a345d/greenlet-3.5.3-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df0a0628d1597eb0897b62f55d1343f772405fd25f3b2a796c76874b0c2e22e8", size = 654096, upload-time = "2026-06-26T19:07:12.71Z" }, - { url = "https://files.pythonhosted.org/packages/a0/cc/04738cafb3f45fa991ea44f9de94c47dcec964f5a972300988a6751f49d9/greenlet-3.5.3-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ebd933a6adabc298bab47731a130fe6bfb888bd934eee37810f151159544540d", size = 666304, upload-time = "2026-06-26T19:10:09.503Z" }, - { url = "https://files.pythonhosted.org/packages/ce/aa/4e0dad5e605c270c784ab911c43da6adb136ccd4d81180f763ca429a723d/greenlet-3.5.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4b9d501b40e80b70e32323c799dd9b420a5577a9601469d362ae1ffb690f3a7c", size = 663635, upload-time = "2026-06-26T18:32:20.802Z" }, - { url = "https://files.pythonhosted.org/packages/d1/50/13efdbea246fe3d3b735e191fec08fb50809f53cd2383ebe123d0809e44b/greenlet-3.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a1fad1d11e7d6aab184107baa8e4ece11ccba3ec9599cd7efa5ff4d70d43256a", size = 1621252, upload-time = "2026-06-26T19:09:05.647Z" }, - { url = "https://files.pythonhosted.org/packages/f7/22/c0a336ae4a1410fd5f5121098e5bfbf1865f64c5ef80b4b5412886c4a332/greenlet-3.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:fad5aec764399f1b5cc347ad250a59660f20c8f8888ea6bae1f93b769cce1154", size = 1684824, upload-time = "2026-06-26T18:31:47.738Z" }, - { url = "https://files.pythonhosted.org/packages/7a/94/91aec0030bea75c4b3244251d0de60a1f3432d1ecb53ab6c437fb5c3ba61/greenlet-3.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:7669aa24cf2a1041d6f7899575b494a3ab4cf68bfcc8609b1dc0be7272db835e", size = 240754, upload-time = "2026-06-26T18:22:15.669Z" }, - { url = "https://files.pythonhosted.org/packages/e5/06/68d0983e79e02138f64b4d303c500c27ddb48e5e77f3debb80888a921eae/greenlet-3.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:5b4807c4082c9d1b6d9eed56fcd041863e37f2228106eef24c30ca096e238605", size = 239549, upload-time = "2026-06-26T18:22:42.996Z" }, - { url = "https://files.pythonhosted.org/packages/91/95/3e161213d7f1d378d15aa9e792093e9bfe01844680d04b7fd6e0107c9098/greenlet-3.5.3-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:271a8ea7c1024e8a0d7dd2be66dd66dda8a07193f41a17b9e924f7600f5b62be", size = 296389, upload-time = "2026-06-26T18:22:20.657Z" }, - { url = "https://files.pythonhosted.org/packages/00/92/715c44721abe2b4d1ae9abde4179411868a5bff312479f54e105d372f131/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:19131729ae0ddc3c2e1ef85e650169b5e37ee32e400f215f78b94d7b0d567310", size = 653382, upload-time = "2026-06-26T19:07:14.209Z" }, - { url = "https://files.pythonhosted.org/packages/a0/83/37a10372a1090a6624cca8e74c12df1a36c2dc36429ed0255b7fb1aeee23/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1540dd8e5fc2a5aec40fbb98ef8e149fa47c89a4b4a1cf2575a14d3d1869d7a8", size = 659401, upload-time = "2026-06-26T19:10:10.876Z" }, - { url = "https://files.pythonhosted.org/packages/db/e2/d1509cad4207da559cc42986ecdd8fc67ad0d1bba2bf03023c467fd5e0f3/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e81fa194a1d20967877bdf9c7794db2bc99063e5be36aee710c08f04c5bb087f", size = 656969, upload-time = "2026-06-26T18:32:22.272Z" }, - { url = "https://files.pythonhosted.org/packages/86/7d/eaf70de20aadca3a5884aec58362861c64ce45e7b277f47ed026926a3b89/greenlet-3.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:55cf4d777485d43110e47133cbba6d74a8885a87ec1227ef0267f9ee80c5aa21", size = 1617822, upload-time = "2026-06-26T19:09:06.893Z" }, - { url = "https://files.pythonhosted.org/packages/8a/f9/414d38fc400ae4350d4185eaad1827676f7cf5287b9136e0ed1cbbe20a7f/greenlet-3.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:12a248ba75f6a9a236375f52296c498c89ff1d8badf32deb9eca7abd5853f7da", size = 1677983, upload-time = "2026-06-26T18:31:49.396Z" }, - { url = "https://files.pythonhosted.org/packages/e4/15/7edb977e08f9bff702fe42d6c902702786ff6b9694058b4e6a2a6ac90e57/greenlet-3.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:efc6bd60ea02e085862c74a3ef64b147ffc6f1a5ea7d9f26e7a939943f68c1e3", size = 243626, upload-time = "2026-06-26T18:24:41.485Z" }, - { url = "https://files.pythonhosted.org/packages/2c/8a/93928dce91e6b3598b5e779e8d1fd6576a504640c58e78627077f6a7a91a/greenlet-3.5.3-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:ea03f2f04367845d6b58eeed276e1e56e51f0b97d8ad5a88a7d20a91dc9056cc", size = 288860, upload-time = "2026-06-26T18:22:48.07Z" }, - { url = "https://files.pythonhosted.org/packages/4f/ca/69db42d447a1378043e2c8f19c09cbbd1263371505053c496b49066d3d16/greenlet-3.5.3-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78dbef602fda6d97d957eb7937f70c9ce9e9527330347f8f6b6f9e554a9e7a47", size = 659747, upload-time = "2026-06-26T19:07:15.565Z" }, - { url = "https://files.pythonhosted.org/packages/a8/0b/af7ac2ef8dd41e3da1a40dda6305c23b9a03e13ba975ec916357b50f8575/greenlet-3.5.3-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6f73857adb8fee13fa56c172bd11262f888c0c648f9fea113e777bb2c7904a81", size = 670419, upload-time = "2026-06-26T19:10:12.293Z" }, - { url = "https://files.pythonhosted.org/packages/51/1e/1d51640cacbfc455dbe9f9a9f594c49e4e244f63b9971a2f4764e46cc53d/greenlet-3.5.3-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:232fec92e823addaf02d9472cf7381e24a1d046a6ced1103c5caa4c21b9dfc1d", size = 668787, upload-time = "2026-06-26T18:32:24.298Z" }, - { url = "https://files.pythonhosted.org/packages/21/66/4030d5b0b5894500023f003bb054d9bb354dfbd1e186c3a296759172f5f5/greenlet-3.5.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:2421c3564da9429d5586d46ca31ebb26516b5498a802cf65c041a8e8a8980d34", size = 1626305, upload-time = "2026-06-26T19:09:08.281Z" }, - { url = "https://files.pythonhosted.org/packages/0e/50/5221371c7550108dfa3c378debc41d032aa9c78e89abb01d8011cfc93289/greenlet-3.5.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e0f0d160f0b2e558e6c75f7930967183255dc9735e5f5b8cae58ee09c9576d8b", size = 1688631, upload-time = "2026-06-26T18:31:51.278Z" }, - { url = "https://files.pythonhosted.org/packages/68/5d/00d469daae3c65d2bf620b10eee82eb022127d483c6bc8c69fae6f3fbf17/greenlet-3.5.3-cp315-cp315-win_amd64.whl", hash = "sha256:dd99329bbc15ca78dcc583dba05d0b1b0bae01ab6c2174989f5aaee3e41ac930", size = 241027, upload-time = "2026-06-26T18:22:38.203Z" }, - { url = "https://files.pythonhosted.org/packages/e7/e8/883785b44c5780ed71e83d3e4437e710470be17a2e181e8b601e2da0dc4a/greenlet-3.5.3-cp315-cp315-win_arm64.whl", hash = "sha256:499fef2acede88c1864a57bb586b4bf533c81e1b82df7ab93451cdb47dfec227", size = 240085, upload-time = "2026-06-26T18:23:54.217Z" }, - { url = "https://files.pythonhosted.org/packages/1c/da/4f4a8450962fad137c1c8981a3f1b8919d06c829993d4d476f9c525d5173/greenlet-3.5.3-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:176bc16a721fa5fc294d70b87b4dfa5fbdd251b3da5d5372735ecef9bd7d6d0c", size = 297221, upload-time = "2026-06-26T18:23:27.176Z" }, - { url = "https://files.pythonhosted.org/packages/57/66/b3bfae3e220a9b63ea539a0eea681800c69ab1aada757eae8789f183e7ce/greenlet-3.5.3-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:629b614d2b786e89c50440e246f33eea78f58a962d0bdbbcc809e6d13605903f", size = 657221, upload-time = "2026-06-26T19:07:16.973Z" }, - { url = "https://files.pythonhosted.org/packages/7b/81/b6d4d73a709684fc77e7fa034d7c2fe82cffa9fc920fadcaa659c2626213/greenlet-3.5.3-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2b2e857ae16f5f72142edf75f9f176fe7526ba19a2841df1420516f83831c9f2", size = 663226, upload-time = "2026-06-26T19:10:13.723Z" }, - { url = "https://files.pythonhosted.org/packages/f5/07/e210b02b589f16e74ff48b730690e4a34ffe984219fce4f3c1a0e7ec8545/greenlet-3.5.3-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e515757e2e36bcbf1fad09a46e1557e8b1ae1797d4b44d09da7deed88ad28608", size = 660802, upload-time = "2026-06-26T18:32:26.081Z" }, - { url = "https://files.pythonhosted.org/packages/eb/2e/5303eb3fa06bca089060f479707182a93e360683bc252acf846c3090d34e/greenlet-3.5.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:b363d46ed1ea431825fdb01471bb024fc08399bad1572a616e853c7684415adb", size = 1622157, upload-time = "2026-06-26T19:09:09.527Z" }, - { url = "https://files.pythonhosted.org/packages/54/70/50de47a488f14df260b50ae34fb5d56016e308b098eab02c878b5223c26a/greenlet-3.5.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:e44da2f5bbdaabaf7d80b73dbb430c7035771e9f244e3c8b769715c9d8fa0a16", size = 1681159, upload-time = "2026-06-26T18:31:52.986Z" }, - { url = "https://files.pythonhosted.org/packages/a7/13/1055e1dda7882073eda533e2b96c62e55bbd2db7fda6d5ece992febc7071/greenlet-3.5.3-cp315-cp315t-win_amd64.whl", hash = "sha256:8ff8bed3e3baa20a3ea261ce00526f1898ad4801d4886fd2220580ee0ad8fadf", size = 244007, upload-time = "2026-06-26T18:22:04.353Z" }, - { url = "https://files.pythonhosted.org/packages/b4/0d/ca7d15afbdc397e3401134c9e1800d51d12b829661786187a4ad08fe484f/greenlet-3.5.3-cp315-cp315t-win_arm64.whl", hash = "sha256:b7068bd09f761f3f5b4d214c2bed063186b2a86148c740b3873e3f56d79bac31", size = 242586, upload-time = "2026-06-26T18:23:37.93Z" }, -] - -[[package]] -name = "grpcio" -version = "1.82.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/90/bc/656b89387d6f4ed7e0686c7b64c2ae7e554a759aa58122c8e5fb99392c32/grpcio-1.82.1.tar.gz", hash = "sha256:707b24abd90fcb1e45bcc080577da1dbf9971d107490589b9539af8e1e77b4b5", size = 13187300, upload-time = "2026-07-08T12:36:16.588Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a3/14/5d05bfd85c101cbe44a12d7c1cea9c40698e0438cddf3a70019f735b5a27/grpcio-1.82.1-cp310-cp310-linux_armv7l.whl", hash = "sha256:91859d1cac5f47caec5fc40e9f827500cdb54ce5b36450dc9a65616b5af49c17", size = 6177087, upload-time = "2026-07-08T12:34:06.825Z" }, - { url = "https://files.pythonhosted.org/packages/19/2e/c906f8e6d0b54c0137885fff6f7b5883c6bbc381b44a0ba5ea07d7d1579b/grpcio-1.82.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:c80c9741dcef192f669876a81957cf7713b441c2f0c43631350d75fa49321d31", size = 11960907, upload-time = "2026-07-08T12:34:10.583Z" }, - { url = "https://files.pythonhosted.org/packages/de/be/ec4aa76cdf25539b9e960cbb9d5739f892ea6cde58078b5293860c1159d3/grpcio-1.82.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b89cff456796d2f0581783726ad017a2c70aff2d27b0f05504c34e2e417f7560", size = 6754802, upload-time = "2026-07-08T12:34:13.082Z" }, - { url = "https://files.pythonhosted.org/packages/e6/dd/47519c2a8fd9db47ec4493f44bd9f5b0175307e07089b1132e54b7b5b19c/grpcio-1.82.1-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:d6e8a08f7038ba7a77f71e250804e4aba84fe91d22cfc54ff43c07b7529c4728", size = 7484535, upload-time = "2026-07-08T12:34:15.164Z" }, - { url = "https://files.pythonhosted.org/packages/63/99/659711e9689c4dd553bcd4eacff9cb9f458f34b60edf7afb3bbc1b0a58a2/grpcio-1.82.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:50fd2fe83426b1b1c6cdc4d72d555223b7dddf8ce07c5bac218b13fc6d684c6f", size = 6919066, upload-time = "2026-07-08T12:34:17.367Z" }, - { url = "https://files.pythonhosted.org/packages/29/39/f2b772356b4f593ffe439795509fcbf675b0ff98211ae8ce2a180f2e559f/grpcio-1.82.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b758540a24d5394a9c578bf9f6126389f474b106ac3d9df1d53de56cb14c9fd9", size = 7525855, upload-time = "2026-07-08T12:34:19.479Z" }, - { url = "https://files.pythonhosted.org/packages/a7/06/b28cfffb989a84d8272593498bddd2d68148cce1813ad55189c469b0f1f8/grpcio-1.82.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:c4ba4aac238f685743575d9d700003ac16537cce26e7c774993134f530652464", size = 8565122, upload-time = "2026-07-08T12:34:21.951Z" }, - { url = "https://files.pythonhosted.org/packages/97/f9/54956cb0c701190cbc9d7e535c3f84acf0285c6b9ed198a902766e17c3cd/grpcio-1.82.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:ed6fc621d6f366c88a60f0b971d5afd21d441d9aa561ee688de5b7acdb2cf901", size = 7933872, upload-time = "2026-07-08T12:34:24.539Z" }, - { url = "https://files.pythonhosted.org/packages/76/85/5f9cd1f965bbe4329556a212f178ae0c072b18b446cae05ed32fa8847c53/grpcio-1.82.1-cp310-cp310-win32.whl", hash = "sha256:bd2f45e46fff5b91c10997d0743a987517a7dde67c64c592835c2dcaac66f587", size = 4257373, upload-time = "2026-07-08T12:34:26.566Z" }, - { url = "https://files.pythonhosted.org/packages/93/b0/c4f42f7c69c53d27ed41643421b55908bcbe885b68f5a208135c72917c98/grpcio-1.82.1-cp310-cp310-win_amd64.whl", hash = "sha256:5e171d5f0d6a0af78ea7512783f170a44f80c165259d8773e3a354a7f991f2b5", size = 5006571, upload-time = "2026-07-08T12:34:28.778Z" }, - { url = "https://files.pythonhosted.org/packages/26/5b/e5092af97fa671ca279b3e373251af4bf87d5fbda7dc85f6a616899562a7/grpcio-1.82.1-cp311-cp311-linux_armv7l.whl", hash = "sha256:0ddb18a9a9e1f46692b3567ae4abb3f8d117ce6afea48650f8eca06d8ab5d06f", size = 6181472, upload-time = "2026-07-08T12:34:31.009Z" }, - { url = "https://files.pythonhosted.org/packages/c1/8f/18053a3a2ca03d0c2a1b8cc7271e705007a16aa5dae84bac00935c5b1a7f/grpcio-1.82.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:cf855b1af246720f567b0ce5d0724d45dfa4188eecc3296a2a69257b11b9e94b", size = 11970995, upload-time = "2026-07-08T12:34:33.603Z" }, - { url = "https://files.pythonhosted.org/packages/5b/7e/21b1acb052876ad00959ec4d1b05fe08607d650bcfa282073bb164c2703c/grpcio-1.82.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddb30cb13e25bc13cea70ffc69d6d90c49d36ea6c1d4549e6912f70177834cac", size = 6760127, upload-time = "2026-07-08T12:34:36.122Z" }, - { url = "https://files.pythonhosted.org/packages/3e/12/25eef9c245c54f0061317d13a302357fe8ea03bac240b2b02ececcf54da4/grpcio-1.82.1-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1e822b2774f719c017cbe700b6e47173b6ae290fb84906f52a5a3c2c60b62e1e", size = 7484377, upload-time = "2026-07-08T12:34:38.368Z" }, - { url = "https://files.pythonhosted.org/packages/a0/41/1a348767eb9d9bd7765dc4fa8a01723d3bb386d67f981ee5c6f9c02b8b1c/grpcio-1.82.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5dafb1ece8ed45dee7c738f166ec82e19673221ed5ab8967f72858a4685345b2", size = 6924269, upload-time = "2026-07-08T12:34:40.583Z" }, - { url = "https://files.pythonhosted.org/packages/e4/b9/3aae7a03d34c86ea27988db859a6087c186f6c3f53f9b551e07afd989bfa/grpcio-1.82.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e06503106e7271e0a49fd5a1ac04747f1e47e87d900476db6fe45bc87ee411f4", size = 7531848, upload-time = "2026-07-08T12:34:43.277Z" }, - { url = "https://files.pythonhosted.org/packages/3c/2e/3c4afa625d0dac9090707966916284c035fc5b2fb3e2c51e156accee6735/grpcio-1.82.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:ff99bc8cafb6a952201c37b995f425e641c93ffa6e072258525feab57290141d", size = 8568217, upload-time = "2026-07-08T12:34:45.502Z" }, - { url = "https://files.pythonhosted.org/packages/20/9c/d8489c628e73e20a3d034e7f66912de7b1acb405f01d388f056a88e47924/grpcio-1.82.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:644ae1b94266ac785330f4590a69e52b6a7eb73029043a02209db81c81397d69", size = 7938771, upload-time = "2026-07-08T12:34:48.323Z" }, - { url = "https://files.pythonhosted.org/packages/4b/b7/0a92cfd1658f3a896d4aa12d4efeb7dd4ddfc723725ae22741a5241ea710/grpcio-1.82.1-cp311-cp311-win32.whl", hash = "sha256:e203d2e19d471630084a16c815616f8211dff21c268ab3c5f5bf38417832e074", size = 4256432, upload-time = "2026-07-08T12:34:50.432Z" }, - { url = "https://files.pythonhosted.org/packages/c7/6a/2872c761b025d9ec74386f22a4a7d59c5a5b00ebf718761b33739ffc45de/grpcio-1.82.1-cp311-cp311-win_amd64.whl", hash = "sha256:0d8299c285fe6cc6a1f56badf8d3bc5078c8d20273ee64bafa3783b4bc29a769", size = 5009633, upload-time = "2026-07-08T12:34:52.67Z" }, - { url = "https://files.pythonhosted.org/packages/dc/88/d1350bf3343a2ed87d801584e40609f6c6bd3087926eeca03de50348cf4a/grpcio-1.82.1-cp312-cp312-linux_armv7l.whl", hash = "sha256:c09bd5fa0d5b1fbd773ec349fe61441c3e4ebf168c229aa7538a820bdfad6a58", size = 6144689, upload-time = "2026-07-08T12:34:55.567Z" }, - { url = "https://files.pythonhosted.org/packages/e6/33/71875cdecd27c24ac1385d4783a09853f01b84a825a36aec2a2bc7d0d080/grpcio-1.82.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:1eae24810720734598e3e6a1a528d5de0f265fe3fc86575e9ecce424b9ec7379", size = 11952034, upload-time = "2026-07-08T12:34:58.128Z" }, - { url = "https://files.pythonhosted.org/packages/82/b2/d9125df3d8a140dec12cc82c05b7deafedeababcff6496f28b2fd5634d10/grpcio-1.82.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a6bd5daf5bde7b24d7ad2cbaf8bf9eac620d96222016bb5e7ddde930dec0673f", size = 6710772, upload-time = "2026-07-08T12:35:01.33Z" }, - { url = "https://files.pythonhosted.org/packages/88/9b/69e2d1627398b964f34437dc476a5aff5a2cc8e7f247d26272b5674b5faf/grpcio-1.82.1-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1ecfde669cb687ac020d31ff76debe5dc7a62213335f02262eb6625628da1c03", size = 7450677, upload-time = "2026-07-08T12:35:03.926Z" }, - { url = "https://files.pythonhosted.org/packages/e4/e7/8f855ca29c294956122a2a73023655b9b02602d5111dad2b9b00e7631c68/grpcio-1.82.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:011c8badee95734dee8bf05ce3464756a0ac3ebb8d443afd20c0e2b5e4640ad9", size = 6886855, upload-time = "2026-07-08T12:35:06.174Z" }, - { url = "https://files.pythonhosted.org/packages/5f/f0/fa87e85f49925f44c479d07e58b051e69bcfef6b6d5fbc6749d140f6730a/grpcio-1.82.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b85f4564926fb23114d239392bdcae200db1e6179629edd7d7ab0ab89c96a197", size = 7501323, upload-time = "2026-07-08T12:35:08.49Z" }, - { url = "https://files.pythonhosted.org/packages/67/55/2e0b10ae1d3ef9dcc480b91dc2158f4931fc4675d3af0a2836e39b2a744f/grpcio-1.82.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:2c0c8270833395644c3fe6b6a806397955a2bc0538000a19a78b90c05a6c16e0", size = 8536899, upload-time = "2026-07-08T12:35:10.975Z" }, - { url = "https://files.pythonhosted.org/packages/bd/95/a3d8b0431fa221efc51ee39d73595ede74ba82a43b7c4313192e580face2/grpcio-1.82.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2ba199205ff46c7778290fe1673c91ac8e7e45678dd5c86e9e56fa33ec8788f6", size = 7913892, upload-time = "2026-07-08T12:35:13.944Z" }, - { url = "https://files.pythonhosted.org/packages/b8/92/f2651ec704d9852a56faef394775038afba435b50ce82ab2404d119c3355/grpcio-1.82.1-cp312-cp312-win32.whl", hash = "sha256:06127691866e295c14e84a1fb86356dd962254f6abd0da4ca4b001eea9e89438", size = 4240985, upload-time = "2026-07-08T12:35:16.048Z" }, - { url = "https://files.pythonhosted.org/packages/96/4f/a5fe8bf0d0a1b24855f370293075c931f27de4eb55f0f158786095bf3c11/grpcio-1.82.1-cp312-cp312-win_amd64.whl", hash = "sha256:1fa3223a3a2e1db74f4c2b255189eb7ea875dfba56e221d252ee3fc7b204778e", size = 5001580, upload-time = "2026-07-08T12:35:18.689Z" }, - { url = "https://files.pythonhosted.org/packages/1b/3e/496992d08c0aaa11272eb6228dc8ab947da01fe835de243cd00521bce4c4/grpcio-1.82.1-cp313-cp313-linux_armv7l.whl", hash = "sha256:b454a2d97bfab7565683a02345f86bd182ab69fd7c2bdb7414171e7538f266b1", size = 6146068, upload-time = "2026-07-08T12:35:21.365Z" }, - { url = "https://files.pythonhosted.org/packages/e7/8f/f263d6f14fdba6b56cfadd91fd3e158a52682b72c6016d1f8723d435659f/grpcio-1.82.1-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:3dde70abfc80b3be11de53ba0d601c439e7fb2afd3583ad1788d1146bec92fdc", size = 11948600, upload-time = "2026-07-08T12:35:24.312Z" }, - { url = "https://files.pythonhosted.org/packages/8c/14/3a02e6ee49c2d85bc15eaae321e0e11ab3542cad3c5b2de121ecce0c4296/grpcio-1.82.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f5523099c98c292ea1ae08e617249db760c56a78f8deae879027fe7d1ffbcbf6", size = 6714591, upload-time = "2026-07-08T12:35:27.027Z" }, - { url = "https://files.pythonhosted.org/packages/69/80/58e3738696f48ab7645347b98d8a7f93d10e00e6218388fbfcd6c9310e3d/grpcio-1.82.1-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:5e5c4dc0a59b0f8490a6bdfd6fc8395b9d8ad8a8407c7d67ca7b5bba15c0877f", size = 7454995, upload-time = "2026-07-08T12:35:29.599Z" }, - { url = "https://files.pythonhosted.org/packages/f3/6c/2557c1a889363072fbf2285ecd0e8c44860d4dbd60f017a32537c5b863e2/grpcio-1.82.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c40d94ba820329cc191981bc22fa6f6eed0799c6d921f3c6709521d59d4a2fd7", size = 6888621, upload-time = "2026-07-08T12:35:32.38Z" }, - { url = "https://files.pythonhosted.org/packages/d2/66/907706ccaff1223f1e10fd5b37fc16faead43392fccb4e786e7e390ac141/grpcio-1.82.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4c816180e31e273caaec6f8bd86a8392499d5bbb26f41da44e3dce48bde69095", size = 7505069, upload-time = "2026-07-08T12:35:35.072Z" }, - { url = "https://files.pythonhosted.org/packages/b3/7c/ff97b0d0f635987ee5ec80dfedafa1aad629303745d48e8637d10eec5b80/grpcio-1.82.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:e31fd780b261830720cb70b0fd8f0aa51d49e75a66d7464ad2e31d4b765f2580", size = 8535384, upload-time = "2026-07-08T12:35:37.954Z" }, - { url = "https://files.pythonhosted.org/packages/62/9e/a97fddd970a8d1588cade06eca20443761c1858b0ad6590a5c835aa18062/grpcio-1.82.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9d76152d7c31d7210d4a106e5d8b64da5bba5d6abf11be30e2f7b0a0c59bbcbf", size = 7910707, upload-time = "2026-07-08T12:35:40.797Z" }, - { url = "https://files.pythonhosted.org/packages/20/e4/eaba1517888af483a88d449eb7566f0f7f63446d46f339c5891798435875/grpcio-1.82.1-cp313-cp313-win32.whl", hash = "sha256:38e9dcb5258226fb3282630b31b16a968df52c8c6ad514af540646e0a4578f8a", size = 4240363, upload-time = "2026-07-08T12:35:43.298Z" }, - { url = "https://files.pythonhosted.org/packages/b0/42/66a98d47732e35290bef722f6149fed3709cd4cf61166f6f53a12f417302/grpcio-1.82.1-cp313-cp313-win_amd64.whl", hash = "sha256:3dbfb52c36d9511ac2b8e6c94fdde837b393ae520cc321f52a333a2deedf5a90", size = 5000980, upload-time = "2026-07-08T12:35:46.262Z" }, - { url = "https://files.pythonhosted.org/packages/b4/cb/cf9ae9e164c6e6dc8a494faa9771763df9da150eefe19671009624d1559f/grpcio-1.82.1-cp314-cp314-linux_armv7l.whl", hash = "sha256:35f990f7784c8fd2872644f07f96ebb4d9e48e145a190ab80d0280af91a1bfb2", size = 6146901, upload-time = "2026-07-08T12:35:49.261Z" }, - { url = "https://files.pythonhosted.org/packages/3b/2a/eccf26dbcfb7f7cab8027c5490a16c8937c5aa7a2ec20a3eab2cf7a43165/grpcio-1.82.1-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:46536a4a1f4434df3c851b9254ff6fc7df5705b273681a15ca277d5921c178a0", size = 11954756, upload-time = "2026-07-08T12:35:52.196Z" }, - { url = "https://files.pythonhosted.org/packages/ad/75/3b3b4a3cc9f084b026af96e1d3e539b1af29ec7f41ed0dfff3cb99cc8626/grpcio-1.82.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d6650a7c1ebb7921c70e12a385439a8118efb99e669fa9ed31cf25db1843937c", size = 6723087, upload-time = "2026-07-08T12:35:54.973Z" }, - { url = "https://files.pythonhosted.org/packages/9c/8b/b0f0c9b1400a99a4da4c09b114f101b192f8f11192e76f620b8962f5d90b/grpcio-1.82.1-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:b8e110c66df5204c0506d6c8787b35d48b8b699ef5aa366d6c4d67325c67fe9a", size = 7454542, upload-time = "2026-07-08T12:35:57.586Z" }, - { url = "https://files.pythonhosted.org/packages/b7/bd/428e38868382aa193697a5aa53973f29c58e58ba4268aa0c86a2715ee58b/grpcio-1.82.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f853eae07235a51a27bb5d6a9a175a59ca55dc9b99edc6ce2f76f07332d333ae", size = 6889588, upload-time = "2026-07-08T12:36:00.012Z" }, - { url = "https://files.pythonhosted.org/packages/49/ce/03e01d5e10259bf5c08ee50570cc94724e79c956f61fd2f09b341af0956c/grpcio-1.82.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:60b0f2c95337694fc094b77d9f60f50566c84b5677393e342eb98daeee242d98", size = 7514166, upload-time = "2026-07-08T12:36:02.693Z" }, - { url = "https://files.pythonhosted.org/packages/ff/59/278b4b600329e2ba3849f3c1ea3c820b3a01b38a7ad184ba09595e8d2733/grpcio-1.82.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:b064fc444812bdaa9825d33c26f8d732d63ee6a5d78557c1faf92c98687fed27", size = 8536166, upload-time = "2026-07-08T12:36:05.349Z" }, - { url = "https://files.pythonhosted.org/packages/44/27/7ccf2ef00f27a8e47a79d641c8ceaf7d3028c7a03d9a97b4c8a9a783c086/grpcio-1.82.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7d7ede11d747b4e1bd05e3bc0260e155b65a88735a895a10f6521f19b889511e", size = 7912572, upload-time = "2026-07-08T12:36:08.393Z" }, - { url = "https://files.pythonhosted.org/packages/0d/be/33742482d2753f2d3a1b7641664b6622262d44f2f3b609f13425dd86d36f/grpcio-1.82.1-cp314-cp314-win32.whl", hash = "sha256:3d21f19838dc255ecbb79321b15ae9b98fbddff4c3d4aedb0a81bdd7f4ab572a", size = 4321856, upload-time = "2026-07-08T12:36:10.899Z" }, - { url = "https://files.pythonhosted.org/packages/cc/67/03329c847172c78ddeb1eb9be6b444fdbc12775a84c958b27e427e7b926d/grpcio-1.82.1-cp314-cp314-win_amd64.whl", hash = "sha256:e20f1edbb15f99e3128ec86433f9785fd5a451d8f115e74fe0056134f092a9d5", size = 5141114, upload-time = "2026-07-08T12:36:13.595Z" }, -] - -[[package]] -name = "h11" -version = "0.16.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, -] - -[[package]] -name = "httpcore" -version = "1.0.9" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "certifi" }, - { name = "h11" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, -] - -[[package]] -name = "httptools" -version = "0.8.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/43/e5/d471fcb0e14523fe1c3f4ba58ca52480e7bd70ad7109a3846bc75892f7fb/httptools-0.8.0.tar.gz", hash = "sha256:6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999", size = 271342, upload-time = "2026-05-25T22:17:48.841Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/40/b9/be66eb0decd730d89b9c94f930e4b8d87787b05724bb84af98bfd825f72c/httptools-0.8.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:bf3b6f807c8541503cecfbb8a8dffb385640d0d96102f3d112aa8740f9b7c826", size = 208805, upload-time = "2026-05-25T22:16:50.434Z" }, - { url = "https://files.pythonhosted.org/packages/9d/f7/b4d41eaae2869d31356bc4bbf546f44fae83ff298af0a043ca0625b06773/httptools-0.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:da684f2e1aa2ee9bdcb083f3f3a68c5956750b375bc5df864d3a5f0c42a40b77", size = 113527, upload-time = "2026-05-25T22:16:51.672Z" }, - { url = "https://files.pythonhosted.org/packages/e6/e4/77487e14fc7be47180fd0eb4267c7486d0cc59b74031839a3daf8650136b/httptools-0.8.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a6f21e2a3b0067bbe7f67e34cfd16276af556e5e52f4c7503be0cb5f90e905e4", size = 450035, upload-time = "2026-05-25T22:16:53.313Z" }, - { url = "https://files.pythonhosted.org/packages/da/72/5a8f787e323f56fbd86c32a4be92a86776e4cfe8b4317db999f452028362/httptools-0.8.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ea897f0c729581ebf72131a438a7932d9b14efef72d75ada966700cac3caaeb", size = 451101, upload-time = "2026-05-25T22:16:54.696Z" }, - { url = "https://files.pythonhosted.org/packages/ed/41/b44a25560955197674b6744cb903664300e239235a5eaa69df0890d87054/httptools-0.8.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c0d726cc107fceb7d45f978483b4b70dd8caa836f5914d3434bb18628eb73813", size = 436140, upload-time = "2026-05-25T22:16:56.239Z" }, - { url = "https://files.pythonhosted.org/packages/74/b0/054aac84c03d7e097bf4c605fb7e74eec3d65c0276adf64ee97f3a103ff5/httptools-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9878eb2785ba5eb70631ad269b37976f73d647955e26c91d490eb8a4edfda4ba", size = 437041, upload-time = "2026-05-25T22:16:57.716Z" }, - { url = "https://files.pythonhosted.org/packages/bb/e8/86b85bbc0ac7892232f1a99ab96a9aa71936984fa06adfc0afc83ca7789e/httptools-0.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:b205e5f5523fa039679da0dfe5a10132b2a4abeae6a86fdd1ddc035f7f836557", size = 90454, upload-time = "2026-05-25T22:16:58.871Z" }, - { url = "https://files.pythonhosted.org/packages/f8/d2/c3eedaef57de65c3cc5f8dc244cf12d09c84ad258a479055aad6db23206c/httptools-0.8.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ed377e64805bdba4943c82717333f8f8603a13b09aff9cead2717c6c817fb168", size = 208428, upload-time = "2026-05-25T22:16:59.717Z" }, - { url = "https://files.pythonhosted.org/packages/f1/94/dfe435d90d0ef61ec0f2cc3d480eef78c59727c6c2ce039f433882f6131a/httptools-0.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9518c406d7b310f05adb1a37f80acabac40504a575d7c0da6d3e365c695ac20d", size = 113366, upload-time = "2026-05-25T22:17:00.795Z" }, - { url = "https://files.pythonhosted.org/packages/cc/d4/13025f1a56e615dcb331e0bbe2d9a1143212b58c263385fc5d2e558f5bac/httptools-0.8.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:57278e6fa0424c42a8a3e454828ab4f0aff27b40cddf9679579b98c6dce6a376", size = 464676, upload-time = "2026-05-25T22:17:02.014Z" }, - { url = "https://files.pythonhosted.org/packages/bf/95/4c1c26c0b985f8a3331682d802598f14e32dc41bf7509266eb2c04ad4801/httptools-0.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bbb8caadb2b742d293169d2b458b5c001ef70e3158704aa3d3ef9597624c5d1d", size = 464235, upload-time = "2026-05-25T22:17:03.109Z" }, - { url = "https://files.pythonhosted.org/packages/a2/82/6735be2b0ca527718c431cdb8e5f70c3862c0844a687df0f572c51e11497/httptools-0.8.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:52dd695b865fe96d9d2b16b64a895f3f57bf3cb064e8383cd3b5713a069e8085", size = 449809, upload-time = "2026-05-25T22:17:04.443Z" }, - { url = "https://files.pythonhosted.org/packages/b5/f9/5811c74f37a758c8a4aa3dc430375119d335947e883efc4664d8f3559a41/httptools-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:20b4aac66ff65f7db06a375808b78f42a94970aa22e826b3cb2b43eb09174124", size = 452174, upload-time = "2026-05-25T22:17:05.476Z" }, - { url = "https://files.pythonhosted.org/packages/cc/94/97b75870dea07b71e3ec535cebe525b08d723152e4c7d13fa887e51f4de2/httptools-0.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:a1b4c8e7a489a0d750d91894e9a8cdc295838f1924c0ca903ae993456fddec07", size = 90991, upload-time = "2026-05-25T22:17:06.75Z" }, - { url = "https://files.pythonhosted.org/packages/14/88/1d21a36da8f5cb0fa49eafd4b169eba5608d57e75bbcf61845cbc6243216/httptools-0.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:880490234c10f70a9830743097e8958d6e4b9f5a0ffc24515023afeef984054d", size = 208247, upload-time = "2026-05-25T22:17:07.843Z" }, - { url = "https://files.pythonhosted.org/packages/a5/42/cc4feea2945cb3051038f090c9b36bd5b8a9d7f5a894a506a8983e33fd1c/httptools-0.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5931891fb7b441b8a3853cf1b85c82c903defce084dd5f6771ca46e31bf862c5", size = 113064, upload-time = "2026-05-25T22:17:09.136Z" }, - { url = "https://files.pythonhosted.org/packages/e3/a6/febbb8b8db0f58b38e44ad6cb946e6a255ae49b55f2e8543408fb7501ccd/httptools-0.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b15fc622b0f869d19207c4089a501d9bcc63ca5e071ffdd2f03f922df882dcb2", size = 523851, upload-time = "2026-05-25T22:17:10.106Z" }, - { url = "https://files.pythonhosted.org/packages/b7/e4/f90a0df0b83beff265b7e3b65f2a4cefd95792d4be0ac3e16049f2acd3c2/httptools-0.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:425f83884fd6343828d8c565f046cb72b6d19063f6924093e11bcd8e1548cd09", size = 518842, upload-time = "2026-05-25T22:17:11.218Z" }, - { url = "https://files.pythonhosted.org/packages/9e/2d/0c9ac76dd2c893841fbf6498d6acec4f2442e1b7067f6e3e316a80e494e8/httptools-0.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ef7c3c97f4311c7be57e2986629df89d49cb434dbff78eafcd48c2bff986b15a", size = 501238, upload-time = "2026-05-25T22:17:12.728Z" }, - { url = "https://files.pythonhosted.org/packages/ca/42/906adc91ae3a5fa9c59c0a2f21c139725bd7e5b41ae6acd485cd14123ebf/httptools-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a1afd7c9fbff0d9f5d489c4ce2768bd09c84a46ddefc7161e6aa82ae35c85745", size = 509567, upload-time = "2026-05-25T22:17:13.842Z" }, - { url = "https://files.pythonhosted.org/packages/05/0b/4240efeb672751ee5b9b380cb0e3fdc050bc05f68adc7a8aefc4fcd9a69a/httptools-0.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:cd96f29b4bab1d42fa6e3d008711c75e0f79e94e06827330160e3a304227f150", size = 90918, upload-time = "2026-05-25T22:17:15.155Z" }, - { url = "https://files.pythonhosted.org/packages/5e/e5/8cfcabc5546e8022f168be28bcdaa128a240a0befdd03b59d558b4f18bd6/httptools-0.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:614ceea8ea606848bece2338ac03b3ce5324bcb4be8dc7d377ed708012fa4db8", size = 205148, upload-time = "2026-05-25T22:17:16.333Z" }, - { url = "https://files.pythonhosted.org/packages/2a/0e/0fb14848c19a686c8062ff9067c1a48793e3224b47bc5b201535b6036fce/httptools-0.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2d689918c15a013c65ef52d9fd495d766893ab831a2c8d89f2ac5940a5df847c", size = 111368, upload-time = "2026-05-25T22:17:17.586Z" }, - { url = "https://files.pythonhosted.org/packages/2e/1b/46f1cecf06b9bbde8e4b8c88034ac7908989e5ff7a3a388ef38392949c1f/httptools-0.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eb3028cca2fc0a6d720e52ef61d8ebb62fcbfeb1de56874546d858d3f25a26b7", size = 486447, upload-time = "2026-05-25T22:17:18.564Z" }, - { url = "https://files.pythonhosted.org/packages/77/00/258bfc0837221f81d9725c45f9b948a6a6b2994a147a4fb66e85100c668f/httptools-0.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:88bdd940f2b5d487b4d032c6afa5489a7dc4694410d43de3c38c4fb3af0dc45d", size = 482448, upload-time = "2026-05-25T22:17:19.912Z" }, - { url = "https://files.pythonhosted.org/packages/04/ab/d1cef3b5523f4d272a70f42a776c3169a2dddfe3a54de4b2ce4a36341528/httptools-0.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6a43c9dd399758ccc0531acb0a3c4a6c299ee893ee9400e9c893b7bdcfae0681", size = 464460, upload-time = "2026-05-25T22:17:20.882Z" }, - { url = "https://files.pythonhosted.org/packages/ce/48/5d1d072442277bb2b3434e0e60690b8e8c23840ef7de8b6ea54040a536d3/httptools-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0770728beb05094c809b98e814edff5fef69d26ad7d21185f2f6d5884a0ba683", size = 471312, upload-time = "2026-05-25T22:17:22.085Z" }, - { url = "https://files.pythonhosted.org/packages/0d/66/b96623b27e51a68199ef4efdda0613cced9233fe3062ac74e50749c5ad37/httptools-0.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:7685df791fad561384bfb139e77fde27a1ffd93134e016f95a0db424ffbf77b1", size = 90117, upload-time = "2026-05-25T22:17:23.074Z" }, - { url = "https://files.pythonhosted.org/packages/1a/12/fa3fbf5f9517b273edea2dc982aa82a8c634091e67c590792b729017bc6f/httptools-0.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:de242a49b5d18e0a8776e654e9f6bf6d89f3875a5c35b425a0e7ce940feb3fd6", size = 206183, upload-time = "2026-05-25T22:17:24.004Z" }, - { url = "https://files.pythonhosted.org/packages/30/fc/5e7c4cb443370f2090a3aba0453a07384d29ff66b7435bb90e77e1037599/httptools-0.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:159e9ab5f701ccd42e555a12f1ad8ff69702910fc1c996cf2bb66e5fcb7a231b", size = 112079, upload-time = "2026-05-25T22:17:25.216Z" }, - { url = "https://files.pythonhosted.org/packages/ba/53/771bd891eb0f236f32145d6a1775777ec85745f3cc983a1f23d1a3b8ddfe/httptools-0.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c4a9f1707e4823d54dfec6c33fa3697d302aed536ed352a7ebb5a061ddb869d0", size = 481596, upload-time = "2026-05-25T22:17:26.186Z" }, - { url = "https://files.pythonhosted.org/packages/62/42/94e15bc68ce3d423243c45d7f1b0c7561f13844f97dc52ae23182fb65628/httptools-0.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d76ad7b951387e3632c8716a9bb03ac5b45c5f16119aa409db0459520887944e", size = 480865, upload-time = "2026-05-25T22:17:27.542Z" }, - { url = "https://files.pythonhosted.org/packages/1c/7c/fe2980fc03723272e30f135b62360b075f513dfe7cc73aef36c7f04012bd/httptools-0.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a3b7387147361c3fd47a0bde763c5c91b5b4cd4dc9989b8ece84ff436c99843b", size = 463189, upload-time = "2026-05-25T22:17:28.546Z" }, - { url = "https://files.pythonhosted.org/packages/15/1b/47fc5fff68acd1bfa20b4734059c9a06cadb88119dcd5258b5b0d21d91c8/httptools-0.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f256d6ce930c52ca1cb2a960b7da03548c454e7d28b06059ad41bfe789036ce0", size = 466610, upload-time = "2026-05-25T22:17:29.816Z" }, - { url = "https://files.pythonhosted.org/packages/60/bd/07b13c93ffd9bec9546e0d43f8e19378dd696dbd278511406bc07371ef1f/httptools-0.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:19d1ee275bb59ba2643ba9a3a1e51cc0c788caf2b8df506368e03f56fdd08527", size = 92705, upload-time = "2026-05-25T22:17:31.133Z" }, - { url = "https://files.pythonhosted.org/packages/fd/c4/121648f68ce066d7bd762d6b6d97e620847642d38d54f3d90ff11d947629/httptools-0.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:de1ed58a974e75d56560acc7e7fed01a454994429456f65209789992e41f2568", size = 215023, upload-time = "2026-05-25T22:17:32.401Z" }, - { url = "https://files.pythonhosted.org/packages/b9/b0/312a062ae741ae3e8baa8c8bf20be81b2e67337b259ab4349bebc7b6142e/httptools-0.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e93c227b595c6926c1acee96891dd9da4be338cfbe82e5cd3bb9d8dd7dc4ac0b", size = 117405, upload-time = "2026-05-25T22:17:33.742Z" }, - { url = "https://files.pythonhosted.org/packages/fc/37/fccd705f795386bb05bf413012fecff2a33e5aa8c2f069096de3e9fd8702/httptools-0.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2a021c3a8e65cc125390d72f59b968afca3bdcaff25bd67965e0a055a14946ca", size = 558497, upload-time = "2026-05-25T22:17:34.732Z" }, - { url = "https://files.pythonhosted.org/packages/bd/39/f172e8003576de35f5ba77ff417cf0e34429d35dc014deef15afa337a72c/httptools-0.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48774d39cbb70e2b1f71f88852a3087ae1d3a1eb80482bb48c13067ab080c14f", size = 571585, upload-time = "2026-05-25T22:17:35.813Z" }, - { url = "https://files.pythonhosted.org/packages/3e/b9/f5564760af99f3dbbf3f9104dc00e5da27e96cf433c6bdcf77617f70bf3f/httptools-0.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:88eead8ec8680a9f146c655bc88445a325bd7921cfd8194c7337e9467282427d", size = 543297, upload-time = "2026-05-25T22:17:37.08Z" }, - { url = "https://files.pythonhosted.org/packages/99/67/8d9f2c313618e161b82f3873188e7196126da1d6e29688df40eb3997c77a/httptools-0.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2c032fa028f46871ec7e1fc59fc15e8023eab3e6bbe6ece786a1611719a5d081", size = 539535, upload-time = "2026-05-25T22:17:38.032Z" }, - { url = "https://files.pythonhosted.org/packages/48/63/b906c01e53f50d432c0defe43ce52764a111dc1bdd028bafbeb54dcfd008/httptools-0.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:384c17174464c8e873398b7af24f0b1f44d992c820328413951a625323155d77", size = 108209, upload-time = "2026-05-25T22:17:39.473Z" }, -] - -[[package]] -name = "httpx" -version = "0.28.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, - { name = "idna" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, -] - -[[package]] -name = "idna" -version = "3.18" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" }, -] - -[[package]] -name = "iniconfig" -version = "2.3.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, -] - -[[package]] -name = "mako" -version = "1.3.12" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "markupsafe" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/00/62/791b31e69ae182791ec67f04850f2f062716bbd205483d63a215f3e062d3/mako-1.3.12.tar.gz", hash = "sha256:9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a", size = 400219, upload-time = "2026-04-28T19:01:08.512Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/bc/b1/a0ec7a5a9db730a08daef1fdfb8090435b82465abbf758a596f0ea88727e/mako-1.3.12-py3-none-any.whl", hash = "sha256:8f61569480282dbf557145ce441e4ba888be453c30989f879f0d652e39f53ea9", size = 78521, upload-time = "2026-04-28T19:01:10.393Z" }, -] - -[[package]] -name = "markupsafe" -version = "3.0.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e8/4b/3541d44f3937ba468b75da9eebcae497dcf67adb65caa16760b0a6807ebb/markupsafe-3.0.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f981d352f04553a7171b8e44369f2af4055f888dfb147d55e42d29e29e74559", size = 11631, upload-time = "2025-09-27T18:36:05.558Z" }, - { url = "https://files.pythonhosted.org/packages/98/1b/fbd8eed11021cabd9226c37342fa6ca4e8a98d8188a8d9b66740494960e4/markupsafe-3.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e1c1493fb6e50ab01d20a22826e57520f1284df32f2d8601fdd90b6304601419", size = 12057, upload-time = "2025-09-27T18:36:07.165Z" }, - { url = "https://files.pythonhosted.org/packages/40/01/e560d658dc0bb8ab762670ece35281dec7b6c1b33f5fbc09ebb57a185519/markupsafe-3.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1ba88449deb3de88bd40044603fafffb7bc2b055d626a330323a9ed736661695", size = 22050, upload-time = "2025-09-27T18:36:08.005Z" }, - { url = "https://files.pythonhosted.org/packages/af/cd/ce6e848bbf2c32314c9b237839119c5a564a59725b53157c856e90937b7a/markupsafe-3.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591", size = 20681, upload-time = "2025-09-27T18:36:08.881Z" }, - { url = "https://files.pythonhosted.org/packages/c9/2a/b5c12c809f1c3045c4d580b035a743d12fcde53cf685dbc44660826308da/markupsafe-3.0.3-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0c0b3ade1c0b13b936d7970b1d37a57acde9199dc2aecc4c336773e1d86049c", size = 20705, upload-time = "2025-09-27T18:36:10.131Z" }, - { url = "https://files.pythonhosted.org/packages/cf/e3/9427a68c82728d0a88c50f890d0fc072a1484de2f3ac1ad0bfc1a7214fd5/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0303439a41979d9e74d18ff5e2dd8c43ed6c6001fd40e5bf2e43f7bd9bbc523f", size = 21524, upload-time = "2025-09-27T18:36:11.324Z" }, - { url = "https://files.pythonhosted.org/packages/bc/36/23578f29e9e582a4d0278e009b38081dbe363c5e7165113fad546918a232/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:d2ee202e79d8ed691ceebae8e0486bd9a2cd4794cec4824e1c99b6f5009502f6", size = 20282, upload-time = "2025-09-27T18:36:12.573Z" }, - { url = "https://files.pythonhosted.org/packages/56/21/dca11354e756ebd03e036bd8ad58d6d7168c80ce1fe5e75218e4945cbab7/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:177b5253b2834fe3678cb4a5f0059808258584c559193998be2601324fdeafb1", size = 20745, upload-time = "2025-09-27T18:36:13.504Z" }, - { url = "https://files.pythonhosted.org/packages/87/99/faba9369a7ad6e4d10b6a5fbf71fa2a188fe4a593b15f0963b73859a1bbd/markupsafe-3.0.3-cp310-cp310-win32.whl", hash = "sha256:2a15a08b17dd94c53a1da0438822d70ebcd13f8c3a95abe3a9ef9f11a94830aa", size = 14571, upload-time = "2025-09-27T18:36:14.779Z" }, - { url = "https://files.pythonhosted.org/packages/d6/25/55dc3ab959917602c96985cb1253efaa4ff42f71194bddeb61eb7278b8be/markupsafe-3.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:c4ffb7ebf07cfe8931028e3e4c85f0357459a3f9f9490886198848f4fa002ec8", size = 15056, upload-time = "2025-09-27T18:36:16.125Z" }, - { url = "https://files.pythonhosted.org/packages/d0/9e/0a02226640c255d1da0b8d12e24ac2aa6734da68bff14c05dd53b94a0fc3/markupsafe-3.0.3-cp310-cp310-win_arm64.whl", hash = "sha256:e2103a929dfa2fcaf9bb4e7c091983a49c9ac3b19c9061b6d5427dd7d14d81a1", size = 13932, upload-time = "2025-09-27T18:36:17.311Z" }, - { url = "https://files.pythonhosted.org/packages/08/db/fefacb2136439fc8dd20e797950e749aa1f4997ed584c62cfb8ef7c2be0e/markupsafe-3.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad", size = 11631, upload-time = "2025-09-27T18:36:18.185Z" }, - { url = "https://files.pythonhosted.org/packages/e1/2e/5898933336b61975ce9dc04decbc0a7f2fee78c30353c5efba7f2d6ff27a/markupsafe-3.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a", size = 12058, upload-time = "2025-09-27T18:36:19.444Z" }, - { url = "https://files.pythonhosted.org/packages/1d/09/adf2df3699d87d1d8184038df46a9c80d78c0148492323f4693df54e17bb/markupsafe-3.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50", size = 24287, upload-time = "2025-09-27T18:36:20.768Z" }, - { url = "https://files.pythonhosted.org/packages/30/ac/0273f6fcb5f42e314c6d8cd99effae6a5354604d461b8d392b5ec9530a54/markupsafe-3.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf", size = 22940, upload-time = "2025-09-27T18:36:22.249Z" }, - { url = "https://files.pythonhosted.org/packages/19/ae/31c1be199ef767124c042c6c3e904da327a2f7f0cd63a0337e1eca2967a8/markupsafe-3.0.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f", size = 21887, upload-time = "2025-09-27T18:36:23.535Z" }, - { url = "https://files.pythonhosted.org/packages/b2/76/7edcab99d5349a4532a459e1fe64f0b0467a3365056ae550d3bcf3f79e1e/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a", size = 23692, upload-time = "2025-09-27T18:36:24.823Z" }, - { url = "https://files.pythonhosted.org/packages/a4/28/6e74cdd26d7514849143d69f0bf2399f929c37dc2b31e6829fd2045b2765/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115", size = 21471, upload-time = "2025-09-27T18:36:25.95Z" }, - { url = "https://files.pythonhosted.org/packages/62/7e/a145f36a5c2945673e590850a6f8014318d5577ed7e5920a4b3448e0865d/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a", size = 22923, upload-time = "2025-09-27T18:36:27.109Z" }, - { url = "https://files.pythonhosted.org/packages/0f/62/d9c46a7f5c9adbeeeda52f5b8d802e1094e9717705a645efc71b0913a0a8/markupsafe-3.0.3-cp311-cp311-win32.whl", hash = "sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19", size = 14572, upload-time = "2025-09-27T18:36:28.045Z" }, - { url = "https://files.pythonhosted.org/packages/83/8a/4414c03d3f891739326e1783338e48fb49781cc915b2e0ee052aa490d586/markupsafe-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01", size = 15077, upload-time = "2025-09-27T18:36:29.025Z" }, - { url = "https://files.pythonhosted.org/packages/35/73/893072b42e6862f319b5207adc9ae06070f095b358655f077f69a35601f0/markupsafe-3.0.3-cp311-cp311-win_arm64.whl", hash = "sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c", size = 13876, upload-time = "2025-09-27T18:36:29.954Z" }, - { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615, upload-time = "2025-09-27T18:36:30.854Z" }, - { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020, upload-time = "2025-09-27T18:36:31.971Z" }, - { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332, upload-time = "2025-09-27T18:36:32.813Z" }, - { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947, upload-time = "2025-09-27T18:36:33.86Z" }, - { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962, upload-time = "2025-09-27T18:36:35.099Z" }, - { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760, upload-time = "2025-09-27T18:36:36.001Z" }, - { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529, upload-time = "2025-09-27T18:36:36.906Z" }, - { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015, upload-time = "2025-09-27T18:36:37.868Z" }, - { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540, upload-time = "2025-09-27T18:36:38.761Z" }, - { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105, upload-time = "2025-09-27T18:36:39.701Z" }, - { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906, upload-time = "2025-09-27T18:36:40.689Z" }, - { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622, upload-time = "2025-09-27T18:36:41.777Z" }, - { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029, upload-time = "2025-09-27T18:36:43.257Z" }, - { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374, upload-time = "2025-09-27T18:36:44.508Z" }, - { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980, upload-time = "2025-09-27T18:36:45.385Z" }, - { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990, upload-time = "2025-09-27T18:36:46.916Z" }, - { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784, upload-time = "2025-09-27T18:36:47.884Z" }, - { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588, upload-time = "2025-09-27T18:36:48.82Z" }, - { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041, upload-time = "2025-09-27T18:36:49.797Z" }, - { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543, upload-time = "2025-09-27T18:36:51.584Z" }, - { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113, upload-time = "2025-09-27T18:36:52.537Z" }, - { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911, upload-time = "2025-09-27T18:36:53.513Z" }, - { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658, upload-time = "2025-09-27T18:36:54.819Z" }, - { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066, upload-time = "2025-09-27T18:36:55.714Z" }, - { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639, upload-time = "2025-09-27T18:36:56.908Z" }, - { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569, upload-time = "2025-09-27T18:36:57.913Z" }, - { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284, upload-time = "2025-09-27T18:36:58.833Z" }, - { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801, upload-time = "2025-09-27T18:36:59.739Z" }, - { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769, upload-time = "2025-09-27T18:37:00.719Z" }, - { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642, upload-time = "2025-09-27T18:37:01.673Z" }, - { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612, upload-time = "2025-09-27T18:37:02.639Z" }, - { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200, upload-time = "2025-09-27T18:37:03.582Z" }, - { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" }, - { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" }, - { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" }, - { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" }, - { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" }, - { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" }, - { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" }, - { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" }, - { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" }, - { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" }, - { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" }, - { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" }, - { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" }, - { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" }, - { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" }, - { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" }, - { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" }, - { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" }, - { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" }, - { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" }, - { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" }, - { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" }, - { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, -] - -[[package]] -name = "numpy" -version = "2.2.6" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version < '3.11'", -] -sdist = { url = "https://files.pythonhosted.org/packages/76/21/7d2a95e4bba9dc13d043ee156a356c0a8f0c6309dff6b21b4d71a073b8a8/numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd", size = 20276440, upload-time = "2025-05-17T22:38:04.611Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9a/3e/ed6db5be21ce87955c0cbd3009f2803f59fa08df21b5df06862e2d8e2bdd/numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb", size = 21165245, upload-time = "2025-05-17T21:27:58.555Z" }, - { url = "https://files.pythonhosted.org/packages/22/c2/4b9221495b2a132cc9d2eb862e21d42a009f5a60e45fc44b00118c174bff/numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90", size = 14360048, upload-time = "2025-05-17T21:28:21.406Z" }, - { url = "https://files.pythonhosted.org/packages/fd/77/dc2fcfc66943c6410e2bf598062f5959372735ffda175b39906d54f02349/numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163", size = 5340542, upload-time = "2025-05-17T21:28:30.931Z" }, - { url = "https://files.pythonhosted.org/packages/7a/4f/1cb5fdc353a5f5cc7feb692db9b8ec2c3d6405453f982435efc52561df58/numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf", size = 6878301, upload-time = "2025-05-17T21:28:41.613Z" }, - { url = "https://files.pythonhosted.org/packages/eb/17/96a3acd228cec142fcb8723bd3cc39c2a474f7dcf0a5d16731980bcafa95/numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83", size = 14297320, upload-time = "2025-05-17T21:29:02.78Z" }, - { url = "https://files.pythonhosted.org/packages/b4/63/3de6a34ad7ad6646ac7d2f55ebc6ad439dbbf9c4370017c50cf403fb19b5/numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915", size = 16801050, upload-time = "2025-05-17T21:29:27.675Z" }, - { url = "https://files.pythonhosted.org/packages/07/b6/89d837eddef52b3d0cec5c6ba0456c1bf1b9ef6a6672fc2b7873c3ec4e2e/numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680", size = 15807034, upload-time = "2025-05-17T21:29:51.102Z" }, - { url = "https://files.pythonhosted.org/packages/01/c8/dc6ae86e3c61cfec1f178e5c9f7858584049b6093f843bca541f94120920/numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289", size = 18614185, upload-time = "2025-05-17T21:30:18.703Z" }, - { url = "https://files.pythonhosted.org/packages/5b/c5/0064b1b7e7c89137b471ccec1fd2282fceaae0ab3a9550f2568782d80357/numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d", size = 6527149, upload-time = "2025-05-17T21:30:29.788Z" }, - { url = "https://files.pythonhosted.org/packages/a3/dd/4b822569d6b96c39d1215dbae0582fd99954dcbcf0c1a13c61783feaca3f/numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3", size = 12904620, upload-time = "2025-05-17T21:30:48.994Z" }, - { url = "https://files.pythonhosted.org/packages/da/a8/4f83e2aa666a9fbf56d6118faaaf5f1974d456b1823fda0a176eff722839/numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae", size = 21176963, upload-time = "2025-05-17T21:31:19.36Z" }, - { url = "https://files.pythonhosted.org/packages/b3/2b/64e1affc7972decb74c9e29e5649fac940514910960ba25cd9af4488b66c/numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a", size = 14406743, upload-time = "2025-05-17T21:31:41.087Z" }, - { url = "https://files.pythonhosted.org/packages/4a/9f/0121e375000b5e50ffdd8b25bf78d8e1a5aa4cca3f185d41265198c7b834/numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42", size = 5352616, upload-time = "2025-05-17T21:31:50.072Z" }, - { url = "https://files.pythonhosted.org/packages/31/0d/b48c405c91693635fbe2dcd7bc84a33a602add5f63286e024d3b6741411c/numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491", size = 6889579, upload-time = "2025-05-17T21:32:01.712Z" }, - { url = "https://files.pythonhosted.org/packages/52/b8/7f0554d49b565d0171eab6e99001846882000883998e7b7d9f0d98b1f934/numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a", size = 14312005, upload-time = "2025-05-17T21:32:23.332Z" }, - { url = "https://files.pythonhosted.org/packages/b3/dd/2238b898e51bd6d389b7389ffb20d7f4c10066d80351187ec8e303a5a475/numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf", size = 16821570, upload-time = "2025-05-17T21:32:47.991Z" }, - { url = "https://files.pythonhosted.org/packages/83/6c/44d0325722cf644f191042bf47eedad61c1e6df2432ed65cbe28509d404e/numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1", size = 15818548, upload-time = "2025-05-17T21:33:11.728Z" }, - { url = "https://files.pythonhosted.org/packages/ae/9d/81e8216030ce66be25279098789b665d49ff19eef08bfa8cb96d4957f422/numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab", size = 18620521, upload-time = "2025-05-17T21:33:39.139Z" }, - { url = "https://files.pythonhosted.org/packages/6a/fd/e19617b9530b031db51b0926eed5345ce8ddc669bb3bc0044b23e275ebe8/numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47", size = 6525866, upload-time = "2025-05-17T21:33:50.273Z" }, - { url = "https://files.pythonhosted.org/packages/31/0a/f354fb7176b81747d870f7991dc763e157a934c717b67b58456bc63da3df/numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303", size = 12907455, upload-time = "2025-05-17T21:34:09.135Z" }, - { url = "https://files.pythonhosted.org/packages/82/5d/c00588b6cf18e1da539b45d3598d3557084990dcc4331960c15ee776ee41/numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff", size = 20875348, upload-time = "2025-05-17T21:34:39.648Z" }, - { url = "https://files.pythonhosted.org/packages/66/ee/560deadcdde6c2f90200450d5938f63a34b37e27ebff162810f716f6a230/numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c", size = 14119362, upload-time = "2025-05-17T21:35:01.241Z" }, - { url = "https://files.pythonhosted.org/packages/3c/65/4baa99f1c53b30adf0acd9a5519078871ddde8d2339dc5a7fde80d9d87da/numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3", size = 5084103, upload-time = "2025-05-17T21:35:10.622Z" }, - { url = "https://files.pythonhosted.org/packages/cc/89/e5a34c071a0570cc40c9a54eb472d113eea6d002e9ae12bb3a8407fb912e/numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282", size = 6625382, upload-time = "2025-05-17T21:35:21.414Z" }, - { url = "https://files.pythonhosted.org/packages/f8/35/8c80729f1ff76b3921d5c9487c7ac3de9b2a103b1cd05e905b3090513510/numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87", size = 14018462, upload-time = "2025-05-17T21:35:42.174Z" }, - { url = "https://files.pythonhosted.org/packages/8c/3d/1e1db36cfd41f895d266b103df00ca5b3cbe965184df824dec5c08c6b803/numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249", size = 16527618, upload-time = "2025-05-17T21:36:06.711Z" }, - { url = "https://files.pythonhosted.org/packages/61/c6/03ed30992602c85aa3cd95b9070a514f8b3c33e31124694438d88809ae36/numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49", size = 15505511, upload-time = "2025-05-17T21:36:29.965Z" }, - { url = "https://files.pythonhosted.org/packages/b7/25/5761d832a81df431e260719ec45de696414266613c9ee268394dd5ad8236/numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de", size = 18313783, upload-time = "2025-05-17T21:36:56.883Z" }, - { url = "https://files.pythonhosted.org/packages/57/0a/72d5a3527c5ebffcd47bde9162c39fae1f90138c961e5296491ce778e682/numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4", size = 6246506, upload-time = "2025-05-17T21:37:07.368Z" }, - { url = "https://files.pythonhosted.org/packages/36/fa/8c9210162ca1b88529ab76b41ba02d433fd54fecaf6feb70ef9f124683f1/numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2", size = 12614190, upload-time = "2025-05-17T21:37:26.213Z" }, - { url = "https://files.pythonhosted.org/packages/f9/5c/6657823f4f594f72b5471f1db1ab12e26e890bb2e41897522d134d2a3e81/numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84", size = 20867828, upload-time = "2025-05-17T21:37:56.699Z" }, - { url = "https://files.pythonhosted.org/packages/dc/9e/14520dc3dadf3c803473bd07e9b2bd1b69bc583cb2497b47000fed2fa92f/numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b", size = 14143006, upload-time = "2025-05-17T21:38:18.291Z" }, - { url = "https://files.pythonhosted.org/packages/4f/06/7e96c57d90bebdce9918412087fc22ca9851cceaf5567a45c1f404480e9e/numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d", size = 5076765, upload-time = "2025-05-17T21:38:27.319Z" }, - { url = "https://files.pythonhosted.org/packages/73/ed/63d920c23b4289fdac96ddbdd6132e9427790977d5457cd132f18e76eae0/numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566", size = 6617736, upload-time = "2025-05-17T21:38:38.141Z" }, - { url = "https://files.pythonhosted.org/packages/85/c5/e19c8f99d83fd377ec8c7e0cf627a8049746da54afc24ef0a0cb73d5dfb5/numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f", size = 14010719, upload-time = "2025-05-17T21:38:58.433Z" }, - { url = "https://files.pythonhosted.org/packages/19/49/4df9123aafa7b539317bf6d342cb6d227e49f7a35b99c287a6109b13dd93/numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f", size = 16526072, upload-time = "2025-05-17T21:39:22.638Z" }, - { url = "https://files.pythonhosted.org/packages/b2/6c/04b5f47f4f32f7c2b0e7260442a8cbcf8168b0e1a41ff1495da42f42a14f/numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868", size = 15503213, upload-time = "2025-05-17T21:39:45.865Z" }, - { url = "https://files.pythonhosted.org/packages/17/0a/5cd92e352c1307640d5b6fec1b2ffb06cd0dabe7d7b8227f97933d378422/numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d", size = 18316632, upload-time = "2025-05-17T21:40:13.331Z" }, - { url = "https://files.pythonhosted.org/packages/f0/3b/5cba2b1d88760ef86596ad0f3d484b1cbff7c115ae2429678465057c5155/numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd", size = 6244532, upload-time = "2025-05-17T21:43:46.099Z" }, - { url = "https://files.pythonhosted.org/packages/cb/3b/d58c12eafcb298d4e6d0d40216866ab15f59e55d148a5658bb3132311fcf/numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c", size = 12610885, upload-time = "2025-05-17T21:44:05.145Z" }, - { url = "https://files.pythonhosted.org/packages/6b/9e/4bf918b818e516322db999ac25d00c75788ddfd2d2ade4fa66f1f38097e1/numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6", size = 20963467, upload-time = "2025-05-17T21:40:44Z" }, - { url = "https://files.pythonhosted.org/packages/61/66/d2de6b291507517ff2e438e13ff7b1e2cdbdb7cb40b3ed475377aece69f9/numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda", size = 14225144, upload-time = "2025-05-17T21:41:05.695Z" }, - { url = "https://files.pythonhosted.org/packages/e4/25/480387655407ead912e28ba3a820bc69af9adf13bcbe40b299d454ec011f/numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40", size = 5200217, upload-time = "2025-05-17T21:41:15.903Z" }, - { url = "https://files.pythonhosted.org/packages/aa/4a/6e313b5108f53dcbf3aca0c0f3e9c92f4c10ce57a0a721851f9785872895/numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8", size = 6712014, upload-time = "2025-05-17T21:41:27.321Z" }, - { url = "https://files.pythonhosted.org/packages/b7/30/172c2d5c4be71fdf476e9de553443cf8e25feddbe185e0bd88b096915bcc/numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f", size = 14077935, upload-time = "2025-05-17T21:41:49.738Z" }, - { url = "https://files.pythonhosted.org/packages/12/fb/9e743f8d4e4d3c710902cf87af3512082ae3d43b945d5d16563f26ec251d/numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa", size = 16600122, upload-time = "2025-05-17T21:42:14.046Z" }, - { url = "https://files.pythonhosted.org/packages/12/75/ee20da0e58d3a66f204f38916757e01e33a9737d0b22373b3eb5a27358f9/numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571", size = 15586143, upload-time = "2025-05-17T21:42:37.464Z" }, - { url = "https://files.pythonhosted.org/packages/76/95/bef5b37f29fc5e739947e9ce5179ad402875633308504a52d188302319c8/numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1", size = 18385260, upload-time = "2025-05-17T21:43:05.189Z" }, - { url = "https://files.pythonhosted.org/packages/09/04/f2f83279d287407cf36a7a8053a5abe7be3622a4363337338f2585e4afda/numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff", size = 6377225, upload-time = "2025-05-17T21:43:16.254Z" }, - { url = "https://files.pythonhosted.org/packages/67/0e/35082d13c09c02c011cf21570543d202ad929d961c02a147493cb0c2bdf5/numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06", size = 12771374, upload-time = "2025-05-17T21:43:35.479Z" }, - { url = "https://files.pythonhosted.org/packages/9e/3b/d94a75f4dbf1ef5d321523ecac21ef23a3cd2ac8b78ae2aac40873590229/numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d", size = 21040391, upload-time = "2025-05-17T21:44:35.948Z" }, - { url = "https://files.pythonhosted.org/packages/17/f4/09b2fa1b58f0fb4f7c7963a1649c64c4d315752240377ed74d9cd878f7b5/numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db", size = 6786754, upload-time = "2025-05-17T21:44:47.446Z" }, - { url = "https://files.pythonhosted.org/packages/af/30/feba75f143bdc868a1cc3f44ccfa6c4b9ec522b36458e738cd00f67b573f/numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543", size = 16643476, upload-time = "2025-05-17T21:45:11.871Z" }, - { url = "https://files.pythonhosted.org/packages/37/48/ac2a9584402fb6c0cd5b5d1a91dcf176b15760130dd386bbafdbfe3640bf/numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00", size = 12812666, upload-time = "2025-05-17T21:45:31.426Z" }, -] - -[[package]] -name = "numpy" -version = "2.4.6" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version == '3.11.*'", -] -sdist = { url = "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", hash = "sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda", size = 20735807, upload-time = "2026-05-18T23:37:14.07Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4", size = 16969194, upload-time = "2026-05-18T23:33:13.503Z" }, - { url = "https://files.pythonhosted.org/packages/0e/0d/f5957185c0ee2f3e12f78715aa9e3b353fd83633316c8532b38faa37e3f6/numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d", size = 14964111, upload-time = "2026-05-18T23:33:17.795Z" }, - { url = "https://files.pythonhosted.org/packages/ad/40/40a40ee0ddf7ceb782c49af278894b686e586d65d8c1889c8b5da01a3d7d/numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8", size = 5469159, upload-time = "2026-05-18T23:33:20.654Z" }, - { url = "https://files.pythonhosted.org/packages/63/13/f9a8046535cb21deae82f8d03de9617e08882d274fad2539630761888228/numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538", size = 6798936, upload-time = "2026-05-18T23:33:22.987Z" }, - { url = "https://files.pythonhosted.org/packages/33/a8/6fa8c1a345a8c85dbb21932c447bee07c30a2c2a3f31e369c0a84b300147/numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47", size = 15966692, upload-time = "2026-05-18T23:33:26.62Z" }, - { url = "https://files.pythonhosted.org/packages/02/03/74fe2a4cb3817d94d86402f2506554130a2f01414e299b5a843e5a8a957f/numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93", size = 16918164, upload-time = "2026-05-18T23:33:29.955Z" }, - { url = "https://files.pythonhosted.org/packages/c5/80/3615be3313f7e7696609bc194b9f0101da809df79e859bdb84e0cd043f46/numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8", size = 17322877, upload-time = "2026-05-18T23:33:34.724Z" }, - { url = "https://files.pythonhosted.org/packages/ca/ac/a691e0fe2675e370d0e08ff905adc49a1c8830e8cae03efe4477e92cd55d/numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6", size = 18651487, upload-time = "2026-05-18T23:33:38.217Z" }, - { url = "https://files.pythonhosted.org/packages/15/a7/9bc1cd626d7bf6869bfedf27b91b6ab5dd607758bf8e959d6fa80c6a59cb/numpy-2.4.6-cp311-cp311-win32.whl", hash = "sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8", size = 6233945, upload-time = "2026-05-18T23:33:41.331Z" }, - { url = "https://files.pythonhosted.org/packages/c5/31/7fc6239c12bce7e931463251cca4426c465e1876ba3cc785402ef4dd8f4e/numpy-2.4.6-cp311-cp311-win_amd64.whl", hash = "sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147", size = 12608406, upload-time = "2026-05-18T23:33:44.131Z" }, - { url = "https://files.pythonhosted.org/packages/27/83/140f85a466595a16382996a1bf06b2b54bcd597488921b0c9daaeeda72af/numpy-2.4.6-cp311-cp311-win_arm64.whl", hash = "sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577", size = 10479528, upload-time = "2026-05-18T23:33:50.725Z" }, - { url = "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1", size = 16689119, upload-time = "2026-05-18T23:33:54.065Z" }, - { url = "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb", size = 14699246, upload-time = "2026-05-18T23:33:57.621Z" }, - { url = "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41", size = 5204410, upload-time = "2026-05-18T23:34:00.302Z" }, - { url = "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698", size = 6551240, upload-time = "2026-05-18T23:34:02.852Z" }, - { url = "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f", size = 15671012, upload-time = "2026-05-18T23:34:05.485Z" }, - { url = "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853", size = 16645538, upload-time = "2026-05-18T23:34:09.265Z" }, - { url = "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a", size = 17020706, upload-time = "2026-05-18T23:34:13.053Z" }, - { url = "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2", size = 18368541, upload-time = "2026-05-18T23:34:17.024Z" }, - { url = "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", hash = "sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45", size = 5962825, upload-time = "2026-05-18T23:34:20.3Z" }, - { url = "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751", size = 12321687, upload-time = "2026-05-18T23:34:23.095Z" }, - { url = "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8", size = 10221482, upload-time = "2026-05-18T23:34:25.876Z" }, - { url = "https://files.pythonhosted.org/packages/fb/82/bdab26d7438c6791ca31b7c024ca37c1eab8b726ba236129005cd4a06e45/numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0", size = 16684648, upload-time = "2026-05-18T23:34:29.41Z" }, - { url = "https://files.pythonhosted.org/packages/1b/30/a80189bcc7f5e4258b3fbc3968d909d1756f54d023299ecc39ad6fdb9ef8/numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb", size = 14693902, upload-time = "2026-05-18T23:34:33.013Z" }, - { url = "https://files.pythonhosted.org/packages/97/12/70b5d0d7c15e1ebb8a6a84a8caa1d19e181d84fb58bb6d70aca29099dec1/numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f", size = 5198992, upload-time = "2026-05-18T23:34:36.132Z" }, - { url = "https://files.pythonhosted.org/packages/ba/8c/ebd2a8f8a83541f8d38cc5667e8c2b69cecfd30da6e45693e8158857d44b/numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3", size = 6546944, upload-time = "2026-05-18T23:34:38.484Z" }, - { url = "https://files.pythonhosted.org/packages/bb/c5/7b863a97a91671a0338f4253bd3b5a3d3852f0692dae91711c9f4a10e787/numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b", size = 15669392, upload-time = "2026-05-18T23:34:41.257Z" }, - { url = "https://files.pythonhosted.org/packages/a5/9d/3584b9984ca4c047aea75214ce1a4c4c73d849bd71b604264b7f5653f8a8/numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089", size = 16633220, upload-time = "2026-05-18T23:34:45.075Z" }, - { url = "https://files.pythonhosted.org/packages/05/ae/7c67fba23bd98caec7c99261f3a16072ade14813486b0282cb29846de832/numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a", size = 17020800, upload-time = "2026-05-18T23:34:49.065Z" }, - { url = "https://files.pythonhosted.org/packages/d9/5d/3b6725cb31d983c5e66916f5d36f6d7e5521129e4c4404d64f918292a5b6/numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605", size = 18357600, upload-time = "2026-05-18T23:34:52.709Z" }, - { url = "https://files.pythonhosted.org/packages/f7/da/2ccc6c2fe8898dee01d90c75c5f5f914a23daf99e3e0f59516a08760c8b5/numpy-2.4.6-cp313-cp313-win32.whl", hash = "sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91", size = 5961134, upload-time = "2026-05-18T23:34:55.618Z" }, - { url = "https://files.pythonhosted.org/packages/b5/cd/9cc4dc876fb065d5c220aae4d5e14826b2715331bb7618ce1fb07a679d99/numpy-2.4.6-cp313-cp313-win_amd64.whl", hash = "sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359", size = 12318598, upload-time = "2026-05-18T23:34:58.928Z" }, - { url = "https://files.pythonhosted.org/packages/39/1e/c0bcba1f8694116485fe28fd1be698c278fcda4141c5b0e53a2aed8b12a8/numpy-2.4.6-cp313-cp313-win_arm64.whl", hash = "sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778", size = 10222272, upload-time = "2026-05-18T23:35:02.167Z" }, - { url = "https://files.pythonhosted.org/packages/63/6d/cc5619247c8f4204e507f5883528372e4ac4bb189e579fb859a12e480b1f/numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1", size = 14821197, upload-time = "2026-05-18T23:35:05.468Z" }, - { url = "https://files.pythonhosted.org/packages/00/58/f1c39161c87d9e9bed660f1ed4bafc0e403d5ec9650b6dd77aead07d489b/numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe", size = 5326287, upload-time = "2026-05-18T23:35:08.693Z" }, - { url = "https://files.pythonhosted.org/packages/af/57/3917ab0fd97f271a8694513581b8a36c655f111c446852c302f04ccdb6fc/numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997", size = 6646763, upload-time = "2026-05-18T23:35:11.459Z" }, - { url = "https://files.pythonhosted.org/packages/eb/0f/037e64c494b67581ae18193d770adef354c41f3f2c8ebf865602d949bf8f/numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20", size = 15728070, upload-time = "2026-05-18T23:35:14.79Z" }, - { url = "https://files.pythonhosted.org/packages/21/a6/5d2bae9c9542eb4df16dc9c46dc79c186e9bad53805dfa5399a6023c6db0/numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d", size = 16681752, upload-time = "2026-05-18T23:35:18.836Z" }, - { url = "https://files.pythonhosted.org/packages/92/14/23d1dfb410ae362cd59ce53e936b1513d545eb40db3949ced632e19a459e/numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67", size = 17086024, upload-time = "2026-05-18T23:35:22.52Z" }, - { url = "https://files.pythonhosted.org/packages/4b/6e/23595a2c642cdf3bc567877064bdd7f91c8b0038a4453cf2daf7248eafe9/numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd", size = 18403398, upload-time = "2026-05-18T23:35:26.398Z" }, - { url = "https://files.pythonhosted.org/packages/8a/90/0ac3bc947217e66dec77e7cbc6a1979d1af70b6461b82f620d3bccd5e4c8/numpy-2.4.6-cp313-cp313t-win32.whl", hash = "sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab", size = 6084971, upload-time = "2026-05-18T23:35:29.387Z" }, - { url = "https://files.pythonhosted.org/packages/77/71/5673e351671a1d2bd6063b91b44f70c0affea7d1516fa7a6572941ba4aa1/numpy-2.4.6-cp313-cp313t-win_amd64.whl", hash = "sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75", size = 12458532, upload-time = "2026-05-18T23:35:32.175Z" }, - { url = "https://files.pythonhosted.org/packages/3f/88/19d3503c5046e688f049274b27a3ef3d771152fa80d3ba3d01a3dff61abe/numpy-2.4.6-cp313-cp313t-win_arm64.whl", hash = "sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd", size = 10291881, upload-time = "2026-05-18T23:35:35.465Z" }, - { url = "https://files.pythonhosted.org/packages/f8/91/3ab2044d05fd16d343c5ac2e69b127f1b2854040dd20b193257c78028bd3/numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079", size = 16683458, upload-time = "2026-05-18T23:35:38.353Z" }, - { url = "https://files.pythonhosted.org/packages/8e/62/764ce66fa4147ae6d73071a3abf804ffe606f174618697c571acdf26a7c9/numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7", size = 14704559, upload-time = "2026-05-18T23:35:42.14Z" }, - { url = "https://files.pythonhosted.org/packages/60/61/23f27c172f022e04025b7dc2367f4d63c1a398120607ec896228649a6f48/numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5", size = 5209716, upload-time = "2026-05-18T23:35:45.377Z" }, - { url = "https://files.pythonhosted.org/packages/03/71/21cf70dc6ea3e3acb95fc53a265b2fc248b981f0194ceb5b475271b8809d/numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096", size = 6543947, upload-time = "2026-05-18T23:35:47.926Z" }, - { url = "https://files.pythonhosted.org/packages/d5/91/64288395ee1799bd2e0b04a305dce9666da90c961e1f3fe982a05ee1c036/numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b", size = 15685197, upload-time = "2026-05-18T23:35:50.863Z" }, - { url = "https://files.pythonhosted.org/packages/f3/eb/ebffaa97dc55502df69584a8f0dcf07f69a3e0b3e2323670a2722db9aa39/numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8", size = 16638245, upload-time = "2026-05-18T23:35:54.752Z" }, - { url = "https://files.pythonhosted.org/packages/b8/0b/54f9da33128d7e350fab89c7455902eeae70349ee52bddb448dc4a576f45/numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402", size = 17036587, upload-time = "2026-05-18T23:35:58.355Z" }, - { url = "https://files.pythonhosted.org/packages/b6/f0/fdebc1052db1cc37c64beb22072d67cd6d1c71adca1299f53dec2b5e20d3/numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb", size = 18363226, upload-time = "2026-05-18T23:36:02.845Z" }, - { url = "https://files.pythonhosted.org/packages/aa/b4/298628d98c72b57e57f7165ae6a481a1deaf6f3c28262a6e4c739c275930/numpy-2.4.6-cp314-cp314-win32.whl", hash = "sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1", size = 6010196, upload-time = "2026-05-18T23:36:05.92Z" }, - { url = "https://files.pythonhosted.org/packages/df/ac/46de6dda46478f7942f839e094970be2d4a861e005c4b3bf07c92e291a09/numpy-2.4.6-cp314-cp314-win_amd64.whl", hash = "sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261", size = 12450334, upload-time = "2026-05-18T23:36:09.107Z" }, - { url = "https://files.pythonhosted.org/packages/78/92/b8b798ac784102c0da830d2257d59358e3d3d90d1e2b3f2575dad976c5cf/numpy-2.4.6-cp314-cp314-win_arm64.whl", hash = "sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6", size = 10495678, upload-time = "2026-05-18T23:36:12.766Z" }, - { url = "https://files.pythonhosted.org/packages/30/34/ec28d1aa8115971537c01469ab2011ee96827930f0a124de1000cc2a7ed7/numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a", size = 14823672, upload-time = "2026-05-18T23:36:16.473Z" }, - { url = "https://files.pythonhosted.org/packages/16/bd/f6d1fede4e54e8042a7ff97bb495510f3c220f94bcd9e8b228e87c92cc0d/numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e", size = 5328731, upload-time = "2026-05-18T23:36:19.767Z" }, - { url = "https://files.pythonhosted.org/packages/f4/f0/e105b9e2fd728a9910103884decd6951d9dd73896b914a98d9a231de02ee/numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e", size = 6649805, upload-time = "2026-05-18T23:36:22.266Z" }, - { url = "https://files.pythonhosted.org/packages/82/dd/1206a7ca6ab15e3f02069707ca96222e202af681bb73756da7527f3cb837/numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43", size = 15730496, upload-time = "2026-05-18T23:36:25.713Z" }, - { url = "https://files.pythonhosted.org/packages/51/e7/38d3ea825dcab85a591734decb2f6c67caa7c8367d374df1a1c3842f9b07/numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e", size = 16679616, upload-time = "2026-05-18T23:36:29.652Z" }, - { url = "https://files.pythonhosted.org/packages/93/b7/caabfdf53edf663e0b4eb74d7d405d83baef09eb5e83bcd32d601d72b93e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895", size = 17085145, upload-time = "2026-05-18T23:36:33.449Z" }, - { url = "https://files.pythonhosted.org/packages/f9/45/68d7c33a6bcf3e5aa3bdbd57a367e6f615286dfd6482f97e8ffeb734306e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4", size = 18403813, upload-time = "2026-05-18T23:36:37.369Z" }, - { url = "https://files.pythonhosted.org/packages/9c/50/0753655aa844c99cd9e018aacf76f130f1bd81d881bb74bc0aef5d73a8ba/numpy-2.4.6-cp314-cp314t-win32.whl", hash = "sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063", size = 6156982, upload-time = "2026-05-18T23:36:40.817Z" }, - { url = "https://files.pythonhosted.org/packages/b2/d4/7c67becf668f973cb490cec3e98dfd799d866f9c989a54d355672cfa0db6/numpy-2.4.6-cp314-cp314t-win_amd64.whl", hash = "sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627", size = 12638908, upload-time = "2026-05-18T23:36:43.996Z" }, - { url = "https://files.pythonhosted.org/packages/43/bb/e1c71a4295b1b1d1393d50dbb4f2a36283c6859d9d3892e84f00ec5a91d5/numpy-2.4.6-cp314-cp314t-win_arm64.whl", hash = "sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66", size = 10565867, upload-time = "2026-05-18T23:36:47.114Z" }, - { url = "https://files.pythonhosted.org/packages/de/12/b422cc84439adc0d00de605bf4a308890ae5c26f2c71fbd73e5d08fbb0dd/numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662", size = 16847511, upload-time = "2026-05-18T23:36:50.673Z" }, - { url = "https://files.pythonhosted.org/packages/44/53/f481bef68011740f8849418d82db07230e825013f31f4eef5ba5b805316a/numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7", size = 14889064, upload-time = "2026-05-18T23:36:53.879Z" }, - { url = "https://files.pythonhosted.org/packages/7f/57/42ed575c10ced8af951d426bc4e1f8aff16fd851db33f067036215a7f860/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f", size = 5394157, upload-time = "2026-05-18T23:36:57.194Z" }, - { url = "https://files.pythonhosted.org/packages/6a/ef/f66cc724fcc36c1e364c67f51ae9146090b8b584f27d58b97fdae3edd737/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c", size = 6708728, upload-time = "2026-05-18T23:36:59.575Z" }, - { url = "https://files.pythonhosted.org/packages/1a/9c/c531f2293b91265d8b48e9b329f54fdd7ffae73cb4134ea10cca4237e9cc/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0", size = 15798374, upload-time = "2026-05-18T23:37:02.674Z" }, - { url = "https://files.pythonhosted.org/packages/1a/b0/413077f6b1153ed3cba361401c6783bbad6114804a000cc22eb71c13e190/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02", size = 16747286, upload-time = "2026-05-18T23:37:06.327Z" }, - { url = "https://files.pythonhosted.org/packages/15/ce/e5ec180bc41812edcd8daeb8639d205622c0e8c02259d8ab25a0201b3c2a/numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73", size = 12504263, upload-time = "2026-05-18T23:37:09.715Z" }, -] - -[[package]] -name = "numpy" -version = "2.5.1" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version >= '3.14'", - "python_full_version == '3.13.*'", - "python_full_version == '3.12.*'", -] -sdist = { url = "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz", hash = "sha256:a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3", size = 20755553, upload-time = "2026-07-04T17:08:00.933Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/62/7b/14687aa674250e5e546f616f486b0d56d3631cd5b2415739141ce40bdcea/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2c889b56fe48b1018f764b0eec8df59ab654e9148aa91faa12596043500de277", size = 16801574, upload-time = "2026-07-04T17:06:12.423Z" }, - { url = "https://files.pythonhosted.org/packages/e1/19/cc5bb2a3f2913d27d6dbb2c78d25921fabaedc6741d4a5a615a11f3c5bf3/numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab451b59c5643c570974c43aef780703ef1d3b4965d2be07afd530615a9358d1", size = 11772250, upload-time = "2026-07-04T17:06:15.726Z" }, - { url = "https://files.pythonhosted.org/packages/42/77/fdf34a71dd30f54979b18603bee915e0aaf825b07afe79acd60b04b691e2/numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:78798bd5b9ad744056af8efa90e3b9ddaa53272a0848a483084a1cc0a13b2dc0", size = 5331516, upload-time = "2026-07-04T17:06:17.913Z" }, - { url = "https://files.pythonhosted.org/packages/ce/e2/eb7efa015b4cce41e2517bf182a7fce0d7d5b9d9ed76a29bfa0f4fe4505c/numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:2ae0ca40bcb22d6ba59c1dfd5446f49940b0f2d821fde133f10dda11f816b84e", size = 6664863, upload-time = "2026-07-04T17:06:20.02Z" }, - { url = "https://files.pythonhosted.org/packages/a9/4b/a2b32dd94ee9ffbeecb28152240042a3949db33b1c834d44090b80e1b3b8/numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:61ac47e772e6b8ea489e1d2f441a34c5c3ac17327e7ce294cbdf535795ad4e75", size = 15167977, upload-time = "2026-07-04T17:06:21.621Z" }, - { url = "https://files.pythonhosted.org/packages/b8/a9/6e73d68500f80773f65f0654ea932019d6694329a0eb0ed0533de38df376/numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:59fda5e192b570217ec2580c96f00e9a7e12ef6866a900eb089b62c1a32545ca", size = 16672469, upload-time = "2026-07-04T17:06:24.064Z" }, - { url = "https://files.pythonhosted.org/packages/24/7d/ad3e59015135f5261c95fd4cafeff159c955febd83a99a1d9250c4233815/numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f7119ebff1a9829e9f431a4f9d28e703023bb6b9fe7c8f724467dbfc27c94ab3", size = 16527531, upload-time = "2026-07-04T17:06:26.69Z" }, - { url = "https://files.pythonhosted.org/packages/83/d0/a39b2fbcde9cb17a1dac678f254b33a6336298af9df338824c685425d5e8/numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e824c2acf8862052246be5a44c15da1777940c60d010dd2aab897824d9c430f9", size = 18431940, upload-time = "2026-07-04T17:06:29.521Z" }, - { url = "https://files.pythonhosted.org/packages/04/12/cff070947791c1ed425ff76413189adbdc2fbe215eba7ce7fa454a03c7f8/numpy-2.5.1-cp312-cp312-win32.whl", hash = "sha256:08d60c810432eb83360958dea0999ac4cfb94531ea8efcbf0b7f277c2068aeb2", size = 6066764, upload-time = "2026-07-04T17:06:32.571Z" }, - { url = "https://files.pythonhosted.org/packages/65/66/53f31807a48a750f9d748da273bc3fcedd12b27ff1f3e373bfec55ef2dc0/numpy-2.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:f7d60026c0bdb1380e83bfa7a0419c4577ee4b9a08880afcb6dadeb74c649fa2", size = 12430966, upload-time = "2026-07-04T17:06:34.926Z" }, - { url = "https://files.pythonhosted.org/packages/2b/2a/d1a88066b1c14186f5d3c0d18c94f17b064511982bab0578d49ee9d43c29/numpy-2.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:17a25e09640602e10bc8de0e6fa2b3fd68eedd84ba6d7842dc8f32f9ab87bd0b", size = 10350488, upload-time = "2026-07-04T17:06:37.785Z" }, - { url = "https://files.pythonhosted.org/packages/eb/07/ec2a3f0c91761581d4b7104a740791800025983f9a4dc4e73f91a99aeac4/numpy-2.5.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0bfebd8695f9863592fe744be833a258120b14a9f39da255e8aa8fade2c0ddd1", size = 16796419, upload-time = "2026-07-04T17:06:40.37Z" }, - { url = "https://files.pythonhosted.org/packages/ab/ab/ddb499fc4f8780354395face5b65c7fd107bcd6e1d667a5f07d046956f6f/numpy-2.5.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:30b44a6b53a7ae63c54c089a8726e5563ed302716c5b7ccc85afade40b0e7ff6", size = 11765832, upload-time = "2026-07-04T17:06:42.768Z" }, - { url = "https://files.pythonhosted.org/packages/88/b3/3c28c558a09fc72100c646dac6d2fce8e834c471b0edca01a29996706117/numpy-2.5.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:6165343f81b56ef8f514f396989e529b61d9dc709b99421b07e9f3e698e2287d", size = 5325143, upload-time = "2026-07-04T17:06:45.466Z" }, - { url = "https://files.pythonhosted.org/packages/5e/0e/ce19b985bb15c596f4f05954e76cccc77c845083b3b8f938a6c68e523128/numpy-2.5.1-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:4939237038ada79308dda3204ac6462df056b5672b2e25db1149cf873668b3e1", size = 6659749, upload-time = "2026-07-04T17:06:47.288Z" }, - { url = "https://files.pythonhosted.org/packages/2e/20/1ee6614d64332a1bba6411f38e68cb79eec1b2459e20a623777c5c5492a2/numpy-2.5.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c6759f538fb912fc46de0a6b1758ccf7b57bc7c7ebebc23974fdac3de8db0cd", size = 15164716, upload-time = "2026-07-04T17:06:49.494Z" }, - { url = "https://files.pythonhosted.org/packages/ed/a7/2bcd3fdbb87804755c35b729bf8709d62025c5f4cfd7d5b2415997097515/numpy-2.5.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9726558e8db4a5bf7929a70ae50f63abda4daf0efe810e3bfbab95976f75fc1a", size = 16661440, upload-time = "2026-07-04T17:06:52.061Z" }, - { url = "https://files.pythonhosted.org/packages/fc/d7/a41e3310c886fe457d36e670bbf24fae411aca8a7b6ad92a32afd924077c/numpy-2.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3935f3b419b244a02732676fa5317a9193cc596a4c0646db07e5b421229ac9f7", size = 16526305, upload-time = "2026-07-04T17:06:54.605Z" }, - { url = "https://files.pythonhosted.org/packages/53/75/4333a9a707c1edd3a4e1a0c58eca52c0f31e55089fa80db02b5565b24df7/numpy-2.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dc932a65ded7ce9013d120845a2514dcccb1a67bfc8deb8d37633762951904a6", size = 18423008, upload-time = "2026-07-04T17:06:57.54Z" }, - { url = "https://files.pythonhosted.org/packages/ee/90/e314a32b1c11a2ffe818ddad3a57b50b4b6e1b6c487192eb50cdef0415d0/numpy-2.5.1-cp313-cp313-win32.whl", hash = "sha256:4b4ff1608417eb7a59da7b967bbb798cacfe071d2caf526a24281cd562072ed9", size = 6063885, upload-time = "2026-07-04T17:07:00.14Z" }, - { url = "https://files.pythonhosted.org/packages/10/70/800b3fca480af32df9e8ea9f3d4a0c8feb4b32d7f195d174eabbda4829ad/numpy-2.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:6c3fe51bc6a16453d452997053454f309e8e0ed7b42d6b361ce4ac8c32913d74", size = 12425674, upload-time = "2026-07-04T17:07:02.387Z" }, - { url = "https://files.pythonhosted.org/packages/8b/0b/196350c122f50f6ca56846f2d71efd5e0d24b7b2e07355e019b2e2c7a11e/numpy-2.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:f7feb014281029e628ba2d5a007407443b06e418b6fe451d1e2adcbc8eba0107", size = 10350256, upload-time = "2026-07-04T17:07:04.878Z" }, - { url = "https://files.pythonhosted.org/packages/db/f4/731b6085a83faf6ca843394cbd5e217280c214399f7e8b21b9f552af0ae2/numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7c786fe9a5bbe360022e584c5a34cf6b54265c71bd7ec8ac3d8fec38968071f8", size = 16795063, upload-time = "2026-07-04T17:07:07.374Z" }, - { url = "https://files.pythonhosted.org/packages/bf/64/0e215f2048dd11a55bb989ed41b3585ef57452404e638d703a211a3e4157/numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:32985c896d897419ef8da6917872d80b78ad0ea26d85b23245c7366ffde76d75", size = 11776652, upload-time = "2026-07-04T17:07:09.907Z" }, - { url = "https://files.pythonhosted.org/packages/b5/59/2b844c7a6e9deff69b404a66221e1542937734f65d5e6e39411876053862/numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:efd736408cc97c79b9e6917338dfc8f06013b2274f992e96b1d9a81a71e2a2c2", size = 5335944, upload-time = "2026-07-04T17:07:12.227Z" }, - { url = "https://files.pythonhosted.org/packages/86/51/9bf7cb2cabcebc9e017e4ec7e6322b378317a542c08b4cb68479c1efc716/numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:ab84dc6b074fa881cae55bea94cc4f68e285181ba7f32497bf7dee6b1496165b", size = 6656266, upload-time = "2026-07-04T17:07:14.368Z" }, - { url = "https://files.pythonhosted.org/packages/83/3e/fb7615b211b82a32f44d5180a6d421b61f84d4fadd578b48ba4ac34e189f/numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caf3e317d33d60c37986b452613f4ab51246d0691350c03d0cb4a898627f4a95", size = 15179720, upload-time = "2026-07-04T17:07:16.272Z" }, - { url = "https://files.pythonhosted.org/packages/41/5f/0f992cb24560673496c5d68de61913b57166ce530ffda07c1f280e0cc464/numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:54ad769f17bc2d833b620851989f62054fb9ab93c969d9e1dc3c8e3d56beea21", size = 16664835, upload-time = "2026-07-04T17:07:19.021Z" }, - { url = "https://files.pythonhosted.org/packages/a2/2f/97d6475ee91afe2587797d09446f9d3e475ad4cb681662d824809327b75a/numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c12afb53450fa976d4c681c50a7423729a4c51c0465ed9f32b8a9cabbc472373", size = 16539135, upload-time = "2026-07-04T17:07:22.015Z" }, - { url = "https://files.pythonhosted.org/packages/c4/5b/4db81e4ba0be7e2776b1de68c82aa862c7f8ec27e1b4927d4ae075e20678/numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e8c11c405efc5ff6816d5983c96cdfa215bab3428961243af3ff59b228490438", size = 18426684, upload-time = "2026-07-04T17:07:24.941Z" }, - { url = "https://files.pythonhosted.org/packages/1f/64/c0ba2d90724d450279a7df8f32057241070250a26a7e2b5337d77347f481/numpy-2.5.1-cp314-cp314-win32.whl", hash = "sha256:f2479a47f8d5932d1718168a681ad6e536a9df484c83cfcf9de365e164537ace", size = 6116103, upload-time = "2026-07-04T17:07:27.622Z" }, - { url = "https://files.pythonhosted.org/packages/c1/1a/837f9ed7405adcd7a40538792eb169eddd8fa5630c16a1ef49dae71a30f4/numpy-2.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:24d0eb82c0541d3415a33425db64ae439dffccd7b4dbcb30e7c35120205c506a", size = 12562177, upload-time = "2026-07-04T17:07:29.887Z" }, - { url = "https://files.pythonhosted.org/packages/22/ed/49707938b6dd0a78a9178dd93227dc89e4c11af47f5c798d70366e8d0483/numpy-2.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5a4c988b38d261deeeaad9954e3deb091ad905c94e8bb6708654ef1d97f286b0", size = 10627739, upload-time = "2026-07-04T17:07:32.568Z" }, - { url = "https://files.pythonhosted.org/packages/a6/c7/bb4b882cfe7f299cbc8b66e42e7dd78cf9d14e40f9469fc5e3db7e15b3bd/numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a33276be12fa045805f477f22482088b66bb758ffbe89a9d21457de863a32e22", size = 11894709, upload-time = "2026-07-04T17:07:34.941Z" }, - { url = "https://files.pythonhosted.org/packages/40/3f/5af7f4a7f6224aef48017aa82bb6174c7a659d724be0c75017b7e64a55b4/numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:f089d7b00756190aacf1f5d34bdf38c3c430ac82b4f868f8cede73380460fce7", size = 5453810, upload-time = "2026-07-04T17:07:37.495Z" }, - { url = "https://files.pythonhosted.org/packages/20/c9/3474309bc94d634d3f9c3eddf03250ecb8c22cd948ef16fef69a77cc5d7b/numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:09e9bfd8d2cf479c7d174804fb3811c53a8e9f20a37444008606b57d6b7a826d", size = 6761189, upload-time = "2026-07-04T17:07:39.563Z" }, - { url = "https://files.pythonhosted.org/packages/90/8a/558ae39fdd55d7e7f7fef9a84a6e964ac6b23edbd2a07e52bb084500507d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e68d8dd1e7eba712948f2053a29ec86917bc70ba1358df869d9f06649ef9cf09", size = 15225039, upload-time = "2026-07-04T17:07:41.682Z" }, - { url = "https://files.pythonhosted.org/packages/63/27/ca7392b2d030277bdf0273e7d23255b3ee57d57a7c170a6f4fb3981e1e5d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:99d5095fa265a0c4152e7bb12759e14381ef5496152f1ce58f44bdf55c44beb4", size = 16701306, upload-time = "2026-07-04T17:07:44.611Z" }, - { url = "https://files.pythonhosted.org/packages/02/42/03d53ae7996c44d4374a8262e9dc41671fd56cbb98f7d47ef85cf5da4c6b/numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ab87a91b3cc3382b8956095bd8f95e00cf679bb81554339be1a2ba404a1473c1", size = 16589955, upload-time = "2026-07-04T17:07:47.694Z" }, - { url = "https://files.pythonhosted.org/packages/7b/15/6c1784ae469640e65db111e9a34b3d0f14d91e8a38b9ce34810ced370dbb/numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:224ca51130ef7da85bea2191625181cb4f337f9cb64b471f10c1a12aa8b60077", size = 18464252, upload-time = "2026-07-04T17:07:50.684Z" }, - { url = "https://files.pythonhosted.org/packages/94/a8/f98e50356cf167df656c526c2dfeec2d7dde182f2a3da4b458a5938e2776/numpy-2.5.1-cp314-cp314t-win32.whl", hash = "sha256:6eab239876581b2b3c5a242281b6007bbdbcd1c7085d7709bb57c5929b11e6bf", size = 6263298, upload-time = "2026-07-04T17:07:53.445Z" }, - { url = "https://files.pythonhosted.org/packages/72/ac/96ae880cdecad0b3275d9359fcec72667b49a4863c9f12942e43679dda02/numpy-2.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:83ce9c80d5b521b0d77ddcbe5447c218d247929b6cc056ca5351342accfff0af", size = 12748623, upload-time = "2026-07-04T17:07:55.384Z" }, - { url = "https://files.pythonhosted.org/packages/a1/5a/4d2b1601df3602dba7a14f3348ba9bfe94a18adb428e693df6154c293831/numpy-2.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:5a6db61f9aaa57e369905c67d852045d3c4f7126405b29d09b19dec118e9c9cb", size = 10697674, upload-time = "2026-07-04T17:07:58.506Z" }, -] - -[[package]] -name = "opentelemetry-api" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ee/8b/aa9e2d8b8dfa7c946f7dec5d1f8f6ba8eca062f43509a06bdb5ce93d26c0/opentelemetry_api-1.44.0.tar.gz", hash = "sha256:67647e5e9566edcf421166fdf022b3537f818635daa852b289e34604dc6fb33a", size = 72406, upload-time = "2026-07-16T15:25:32.678Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ca/6f/a04e900f465ff3221ccc395522503e2d10e79fa21f2723c8e177aae1e0d1/opentelemetry_api-1.44.0-py3-none-any.whl", hash = "sha256:94b98c893a91b88657eaac1e3ba89618cdb85be6918196705354f34728b2cdef", size = 60018, upload-time = "2026-07-16T15:25:11.657Z" }, -] - -[[package]] -name = "opentelemetry-exporter-otlp-proto-common" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "opentelemetry-proto" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/61/09/4d717852c1cf3f854b76c7110a5d00883bc3c99288b9b0dbcbeb9e306eb6/opentelemetry_exporter_otlp_proto_common-1.44.0.tar.gz", hash = "sha256:dc87a5a5bc58f149a56d1547e4691588fa12994cdc3bc039a694ccb3375862ac", size = 20202, upload-time = "2026-07-16T15:25:37.658Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/5e/71/65fd9d54c10b860f87c045ccee1264cab7011268895d3528818a29c1172a/opentelemetry_exporter_otlp_proto_common-1.44.0-py3-none-any.whl", hash = "sha256:9a9fe61bba73d802904bc989f1d6b4a7b1ee40f06c40e98d6f85af65aaebb694", size = 17045, upload-time = "2026-07-16T15:25:18.201Z" }, -] - -[[package]] -name = "opentelemetry-exporter-otlp-proto-grpc" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "googleapis-common-protos" }, - { name = "grpcio" }, - { name = "opentelemetry-api" }, - { name = "opentelemetry-exporter-otlp-proto-common" }, - { name = "opentelemetry-proto" }, - { name = "opentelemetry-sdk" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/1f/47/80d9e9d468dc5de3af5096f5ccdb065fa4dd1470f74495cc53e59e397f47/opentelemetry_exporter_otlp_proto_grpc-1.44.0.tar.gz", hash = "sha256:40d1ae9e03fcc36de3cbac610cc99f35894938bff9cfd90fc4ec68bd85448463", size = 27225, upload-time = "2026-07-16T15:25:38.308Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/54/29/6ae42ba32b153ae0a44ae125f0caff2188bbe62d99c82d1768da30864e72/opentelemetry_exporter_otlp_proto_grpc-1.44.0-py3-none-any.whl", hash = "sha256:6a1a645ea182a2f59440c51fa8301d309f3324a8f9d65f8395584b064b67ee4e", size = 19624, upload-time = "2026-07-16T15:25:19.096Z" }, -] - -[[package]] -name = "opentelemetry-exporter-otlp-proto-http" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "googleapis-common-protos" }, - { name = "opentelemetry-api" }, - { name = "opentelemetry-exporter-otlp-proto-common" }, - { name = "opentelemetry-proto" }, - { name = "opentelemetry-sdk" }, - { name = "requests" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/1a/87/95e2a5aaa795b4e2260d74e16df2d5541deb2ea9de010bcd615f4dee2654/opentelemetry_exporter_otlp_proto_http-1.44.0.tar.gz", hash = "sha256:c633d7270ad6b57cd4cfbe8b0007a9e2e7c0cb50bd6c50fe2a7b245f721a09d8", size = 25806, upload-time = "2026-07-16T15:25:39.162Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cd/d0/fdeb1a98d8d3a6205f5f297c51b4a9bfe65126ab60339669bbe3dd54c2e2/opentelemetry_exporter_otlp_proto_http-1.44.0-py3-none-any.whl", hash = "sha256:838592fce774c1c8bb7b9a0a7facbfa82e17be5a8a4e94cef10cb84ae026bae3", size = 21850, upload-time = "2026-07-16T15:25:20.006Z" }, -] - -[[package]] -name = "opentelemetry-instrumentation" -version = "0.65b0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "opentelemetry-api" }, - { name = "opentelemetry-semantic-conventions" }, - { name = "packaging" }, - { name = "wrapt" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/13/91/3c58961cb0360cd60509064734f0be4275383c8681d73c580a40ca83ddce/opentelemetry_instrumentation-0.65b0.tar.gz", hash = "sha256:071d9d9eced9bd6460444ec3b0c77229870ed05a881c22c84fdede58e4eed09b", size = 42689, upload-time = "2026-07-16T15:25:50.275Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/40/7b/85eab1215f72adf0e68d3dc4a679b9bff993fa679ff34cd8dd378e2659fd/opentelemetry_instrumentation-0.65b0-py3-none-any.whl", hash = "sha256:ea967a72b9939b5fcfdad572753b4306c59dcb99e3f382d95dae04286805e137", size = 36717, upload-time = "2026-07-16T15:24:51.424Z" }, -] - -[[package]] -name = "opentelemetry-instrumentation-asgi" -version = "0.65b0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "asgiref" }, - { name = "opentelemetry-api" }, - { name = "opentelemetry-instrumentation" }, - { name = "opentelemetry-semantic-conventions" }, - { name = "opentelemetry-util-http" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/17/83/8e8e83b7ac285281687c7be2fd305213ccccbb8c0a2dd4fb45a8ccaf12c7/opentelemetry_instrumentation_asgi-0.65b0.tar.gz", hash = "sha256:892bca67c56522ffa85a8a83cf934d7b50b3be2132e45cbee705825f0a5ba426", size = 26140, upload-time = "2026-07-16T15:25:54.544Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/9c/376962840b619d2d55fe8ee2285f8c70971c090e5fff614516fc654a6f3a/opentelemetry_instrumentation_asgi-0.65b0-py3-none-any.whl", hash = "sha256:3a845a8ebd1c4ef0d8263401e6545f5b219b2feee612090d50f578a87e71fd65", size = 15903, upload-time = "2026-07-16T15:24:57.198Z" }, -] - -[[package]] -name = "opentelemetry-instrumentation-fastapi" -version = "0.65b0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "opentelemetry-api" }, - { name = "opentelemetry-instrumentation" }, - { name = "opentelemetry-instrumentation-asgi" }, - { name = "opentelemetry-semantic-conventions" }, - { name = "opentelemetry-util-http" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/30/23/b057f8196d06efdc1b50e3ff11fbc499a7d96b35c87f217eb7885542f4ea/opentelemetry_instrumentation_fastapi-0.65b0.tar.gz", hash = "sha256:10a3a95486036230413a58fe4fdf4a83fa6bba46918407e527476994bd92bd97", size = 26236, upload-time = "2026-07-16T15:26:05.954Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fa/b0/c9b0300d33349ecc3dfd2362516eaffc44877e90970e6a52178ff953fec3/opentelemetry_instrumentation_fastapi-0.65b0-py3-none-any.whl", hash = "sha256:cda2610a0ec1b22d19886f33e4d861e9f5dbb886aeaa3a1263b47aff82c36943", size = 13261, upload-time = "2026-07-16T15:25:12.429Z" }, -] - -[[package]] -name = "opentelemetry-proto" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "protobuf" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/64/01/40ac4ae9a149263cc52c2cee200ddd80cb6d8db1a4610abf8eabce0fe771/opentelemetry_proto-1.44.0.tar.gz", hash = "sha256:c547a79c2f8c0c515d31509154682e5921c7cfd5ca67b70e1f9266e2c3e103f3", size = 46488, upload-time = "2026-07-16T15:25:45.34Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/7c/8be563d68e93bbefa5c8affb82ddcff91b3ad858ce49957ba7b16fd3e0ab/opentelemetry_proto-1.44.0-py3-none-any.whl", hash = "sha256:898b155a0e1557afd867478fb6158e8122a46329ca0bb8dc53cc55e98f017f56", size = 72483, upload-time = "2026-07-16T15:25:28.429Z" }, -] - -[[package]] -name = "opentelemetry-sdk" -version = "1.44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "opentelemetry-api" }, - { name = "opentelemetry-semantic-conventions" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/5d/77/a6592cbc7c8d9bcc9d6757a9df45e04a7c585e3e6e7a13456da522b21109/opentelemetry_sdk-1.44.0.tar.gz", hash = "sha256:cebe7f65dc12f26ead75c6064de12fd2a9052e5060c0272d402cfa203aae123b", size = 208624, upload-time = "2026-07-16T15:25:46.078Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/23/ff077e61886ee020a17ce9c8b6fa11c601c8d8345b09ea24f605445df62a/opentelemetry_sdk-1.44.0-py3-none-any.whl", hash = "sha256:df081c4c6bcfdb1211e3e86140376792643128a25f8d72d1d27675936e7e96ad", size = 137221, upload-time = "2026-07-16T15:25:29.534Z" }, -] - -[[package]] -name = "opentelemetry-semantic-conventions" -version = "0.65b0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "opentelemetry-api" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/8f/73/0cbdebcb4cf545fdd328da14f5137e37d0770c3f26185e478b0d15d94f50/opentelemetry_semantic_conventions-0.65b0.tar.gz", hash = "sha256:f9b2b81e9d5b64f11bc952075e7e9c7fb0aab075c7fd1c46d597f1b919852d60", size = 148774, upload-time = "2026-07-16T15:25:46.902Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a6/0e/49df70d9b81fb5cbae4bbf2a49d865b09bcbcbc4eb53f5851b1027738d78/opentelemetry_semantic_conventions-0.65b0-py3-none-any.whl", hash = "sha256:1cacde7b0ad306f84c5ef08c3dbe1bbaf20165bba6f8bff43b670e555a086bcb", size = 204645, upload-time = "2026-07-16T15:25:30.688Z" }, -] - -[[package]] -name = "opentelemetry-util-http" -version = "0.65b0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/32/a9/d7525a59fdd240e69b5af4a6338e78fafa1b4203394122cbd6701fb5f84a/opentelemetry_util_http-0.65b0.tar.gz", hash = "sha256:84f82d826978bba416ab453460ff6a7391cdc3534c93a786595e4068680016b7", size = 11243, upload-time = "2026-07-16T15:26:27.898Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/23/3f/ab8d29df207ce5f470a07fa96ebb48af4e95b7fab7e7635311b9a32f2fab/opentelemetry_util_http-0.65b0-py3-none-any.whl", hash = "sha256:7553b606f963097cb190536dc30556cce85090692e471a422fff30ca29b04348", size = 8245, upload-time = "2026-07-16T15:25:46.482Z" }, -] - -[[package]] -name = "optuna" -version = "4.9.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "alembic" }, - { name = "colorlog" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "numpy", version = "2.5.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "packaging" }, - { name = "pyyaml" }, - { name = "sqlalchemy" }, - { name = "tqdm" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f4/aa/05f5e3f662cc96a4c478fc3446b8ed6359825a2b504ecb614a9ac84e4a4d/optuna-4.9.0.tar.gz", hash = "sha256:b322e5cbdf1655fb84c37646c4a7a1f391de1b47806bbe222e015825d0a82b87", size = 485834, upload-time = "2026-06-01T06:23:30.424Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ab/f3/e5fcd5d9b15771ed6dc10e3a7eeddc672e418f4f4c4653d216cc1d857e2d/optuna-4.9.0-py3-none-any.whl", hash = "sha256:f52f3be6148654850c92a5860d398fd88ec6b2c84ab68d9c3d07dcff02e7afee", size = 425553, upload-time = "2026-06-01T06:23:28.804Z" }, -] - -[[package]] -name = "packaging" -version = "26.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" }, -] - -[[package]] -name = "petrinaut-optimization" -version = "0.1.0" -source = { virtual = "." } -dependencies = [ - { name = "fastapi" }, - { name = "opentelemetry-exporter-otlp-proto-grpc" }, - { name = "opentelemetry-exporter-otlp-proto-http" }, - { name = "opentelemetry-instrumentation-fastapi" }, - { name = "opentelemetry-sdk" }, - { name = "optuna" }, - { name = "python-dotenv" }, - { name = "uvicorn", extra = ["standard"] }, -] - -[package.dev-dependencies] -dev = [ - { name = "httpx" }, - { name = "pytest" }, -] - -[package.metadata] -requires-dist = [ - { name = "fastapi", specifier = ">=0.128.8" }, - { name = "opentelemetry-exporter-otlp-proto-grpc", specifier = ">=1.44.0" }, - { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.44.0" }, - { name = "opentelemetry-instrumentation-fastapi", specifier = ">=0.65b0" }, - { name = "opentelemetry-sdk", specifier = ">=1.44.0" }, - { name = "optuna", specifier = ">=3.6" }, - { name = "python-dotenv", specifier = ">=1.0.0" }, - { name = "uvicorn", extras = ["standard"], specifier = ">=0.39.0" }, -] - -[package.metadata.requires-dev] -dev = [ - { name = "httpx", specifier = ">=0.28" }, - { name = "pytest", specifier = ">=8.3" }, -] - -[[package]] -name = "pluggy" -version = "1.6.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, -] - -[[package]] -name = "protobuf" -version = "7.35.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/da/01/9ef0afd7999eb9badb3a768b4aedd78c86d4c65cfaf1958ab276199e76b4/protobuf-7.35.1.tar.gz", hash = "sha256:ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a", size = 458717, upload-time = "2026-06-11T21:55:40.257Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/10/03/8aeeb7458d22546bf64b5250ca1daeb5ff757d900e8e4a7476c6f0db843e/protobuf-7.35.1-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6", size = 433226, upload-time = "2026-06-11T21:55:31.719Z" }, - { url = "https://files.pythonhosted.org/packages/37/4b/dfb89eb0e652a1ff073c39a59fb5e3a83cfe9b57a2c83fa6d78270101767/protobuf-7.35.1-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799", size = 328847, upload-time = "2026-06-11T21:55:34.035Z" }, - { url = "https://files.pythonhosted.org/packages/0f/58/dc12f2cd484951524af6e3382c785869b9b3fb5e52ee95ae23add53ee8f9/protobuf-7.35.1-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:b73f9489a4b8b1c9cb1f8ed951c736392592edb24b9d6819f36d2e10b171d5b4", size = 344030, upload-time = "2026-06-11T21:55:34.941Z" }, - { url = "https://files.pythonhosted.org/packages/e4/be/5b3cfe508bfab6761414ff944e3366eb13be4fd71efcd69450f89ba39f43/protobuf-7.35.1-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:74758715c53d7158fb76caf4f0cfdacc5329a4b1bb994f865d6cf302d413a1c4", size = 327130, upload-time = "2026-06-11T21:55:35.921Z" }, - { url = "https://files.pythonhosted.org/packages/d8/bc/6d6c7ba8709c85f8f2c390b2b118d6fb08a783676a572271851bf45a7d22/protobuf-7.35.1-cp310-abi3-win32.whl", hash = "sha256:353652e4efd0bca5b5fc2656abf8307ef351f0cf938c9eba09f0e09c20a25c30", size = 428945, upload-time = "2026-06-11T21:55:37.034Z" }, - { url = "https://files.pythonhosted.org/packages/0a/19/8d0cb6f20a1ef7b18f1c8986ad5783f22f84cce39c6ce9a6e645ea55192e/protobuf-7.35.1-cp310-abi3-win_amd64.whl", hash = "sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87", size = 439996, upload-time = "2026-06-11T21:55:38.123Z" }, - { url = "https://files.pythonhosted.org/packages/19/c7/5f7c636ec43e0c545e28d1f1db71990108306f7bdcb89f069ba97e428e7f/protobuf-7.35.1-py3-none-any.whl", hash = "sha256:4bc97768d8fe4ad6743c8a19403e314511ed9f6d13205b687e52421c023ac1b9", size = 171659, upload-time = "2026-06-11T21:55:39.155Z" }, -] - -[[package]] -name = "pydantic" -version = "2.13.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "annotated-types" }, - { name = "pydantic-core" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" }, -] - -[[package]] -name = "pydantic-core" -version = "2.46.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/08/f1ba952f1c8ae5581c70fa9c6da89f247b83e3dd8c09c035d5d7931fc23d/pydantic_core-2.46.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:a396dcc17e5a0b164dbe026896245a4fa9ff402edca1dff0be3d53a517f74de4", size = 2113146, upload-time = "2026-05-06T13:37:36.537Z" }, - { url = "https://files.pythonhosted.org/packages/56/c6/65f646c7ff09bd257f660434adb45c4dfcbbcebcc030562fecf6f5bf887d/pydantic_core-2.46.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:da4b951fe36dc7c3a1ccb4e3cd1747c3542b8c9ceede8fc86cae054e764485f5", size = 1949769, upload-time = "2026-05-06T13:37:46.365Z" }, - { url = "https://files.pythonhosted.org/packages/64/ba/bfb1d928fd5b49e1258935ff104ae356e9fd89384a55bf9f847e9193ad40/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb63e0198ca18aad131c089b9204c23079c3afa95487e561f4c522d519e55aba", size = 1974958, upload-time = "2026-05-06T13:37:28.611Z" }, - { url = "https://files.pythonhosted.org/packages/4e/74/76223bfb117b64af743c9b6670d1364516f5c0604f96b48f3272f6af6cc6/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f47286a97f0bc9b8859519809077b91b2cefe4ae47fcbf5e466a009c1c5d742b", size = 2042118, upload-time = "2026-05-06T13:36:55.216Z" }, - { url = "https://files.pythonhosted.org/packages/cb/7b/848732968bc8f48f3187542f08358b9d842db564147b256669426ebb1652/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905a0ed8ea6f2d61c1738835f99b699348d7857379083e5fc497fa0c967a407c", size = 2222876, upload-time = "2026-05-06T13:38:25.455Z" }, - { url = "https://files.pythonhosted.org/packages/b5/2f/e90b63ee2e14bd8d3db8f705a6d75d64e6ee1b7c2c8833747ce706e1e0ce/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea793e075b70290d89d8142074262885d3f7da19634845135751bd6344f73b50", size = 2286703, upload-time = "2026-05-06T13:37:53.304Z" }, - { url = "https://files.pythonhosted.org/packages/ba/1e/acc4d70f88a0a277e4a1fa77ebb985ceabaf900430f875bf9338e11c9420/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:395aebd9183f9d112f569aeb5b2214d1a10a33bec8456447f7fbdfa51d38d4cd", size = 2092042, upload-time = "2026-05-06T13:38:46.981Z" }, - { url = "https://files.pythonhosted.org/packages/a9/da/0a422b57bf8504102bf3c4ccea9c41bab5a5cee6a54650acf8faf67f5a24/pydantic_core-2.46.4-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:b078afbc25f3a1436c7a1d2cd3e322497ee99615ba97c563566fdf46aff1ee01", size = 2117231, upload-time = "2026-05-06T13:39:23.146Z" }, - { url = "https://files.pythonhosted.org/packages/bd/2a/2ac13c3af305843e23c5078c53d135656b3f05a2fd78cb7bbbb12e97b473/pydantic_core-2.46.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f747929cf940cddb5b3668a390056ddd5ba2e5010615ea2dcf4f9c4f3ab8791d", size = 2168388, upload-time = "2026-05-06T13:40:08.06Z" }, - { url = "https://files.pythonhosted.org/packages/72/04/2beacf7e1607e93eefe4aed1b4709f079b905fb77530179d4f7c71745f22/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:daa27d92c36f24388fe3ad306b174781c747627f134452e4f128ea00ce1fe8c4", size = 2184769, upload-time = "2026-05-06T13:38:13.901Z" }, - { url = "https://files.pythonhosted.org/packages/9e/29/d2b9fd9f539133548eaf622c06a4ce176cb46ac59f32d0359c4abc0de047/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:19e51f073cd3df251856a8a4189fbdf1de4012c3ebacfb1884f94f1eb406079f", size = 2319312, upload-time = "2026-05-06T13:39:08.24Z" }, - { url = "https://files.pythonhosted.org/packages/7c/af/0f7a5b85fec6075bea96e3ef9187de38fccced0de92c1e7feda8d5cc7bb9/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1747f85cee84c26985853c6f3d9bd3e75da5212912443fa111c113b9c246f39", size = 2361817, upload-time = "2026-05-06T13:38:43.2Z" }, - { url = "https://files.pythonhosted.org/packages/25/a4/73363fec545fd3ec025490bdda2743c56d0dd5b6266b1a53bbe9e4265375/pydantic_core-2.46.4-cp310-cp310-win32.whl", hash = "sha256:2f84c03c8607173d16b5a854ec68a2f9079ae03237a54fb506d13af47e1d018d", size = 1987085, upload-time = "2026-05-06T13:39:25.497Z" }, - { url = "https://files.pythonhosted.org/packages/01/aa/62f082da2c91fac1c234bc9ee0066257ce83f0604abd72e4c9d5991f2d84/pydantic_core-2.46.4-cp310-cp310-win_amd64.whl", hash = "sha256:8358a950c8909158e3df31538a7e4edc2d7265a7c54b47f0864d9e5bae9dcebf", size = 2074311, upload-time = "2026-05-06T13:39:59.922Z" }, - { url = "https://files.pythonhosted.org/packages/5c/fa/6d7708d2cfc1a832acb6aeb0cd16e801902df8a0f583bb3b4b527fde022e/pydantic_core-2.46.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594", size = 2111872, upload-time = "2026-05-06T13:40:27.596Z" }, - { url = "https://files.pythonhosted.org/packages/ae/6f/aa064a3e74b5745afbdf250594f38e7ead05e2d651bcb35994b9417a0d4d/pydantic_core-2.46.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c", size = 1948255, upload-time = "2026-05-06T13:39:12.574Z" }, - { url = "https://files.pythonhosted.org/packages/43/3a/41114a9f7569b84b4d84e7a018c57c56347dac30c0d4a872946ec4e36c46/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826", size = 1972827, upload-time = "2026-05-06T13:38:19.841Z" }, - { url = "https://files.pythonhosted.org/packages/ef/25/1ab42e8048fe551934d9884e8d64daa7e990ad386f310a15981aeb6a5b08/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04", size = 2041051, upload-time = "2026-05-06T13:38:10.447Z" }, - { url = "https://files.pythonhosted.org/packages/94/c2/1a934597ddf08da410385b3b7aae91956a5a76c635effef456074fad7e88/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e", size = 2221314, upload-time = "2026-05-06T13:40:13.089Z" }, - { url = "https://files.pythonhosted.org/packages/02/6d/9e8ad178c9c4df27ad3c8f25d1fe2a7ab0d2ba0559fad4aee5d3d1f16771/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3", size = 2285146, upload-time = "2026-05-06T13:38:59.224Z" }, - { url = "https://files.pythonhosted.org/packages/80/50/540cd3aeefc041beb111125c4bff779831a2111fc6b15a9138cda277d32c/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4", size = 2089685, upload-time = "2026-05-06T13:38:17.762Z" }, - { url = "https://files.pythonhosted.org/packages/6b/a4/b440ad35f05f6a38f89fa0f149accb3f0e02be94ca5e15f3c449a61b4bc9/pydantic_core-2.46.4-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398", size = 2115420, upload-time = "2026-05-06T13:37:58.195Z" }, - { url = "https://files.pythonhosted.org/packages/99/61/de4f55db8dfd57bfdfa9a12ec90fe1b57c4f41062f7ca86f08586b3e0ac0/pydantic_core-2.46.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3", size = 2165122, upload-time = "2026-05-06T13:37:01.167Z" }, - { url = "https://files.pythonhosted.org/packages/f7/52/7c529d7bdb2d1068bd52f51fe32572c8301f9a4febf1948f10639f1436f5/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848", size = 2182573, upload-time = "2026-05-06T13:38:45.04Z" }, - { url = "https://files.pythonhosted.org/packages/37/b3/7c40325848ba78247f2812dcf9c7274e38cd801820ca6dd9fe63bcfb0eb4/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3", size = 2317139, upload-time = "2026-05-06T13:37:15.539Z" }, - { url = "https://files.pythonhosted.org/packages/d9/37/f913f81a657c865b75da6c0dbed79876073c2a43b5bd9edbe8da785e4d49/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109", size = 2360433, upload-time = "2026-05-06T13:37:30.099Z" }, - { url = "https://files.pythonhosted.org/packages/c4/67/6acaa1be2567f9256b056d8477158cac7240813956ce86e49deae8e173b4/pydantic_core-2.46.4-cp311-cp311-win32.whl", hash = "sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda", size = 1985513, upload-time = "2026-05-06T13:38:15.669Z" }, - { url = "https://files.pythonhosted.org/packages/aa/e6/c505f83dfeda9a2e5c995cfd872949e4d05e12f7feb3dca72f633daefa94/pydantic_core-2.46.4-cp311-cp311-win_amd64.whl", hash = "sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33", size = 2071114, upload-time = "2026-05-06T13:40:35.416Z" }, - { url = "https://files.pythonhosted.org/packages/0f/da/7a263a96d965d9d0df5e8de8a475f33495451117035b09acb110288c381f/pydantic_core-2.46.4-cp311-cp311-win_arm64.whl", hash = "sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d", size = 2044298, upload-time = "2026-05-06T13:38:29.754Z" }, - { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" }, - { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" }, - { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" }, - { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" }, - { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" }, - { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" }, - { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" }, - { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" }, - { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" }, - { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" }, - { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" }, - { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" }, - { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" }, - { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" }, - { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" }, - { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" }, - { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" }, - { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" }, - { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" }, - { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" }, - { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" }, - { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" }, - { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" }, - { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" }, - { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" }, - { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" }, - { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" }, - { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" }, - { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" }, - { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" }, - { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" }, - { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" }, - { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" }, - { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" }, - { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" }, - { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" }, - { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" }, - { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" }, - { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" }, - { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" }, - { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" }, - { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" }, - { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" }, - { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" }, - { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" }, - { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" }, - { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" }, - { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" }, - { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" }, - { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" }, - { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" }, - { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" }, - { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" }, - { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" }, - { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" }, - { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" }, - { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" }, - { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" }, - { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" }, - { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" }, - { url = "https://files.pythonhosted.org/packages/ee/a4/73995fd4ebbb46ba0ee51e6fa049b8f02c40daebb762208feda8a6b7894d/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c", size = 2111589, upload-time = "2026-05-06T13:37:10.817Z" }, - { url = "https://files.pythonhosted.org/packages/fb/7f/f37d3a5e8bfcc2e403f5c57a730f2d815693fb42119e8ea48b3789335af1/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b", size = 1944552, upload-time = "2026-05-06T13:36:56.717Z" }, - { url = "https://files.pythonhosted.org/packages/15/3c/d7eb777b3ff43e8433a4efb39a17aa8fd98a4ee8561a24a67ef5db07b2d6/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b", size = 1982984, upload-time = "2026-05-06T13:39:06.207Z" }, - { url = "https://files.pythonhosted.org/packages/63/87/70b9f40170a81afd55ca26c9b2acb25c20d64bcfbf888fafecb3ba077d4c/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea", size = 2138417, upload-time = "2026-05-06T13:39:45.476Z" }, - { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" }, - { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" }, - { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" }, - { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" }, - { url = "https://files.pythonhosted.org/packages/11/cb/428de0385b6c8d44b716feba566abfacfbd23ee3c4439faa789a1456242f/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0", size = 2112782, upload-time = "2026-05-06T13:37:04.016Z" }, - { url = "https://files.pythonhosted.org/packages/0b/b5/6a17bdadd0fc1f170adfd05a20d37c832f52b117b4d9131da1f41bb097ce/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7", size = 1952146, upload-time = "2026-05-06T13:39:43.092Z" }, - { url = "https://files.pythonhosted.org/packages/2a/dc/03734d80e362cd43ef65428e9de77c730ce7f2f11c60d2b1e1b39f0fbf99/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2", size = 2134492, upload-time = "2026-05-06T13:36:58.124Z" }, - { url = "https://files.pythonhosted.org/packages/de/df/5e5ffc085ed07cc22d298134d3d911c63e91f6a0eb91fe646750a3209910/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9", size = 2156604, upload-time = "2026-05-06T13:37:49.88Z" }, - { url = "https://files.pythonhosted.org/packages/81/44/6e112a4253e56f5705467cbab7ab5e91ee7398ba3d56d358635958893d3e/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf", size = 2183828, upload-time = "2026-05-06T13:37:43.053Z" }, - { url = "https://files.pythonhosted.org/packages/ac/ad/5565071e937d8e752842ac241463944c9eb14c87e2d269f2658a5bd05e98/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30", size = 2310000, upload-time = "2026-05-06T13:37:56.694Z" }, - { url = "https://files.pythonhosted.org/packages/4f/c3/66883a5cec183e7fba4d024b4cbbe61851a63750ef606b0afecc46d1f2bf/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc", size = 2361286, upload-time = "2026-05-06T13:40:05.667Z" }, - { url = "https://files.pythonhosted.org/packages/4b/2d/69abac8f838090bbecd5df894befb2c2619e7996a98ddb949db9f3b93225/pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983", size = 2193071, upload-time = "2026-05-06T13:38:08.682Z" }, -] - -[[package]] -name = "pygments" -version = "2.20.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, -] - -[[package]] -name = "pytest" -version = "9.1.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, - { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, - { name = "iniconfig" }, - { name = "packaging" }, - { name = "pluggy" }, - { name = "pygments" }, - { name = "tomli", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, -] - -[[package]] -name = "python-dotenv" -version = "1.2.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, -] - -[[package]] -name = "pyyaml" -version = "6.0.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/a0/39350dd17dd6d6c6507025c0e53aef67a9293a6d37d3511f23ea510d5800/pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b", size = 184227, upload-time = "2025-09-25T21:31:46.04Z" }, - { url = "https://files.pythonhosted.org/packages/05/14/52d505b5c59ce73244f59c7a50ecf47093ce4765f116cdb98286a71eeca2/pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956", size = 174019, upload-time = "2025-09-25T21:31:47.706Z" }, - { url = "https://files.pythonhosted.org/packages/43/f7/0e6a5ae5599c838c696adb4e6330a59f463265bfa1e116cfd1fbb0abaaae/pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8", size = 740646, upload-time = "2025-09-25T21:31:49.21Z" }, - { url = "https://files.pythonhosted.org/packages/2f/3a/61b9db1d28f00f8fd0ae760459a5c4bf1b941baf714e207b6eb0657d2578/pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198", size = 840793, upload-time = "2025-09-25T21:31:50.735Z" }, - { url = "https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b", size = 770293, upload-time = "2025-09-25T21:31:51.828Z" }, - { url = "https://files.pythonhosted.org/packages/8b/ef/abd085f06853af0cd59fa5f913d61a8eab65d7639ff2a658d18a25d6a89d/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0", size = 732872, upload-time = "2025-09-25T21:31:53.282Z" }, - { url = "https://files.pythonhosted.org/packages/1f/15/2bc9c8faf6450a8b3c9fc5448ed869c599c0a74ba2669772b1f3a0040180/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69", size = 758828, upload-time = "2025-09-25T21:31:54.807Z" }, - { url = "https://files.pythonhosted.org/packages/a3/00/531e92e88c00f4333ce359e50c19b8d1de9fe8d581b1534e35ccfbc5f393/pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e", size = 142415, upload-time = "2025-09-25T21:31:55.885Z" }, - { url = "https://files.pythonhosted.org/packages/2a/fa/926c003379b19fca39dd4634818b00dec6c62d87faf628d1394e137354d4/pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c", size = 158561, upload-time = "2025-09-25T21:31:57.406Z" }, - { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, - { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, - { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, - { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, - { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, - { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, - { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, - { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, - { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, - { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, - { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, - { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, - { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, - { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, - { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, - { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, - { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, - { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, - { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, - { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, - { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, - { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, - { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, - { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, - { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, - { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, - { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, - { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, - { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, - { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, - { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, - { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, - { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, - { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, - { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, - { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, - { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, - { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, - { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, - { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, - { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, - { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, - { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, - { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, - { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, - { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, - { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, -] - -[[package]] -name = "requests" -version = "2.34.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "certifi" }, - { name = "charset-normalizer" }, - { name = "idna" }, - { name = "urllib3" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, -] - -[[package]] -name = "sqlalchemy" -version = "2.0.51" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/02/f1/a7a892f18d4d224e6b26f706531eafccc41e37594d37d304786969ee13cb/sqlalchemy-2.0.51.tar.gz", hash = "sha256:804dccd8a4a6242c4e30ad961e540e18a588f6527202f2d6791b01845d59fdc9", size = 9912201, upload-time = "2026-06-15T15:41:20.012Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/71/76/b3ea1d8842e7b62c718a88d302809003d65ed82011460ca48907dde658c4/sqlalchemy-2.0.51-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0e8203d2fbd5c6254692ef0a72c740d75b2f3c7ca345404f4c1a4604813c77c0", size = 2162087, upload-time = "2026-06-15T16:05:15.795Z" }, - { url = "https://files.pythonhosted.org/packages/6c/22/f19552eb7876774d50cfd025337ef5d67acc10cd8f29adab7716cf47c352/sqlalchemy-2.0.51-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1af05726b3d0cdba1c55284bf408fd3b792e690fe2399bfb8304565551cda652", size = 3244579, upload-time = "2026-06-15T16:10:36.165Z" }, - { url = "https://files.pythonhosted.org/packages/fc/97/e4a2eb5a8ec5cd3c2a0615a2f15f0afca89ac039229599b9ed0c0ed28e5e/sqlalchemy-2.0.51-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e54ff2dd657f2e3e0fbf2b097db1182f7bfea263eca4353f00065bae2a67c3d", size = 3243515, upload-time = "2026-06-15T16:12:22.627Z" }, - { url = "https://files.pythonhosted.org/packages/74/c6/5900ec624fab3360aa2ec59b99bb2046dd79799e310bb78a0514eaa4038e/sqlalchemy-2.0.51-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:1e47b1199c2e832e325eacabc8d32d2487f58c9358f97e9a00f5eb93c5680d84", size = 3195492, upload-time = "2026-06-15T16:10:38.097Z" }, - { url = "https://files.pythonhosted.org/packages/8f/41/2ee3c4e1ac4fd22309349823fe13f33febeab1a71db1d7e9d60293a07dcb/sqlalchemy-2.0.51-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c68568f3facf8f66fa76c60e0ced69b67666ffa9941d1d0a3756fda196049080", size = 3215782, upload-time = "2026-06-15T16:12:24.051Z" }, - { url = "https://files.pythonhosted.org/packages/ce/1c/3bd72c341f1cb5faed5a7457ea840228a46be51cfbaf31a9db72fc963f11/sqlalchemy-2.0.51-cp310-cp310-win32.whl", hash = "sha256:0592bdadf86ddcabfd72d9ab66ea8a5d8d2cc6be1cc51fa7e66c03868ac5eac1", size = 2122119, upload-time = "2026-06-15T16:13:26.915Z" }, - { url = "https://files.pythonhosted.org/packages/2a/63/b6dfdd646abf91c3bedb13727226a5e765e5f8365e898d43818e6672fa46/sqlalchemy-2.0.51-cp310-cp310-win_amd64.whl", hash = "sha256:740cf6f35351b1ac3d82369152acf1d51d37e3dcf85d4dc0a22ca01410eabe2a", size = 2145158, upload-time = "2026-06-15T16:13:28.386Z" }, - { url = "https://files.pythonhosted.org/packages/3a/69/a67c69e5f28fc9c99d6f7bd60bd50e91f2fed2423e3b30fb228fa00e51f3/sqlalchemy-2.0.51-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1aa10c0daee6705294d181daadaa793221e1a59ed55000a3fab1d42b088ce4ba", size = 2161838, upload-time = "2026-06-15T16:05:17.144Z" }, - { url = "https://files.pythonhosted.org/packages/9a/a4/c8c22b8438bddc0a030157c6ec0f6ef97b3c38effa444bdab2a27af04090/sqlalchemy-2.0.51-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a5b2ed6d828f1f09bd812861f4f59ca3bc3803f9df871f4555187f0faf018604", size = 3319402, upload-time = "2026-06-15T16:10:40.002Z" }, - { url = "https://files.pythonhosted.org/packages/90/54/44012d32fd77d991256d2ff793ba3807c51d40cb27a85b4796224f6744df/sqlalchemy-2.0.51-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:436728ce18a80f6951a1e11cc6112c2ede9faf20766f1a26195a7c441ca12dbd", size = 3319675, upload-time = "2026-06-15T16:12:25.658Z" }, - { url = "https://files.pythonhosted.org/packages/29/a5/de0592acaf5906cd7430874392d6f7e8b4a7c8437610953ee2d1501c0b44/sqlalchemy-2.0.51-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:dc261707bf5739aea8a541593f3cc1d463c2701fb05fbcbba0ce031b69a21260", size = 3270777, upload-time = "2026-06-15T16:10:42.125Z" }, - { url = "https://files.pythonhosted.org/packages/cb/14/a44c90739c780b362238e4ac3cb19dd0ca40d13e6ddc5daa112166ddab4f/sqlalchemy-2.0.51-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a6d26094615306d116dd5e4a51b0304c99dd2356fc569eed6922a80a6bd3b265", size = 3293940, upload-time = "2026-06-15T16:12:27.156Z" }, - { url = "https://files.pythonhosted.org/packages/65/eb/fbd0f206a330e66f8c602a99c37c4e731f107faed62954b41b01f16dd9d9/sqlalchemy-2.0.51-cp311-cp311-win32.whl", hash = "sha256:ca8435d13829b92f4a97362d91975154a4015db3a2634154e1754e9a915e6b86", size = 2121183, upload-time = "2026-06-15T16:13:29.905Z" }, - { url = "https://files.pythonhosted.org/packages/ad/fd/005bf80f3cf6e5c62b5dd68616280f51cd012c60840fa74781b3ed7b1623/sqlalchemy-2.0.51-cp311-cp311-win_amd64.whl", hash = "sha256:4a011ea4510683319ce4ed274b56ee05194b39b6da9d09ca7a39388f0fa84dcc", size = 2145796, upload-time = "2026-06-15T16:13:31.283Z" }, - { url = "https://files.pythonhosted.org/packages/d5/70/e868bc5412acd101a8280f25c95f10eeae0771c4eb806b02491142810ee8/sqlalchemy-2.0.51-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d78702b26ba1c18b2d0fb2ea940ba7f17a9581b42e8361ff93920ebbee1235a", size = 2160291, upload-time = "2026-06-15T16:08:48.918Z" }, - { url = "https://files.pythonhosted.org/packages/e5/1c/71ee0f8a6b9d7316a1ccd30430b4c62b6c2e36adc96017a4e3a72dce49d6/sqlalchemy-2.0.51-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:581921d849d6e6f994d560389192955e80e2950e18fcdfe2ccea863e01158e6e", size = 3343835, upload-time = "2026-06-15T16:19:42.613Z" }, - { url = "https://files.pythonhosted.org/packages/2b/7c/7ab9f9aadc5944fdd06612484ed7918fe376ad871a5f50404dc1536e0194/sqlalchemy-2.0.51-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1d21ce524ab86c23046e992a5b81cb54c21079c6df6e78b8fc77d77cac70a6b9", size = 3358470, upload-time = "2026-06-15T16:26:38.011Z" }, - { url = "https://files.pythonhosted.org/packages/d0/7d/ff77169fee6186de145a7f2b87006c39638391130abbab2b1f63ac6ea583/sqlalchemy-2.0.51-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c5d98a2709840027f5a347c3af0a7c3d5f6c1ff93af2ca1c54494e23cba8f389", size = 3289874, upload-time = "2026-06-15T16:19:45.212Z" }, - { url = "https://files.pythonhosted.org/packages/6f/3b/6c505903710d781b55bc3141ee34a062bf9745a6b5bc7333305b9ed63b33/sqlalchemy-2.0.51-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1181256e0f16479691b5616d36375dc2620ad8332b25978763c3d206ad3f3f1d", size = 3321692, upload-time = "2026-06-15T16:26:39.747Z" }, - { url = "https://files.pythonhosted.org/packages/3c/b7/c5ffe50aa2f4d947c9250e1519d939260329a07fe6272edfccd784b3d007/sqlalchemy-2.0.51-cp312-cp312-win32.whl", hash = "sha256:9f380393be5abeb6815f68fd39271b95127173511b6706b0a630a9995d53f8f5", size = 2119674, upload-time = "2026-06-15T16:23:09.543Z" }, - { url = "https://files.pythonhosted.org/packages/25/dc/46a65916af68a06ef6b972c6050ba4c8f97070fe3fb33097d34229d9bef6/sqlalchemy-2.0.51-cp312-cp312-win_amd64.whl", hash = "sha256:2cf39aabdf48e87c1c2c2ed6d20d33ffa0733b3071ce9c5f66357947dd009080", size = 2146670, upload-time = "2026-06-15T16:23:11.048Z" }, - { url = "https://files.pythonhosted.org/packages/54/fe/a210d52fd1a90ecfae8a78e9d8b27e18d733d60818a8bf250ff690b75120/sqlalchemy-2.0.51-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7c2056838b6685b72fdb36c99996cf862753461a62f2e84f4196371d3b2d6a07", size = 2157184, upload-time = "2026-06-15T16:08:50.374Z" }, - { url = "https://files.pythonhosted.org/packages/17/6b/2dce8369b199cb855110e056032f94a9f66dacc2237d3d39c115a86eac56/sqlalchemy-2.0.51-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:483b11bd46bf35fc14c52faf338b04300c9e6ce554bce9b11be85bfec3bc3195", size = 3284735, upload-time = "2026-06-15T16:19:46.934Z" }, - { url = "https://files.pythonhosted.org/packages/53/ff/dbc495b8a14da840faffb353857a72d4190113cac33727906fb997047f0f/sqlalchemy-2.0.51-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1bed1ee8b01da6088210aa9412023326fb98a599ba502e6118308601dcbef77f", size = 3302756, upload-time = "2026-06-15T16:26:41.336Z" }, - { url = "https://files.pythonhosted.org/packages/cf/d5/fde8f4dddcf518ee15ab35a7c6a28acc32c8ba548d1d2aa451f96e6dbb0b/sqlalchemy-2.0.51-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:72ca54c952107ba5cd58854b67a5a6268631289d21651a1235396f3b98b47400", size = 3232055, upload-time = "2026-06-15T16:19:49.286Z" }, - { url = "https://files.pythonhosted.org/packages/67/d1/43d3a0ac955a58601c24fa23038b1c55ee3a1ec02c0f96ebb1eae2bcf614/sqlalchemy-2.0.51-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b3e693d15533a45cd5906f0589f9c35090bef6ef45bf1e8195c424aa0ae06a8d", size = 3269850, upload-time = "2026-06-15T16:26:43.017Z" }, - { url = "https://files.pythonhosted.org/packages/94/df/de669c7054cd47c4439ac34b1b2ee8b804a794791fbb10720e997a2c87c7/sqlalchemy-2.0.51-cp313-cp313-win32.whl", hash = "sha256:b93ab07b5292dbe7e6b8da89475275e7042744283921344b56105f3eeb0f828b", size = 2117721, upload-time = "2026-06-15T16:23:12.36Z" }, - { url = "https://files.pythonhosted.org/packages/d0/8a/403c51d064196bae20a0bc2476577f83a3f8dd299719a97417086b7f2ec5/sqlalchemy-2.0.51-cp313-cp313-win_amd64.whl", hash = "sha256:0f053118c30e53161857a953e4de667d90e274980dccbe5dd3829bbbeece72a5", size = 2143615, upload-time = "2026-06-15T16:23:13.906Z" }, - { url = "https://files.pythonhosted.org/packages/b1/49/a739be2e1d02a96a658eb71ab45d921c874249252358ad24a5bffdd02525/sqlalchemy-2.0.51-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6ea306caaae6bd5afd0a46050003c88f6bf33227377a49298c498c3cb88ff491", size = 2158999, upload-time = "2026-06-15T16:08:51.759Z" }, - { url = "https://files.pythonhosted.org/packages/23/6b/2e0e38cf75c8780eca78d9b2e78164f8bcfd70125e5caa588ff5cbb9c9f4/sqlalchemy-2.0.51-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c45a496d6bc05dec41dcd4c3a2b183723f47473255c159cd80b503c8f246424d", size = 3282539, upload-time = "2026-06-15T16:19:51.065Z" }, - { url = "https://files.pythonhosted.org/packages/dd/a1/e77854cb5336fd37dc3c6ae3b71de242c98caac5725120be0b526b31cbd0/sqlalchemy-2.0.51-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4004ada0aafe8ae1991b2cd1d99c6d9146126e123bd6f883c260d974aa012e54", size = 3287545, upload-time = "2026-06-15T16:26:44.735Z" }, - { url = "https://files.pythonhosted.org/packages/f6/ab/9e17272fd4dac8df3b83c4fbe52b998a1c9d89a843c8c35ff29b74ff7364/sqlalchemy-2.0.51-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0f6bcad487aee1c638d707235682fc96f741de00663619881ab235400d03289e", size = 3230929, upload-time = "2026-06-15T16:19:52.625Z" }, - { url = "https://files.pythonhosted.org/packages/02/3c/52f408ea701781caee975606beccc48845f2aee8711ac29843d612c0306c/sqlalchemy-2.0.51-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:39a76529db6305693d8d4affa58ad5b5e2e18edd62daea628b29b97930b3513d", size = 3252888, upload-time = "2026-06-15T16:26:46.454Z" }, - { url = "https://files.pythonhosted.org/packages/24/16/3efd2ee6bc4ca4693a30a1dd17a91b606cae15d517d2a4746611d9b73ce8/sqlalchemy-2.0.51-cp314-cp314-win32.whl", hash = "sha256:08a204d8b5638717c26a24df18fcf40af45a6b22e35b70b1d62f0113c2e278e8", size = 2120551, upload-time = "2026-06-15T16:23:15.629Z" }, - { url = "https://files.pythonhosted.org/packages/7b/78/55b12e70f45bccc40d9e483925c065027b3b98ea4cbbdf6f8c2546feaf6c/sqlalchemy-2.0.51-cp314-cp314-win_amd64.whl", hash = "sha256:96747bfbadb055466e5b46d572618170046b45ce5a4879167f50d70a5319a499", size = 2146318, upload-time = "2026-06-15T16:23:17.108Z" }, - { url = "https://files.pythonhosted.org/packages/21/db/a9574ed40fed418924b1b1a3e54f47ee3963053b3d3d325a0d36b41f2c08/sqlalchemy-2.0.51-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e5ea1a213be1fcd5e49d9904c3b9939211ded90bc2a64e93f4c01963474285de", size = 2178920, upload-time = "2026-06-15T15:59:56.285Z" }, - { url = "https://files.pythonhosted.org/packages/bf/90/a1bb5c7cbba76b7bc1fbd586d0a5479a7bc9c27b4a8298f22ec9423b2bb3/sqlalchemy-2.0.51-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7c6b36ed71f41942bdcd2ad2522be46bfce09d5705be5640ecf19bbc7660e4b7", size = 3566534, upload-time = "2026-06-15T15:58:35.024Z" }, - { url = "https://files.pythonhosted.org/packages/15/4b/481f1fed30e0e9e8dd24aecbb49f29eb57fe7657ece5cf06ee9b84bb97d8/sqlalchemy-2.0.51-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0c2c62877097e1a0db401fba5cb4debee33265e5b2a55c4ccb489c02c53b4f72", size = 3535844, upload-time = "2026-06-15T16:02:43.973Z" }, - { url = "https://files.pythonhosted.org/packages/02/71/0aa64aeda645510af0a43f7d9ee70932f0d1dc4263aed34c50ee891d9df3/sqlalchemy-2.0.51-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:0378d055e9e8cd6ce4d8dff683bdd3d7d413533c4ee51d67a2b1e0f9eacc0f23", size = 3475355, upload-time = "2026-06-15T15:58:36.592Z" }, - { url = "https://files.pythonhosted.org/packages/05/db/6061db32316446135a3abae5f308d144ab988a34234726042da3e58b1c63/sqlalchemy-2.0.51-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6e46fc36029eff666391e0531e5387b62ce6c4f1d8e50b3fb3099eaca1b42522", size = 3486591, upload-time = "2026-06-15T16:02:45.346Z" }, - { url = "https://files.pythonhosted.org/packages/0d/c9/f14fdf71bb8957e0c7e39db69bbdf12b5c80f4ef775fdfa127bf4e0d6760/sqlalchemy-2.0.51-cp314-cp314t-win32.whl", hash = "sha256:9161cfc9efce70d1715f47d6ff40f79c6778c00d53be4fbc09d70301e4b83ba7", size = 2151313, upload-time = "2026-06-15T16:03:39.127Z" }, - { url = "https://files.pythonhosted.org/packages/6a/c6/673e618e6f4f297e126d9b56ea2f6478708f6c1af4e3223835c22e2c3697/sqlalchemy-2.0.51-cp314-cp314t-win_amd64.whl", hash = "sha256:159bb6ba32059f57ad7375a8f50d844dd2f19d14954ecf820cd33e20debd46b2", size = 2186280, upload-time = "2026-06-15T16:03:40.569Z" }, - { url = "https://files.pythonhosted.org/packages/e2/22/dbf013a12ec759e54a34a119e9e217435b3f71b2dd5c61a7ade0a25dae87/sqlalchemy-2.0.51-py3-none-any.whl", hash = "sha256:bb024d8b621d0be75f4f44ecc7c950450026e76d66dc8f791bb5331d7fed59d5", size = 1944334, upload-time = "2026-06-15T16:09:22.418Z" }, -] - -[[package]] -name = "starlette" -version = "1.3.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/eb/e3/7c1dc7381d9f8ab7d854328ebfa884e62cb3f3d8549ddfd37c7814f42afa/starlette-1.3.1.tar.gz", hash = "sha256:05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0", size = 2703240, upload-time = "2026-06-12T09:23:11.602Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ec/bb/2799cc2ede3ed41131f8975621e7213dfc7ef4acbbaadfa440f32500c370/starlette-1.3.1-py3-none-any.whl", hash = "sha256:c7372aae11c3c3f26a42df7bd626cec2f47d03483d261d369516a615a53714c6", size = 73632, upload-time = "2026-06-12T09:23:10.017Z" }, -] - -[[package]] -name = "tomli" -version = "2.4.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, - { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, - { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, - { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, - { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, - { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, - { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, - { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, - { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, - { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, - { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, - { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, - { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, - { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, - { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, - { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, - { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, - { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, - { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, - { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, - { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, - { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, - { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, - { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, - { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, - { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, - { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, - { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, - { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, - { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, - { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, - { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, - { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, - { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, - { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, - { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, - { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, - { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, - { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, - { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, - { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, - { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, - { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, - { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, - { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, - { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, -] - -[[package]] -name = "tqdm" -version = "4.68.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ae/5f/57ff8b434839e70dab45601284ea413e947a63799891b7553e5960a793a8/tqdm-4.68.4.tar.gz", hash = "sha256:19829c9673638f2a0b8617da4cdcb927e831cd88bcfcb6e78d42a4d1af131520", size = 792418, upload-time = "2026-07-07T09:58:18.369Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/22/2a/5e5e750890ada51017d18d0d4c30da696e5b5bd3180947729927628fc3cb/tqdm-4.68.4-py3-none-any.whl", hash = "sha256:5168118b2368f48c561afda8020fd79195b1bdb0bdf8086b88442c267a315dc2", size = 676612, upload-time = "2026-07-07T09:58:16.256Z" }, -] - -[[package]] -name = "typing-extensions" -version = "4.16.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, -] - -[[package]] -name = "typing-inspection" -version = "0.4.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, -] - -[[package]] -name = "urllib3" -version = "2.7.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, -] - -[[package]] -name = "uvicorn" -version = "0.51.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "click" }, - { name = "h11" }, - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a2/65/b7c6c443ccc58678c91e1e973bbe2a878591538655d6e1d47f24ba1c51f3/uvicorn-0.51.0.tar.gz", hash = "sha256:f6f4b69b657c312f516dd2d268ab9ae6f254b11e4bac504f37b2ab58b24dd0b0", size = 94412, upload-time = "2026-07-08T10:59:05.962Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/45/ec/dbb7e5a6b91f86bfb9eb7d2988a2730907b6a729875b949c7f022e8b88fa/uvicorn-0.51.0-py3-none-any.whl", hash = "sha256:5d38af6cd620f2ae3849fb44fd4879e0890aa1febe8d47eb355fb45d93fe6a5b", size = 73219, upload-time = "2026-07-08T10:59:04.44Z" }, -] - -[package.optional-dependencies] -standard = [ - { name = "httptools" }, - { name = "python-dotenv" }, - { name = "pyyaml" }, - { name = "uvloop", marker = "platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'" }, - { name = "watchfiles" }, - { name = "websockets" }, -] - -[[package]] -name = "uvloop" -version = "0.22.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250, upload-time = "2025-10-16T22:17:19.342Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/eb/14/ecceb239b65adaaf7fde510aa8bd534075695d1e5f8dadfa32b5723d9cfb/uvloop-0.22.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ef6f0d4cc8a9fa1f6a910230cd53545d9a14479311e87e3cb225495952eb672c", size = 1343335, upload-time = "2025-10-16T22:16:11.43Z" }, - { url = "https://files.pythonhosted.org/packages/ba/ae/6f6f9af7f590b319c94532b9567409ba11f4fa71af1148cab1bf48a07048/uvloop-0.22.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7cd375a12b71d33d46af85a3343b35d98e8116134ba404bd657b3b1d15988792", size = 742903, upload-time = "2025-10-16T22:16:12.979Z" }, - { url = "https://files.pythonhosted.org/packages/09/bd/3667151ad0702282a1f4d5d29288fce8a13c8b6858bf0978c219cd52b231/uvloop-0.22.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ac33ed96229b7790eb729702751c0e93ac5bc3bcf52ae9eccbff30da09194b86", size = 3648499, upload-time = "2025-10-16T22:16:14.451Z" }, - { url = "https://files.pythonhosted.org/packages/b3/f6/21657bb3beb5f8c57ce8be3b83f653dd7933c2fd00545ed1b092d464799a/uvloop-0.22.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:481c990a7abe2c6f4fc3d98781cc9426ebd7f03a9aaa7eb03d3bfc68ac2a46bd", size = 3700133, upload-time = "2025-10-16T22:16:16.272Z" }, - { url = "https://files.pythonhosted.org/packages/09/e0/604f61d004ded805f24974c87ddd8374ef675644f476f01f1df90e4cdf72/uvloop-0.22.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a592b043a47ad17911add5fbd087c76716d7c9ccc1d64ec9249ceafd735f03c2", size = 3512681, upload-time = "2025-10-16T22:16:18.07Z" }, - { url = "https://files.pythonhosted.org/packages/bb/ce/8491fd370b0230deb5eac69c7aae35b3be527e25a911c0acdffb922dc1cd/uvloop-0.22.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:1489cf791aa7b6e8c8be1c5a080bae3a672791fcb4e9e12249b05862a2ca9cec", size = 3615261, upload-time = "2025-10-16T22:16:19.596Z" }, - { url = "https://files.pythonhosted.org/packages/c7/d5/69900f7883235562f1f50d8184bb7dd84a2fb61e9ec63f3782546fdbd057/uvloop-0.22.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:c60ebcd36f7b240b30788554b6f0782454826a0ed765d8430652621b5de674b9", size = 1352420, upload-time = "2025-10-16T22:16:21.187Z" }, - { url = "https://files.pythonhosted.org/packages/a8/73/c4e271b3bce59724e291465cc936c37758886a4868787da0278b3b56b905/uvloop-0.22.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3b7f102bf3cb1995cfeaee9321105e8f5da76fdb104cdad8986f85461a1b7b77", size = 748677, upload-time = "2025-10-16T22:16:22.558Z" }, - { url = "https://files.pythonhosted.org/packages/86/94/9fb7fad2f824d25f8ecac0d70b94d0d48107ad5ece03769a9c543444f78a/uvloop-0.22.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53c85520781d84a4b8b230e24a5af5b0778efdb39142b424990ff1ef7c48ba21", size = 3753819, upload-time = "2025-10-16T22:16:23.903Z" }, - { url = "https://files.pythonhosted.org/packages/74/4f/256aca690709e9b008b7108bc85fba619a2bc37c6d80743d18abad16ee09/uvloop-0.22.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:56a2d1fae65fd82197cb8c53c367310b3eabe1bbb9fb5a04d28e3e3520e4f702", size = 3804529, upload-time = "2025-10-16T22:16:25.246Z" }, - { url = "https://files.pythonhosted.org/packages/7f/74/03c05ae4737e871923d21a76fe28b6aad57f5c03b6e6bfcfa5ad616013e4/uvloop-0.22.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:40631b049d5972c6755b06d0bfe8233b1bd9a8a6392d9d1c45c10b6f9e9b2733", size = 3621267, upload-time = "2025-10-16T22:16:26.819Z" }, - { url = "https://files.pythonhosted.org/packages/75/be/f8e590fe61d18b4a92070905497aec4c0e64ae1761498cad09023f3f4b3e/uvloop-0.22.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:535cc37b3a04f6cd2c1ef65fa1d370c9a35b6695df735fcff5427323f2cd5473", size = 3723105, upload-time = "2025-10-16T22:16:28.252Z" }, - { url = "https://files.pythonhosted.org/packages/3d/ff/7f72e8170be527b4977b033239a83a68d5c881cc4775fca255c677f7ac5d/uvloop-0.22.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42", size = 1359936, upload-time = "2025-10-16T22:16:29.436Z" }, - { url = "https://files.pythonhosted.org/packages/c3/c6/e5d433f88fd54d81ef4be58b2b7b0cea13c442454a1db703a1eea0db1a59/uvloop-0.22.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6", size = 752769, upload-time = "2025-10-16T22:16:30.493Z" }, - { url = "https://files.pythonhosted.org/packages/24/68/a6ac446820273e71aa762fa21cdcc09861edd3536ff47c5cd3b7afb10eeb/uvloop-0.22.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370", size = 4317413, upload-time = "2025-10-16T22:16:31.644Z" }, - { url = "https://files.pythonhosted.org/packages/5f/6f/e62b4dfc7ad6518e7eff2516f680d02a0f6eb62c0c212e152ca708a0085e/uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4", size = 4426307, upload-time = "2025-10-16T22:16:32.917Z" }, - { url = "https://files.pythonhosted.org/packages/90/60/97362554ac21e20e81bcef1150cb2a7e4ffdaf8ea1e5b2e8bf7a053caa18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2", size = 4131970, upload-time = "2025-10-16T22:16:34.015Z" }, - { url = "https://files.pythonhosted.org/packages/99/39/6b3f7d234ba3964c428a6e40006340f53ba37993f46ed6e111c6e9141d18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0", size = 4296343, upload-time = "2025-10-16T22:16:35.149Z" }, - { url = "https://files.pythonhosted.org/packages/89/8c/182a2a593195bfd39842ea68ebc084e20c850806117213f5a299dfc513d9/uvloop-0.22.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:561577354eb94200d75aca23fbde86ee11be36b00e52a4eaf8f50fb0c86b7705", size = 1358611, upload-time = "2025-10-16T22:16:36.833Z" }, - { url = "https://files.pythonhosted.org/packages/d2/14/e301ee96a6dc95224b6f1162cd3312f6d1217be3907b79173b06785f2fe7/uvloop-0.22.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1cdf5192ab3e674ca26da2eada35b288d2fa49fdd0f357a19f0e7c4e7d5077c8", size = 751811, upload-time = "2025-10-16T22:16:38.275Z" }, - { url = "https://files.pythonhosted.org/packages/b7/02/654426ce265ac19e2980bfd9ea6590ca96a56f10c76e63801a2df01c0486/uvloop-0.22.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6e2ea3d6190a2968f4a14a23019d3b16870dd2190cd69c8180f7c632d21de68d", size = 4288562, upload-time = "2025-10-16T22:16:39.375Z" }, - { url = "https://files.pythonhosted.org/packages/15/c0/0be24758891ef825f2065cd5db8741aaddabe3e248ee6acc5e8a80f04005/uvloop-0.22.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0530a5fbad9c9e4ee3f2b33b148c6a64d47bbad8000ea63704fa8260f4cf728e", size = 4366890, upload-time = "2025-10-16T22:16:40.547Z" }, - { url = "https://files.pythonhosted.org/packages/d2/53/8369e5219a5855869bcee5f4d317f6da0e2c669aecf0ef7d371e3d084449/uvloop-0.22.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bc5ef13bbc10b5335792360623cc378d52d7e62c2de64660616478c32cd0598e", size = 4119472, upload-time = "2025-10-16T22:16:41.694Z" }, - { url = "https://files.pythonhosted.org/packages/f8/ba/d69adbe699b768f6b29a5eec7b47dd610bd17a69de51b251126a801369ea/uvloop-0.22.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1f38ec5e3f18c8a10ded09742f7fb8de0108796eb673f30ce7762ce1b8550cad", size = 4239051, upload-time = "2025-10-16T22:16:43.224Z" }, - { url = "https://files.pythonhosted.org/packages/90/cd/b62bdeaa429758aee8de8b00ac0dd26593a9de93d302bff3d21439e9791d/uvloop-0.22.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3879b88423ec7e97cd4eba2a443aa26ed4e59b45e6b76aabf13fe2f27023a142", size = 1362067, upload-time = "2025-10-16T22:16:44.503Z" }, - { url = "https://files.pythonhosted.org/packages/0d/f8/a132124dfda0777e489ca86732e85e69afcd1ff7686647000050ba670689/uvloop-0.22.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4baa86acedf1d62115c1dc6ad1e17134476688f08c6efd8a2ab076e815665c74", size = 752423, upload-time = "2025-10-16T22:16:45.968Z" }, - { url = "https://files.pythonhosted.org/packages/a3/94/94af78c156f88da4b3a733773ad5ba0b164393e357cc4bd0ab2e2677a7d6/uvloop-0.22.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:297c27d8003520596236bdb2335e6b3f649480bd09e00d1e3a99144b691d2a35", size = 4272437, upload-time = "2025-10-16T22:16:47.451Z" }, - { url = "https://files.pythonhosted.org/packages/b5/35/60249e9fd07b32c665192cec7af29e06c7cd96fa1d08b84f012a56a0b38e/uvloop-0.22.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c1955d5a1dd43198244d47664a5858082a3239766a839b2102a269aaff7a4e25", size = 4292101, upload-time = "2025-10-16T22:16:49.318Z" }, - { url = "https://files.pythonhosted.org/packages/02/62/67d382dfcb25d0a98ce73c11ed1a6fba5037a1a1d533dcbb7cab033a2636/uvloop-0.22.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b31dc2fccbd42adc73bc4e7cdbae4fc5086cf378979e53ca5d0301838c5682c6", size = 4114158, upload-time = "2025-10-16T22:16:50.517Z" }, - { url = "https://files.pythonhosted.org/packages/f0/7a/f1171b4a882a5d13c8b7576f348acfe6074d72eaf52cccef752f748d4a9f/uvloop-0.22.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:93f617675b2d03af4e72a5333ef89450dfaa5321303ede6e67ba9c9d26878079", size = 4177360, upload-time = "2025-10-16T22:16:52.646Z" }, - { url = "https://files.pythonhosted.org/packages/79/7b/b01414f31546caf0919da80ad57cbfe24c56b151d12af68cee1b04922ca8/uvloop-0.22.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:37554f70528f60cad66945b885eb01f1bb514f132d92b6eeed1c90fd54ed6289", size = 1454790, upload-time = "2025-10-16T22:16:54.355Z" }, - { url = "https://files.pythonhosted.org/packages/d4/31/0bb232318dd838cad3fa8fb0c68c8b40e1145b32025581975e18b11fab40/uvloop-0.22.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b76324e2dc033a0b2f435f33eb88ff9913c156ef78e153fb210e03c13da746b3", size = 796783, upload-time = "2025-10-16T22:16:55.906Z" }, - { url = "https://files.pythonhosted.org/packages/42/38/c9b09f3271a7a723a5de69f8e237ab8e7803183131bc57c890db0b6bb872/uvloop-0.22.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:badb4d8e58ee08dad957002027830d5c3b06aea446a6a3744483c2b3b745345c", size = 4647548, upload-time = "2025-10-16T22:16:57.008Z" }, - { url = "https://files.pythonhosted.org/packages/c1/37/945b4ca0ac27e3dc4952642d4c900edd030b3da6c9634875af6e13ae80e5/uvloop-0.22.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b91328c72635f6f9e0282e4a57da7470c7350ab1c9f48546c0f2866205349d21", size = 4467065, upload-time = "2025-10-16T22:16:58.206Z" }, - { url = "https://files.pythonhosted.org/packages/97/cc/48d232f33d60e2e2e0b42f4e73455b146b76ebe216487e862700457fbf3c/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:daf620c2995d193449393d6c62131b3fbd40a63bf7b307a1527856ace637fe88", size = 4328384, upload-time = "2025-10-16T22:16:59.36Z" }, - { url = "https://files.pythonhosted.org/packages/e4/16/c1fd27e9549f3c4baf1dc9c20c456cd2f822dbf8de9f463824b0c0357e06/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6cde23eeda1a25c75b2e07d39970f3374105d5eafbaab2a4482be82f272d5a5e", size = 4296730, upload-time = "2025-10-16T22:17:00.744Z" }, -] - -[[package]] -name = "watchfiles" -version = "1.2.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/cd/41/5e1a4bb12aac5f1493fa1bdc11154eca3b258ca4eba65d39c473fe19d8e9/watchfiles-1.2.0.tar.gz", hash = "sha256:c995fba777f1ea992f090f9236e9284cf7a5d1a0130dd5a3d82c598cacd76838", size = 108252, upload-time = "2026-05-18T04:32:04.251Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0d/5a/2bf22ecb24916983bf1cc0095e7dea2741d14d6553b0d6a2ac8bc96eca93/watchfiles-1.2.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:bb68bf4df85abebe5efddc53cf2075520f243a59868d9b3973278b23e76962a9", size = 400471, upload-time = "2026-05-18T04:31:08.908Z" }, - { url = "https://files.pythonhosted.org/packages/55/70/dea1f6a0e76607841a60fb51af150e70124864673f61704abb62b90cdcc7/watchfiles-1.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c16cb06dd17d43b9d185094268459eac92c9538356f050e55b54e82cf700e1d4", size = 394599, upload-time = "2026-05-18T04:30:19.845Z" }, - { url = "https://files.pythonhosted.org/packages/18/52/752dcc7dc817baef5e89518732925795ce52e36a683a9a3c9fb68b21504e/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77a0feab9af4c021c581f695258c642b3d10c5fd4c676e33a0d8606425d82631", size = 455458, upload-time = "2026-05-18T04:30:29.126Z" }, - { url = "https://files.pythonhosted.org/packages/12/48/366ebbb22fcc504c2f72b45f0b7e72f40a18795cc01752c16066d597b67a/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a16ffe19bf5cf9f5edaa1ad1dd830c5a816e8feec430c522302ab55483a4b994", size = 460513, upload-time = "2026-05-18T04:31:40.85Z" }, - { url = "https://files.pythonhosted.org/packages/ad/44/1f9e1b15e7a729062e0d0c3d0d7225ea4ab98b2267ef87287153be2495fc/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:204f299afcbd65918ab78dbc52626b0ae45e9d8cef403fdbf33ecf9e40eac66e", size = 493616, upload-time = "2026-05-18T04:30:58.47Z" }, - { url = "https://files.pythonhosted.org/packages/7e/55/8b1086dcc8a1d6a697a62767bd7ea368e74c61c6fd171683cfe24a3fe5d2/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:11743adfa510bfffebe97659fb280182b5c9b238708f667e866f308c3430dc19", size = 573154, upload-time = "2026-05-18T04:30:37.903Z" }, - { url = "https://files.pythonhosted.org/packages/14/7a/242f400cc77fafa7b18d53d19d9cb64fc6a6f61f28c55913bae7c674d92a/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eb72919d93e3a16fc451d3aa3d4b1698423daca1b382d3d959c9ac51297c12a8", size = 467046, upload-time = "2026-05-18T04:30:41.869Z" }, - { url = "https://files.pythonhosted.org/packages/02/c8/79eee650c62d2c186598489814468e389b5def0ebe755399ff645b35b1b2/watchfiles-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b62f042afde2dde21ec1d2c1a74361e804673df86f51e418a999c9acfe671b07", size = 457100, upload-time = "2026-05-18T04:31:13.064Z" }, - { url = "https://files.pythonhosted.org/packages/81/36/519f6dbb7a95e4fe7c1513ed25b1520295ef9905a27f1f2226a73892bfb7/watchfiles-1.2.0-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:027ae72bfdfd254862065d8b3e2a815c6ab9b1853ce41e6648ece84afd34a551", size = 467038, upload-time = "2026-05-18T04:30:32.915Z" }, - { url = "https://files.pythonhosted.org/packages/2f/12/951af6b9f89097e02511122258402cb3578443021930b70cf968d6310dc0/watchfiles-1.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e1cfd51e97e13ff3bd047c140764d277fc9b95b7cb5da59e46a47d167adab310", size = 632563, upload-time = "2026-05-18T04:30:11.539Z" }, - { url = "https://files.pythonhosted.org/packages/28/cc/0cba1f0a6117b7ec117271bdc3cb3a5a252005959755a2c09a745e0942cc/watchfiles-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:24b2405c0a46738dd9e1cf7135aa5dbdb9d42d024628651b3b13d5117e99f8df", size = 660851, upload-time = "2026-05-18T04:31:53.186Z" }, - { url = "https://files.pythonhosted.org/packages/d0/f2/26347558cc8bf6877845e66b315f644d03c173906aa09e233a3f4fd23928/watchfiles-1.2.0-cp310-cp310-win32.whl", hash = "sha256:8c520725602756229f045b032a1ff33d7ef0f7404189d62f6c2438cb6d8ef6a1", size = 277023, upload-time = "2026-05-18T04:30:18.825Z" }, - { url = "https://files.pythonhosted.org/packages/6d/68/a5e67b6b68e94f4c1511d61c46c55eba0737583620b6febf194c7b9cc23f/watchfiles-1.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:03b14855c6f35539e2d95c442ae9530a75762f1e26567152b9ed05f96534a74d", size = 290107, upload-time = "2026-05-18T04:32:09.677Z" }, - { url = "https://files.pythonhosted.org/packages/fc/3d/8024c801df84d1587740d0359e7fdd80afeae3d159011f3d5376dd82f18e/watchfiles-1.2.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:704fd259e332e01f9b9c178f4bce9e49027e5587cc2600eeeaf8e76e1c846201", size = 400242, upload-time = "2026-05-18T04:31:19.014Z" }, - { url = "https://files.pythonhosted.org/packages/87/5b/f4dfd45323e949984a3a7f9dc31d1cbb049921e7d98253488dda72ccdaa9/watchfiles-1.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6543cf55d170003296d185c0af981f3e1311564907e1f4e08671fc7693a890a5", size = 394562, upload-time = "2026-05-18T04:30:08.46Z" }, - { url = "https://files.pythonhosted.org/packages/98/d8/19483ef075d601c409bce8bcbb5c0f81a10876fff870400568f08ce484a1/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89d8c2394a065ca86f5d2910ff263ae67c127e1376ccc4f9fc35c71db879f80a", size = 456611, upload-time = "2026-05-18T04:30:45.723Z" }, - { url = "https://files.pythonhosted.org/packages/b1/6a/cc81fbe7ee42f2f22e661a6e12def7807e01b14b2f39e0ff83fd373fd307/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:772b80df316480d894a0e3165fdd19cf77f5d17f9a787f94029465ad0e3529d1", size = 461379, upload-time = "2026-05-18T04:31:29.292Z" }, - { url = "https://files.pythonhosted.org/packages/b1/57/7e669002082c0a0f4fb5113bb70125f7110124b846b0a11bc5ae8e90eac1/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d158cd89df6053823533e06fb1d73c549133bff5f0396170c0e53d9559340717", size = 493556, upload-time = "2026-05-18T04:30:05.44Z" }, - { url = "https://files.pythonhosted.org/packages/45/7d/f60a2b19807b21fe8281f3a8da4f59eef0d5f96825ac4680ba2d4f2ebf91/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d516b3283a758e087841aedb8031549fb41ced08f3db10aa6d2bf32dc042525b", size = 575255, upload-time = "2026-05-18T04:30:40.568Z" }, - { url = "https://files.pythonhosted.org/packages/bd/49/77f5b5e6efbcd57482f74948ebb1b97e5c0046d6b61475042d830c84b3ff/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:53b2290c92e0506d102cd448fbc610d87079553f86caa39d67440856a8b8bba5", size = 467052, upload-time = "2026-05-18T04:31:17.942Z" }, - { url = "https://files.pythonhosted.org/packages/ee/5a/73e2959af1b97fd5d556f9a8bdba017be23ceeef731869d5eaa0a753d5a3/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a711b51aec4370d0dcda5b6c09463206f133a5759341d7744b953a7b62e1100e", size = 456858, upload-time = "2026-05-18T04:30:30.182Z" }, - { url = "https://files.pythonhosted.org/packages/50/57/1bc8c27fad7e6c19bddee15d276dbb6ab72480ec01c127afff1673aee417/watchfiles-1.2.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:e2ca07fa7d89195ec0865d3d285666286740bfa83d83e5cee204043a31ecc165", size = 467579, upload-time = "2026-05-18T04:32:15.897Z" }, - { url = "https://files.pythonhosted.org/packages/09/6c/3c2e44edba3553c5e3c3b8c8a2a6dee6b9e12ae2cf4bd2378bebf9dc3038/watchfiles-1.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e0618518f282c4ebff60f5e5b1247b6d91bb8b9f4476947563a1e74acc66f3c6", size = 633253, upload-time = "2026-05-18T04:31:37.123Z" }, - { url = "https://files.pythonhosted.org/packages/30/c2/d8c84a882ab39bbefcc4915ab3e91830b7a7e990c5570b0b69075aba3faf/watchfiles-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0d191c054d0715c3c95c99df9b8dbf6fd096d8c1e021e8f212e1bd8bc444ccb5", size = 660713, upload-time = "2026-05-18T04:31:24.62Z" }, - { url = "https://files.pythonhosted.org/packages/a9/07/f97736a5fc605364fe67b25e9fa4a6965dfd4840d50c406ada507e9d735f/watchfiles-1.2.0-cp311-cp311-win32.whl", hash = "sha256:9342472aff9b093c5acd4f6d8f70ae0937964ab56542502bcf5579782da69ae8", size = 277222, upload-time = "2026-05-18T04:31:21.131Z" }, - { url = "https://files.pythonhosted.org/packages/cf/99/2b04981977fc2608afd60360d928c6aecf6b950292ca221d98f4005f6694/watchfiles-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:dbd6c97045dad81227c8d040173da044c1de08de64a5ea8b555da4aee1d5fa22", size = 290274, upload-time = "2026-05-18T04:31:45.966Z" }, - { url = "https://files.pythonhosted.org/packages/3c/74/f7f58a7075ee9cf612b0cfcddb78b8cd8234f0742d6f0075cf0da2dde1c6/watchfiles-1.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:57a2d9fa4fb4c2ecae57b13dfff2c7ab53e21a2ba674fe9f05506680fcdcc0d7", size = 283460, upload-time = "2026-05-18T04:31:39.126Z" }, - { url = "https://files.pythonhosted.org/packages/b8/2f/e42c992d2afda3108ea1c02acecc991b9f31d05c14adc2a7cee9ee211fc4/watchfiles-1.2.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:bc13eb17538be00c874699dc0abe4ee2bc8d50bb1166a6b9e175ef3fd7eb8f26", size = 400115, upload-time = "2026-05-18T04:32:02.06Z" }, - { url = "https://files.pythonhosted.org/packages/5f/8f/6af2ea19065c91d8b0ea3516fdfc8c0d349f407e8e9fbf4e5a17360de8ad/watchfiles-1.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2d95ddc1eb6914154253d239089900813f6a767e174b8e6a50e7fdacb7e4236c", size = 393659, upload-time = "2026-05-18T04:30:50.951Z" }, - { url = "https://files.pythonhosted.org/packages/13/01/b32a967c56fb3e3e5be3db52c3d3b87fa4513aa367d8ed1ad96d42952e5f/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f70d8b291ef6e88d19b1f297a6905ddb978888d9272b0d05e6f53309856bcfc", size = 453207, upload-time = "2026-05-18T04:31:04.231Z" }, - { url = "https://files.pythonhosted.org/packages/04/98/97557a812180338cb1abd32e1cffcc4588f59b5f23e0cb006b2ba95ba64a/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56d8641cf834c2836922899105bd3ce3d0dfc69291d52edf0b4d0436829b34c0", size = 459273, upload-time = "2026-05-18T04:31:50.377Z" }, - { url = "https://files.pythonhosted.org/packages/e8/a8/b4b08dcb7653b8087c6586f7ce649505900e866bbcfe40dc9587af02e686/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2581a94056e55d7d0a31a823ea92bf73749c489ca2285bfdc0fbe6b2bb49d50c", size = 489927, upload-time = "2026-05-18T04:31:42.485Z" }, - { url = "https://files.pythonhosted.org/packages/50/94/3dceea03545d2e5ddfd839f0ddd5e1cecbf1697b5a428d5ba11cef6af95d/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:41bc1199f7523b3f82843c88cbb979180c949caef0342cf90968f178e5d49b01", size = 570476, upload-time = "2026-05-18T04:31:03.071Z" }, - { url = "https://files.pythonhosted.org/packages/cc/f2/d39a5450c3532092b91f81d274360e613c2371bc874a89c7a1a3c5e8d138/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7571e4464cb6e434958f867f7f730b8ab0b75e3f8e5eac0499168486ab3c33a8", size = 465650, upload-time = "2026-05-18T04:30:12.701Z" }, - { url = "https://files.pythonhosted.org/packages/22/24/ed72f68cbc1333ca9b9f2200aa048bb6658ae41709bc1caad4310f4bdffd/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e53a384f76b631c3ae5334ce6a52f0baa3a911eb94a4eac7f160079868b716d5", size = 456398, upload-time = "2026-05-18T04:30:13.784Z" }, - { url = "https://files.pythonhosted.org/packages/0d/64/982ef4a4e5bab5b6e5b6becc8cd5e732f6130a78b855f0abec6439a9a135/watchfiles-1.2.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:d20029a60a71a052a24c4db7673bc4de39ab89adbaccbfb5d67987c5d73f424d", size = 465140, upload-time = "2026-05-18T04:31:52.111Z" }, - { url = "https://files.pythonhosted.org/packages/a0/0c/95282abf4ed680b6096010bcfc30c5fa7a041fc5aa5a2ad17a2cc6c75bba/watchfiles-1.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:2cb93af48550faf1cea04c303107c8b75833de7013e57ce27d3b8d21d8d0f58c", size = 630259, upload-time = "2026-05-18T04:31:25.676Z" }, - { url = "https://files.pythonhosted.org/packages/30/45/607c1de1530c4bdcf2cf1d1ecc2505ddba5d96bd43ba9f2b0e79876f850f/watchfiles-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2995c176de7692b86a2e4c58d9ec718f753150a979cb4a754e2b4ffa38e70906", size = 659859, upload-time = "2026-05-18T04:30:24.333Z" }, - { url = "https://files.pythonhosted.org/packages/fa/08/d9e2e0f9e8e6791d33aefc694ad7eefa7f901f63caff84a81ded38692f9c/watchfiles-1.2.0-cp312-cp312-win32.whl", hash = "sha256:7a2cffd17d27d2ecbb310c2b1d8174f222a5495b1a721894afa88ec11e25b898", size = 275480, upload-time = "2026-05-18T04:30:31.307Z" }, - { url = "https://files.pythonhosted.org/packages/1c/e6/9d42569c0102645cc8cea5d8c7d8a1e9d4ada2cb7f05f75e554b8aa2202a/watchfiles-1.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:f155b3a1b2a5fc89cdc70d47ee5d54e3b75e88efa34982028a35daef9ba00379", size = 288718, upload-time = "2026-05-18T04:32:10.745Z" }, - { url = "https://files.pythonhosted.org/packages/0a/26/88e0dc6ee3898169d7fa22bb6a69cabf2502d2ee25cb8c876d1262d204f8/watchfiles-1.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:8fa585ede612ee9f9e91b18bebf9ba11b9ae29a4e3a0d0cf6fca3e382133f0d5", size = 281026, upload-time = "2026-05-18T04:30:22.23Z" }, - { url = "https://files.pythonhosted.org/packages/d1/4d/70a7feced9f87e2ff26dba42667290f41694fc64646c67261fbb8cab5d5c/watchfiles-1.2.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:01ea8d66f0693b9b60a6541c8d10263091ca9a9060d242f3c1f3143f9aad2c98", size = 399730, upload-time = "2026-05-18T04:31:38.162Z" }, - { url = "https://files.pythonhosted.org/packages/31/3a/0da302f2307aee316922806ebd5726c542cbd787c938271cf14a074c7daf/watchfiles-1.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7ba0480b9a74af058f43b337e937a451e109295c420916d68ad24e3dc02f5e44", size = 392842, upload-time = "2026-05-18T04:30:27.051Z" }, - { url = "https://files.pythonhosted.org/packages/db/ef/d5bdb705c224dbc256aa0c1ec47bf4e61ec52558f2afb44a71a1fe4d7015/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f34e26a19f91f710c08e0183429f0d1d15df734e6bc78c31e77b9ea9c433658", size = 452989, upload-time = "2026-05-18T04:31:11.945Z" }, - { url = "https://files.pythonhosted.org/packages/71/29/5495f2c1661949ef7a35e4d71111d129cfe7606414a26887a919d0a55406/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b4e77f6a55f858504069abd35d336a637555c09bca453dde1ee1e5ada8a6a1fb", size = 458978, upload-time = "2026-05-18T04:30:52.606Z" }, - { url = "https://files.pythonhosted.org/packages/d5/8c/7f9c07c433811c2fffd93e13fdfb7135de9aab5f2ae41be08960fa0047dc/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0cb4d80e212f116474a545c21c912b445f16bb0cef9e6a73a498164223e14e2f", size = 490248, upload-time = "2026-05-18T04:31:36.003Z" }, - { url = "https://files.pythonhosted.org/packages/3c/11/d93632febc52fbc21be90231bb7c17fd5387f46c9076fd40a5f9c2ae6910/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b974946a10af379d425e2eef5b62f5c6ebeaccf91d45eaad6f5b27ecd4f91aa0", size = 571847, upload-time = "2026-05-18T04:31:10.862Z" }, - { url = "https://files.pythonhosted.org/packages/55/b4/383173e73aabb07ad1d9c7aa859d95437ac46a6d6a1e11005facda0c9d19/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86bc13c25a8d1fcd70b51d0ce7c9b65e90de5666fcbfd3e34957cc73ee19aeb5", size = 465974, upload-time = "2026-05-18T04:30:17.006Z" }, - { url = "https://files.pythonhosted.org/packages/a7/6c/89b1a230a78f57c52dd8893adb1f92f94411721b6ec12596c56d98c74356/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca148d73dea36c9763aaa351e4d7a51780ec1584217c45276f4fe8239c768b71", size = 454782, upload-time = "2026-05-18T04:30:35.656Z" }, - { url = "https://files.pythonhosted.org/packages/24/62/1732118367cfff0a9fce3bf62ff4bfded09ef5df21d9d446b858b3f70a96/watchfiles-1.2.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:c525543d91961c6955b2636b308569e84a1d1c5f5f2932041ab9ef46422f43e3", size = 465182, upload-time = "2026-05-18T04:30:20.846Z" }, - { url = "https://files.pythonhosted.org/packages/28/96/716f7e5f51339bf22963f3345f9f27d7f3b30e2eadc597e257c881dd3c53/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:a204794696ffb8f9b10fba6f7cb5216d42f3b2b71860ccac6b6e42f5f10973b0", size = 629841, upload-time = "2026-05-18T04:31:05.397Z" }, - { url = "https://files.pythonhosted.org/packages/4c/fe/c40783950fd771ccf66ab3ec2722d188a9af1c7f96c6e811f36e40c6e03f/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:10d86db20695afe7997ac9e1717637d6714a8d0220458c33f3d2061f54cec427", size = 658028, upload-time = "2026-05-18T04:31:48.22Z" }, - { url = "https://files.pythonhosted.org/packages/71/72/4508db1856d1d87fcbb3b63f4839bab1b5682cb0e8d224d122263c09654a/watchfiles-1.2.0-cp313-cp313-win32.whl", hash = "sha256:eb283ee99e21ad6443c8cdb06ac5b34b1308c329cbdf03fa02b445363714c799", size = 275183, upload-time = "2026-05-18T04:30:59.57Z" }, - { url = "https://files.pythonhosted.org/packages/f9/36/14b76ca57652e5cc5fd1c11f32a261292c08a0d19a00351013c2549cbfb2/watchfiles-1.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:a0f27f01bee51861392bb6b7c4fdb290b27d1eb194e9e28788d68102a0e898d9", size = 288059, upload-time = "2026-05-18T04:32:07.937Z" }, - { url = "https://files.pythonhosted.org/packages/1b/8d/0a85e395398d8d20fadfe5c5d32c726eee17a519e78fb356f2cf7531bffe/watchfiles-1.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:3651aa7058595e9cfb75d35dd5ada2bf9f48a5b8a0f3562821d3e210c507e077", size = 280186, upload-time = "2026-05-18T04:31:54.484Z" }, - { url = "https://files.pythonhosted.org/packages/37/68/36db056f1fdcc5f07302f56e631774d6835bcd6fa3ace402304621d5f9e5/watchfiles-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:faea288b6f0ab1902ef08f4ca6de005dccf856c4e0c4f21b8c5fce02d90a1b08", size = 399031, upload-time = "2026-05-18T04:30:44.576Z" }, - { url = "https://files.pythonhosted.org/packages/c1/64/01a9d6f66a82a5c101ce939274106cc72759d62427e153f01edd2b9f87c2/watchfiles-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:01859b11fd9fbca670f4d5da00fbac282cfea9bd67a2125d8b2833a3b5617ea9", size = 391205, upload-time = "2026-05-18T04:30:25.413Z" }, - { url = "https://files.pythonhosted.org/packages/84/2c/0a44fe058cb4bb7b8ede6b6670698bbb7c0400740e378d00022189b7b31d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fff610d7bb2256a317bb1e96f0d7862c7aa8076733ee5df0fd41bbe76a24a4f4", size = 451892, upload-time = "2026-05-18T04:32:14.005Z" }, - { url = "https://files.pythonhosted.org/packages/67/a1/351e0d56cd35e6488b5c8b4fb11a809a5bc923e8fe8fed9faf8920be0c89/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b141a4891c995a039cd89e9a49e62df1dc8a559a5d1a6e4c7106d16c12777a55", size = 458867, upload-time = "2026-05-18T04:31:22.279Z" }, - { url = "https://files.pythonhosted.org/packages/d5/7d/9d09605187f1b838998624049fcf8bf47b73c1a3b76901fcac1782f62277/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f22943b7770483f6ea0721c6b11d022947a98eb0acae14694de034f4d0d38925", size = 490217, upload-time = "2026-05-18T04:31:43.657Z" }, - { url = "https://files.pythonhosted.org/packages/60/5d/a17a16eccb182f04188cd308ec24b1a71a9b5c4e7098269cf35d9fa56d02/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1bc6195825b7dcd217968bb1f801a60fd4c16e8eeab5bedc7fe917d7d5995ab4", size = 571458, upload-time = "2026-05-18T04:32:11.875Z" }, - { url = "https://files.pythonhosted.org/packages/d3/3d/4dd457062083ab1938e5dfd45032eb425cee2ac817287ca8ff4356183e5d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4a4b147f5dca2a5d325a06a832fb43f345751adfbc63204aec30e0d9ca965a2", size = 464707, upload-time = "2026-05-18T04:30:43.492Z" }, - { url = "https://files.pythonhosted.org/packages/c6/71/ea8c57b128f5383de74d0c7d2d9c57ad7c9a65a930c451bd25d524b295b7/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4543579a9bdb0c9560039b4ffddbdb39545707659fbc430ce4c10f3f68d557f9", size = 454663, upload-time = "2026-05-18T04:30:16.061Z" }, - { url = "https://files.pythonhosted.org/packages/53/fd/2e812bf938406d7db351f0703ddd3fc6c061cf30d96153a77bc79a943a44/watchfiles-1.2.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:20aa0e708b920bde876a4aa82dc7dd6ebea228a63a67cda6632c2fc87b787efa", size = 463537, upload-time = "2026-05-18T04:31:44.9Z" }, - { url = "https://files.pythonhosted.org/packages/86/56/d17a7f1dd1bc3035f1072694a551301272f1739c2d8e319c927cb9e29b38/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_aarch64.whl", hash = "sha256:d413349d565dab74297f2a63e84a097936be69bf8f3b3801f27f380e32040f44", size = 629194, upload-time = "2026-05-18T04:31:14.141Z" }, - { url = "https://files.pythonhosted.org/packages/be/06/f1ff66bf5cae50aa4062779a0ecd0bbaf15e466195719074078947d9a17d/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_x86_64.whl", hash = "sha256:f28b2725eb8cce327b9b3ab02415c853011dc55c95832fe90de6bc56f5315f72", size = 656194, upload-time = "2026-05-18T04:31:47.14Z" }, - { url = "https://files.pythonhosted.org/packages/e7/54/a9c7ea9a82a4ac65e7004c0a03920b5cdd2f9c3b678757d9cd425aa51d53/watchfiles-1.2.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:b8c8358484d5fa12ef34f05b7f4168eaf1932f408725ff6d023c33ec17bd79d4", size = 400205, upload-time = "2026-05-18T04:32:05.153Z" }, - { url = "https://files.pythonhosted.org/packages/aa/5d/c9ab3534374a4a67450696905d6ef16a04405448b8dc52bd752ae50423d4/watchfiles-1.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f04b092229ad2c50126dd3c922c8822e51e605993764a33058d4a791ab42281", size = 392508, upload-time = "2026-05-18T04:30:54.849Z" }, - { url = "https://files.pythonhosted.org/packages/26/ca/1ad30103535cf0cecd7b993e8d50edc5351b1820e38f2d22e3df58962feb/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a7ce236284f002a156f70add88efe5c70879cccbb658be0822c54b1306fc09d", size = 452448, upload-time = "2026-05-18T04:30:53.727Z" }, - { url = "https://files.pythonhosted.org/packages/37/a1/ceee2cdf2afbd715fa07758d39c9859513eae411b23196f7fd039e5feedd/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b9909cc2b48468b575eefa944919e1fe8a36c5849d5c7c168f80a8c1db69398e", size = 459605, upload-time = "2026-05-18T04:30:23.312Z" }, - { url = "https://files.pythonhosted.org/packages/e8/f6/421e30fd1cb3907a84ed92ab3f1983e37ba2dca015e9a894a048418417a2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a37faaed405c67e28e6be45a1fa4f206ef5a2860f27c237db9fa30704c38242", size = 490757, upload-time = "2026-05-18T04:30:47.358Z" }, - { url = "https://files.pythonhosted.org/packages/41/b0/55ed1b97ed08be7bba6f9a541cac15f2a858e1d74d2b07b6da70a82aab00/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9649193aa27bd9ff2e80ff29bfaa93085496c7a3a377592823cc58b77ee88add", size = 568672, upload-time = "2026-05-18T04:30:38.915Z" }, - { url = "https://files.pythonhosted.org/packages/d1/cf/d8ae8a80dd7bafab395ea7681c10237311bbf34d37704a8c744e7cf31fc7/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e4ff8e37f99cf1da89e255e07c9c4b37c214038c4283707bdec308cb1b0ea1f", size = 464197, upload-time = "2026-05-18T04:30:09.914Z" }, - { url = "https://files.pythonhosted.org/packages/7c/8a/3076c496ca8dafe0e8cd03fcebdfc47be4b1174b4e5b24ff6e396e6b3af2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:054dc20fd2e3132b4c3883b4a00d72fd6e1f56fdaf89fccd12e8057d74cd74d7", size = 453181, upload-time = "2026-05-18T04:30:14.829Z" }, - { url = "https://files.pythonhosted.org/packages/e5/10/9745e17c98e7b8a86454df0a3c7b5686bd650383f1e9f26e4ebcbd6cc0c0/watchfiles-1.2.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:e140ed30ebde76796b686e67c182cff10ea2fbab186fafd1560f74bb5a473a6e", size = 465109, upload-time = "2026-05-18T04:30:28.123Z" }, - { url = "https://files.pythonhosted.org/packages/8f/95/8ef4a95481d3e0cb52d62a06fa6e972e81424be2d9698b91a2fecca9904c/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:bb7e52ecf68ba46d22df23467b87cffeb2146908aa523ebfe803019618cfda06", size = 630653, upload-time = "2026-05-18T04:31:49.304Z" }, - { url = "https://files.pythonhosted.org/packages/fd/e4/3b3bf36b0f829b50c6ebcb8d031583863c59f923d6a6af3d485e470d0fac/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:23282a321c8baf9b3a3c4afff673f9fe65eb7fdc2338d765ccad9d3d1916a5ba", size = 657838, upload-time = "2026-05-18T04:31:06.497Z" }, - { url = "https://files.pythonhosted.org/packages/21/b1/6cbbb50c1f3002ab568777d44aa21206dfb8807a840990c4037523b51812/watchfiles-1.2.0-cp314-cp314-win32.whl", hash = "sha256:c0db965c5f79aa49fe672d297cf1febc5ad149b658594944f49a54a2b96270a7", size = 275108, upload-time = "2026-05-18T04:30:06.891Z" }, - { url = "https://files.pythonhosted.org/packages/92/45/190ce6db8dcb4536682cf75d3889ff1a27182a58cb519d343cb6d9ea63d8/watchfiles-1.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:71283b39fd17e5408eb123bd37aeecfd9d54c81fc184421943208aadb879d103", size = 288441, upload-time = "2026-05-18T04:32:12.901Z" }, - { url = "https://files.pythonhosted.org/packages/74/0d/3eae1c2313ab08378431d907c3f8095ecca00f3eda33111cf4f0f2591799/watchfiles-1.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:c5c19526f4e54a00f2666a6c0e9e40d582c09e865055ea7378bf0009aab857b3", size = 280684, upload-time = "2026-05-18T04:31:26.902Z" }, - { url = "https://files.pythonhosted.org/packages/b1/75/fb64e6c25d6b5ca636d03df34ffb1c6e9873303e76d27967e045f8df088f/watchfiles-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:d73a585accffa5ae39c17264c36ec3166d2fad7000c780f5ef83b2722afb9dd2", size = 398857, upload-time = "2026-05-18T04:32:17.108Z" }, - { url = "https://files.pythonhosted.org/packages/73/4e/9f7adf01754cbf81843722ccfec169d8f26c69778281a302855cecd2ee08/watchfiles-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ae99b14c5f21e026e0e9d96f40e07d8570ebee6cafd9d8fc318354606daa7a28", size = 392413, upload-time = "2026-05-18T04:31:07.911Z" }, - { url = "https://files.pythonhosted.org/packages/47/c8/bec626bcc2d69f44b9acb24ce7d60ed7b16b73628eea747fcbd169d8edda/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4429f3b105524a10b72c3a819b091c495d2811d419c1e1e8df773a5a5974f831", size = 452409, upload-time = "2026-05-18T04:31:20.142Z" }, - { url = "https://files.pythonhosted.org/packages/00/b7/b6362068e81e7c556d155a34c35d40ac3ef42d747b06d7f6e5bf58e359c2/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43d818978d06062d9b22c4fab2ebe44cf5213d42dc8e62bda8c2760cfa2eeb33", size = 458827, upload-time = "2026-05-18T04:32:06.219Z" }, - { url = "https://files.pythonhosted.org/packages/67/f8/9a813fa42afb1e0b4625e75f0479826644d3ee8dc287e093799bc01f390c/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f732dc58b2dbe69e464ccf8fff7a03b0dd0be439da4c0720d3558527d3d6b4", size = 490104, upload-time = "2026-05-18T04:31:56.034Z" }, - { url = "https://files.pythonhosted.org/packages/2f/bf/27dfb6094ca4c9aad21298b5525b6c53cb36121ee454331d05161e58d130/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f200104103feb097de4cab8fe4f5dd18a2026934c7dea98c55a2f5fd6d5a33b", size = 571360, upload-time = "2026-05-18T04:31:57.133Z" }, - { url = "https://files.pythonhosted.org/packages/fb/39/44a096d67270ea93df91d33877dbe91fbda3aa4f8ec2edf799d93eda8736/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:63ac26eefbf4af1741247d6fb68b11c49a25b2f7413fbd318a83a12aaa9cf666", size = 464644, upload-time = "2026-05-18T04:30:57.33Z" }, - { url = "https://files.pythonhosted.org/packages/0e/80/c7472203bad6268e3ef1ad260739704847898938ad7ea8b63a5131f46b50/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c4997d4e4a55f0d02b6cde327322daf3a0400e5df6c6b15948994bf72497925", size = 454771, upload-time = "2026-05-18T04:30:48.736Z" }, - { url = "https://files.pythonhosted.org/packages/51/cf/3b10b268b4b7f0fc26e9debb5eef1998b515887840f444cd3ec80c688755/watchfiles-1.2.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:4c887eba18b7945ac73067a8b4a66f21cd46c2539b2bc68588f7be6c7eb6d26b", size = 463494, upload-time = "2026-05-18T04:31:33.826Z" }, - { url = "https://files.pythonhosted.org/packages/3d/3e/a4302545cd589262a0dc7d140e86f7688eba3f9c72776c27f7e23b8864c4/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:3416ff151bb6b5a8d8d11664974fbef4d9305b9b2957839ab5a270468fd8df30", size = 629383, upload-time = "2026-05-18T04:31:15.596Z" }, - { url = "https://files.pythonhosted.org/packages/db/99/d5649df0a9a410d45b7c882304d0b790903ac9b6e8f2cfd12114e0c6b9f2/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:0e831a271c035d89789cffc386b6aa1375f39f1cd25eb7ca0997e4970d152fc5", size = 656093, upload-time = "2026-05-18T04:31:58.707Z" }, - { url = "https://files.pythonhosted.org/packages/92/b9/362702539275019a54dd2e94511b31a9b89c5f9e6a21966de7eb692549fc/watchfiles-1.2.0-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:37a6721cdf3f65dbb13aa9503510ccb4451603ac837e44d265d7992a597e1374", size = 400109, upload-time = "2026-05-18T04:31:16.879Z" }, - { url = "https://files.pythonhosted.org/packages/8f/75/71d5ba62db781e5587bded1d944c675374bc4aa37ff33d5018d98e8b6538/watchfiles-1.2.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2b37d10b5a63bd4d87e18472d80fa525bd670586fae62e5dd580452764879b65", size = 392167, upload-time = "2026-05-18T04:31:28.058Z" }, - { url = "https://files.pythonhosted.org/packages/3c/01/c66dd95d0423fe30d31820e2d1d5bda773764131bbb6ac0cb1cf303ac328/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a105bc2283f67e8fbec74253ec2d94925de92ed72c0393f1206bf326b7b7b69", size = 452372, upload-time = "2026-05-18T04:31:00.836Z" }, - { url = "https://files.pythonhosted.org/packages/91/15/2fe99557e72f85627c6a8eed50d889e8d101623e060a22ad75b875cb932d/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5327989a465505f05cfe06f04fa9d0c2fd5432bb243e10e6f012b1bdca3c8579", size = 459596, upload-time = "2026-05-18T04:31:34.96Z" }, - { url = "https://files.pythonhosted.org/packages/ed/23/d4acfa0023367428ed48351b3b9b267893037b6cadae55620c61c24bcfd4/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ecb47f183a8025b2aa18b546725c3657e542112ae9c0613a2af79b4fa8d04ad7", size = 490869, upload-time = "2026-05-18T04:31:59.923Z" }, - { url = "https://files.pythonhosted.org/packages/a4/5f/3164cbdce06c9fb95c4f7b9e2f9760b5e2797af43a9ecc317ef42a23a278/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8520a4ab0e37f770afc34459c4f8f7019e153f9124dc101c15538365875d1ab2", size = 571641, upload-time = "2026-05-18T04:32:00.948Z" }, - { url = "https://files.pythonhosted.org/packages/41/e6/85d3731c55e65cd7690f3f803d24c139588aaf863e4bf2148fe7a7fa1a19/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:71cd71740ed2c15211ebb237ced4e39a1cdf6f80566e5fe95428da1626f4fde6", size = 464444, upload-time = "2026-05-18T04:30:34.298Z" }, - { url = "https://files.pythonhosted.org/packages/f4/7d/562641012b8b09872742c3b8adf9629ec479fd78f8d68ae4a0c13da8add6/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f88af53d6ddaf72179ef613ddc905e6f4785f712b49b80b3bef9f3525e6194b4", size = 453593, upload-time = "2026-05-18T04:31:23.464Z" }, - { url = "https://files.pythonhosted.org/packages/56/fe/cb8ef3d6f929d14158fdaaad9925985b7310abc9384dcd4d82dd0016fb59/watchfiles-1.2.0-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:cee9d5efd929efdac5f7e58f72b3376f676b64050a91c5b99a7094c5b2317488", size = 465096, upload-time = "2026-05-18T04:31:30.384Z" }, - { url = "https://files.pythonhosted.org/packages/25/91/80908e835e100527a9267147b08c0eee1fa6ab0ffec15edc04d1d44885f7/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:b718bf356bbc15e559bd8ef41782b573b8ae0e3f177ab244b440568d7ea02cfb", size = 630638, upload-time = "2026-05-18T04:30:49.89Z" }, - { url = "https://files.pythonhosted.org/packages/46/4b/95ab2f256bb4af3cb2eb23b9317bda984ee6e0f11733a5c004a6c95b06e3/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:922c0e019fe68b3ae392965a766b02a71ba1168c932cebc3733cd52c5fe5b377", size = 657684, upload-time = "2026-05-18T04:31:32.027Z" }, - { url = "https://files.pythonhosted.org/packages/23/f4/7513ef1e85fc4c6331b59479d6d72661fc391fbe543678052ac72c8b6c19/watchfiles-1.2.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:4674d49eb94706dfe666c069fc0a1b646ffcf920473492e209f6d5f60d3f0cc2", size = 403050, upload-time = "2026-05-18T04:30:36.753Z" }, - { url = "https://files.pythonhosted.org/packages/27/0b/a54103cfd732bb703c7a749222011a0483ef3705948dae3b203158601119/watchfiles-1.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:094b9b70103d4e963499bdea001ee3c2697b144cd9ae6218a62c0f89ec9e31db", size = 396629, upload-time = "2026-05-18T04:32:03.268Z" }, - { url = "https://files.pythonhosted.org/packages/5e/2c/73f31a3b893886206c3f54d73e8ad8dee58cdb2f69ad2622e0a8a9e07f4e/watchfiles-1.2.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b0ef001f8c25ad0fa9529f914c1600647ecd0f542d11c19b7894768c67b6acb7", size = 457318, upload-time = "2026-05-18T04:31:01.932Z" }, - { url = "https://files.pythonhosted.org/packages/e9/f9/45d021e4a5cc7b9dd567f7cbb06d3b75f751a690063fb6cc7ec60f4e46b7/watchfiles-1.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a88fc94e647bc4eec523f1caa540258eb71d14278b9daf72fa1e2658a98df0f0", size = 457771, upload-time = "2026-05-18T04:30:56.331Z" }, -] - -[[package]] -name = "websockets" -version = "16.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/8c/02/b9a097e1e16fee4e2fd1ec8c39f6a9c5d6257bae8fa12640caf869f54436/websockets-16.1.tar.gz", hash = "sha256:299468cbe42e2b9981134c7c51d99387d8a7bf562b00183b3eec53f882846dad", size = 182530, upload-time = "2026-07-10T06:32:57.734Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/8c/31/cd11d2796b95c93645bac8e396b0f4bac0896a07a7b87d473bfc359f02c3/websockets-16.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:de72a9c611178b15557d98eabd3101c9663c4d68938510478a6d162f99afd213", size = 179772, upload-time = "2026-07-10T06:30:22.983Z" }, - { url = "https://files.pythonhosted.org/packages/e6/9b/34306d802f9b599eab041688a2086318037560cfae616a860234cca575b6/websockets-16.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:37b0e4d726ffea3776670092d3d13e1cb605076f036a695fd1259de0d9b9fe02", size = 177457, upload-time = "2026-07-10T06:30:24.636Z" }, - { url = "https://files.pythonhosted.org/packages/06/3a/36ebbb978a7af70ff952afe5b22561264967164e9ad68b6734cae94efeb4/websockets-16.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:00d50c0a27098fcb7ab47b3d99a1b1159b534dbcd959fbf05113ebc37e5f927b", size = 177737, upload-time = "2026-07-10T06:30:25.954Z" }, - { url = "https://files.pythonhosted.org/packages/17/d7/944f341d0d3c0450ffd3d171479531df1818cb1df1623af4065113999c44/websockets-16.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1acb698bff1da1782b31aebd8d7a24d7d05453964abcd7d03dbf6e25893908e8", size = 186244, upload-time = "2026-07-10T06:30:27.235Z" }, - { url = "https://files.pythonhosted.org/packages/32/e5/a9b98fc49ef0214718a9c839c6c63856a921877256ec46f371be32decfa8/websockets-16.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc2c453f3b5f99c56b16e233aad5299860558487d26adb2ed27a00c14ca24b8c", size = 187484, upload-time = "2026-07-10T06:30:28.615Z" }, - { url = "https://files.pythonhosted.org/packages/ad/7a/a575b52ca090b1976ffbe4b5f0762d03f399dfcb48eab883101331be71a9/websockets-16.1-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1a9f08a0728b0835f1c6abe1d9b746ab3de49b7336a0e1919cf96be1e76273eb", size = 190143, upload-time = "2026-07-10T06:30:29.91Z" }, - { url = "https://files.pythonhosted.org/packages/7c/40/705fbbd5677242fd36f724e9a94103e6bbdcb7d71e8f4498bfc1a8a7d413/websockets-16.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a089979d6173b27af18026c8d8b0077f83669a9169174482c4651e9f5739a5b6", size = 188004, upload-time = "2026-07-10T06:30:31.357Z" }, - { url = "https://files.pythonhosted.org/packages/8e/0c/58227c8d66b1c4060c53bac8e066fb4fe2603060408e934f48660a448d72/websockets-16.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a3c18dba232ec2b92a68579c9fed8ff5a18f853d1e09fc0b6ca3159e94f689fe", size = 186689, upload-time = "2026-07-10T06:30:32.712Z" }, - { url = "https://files.pythonhosted.org/packages/d0/d0/5c1314782594aa347e0f18808ee277a61986a2a2f9f470df9893183995bd/websockets-16.1-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6c1eb7df4170d5068892a8834fb5c07b9552353deb0dbeb0bff3820481ae4792", size = 184559, upload-time = "2026-07-10T06:30:34.127Z" }, - { url = "https://files.pythonhosted.org/packages/bf/e6/109c6f16850fd674b7e3d0e58b8987f05d3881abaa25f42a9faf5e85f097/websockets-16.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c522bd48e625b6d557aa228967258d6d3da031c4cc21d3352fb302479aa9ba0a", size = 186997, upload-time = "2026-07-10T06:30:35.397Z" }, - { url = "https://files.pythonhosted.org/packages/ed/ec/6afa1aebc59426438b85cf7a3868c53a89005e2250a648c99e99943b90a4/websockets-16.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:d106396927a7f00b0f3a69215c3357f87bf0bca6844247121f7e8291e826a3b1", size = 185621, upload-time = "2026-07-10T06:30:36.88Z" }, - { url = "https://files.pythonhosted.org/packages/27/24/c038fe8682e9345bfa422d2cc5cc68b0491ab942c92e176bf8dfa6e8331f/websockets-16.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:d71bed12909b8039955536e192867d02d76cd3797cedfd0facf822e7668636c3", size = 187384, upload-time = "2026-07-10T06:30:38.096Z" }, - { url = "https://files.pythonhosted.org/packages/30/ca/dc0ef2be39c67394e24bc982a0af59cd6249bf2f4e4272813c5c505d0da9/websockets-16.1-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:9c1cf6f9a936b030b5bed0e800c5ee32069338129084546baf5ff5014dc62fa9", size = 185258, upload-time = "2026-07-10T06:30:39.579Z" }, - { url = "https://files.pythonhosted.org/packages/17/6b/3ffecd83ca3404b41fbdf8e9b178e55b529cd59bf64ea08b5a37b616b568/websockets-16.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:3fd3e6a7af2c8fcdcf4ffbeaf7f54a567b91a83267204187797f31faaa2a4efa", size = 186050, upload-time = "2026-07-10T06:30:40.865Z" }, - { url = "https://files.pythonhosted.org/packages/75/26/2e068497c78f31591a610ab7ef6d8d383ecadbe98f9121e1ebda77ef6d2b/websockets-16.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:dddd27175bf640acae5561fa79b77e8ec71fc445816200523e5c19b6a556fb72", size = 186273, upload-time = "2026-07-10T06:30:42.309Z" }, - { url = "https://files.pythonhosted.org/packages/44/ab/4dc049cb2c9e1be3a2c6fef77118f9c5049979e99cd56a97759d2f40f980/websockets-16.1-cp310-cp310-win32.whl", hash = "sha256:cce36c80b3f2fede7942f1756d3d885fa6fa086766c8c1bcf00695ab80f0d51a", size = 180157, upload-time = "2026-07-10T06:30:43.565Z" }, - { url = "https://files.pythonhosted.org/packages/6d/4f/5e010ce5f66a8e5df380843f704ada508195a021c0c8a0f933639c9ee1c0/websockets-16.1-cp310-cp310-win_amd64.whl", hash = "sha256:115fc4695b94bb855995b23fb1abcb66099a5995575d3d5bc5605a616c58d0eb", size = 180458, upload-time = "2026-07-10T06:30:45.01Z" }, - { url = "https://files.pythonhosted.org/packages/9e/13/d47429afcc2c28616c32640009c84ea3f95660dab805766345b9682468e0/websockets-16.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a9b1d7a63cba8e6b9b77e499a81eab29d31100298d090ad4507d1048c0b9cae0", size = 179770, upload-time = "2026-07-10T06:30:46.308Z" }, - { url = "https://files.pythonhosted.org/packages/6f/c7/2f0a722039a1e0107be73ed672ba604449b4956e48733e8e6b8a005aea42/websockets-16.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:bedbc5efeb96621aa2921d2d92608246691399418cac22acba427eb11877ea1f", size = 177455, upload-time = "2026-07-10T06:30:47.601Z" }, - { url = "https://files.pythonhosted.org/packages/43/6a/c26b0ae449e93d256ce5cdd50d5fe97b575a63e8dcd311a1faa972fd6bc6/websockets-16.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fd847ab82133015afe65d778e7966ab42dba16bd7ad2e5b8a7918db6539f3f94", size = 177731, upload-time = "2026-07-10T06:30:49.102Z" }, - { url = "https://files.pythonhosted.org/packages/cc/3f/381550b344a02f0d2f84cda25e79b54575291bc7022128a41163fe8ba5b0/websockets-16.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e2fb33ccb16ee40a95cc676d7b0ff451a9a2632f11a0dbc2e666326892b2e1de", size = 187066, upload-time = "2026-07-10T06:30:50.505Z" }, - { url = "https://files.pythonhosted.org/packages/4a/87/5ab1ec2086910f23cfb9ec0c1c29fbcc24a9d190b5198b1557c00ce4a47e/websockets-16.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f15b6d9ea9c2eaf6ccab964a082b09bfa6634a495bb0c2e9e7ee6943f58976", size = 188301, upload-time = "2026-07-10T06:30:51.835Z" }, - { url = "https://files.pythonhosted.org/packages/75/4b/bbbb8e6fac4cfc53d7aaa69a3d531bf10799354b0021f4b58914aced8c1a/websockets-16.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:638cf57c48b4ad8ac1ff1e453f4f97db2426b690ddc111e6da96b27b4a340bc3", size = 191594, upload-time = "2026-07-10T06:30:53.229Z" }, - { url = "https://files.pythonhosted.org/packages/5c/da/6c0c349443d6e999f481e3d9a0e57e7ac2956d75d6391bec24b92af3fe13/websockets-16.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2c1c85f61bc9d5eac57ce705d848dc2d2ce3680638300bf4e1da7d749e2cf4ce", size = 188862, upload-time = "2026-07-10T06:30:54.744Z" }, - { url = "https://files.pythonhosted.org/packages/d7/ea/a368d37c010425a5451f42052fe804e754e23333e8448aef5d55c8a8d64f/websockets-16.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:eeab6d27f51c7e579023c971f5e6dff200deadf01faf6831beaecd32052dfaef", size = 187633, upload-time = "2026-07-10T06:30:56.055Z" }, - { url = "https://files.pythonhosted.org/packages/0d/4e/2ecd59add10d0855ec03dbdedfcdacdbd1aaabcd44b7dcbeda27538662e9/websockets-16.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:2ed64e5a97b0b97a0b66e18bfe281317a75fbbd5afe692f939ea8d14a4292f2c", size = 185089, upload-time = "2026-07-10T06:30:57.444Z" }, - { url = "https://files.pythonhosted.org/packages/6f/eb/c6c3dcd7a01097bb0d42f4e9ef21a2c2a491d36b77cd0870ab59f9e8e77f/websockets-16.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9b3b021d0ed4bc16eea9775f62c9fa71acdacba0fc790b38581754dedf29ca60", size = 187790, upload-time = "2026-07-10T06:30:58.731Z" }, - { url = "https://files.pythonhosted.org/packages/9b/3e/775d36885d5e48ab8020aaf377de0ff5fbeb8bc2682a7e46419e4a14521c/websockets-16.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:6eb604a4167f0a0d53c2243dfc667a29f0b43c3436057184e070bb82a1000fa2", size = 186381, upload-time = "2026-07-10T06:31:00.355Z" }, - { url = "https://files.pythonhosted.org/packages/ad/90/6305c00812a92e47d0582604c02bd759db0118bbafc13f707d712dbcf898/websockets-16.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:9a3f125e44c3e34d61d111652e608e0f5b85ce08c225c8d56ad0eb822fa40030", size = 188193, upload-time = "2026-07-10T06:31:01.677Z" }, - { url = "https://files.pythonhosted.org/packages/f6/32/96bf8302c81d961585b4d34a2ddd3f229782f9b8c57bc78bbf98f1b1a4ac/websockets-16.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8fdf0b00d0d1f30d1f06a92cab46fe542eec3eb302a7aee7163f142d0780f216", size = 185771, upload-time = "2026-07-10T06:31:03.062Z" }, - { url = "https://files.pythonhosted.org/packages/e8/1f/e8fe44b1d2dc417d740d9959d28fd2a846f268e7df38a686c04ac7dfe947/websockets-16.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:67b56828712f5fa7852de4c0265c28827311a657a4d275b7312ed0d1a918bee4", size = 186803, upload-time = "2026-07-10T06:31:04.34Z" }, - { url = "https://files.pythonhosted.org/packages/a5/29/b07d3a4e1eb2ab03e94e7f53f0c7a628e85fde6ad86011f7afd08f27b985/websockets-16.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:39c7e7730be33b8f0cd6f0aa8e8c82f9cdd1813f159765e073b2ece65f4824b5", size = 187041, upload-time = "2026-07-10T06:31:05.567Z" }, - { url = "https://files.pythonhosted.org/packages/a6/fd/e0abb8acc435642ac4a671490f6cf781c882f3fe682cdced9080ea455ab5/websockets-16.1-cp311-cp311-win32.whl", hash = "sha256:c54fe94fb2f11e11b48920c5f971e298cec73ac35db56efe57a49db63dfc95d4", size = 180158, upload-time = "2026-07-10T06:31:06.929Z" }, - { url = "https://files.pythonhosted.org/packages/81/06/85574d9458d3b913090087b817df0cc47b68e9a01dd0ab6ac04b77f49b0a/websockets-16.1-cp311-cp311-win_amd64.whl", hash = "sha256:f9f4fb9ae8b802e55609685db98382d48fd3feb1397804e1e774968dea0f28c7", size = 180456, upload-time = "2026-07-10T06:31:08.247Z" }, - { url = "https://files.pythonhosted.org/packages/a1/52/748c014f07f4e0e170c8932de7e647a1511d5ab3049cd978797136aee577/websockets-16.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b6aa3f7ad345cf3862c21f4fbf2ef5e14d911348476c2845e137c091fe3a3f0b", size = 179798, upload-time = "2026-07-10T06:31:09.664Z" }, - { url = "https://files.pythonhosted.org/packages/8b/5e/2a2e64d977d084e49d37c187c26c056daaff41965be7300cd5dbde6f8b07/websockets-16.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b43fcfb521ac2f34ba80b7b8ea16303e4ad82dd8af667bf40839ad3a5d37b164", size = 177478, upload-time = "2026-07-10T06:31:11.072Z" }, - { url = "https://files.pythonhosted.org/packages/aa/12/5b85b4e75d697e548a94962ce5c036b05dd21cb9545759d555c5586422fc/websockets-16.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2bd3e12cd9afbe2baedae0b1eeade8ba64329b60fe2f9abdc966bd10fd2c2ef5", size = 177746, upload-time = "2026-07-10T06:31:12.386Z" }, - { url = "https://files.pythonhosted.org/packages/9d/62/79b1c8f0cee0da648b4899e1c5b0dbd3aa59846985136a54854db6827ab4/websockets-16.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:35f41979c8623df9bd30d949d82010a8fda5c56ff12cd8508a5b7272b6d4b53a", size = 187345, upload-time = "2026-07-10T06:31:13.754Z" }, - { url = "https://files.pythonhosted.org/packages/25/34/b7c5c52c2f24280e1c017acb7ad491a566750a5cceca7f3cf999373bba21/websockets-16.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a24d1f35aef07d794a16c853c688e74956c50239bec37b4f2de080056046419b", size = 188581, upload-time = "2026-07-10T06:31:15.075Z" }, - { url = "https://files.pythonhosted.org/packages/bc/37/604193bebcbeffe96fdf795960b83a15d600880c64dc17ec9c31c5b3427d/websockets-16.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0c64c024ddf7a35331b21fcddb562a039c275d2c82e8c2d12939e7da23997270", size = 191362, upload-time = "2026-07-10T06:31:16.395Z" }, - { url = "https://files.pythonhosted.org/packages/a5/b4/5ee27575b367d7110d4d13945e2a9de067ec84dc71e54b87f01e38550d9a/websockets-16.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c3e99757f5baafe20fc598e202ea6f5b0b265186ad38d0a17bd8beca16296955", size = 189216, upload-time = "2026-07-10T06:31:17.776Z" }, - { url = "https://files.pythonhosted.org/packages/7e/22/3e2dcc78d85fc5d9d814895ce6d07d0dfacc0f6aaa1d151f2b8c8d772299/websockets-16.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:353f3bc6e058ac1ccab4b3588e8598837a8c04cfc8351233e6d523be675d844c", size = 187971, upload-time = "2026-07-10T06:31:19.152Z" }, - { url = "https://files.pythonhosted.org/packages/9e/2f/cd271717b93d5ee19626cb5e38a85baab745c86e33db7c31a3ac729b31b8/websockets-16.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0352f5b38b40e857b6428d468fa21dbb4dd4a567d933c26d9831b4efe1b92f43", size = 185381, upload-time = "2026-07-10T06:31:20.665Z" }, - { url = "https://files.pythonhosted.org/packages/78/91/6ad6f2f1426317b5001bd490534208c7360636b35bac1dec2e0c22bfc40e/websockets-16.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:70bd789afab579602968c39f21cb925466505f3edff22f0ae852bca54978a4f9", size = 188015, upload-time = "2026-07-10T06:31:22.024Z" }, - { url = "https://files.pythonhosted.org/packages/c7/6d/533733132ab4c07540efd4a8f0b9a435d3a5059b2f26cc476ace1abf7f45/websockets-16.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d0fb4b46f121eccd539353baebd1083a8767a9a351109453d1d1caecd1ba40c2", size = 186619, upload-time = "2026-07-10T06:31:23.376Z" }, - { url = "https://files.pythonhosted.org/packages/08/73/16c059f3d73b3331eba10793704afa4faa9939234fb08ef7dca35794e8f0/websockets-16.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c14b6634af01541e4efe2954fd8f263386f7aa6d37c01e55dd8109fd17661452", size = 188497, upload-time = "2026-07-10T06:31:25.024Z" }, - { url = "https://files.pythonhosted.org/packages/4d/89/9a8fae7dd2acdcfb1a8844c29fe42b518a04b64fce38a0923b6290e452f1/websockets-16.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:a58532c49a851bcb481e58c1be23b315c17fe2fbbed509d75aeea12f543d2c15", size = 186051, upload-time = "2026-07-10T06:31:26.291Z" }, - { url = "https://files.pythonhosted.org/packages/f6/40/b240c7dd6a0e0c59c1f68377cc3015263521080c327c15f5e753c1f6d378/websockets-16.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4e969170c3b08e1d8dabd990fef1fa702c4233aeaabec33f871806e444f6a0e4", size = 187029, upload-time = "2026-07-10T06:31:27.605Z" }, - { url = "https://files.pythonhosted.org/packages/50/35/524e3fac40e47d6fdcf6c4b2c95ef1bc8a97e01593c90eff86621df7b716/websockets-16.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ff9b000064b88787ba9f7a3cb2af2b68a658ca5aad76458a46469e7124b678a0", size = 187308, upload-time = "2026-07-10T06:31:28.927Z" }, - { url = "https://files.pythonhosted.org/packages/00/13/56840cf62c8859af6ba22b9529da937332468c80f32b598753e8a66d3990/websockets-16.1-cp312-cp312-win32.whl", hash = "sha256:b9f5d83f80f4d7c4bba6d97f3755ac05850c784dce0fd2ab371c4e41172f53ff", size = 180161, upload-time = "2026-07-10T06:31:30.316Z" }, - { url = "https://files.pythonhosted.org/packages/d6/ff/87eb9eb44cb62424a8d729834f2b0515a47e2669fabec29820268f4d50a1/websockets-16.1-cp312-cp312-win_amd64.whl", hash = "sha256:6852c9f653966c16109d3b6f31181fd734f7914927e3f0fa1117af7a18c9aa21", size = 180462, upload-time = "2026-07-10T06:31:31.708Z" }, - { url = "https://files.pythonhosted.org/packages/d9/63/df158b155420b566f025e75613424ad9649a24bcb0e9f259321ab3d58bea/websockets-16.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:b0232ed141cec3df2af5a3959a071c51f40036336b0d37e17faf9ef52fc73e47", size = 179791, upload-time = "2026-07-10T06:31:33.108Z" }, - { url = "https://files.pythonhosted.org/packages/74/cf/00fe9414dfeafa6fe54eae9f5716c8c8e9ac59d192be3b893c096d395846/websockets-16.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a71b73d143991714144e159f767b698f03c4a70b8a65ae1733b650cff488045b", size = 177472, upload-time = "2026-07-10T06:31:34.522Z" }, - { url = "https://files.pythonhosted.org/packages/8b/76/b10633424d40681b4e892ffd08ca5226322b2426e62d4ab71eae484c3a32/websockets-16.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:187323204c3b2fc465e8fc2609e60437c521790cb9c1acb49c4c452a33e57f37", size = 177737, upload-time = "2026-07-10T06:31:35.964Z" }, - { url = "https://files.pythonhosted.org/packages/dc/61/d3bb03b2229bb1afd72008742d586cf1ea240dce64dd48c71c8c7fd3294c/websockets-16.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9dba74233c8c3ce368850818c98354dad2570f57231b3fd3bd00d7aa57628881", size = 187403, upload-time = "2026-07-10T06:31:37.496Z" }, - { url = "https://files.pythonhosted.org/packages/26/16/cc2e80478f688fc3c39c67dc1fac6a0783858058914ebc2489917462cb42/websockets-16.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:63339bc8c63c86a463177775cb7c677691f5bcfac7b3b2f01b286d42acd41600", size = 188639, upload-time = "2026-07-10T06:31:38.86Z" }, - { url = "https://files.pythonhosted.org/packages/15/d6/ad87b2507e57de1cbf897a56c963f2925962ed5e85fbe06aaa83ced27acd/websockets-16.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:23e545ea8ae4263e37cdfd4e22a217f519e48e432728bc461185bbf585f38a83", size = 190078, upload-time = "2026-07-10T06:31:40.218Z" }, - { url = "https://files.pythonhosted.org/packages/9e/1a/5b37b3fd335d5811f29fc829f2646a3e6d1463a4bf09c3100708684c766e/websockets-16.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2237081454846fb40403a80ba86d82e2038b9c45865ab96af0abe7d002a91045", size = 189267, upload-time = "2026-07-10T06:31:41.523Z" }, - { url = "https://files.pythonhosted.org/packages/42/98/06afc33e9450d4230f94c664db78875d90f5f6a5fb77f0bc6ec15ae74e1c/websockets-16.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5f5218de1ed047385ca53744caba9435d65f75d008364970a3fae95a05812cf9", size = 188022, upload-time = "2026-07-10T06:31:42.838Z" }, - { url = "https://files.pythonhosted.org/packages/8c/bf/42fef5d5887c18cf2d148b02debf56cecb9cfbffc68027cde9b12c8f432c/websockets-16.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:75c98e3920039d0edff03b74478ada504b7ce3a1bc406db2cabfca84320f7baf", size = 185435, upload-time = "2026-07-10T06:31:44.219Z" }, - { url = "https://files.pythonhosted.org/packages/a0/9b/8021c133add5fe40ed40312553a6cd1408c069d7efe3444ad483d4973ed3/websockets-16.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1facd189d8190af30487a55b4c3688484dd50801628a3b5b2ccd26db08e67057", size = 188080, upload-time = "2026-07-10T06:31:45.986Z" }, - { url = "https://files.pythonhosted.org/packages/69/54/1e37384f395eaa127383aab15c1c45e200890a7d7b99db5c312233d193e0/websockets-16.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:cc0c6a6eef613c7da32d4fb068f82ef834b58134f6a16b54e6c1e5bf9529ab3d", size = 186678, upload-time = "2026-07-10T06:31:47.449Z" }, - { url = "https://files.pythonhosted.org/packages/68/79/1caeacab5bc2081e4519288d248bc8bd2de30652e6eaa94be6be09a1fe5b/websockets-16.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:ad9411eded8988b879be6038206698bf7106c85a78f642c004485bcb95be17eb", size = 188554, upload-time = "2026-07-10T06:31:48.886Z" }, - { url = "https://files.pythonhosted.org/packages/ee/83/b3dca5fad71487b726e31cb0acf56f226792c1cc34e6ab18cbf146bd2d74/websockets-16.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:cd68f0914f3b64694895bc5e9b14e8b447e41d7bf5ffaf989bb8dcb5e2dfdce7", size = 186109, upload-time = "2026-07-10T06:31:50.508Z" }, - { url = "https://files.pythonhosted.org/packages/5b/0b/8f246c3712f07f207b52ea5fb47f3b2b66fafec7303162644c74aed51c6a/websockets-16.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:fef2debfe7f7ebdda12176f26166f95b7af17af05ba06150fcf889032e0213e9", size = 187061, upload-time = "2026-07-10T06:31:51.861Z" }, - { url = "https://files.pythonhosted.org/packages/47/eb/27d6c92a01696b6495386af4fc941d7d0a13f2eab2bf9c336111d7321491/websockets-16.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a3cd6c9b798218798f4bb7b2e71c38f0e744bb94ca537b13376f88019d46384d", size = 187347, upload-time = "2026-07-10T06:31:53.246Z" }, - { url = "https://files.pythonhosted.org/packages/6b/d5/eeee439921f55d5eaeabcea18d0f7ce32cdc39cb8fc1e185431a094c5c7b/websockets-16.1-cp313-cp313-win32.whl", hash = "sha256:84c170c6869633536921e4474b1cce7254c0c9b0053ef5725f966cee47e718e4", size = 180149, upload-time = "2026-07-10T06:31:55.058Z" }, - { url = "https://files.pythonhosted.org/packages/a3/03/971e98d4a4864cf263f9e94c5b2b7c9a9b7682d77bfbba4e732c55ee85a9/websockets-16.1-cp313-cp313-win_amd64.whl", hash = "sha256:bef52d327d70fa75dad93ee61ea2cb1d1489aca9f35c188833563f5a3b4df0a5", size = 180458, upload-time = "2026-07-10T06:31:56.767Z" }, - { url = "https://files.pythonhosted.org/packages/8d/e6/da1dc11507f8118145a81c751fe0c77e5e1c11b8554496addb39389e2dc2/websockets-16.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:f881fca0a45dd6789939bd6637cd98169b92f1c3fdc78262f2cb9ec2cb1f324e", size = 179833, upload-time = "2026-07-10T06:31:58.19Z" }, - { url = "https://files.pythonhosted.org/packages/6e/ac/c0d46f62e31e232487b2c123bc3cfd9a4e45684ca7dc0c37f0987f29baae/websockets-16.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:30c379d5b207d3a7f0ba4c2e4602a895b0bcc63fb5f5371a4ae7fbddb03b672b", size = 177524, upload-time = "2026-07-10T06:31:59.563Z" }, - { url = "https://files.pythonhosted.org/packages/4a/33/abd966074b34a51e4f134e0aaed80f5a4a0a35163ea5ac58a1bc5a076d23/websockets-16.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:98ab58a4faa72b46da0127ccc1931dcbfc0985b0778892300a092185910c4cbe", size = 177743, upload-time = "2026-07-10T06:32:00.959Z" }, - { url = "https://files.pythonhosted.org/packages/ea/30/646e47b8a8dff04e227bdab512e6dde60663a647eeac7bbd6edddd92bbc5/websockets-16.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e9c4e369fc181b2d41a99e01477215cecdc8546a39f7d41a59cc0a7065a0b09", size = 187474, upload-time = "2026-07-10T06:32:02.54Z" }, - { url = "https://files.pythonhosted.org/packages/d2/72/890ab9d77494af93ea65268230bfbc0a90ba789401ed7a44356a44785644/websockets-16.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0704df094b2d5fa7f6f410925a594c2a5c9a09167731a76292e5410934208209", size = 188717, upload-time = "2026-07-10T06:32:04.156Z" }, - { url = "https://files.pythonhosted.org/packages/d5/aa/baedbbaa6bf9ed6029617ed5e8976535bd805f483ca9b3484e7ad9ee08bf/websockets-16.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b22b1f4950f6ab7126623329c3b47b3b90a14c05db517f2db2a026ad6c928352", size = 190090, upload-time = "2026-07-10T06:32:05.822Z" }, - { url = "https://files.pythonhosted.org/packages/52/4f/d813ec94e18002571ef4959d87a630eff6e01b72a51bcb0832b75ae8c51a/websockets-16.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1ae4a686a662964a6671069f84f7f908cc3475e782227726b0c622c715962105", size = 189320, upload-time = "2026-07-10T06:32:07.223Z" }, - { url = "https://files.pythonhosted.org/packages/b8/3c/8ec52a6662f3df64090fba28cd521d405d54759268d8e820477037e8c80d/websockets-16.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:856bdd638f8277f86465057bfdd4da097c73058fb0f9d2bd5baea29e2bf2d367", size = 188068, upload-time = "2026-07-10T06:32:08.586Z" }, - { url = "https://files.pythonhosted.org/packages/96/7f/f0ae6042b14f86fa5f996c6563ea4cf107adc036ccbedc9d4f418d0095f9/websockets-16.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9003a1fde1c21a322a3ca3fa0c4bda8c639da81dbc925162766086643b05ba87", size = 185493, upload-time = "2026-07-10T06:32:09.968Z" }, - { url = "https://files.pythonhosted.org/packages/89/ad/5ffc53af9939c49fd653d147fa5b8f78ced1f6bce6c49a7446860945b0ce/websockets-16.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:39e947b1f5fdab045174306e3916785bf3ed537648acc1549827c08c33b10953", size = 188141, upload-time = "2026-07-10T06:32:11.434Z" }, - { url = "https://files.pythonhosted.org/packages/67/62/729206c0ee577a4db8eae6dd06e0eef725a1287c6df11b2ef831d003df31/websockets-16.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5dd0e666b5931c0509cf65714686a1c5126771e663a79ac5d40da4f58b1f9502", size = 186653, upload-time = "2026-07-10T06:32:12.845Z" }, - { url = "https://files.pythonhosted.org/packages/1b/86/e8806a99ec4589914f255e6b658853fe537bf359c05e6ba5762ad9c27917/websockets-16.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:a0285df7925657ad65a65fb8dc330808bce082827538fd50ef45fa12d1fc5bca", size = 188614, upload-time = "2026-07-10T06:32:14.236Z" }, - { url = "https://files.pythonhosted.org/packages/89/38/ac554e2fc6ff0b8deeff9798b92e7abd8f99e2bd9731532e7033de208220/websockets-16.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:82d1c2cab3c133e9d059b3a5420bed9376bd30e21c185c63dda4ddadf6ddda47", size = 186165, upload-time = "2026-07-10T06:32:15.626Z" }, - { url = "https://files.pythonhosted.org/packages/6c/c5/4ef4d8e53342f94f3c49e1ae089b32c1e8b3878e15e0022c7708c647f351/websockets-16.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c39907f1eaf11f6277def65aa02d68f30576b693d0c1ca332aafa3caa723ac6d", size = 187119, upload-time = "2026-07-10T06:32:17.114Z" }, - { url = "https://files.pythonhosted.org/packages/3a/33/4788b1dd417bd97eeb2698af3b9df6775ac656f96e9987da0419a067602f/websockets-16.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:45c5ea55446171949eb99fd34b771ceddd511ca21958d40d0197ced33159e5ee", size = 187411, upload-time = "2026-07-10T06:32:18.629Z" }, - { url = "https://files.pythonhosted.org/packages/30/38/00d37aad6dc3244ce349e2864815362e50b3cfc00cac28d216db20efe40f/websockets-16.1-cp314-cp314-win32.whl", hash = "sha256:b8ef8b1c8d6bd029a475ac432e730fba2dfd456715d26c473e2a82291024b99c", size = 179822, upload-time = "2026-07-10T06:32:20.233Z" }, - { url = "https://files.pythonhosted.org/packages/9d/37/2a8cb0eaddee5eaebda47a90a3ba0898d1ce3d866b02a4857fea17d82e5b/websockets-16.1-cp314-cp314-win_amd64.whl", hash = "sha256:7358ff21632b5d062707f73e859c824f1c3807e73d8ca25e71caca7c4cdcf145", size = 180167, upload-time = "2026-07-10T06:32:21.749Z" }, - { url = "https://files.pythonhosted.org/packages/07/5a/262ad5fcaef4198997b165060f09a63f861e76939b1786ab546ccc3f8120/websockets-16.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:d0f38f4c3e9b359e257c339c2cc1967ccaeedb102e57c1c986bdce4bf4f32268", size = 180166, upload-time = "2026-07-10T06:32:23.278Z" }, - { url = "https://files.pythonhosted.org/packages/1a/c7/36377db690f4292826e4501a6dec2801dc55fd1cf0405923b04937e478df/websockets-16.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:3c3d2cbd1602593bad49bd86fa3fbb25407d87a3b4bf8857c0ac5ac4914e1901", size = 177697, upload-time = "2026-07-10T06:32:25.164Z" }, - { url = "https://files.pythonhosted.org/packages/fa/c7/07171abce1e39799a76f473608580fe98bd43a1230f5146159622c02bccf/websockets-16.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:36069b74671e7e667f48a7484249f84c45a825a134c8b1bdc01875d0daa10d79", size = 177902, upload-time = "2026-07-10T06:32:26.564Z" }, - { url = "https://files.pythonhosted.org/packages/14/17/c831f48e250bc4749f57c00dcce73337c41cd32f6d59a64567b84e782601/websockets-16.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:587f83c2ce8a5d628e166384d77fa7f0ac69b9007d515ab442123e6615aa8da3", size = 187766, upload-time = "2026-07-10T06:32:27.981Z" }, - { url = "https://files.pythonhosted.org/packages/2c/2e/4dfe63e245b0ecfaf470cf082d25c6ce35808159135fd88c82653a6b11ab/websockets-16.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a6db7972d52bc1b66cefe2246902e256cbaebc9ba8a45eac09343d7eb6671b2", size = 188939, upload-time = "2026-07-10T06:32:29.365Z" }, - { url = "https://files.pythonhosted.org/packages/ba/e5/5faf65aebd9562f6b4bc473d24ce38cc56f84eb5f5bee66ed9b86733f93c/websockets-16.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e7d6014888a0632e1ed7a4095248bb3095232999447f2d83bfb1900987dd9ed9", size = 191081, upload-time = "2026-07-10T06:32:30.868Z" }, - { url = "https://files.pythonhosted.org/packages/49/cd/2634f2f2c0556c1aae6501ed6840019cc569dd6fdbcac6494378daea4dc0/websockets-16.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9cb074d150e4ad2a77aa8a332c2be85f3f64f2681519d2570c1225c12c9821ff", size = 189513, upload-time = "2026-07-10T06:32:32.399Z" }, - { url = "https://files.pythonhosted.org/packages/59/bb/2c700b51196104f09715b326b1f092ed25326bdf79a03e00a4842e503743/websockets-16.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d19c9067e1fe9490f974bffbc0e443b80a7674c5efb4980c429cc00771f07c5a", size = 188240, upload-time = "2026-07-10T06:32:33.897Z" }, - { url = "https://files.pythonhosted.org/packages/f1/20/86283636e499a1a357fa9441f690ba34f255e731f2fea174132b3b762b57/websockets-16.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d440ff0c6c7469ad59c0a412c383c235935b43635e89425e3f6a0c36de90c31b", size = 185955, upload-time = "2026-07-10T06:32:35.279Z" }, - { url = "https://files.pythonhosted.org/packages/91/23/d7fb734b0095d43bc7f1c9f68afd50adb4176e7e513403e8c70ad7daa4fa/websockets-16.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8613129a2533f08de24505e69a3e403cedaadae49abdb043c4d170ca71b7e4bd", size = 188491, upload-time = "2026-07-10T06:32:36.673Z" }, - { url = "https://files.pythonhosted.org/packages/6a/5e/168a192689db468405ecf3b8e4a2c18811936b0724d017ad7e6d252734f0/websockets-16.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:a5bf9c23f197b4ec88290fd5463f33db67362a1bb10f85fc2e8e7627f0ddab97", size = 186983, upload-time = "2026-07-10T06:32:38.207Z" }, - { url = "https://files.pythonhosted.org/packages/7e/9b/66795fa91ebe49019ebe4fa910282172252e37046b80e08fc52e0c365150/websockets-16.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:520b0fd0395f075febb283c76755af724ab9fd19dffa4f3bfd18cb4e622790a3", size = 188890, upload-time = "2026-07-10T06:32:39.545Z" }, - { url = "https://files.pythonhosted.org/packages/5a/32/126bbc844be5afb3613fd43211dac10a9645f4cf39741d04acaa2ec7030c/websockets-16.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:7143aa09a67e1c013be44e81a88dfe90fc6244198ab86c7edd064152cf619805", size = 186583, upload-time = "2026-07-10T06:32:41.038Z" }, - { url = "https://files.pythonhosted.org/packages/22/b9/0b5db9cbcf6e4970db4496893244a8d92e07f71a8ef27cf34b08aa02fef1/websockets-16.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:7acb811fad08e611755800d1560e395c67e11a6bd563598ea6abb319afb86938", size = 187353, upload-time = "2026-07-10T06:32:42.501Z" }, - { url = "https://files.pythonhosted.org/packages/99/2e/254b2131a10d831b76e2c18dfe7add9729c6292c674a8085bf8de01ad151/websockets-16.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c5cf88e3faa2f7931bc6baeee7599c97656a3f6ac7f831f4fccba233e141783a", size = 187784, upload-time = "2026-07-10T06:32:43.929Z" }, - { url = "https://files.pythonhosted.org/packages/21/dc/e7288aa8e3ac5a88a0924619984d663c1abf2a87d0ea98290c66fdaee0ec/websockets-16.1-cp314-cp314t-win32.whl", hash = "sha256:589f8842521c8307684ce0b40ce4ad70c5e0aa46484c6f1225a94ef4b8970341", size = 179947, upload-time = "2026-07-10T06:32:45.495Z" }, - { url = "https://files.pythonhosted.org/packages/d3/de/37edf1260ff0fbbd2f82433489c4cfbe799ac2ff21355331609879329fe6/websockets-16.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c0e0857c30bbbc2bb5c30687508f0b7ec19aa026cd9f2ff8424d0fee42dcc07", size = 180291, upload-time = "2026-07-10T06:32:47.119Z" }, - { url = "https://files.pythonhosted.org/packages/4d/f4/84ef884775bbe77c46cce79bc7d705ea3bc6574cc00acf81af89754c077d/websockets-16.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7289d899c79e763e6221c8dcb8959361cb43274418538d7c7ad16a43b01d12f9", size = 177387, upload-time = "2026-07-10T06:32:48.574Z" }, - { url = "https://files.pythonhosted.org/packages/d3/d9/6831ec6f65e1eeac770375f4f4b604f23df9bafaa1b47004bc5f9488d513/websockets-16.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:e22e9e3719f5131bd62da4db63c8da63eb8c91cc99e16c1cbd122f130e1ae07a", size = 177663, upload-time = "2026-07-10T06:32:50.043Z" }, - { url = "https://files.pythonhosted.org/packages/9d/d4/21d4922fa7fe855813a8b38f181a0ecf02a586e16c1f095fd05471f78cc2/websockets-16.1-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:83bdabafef431247e6b11a9aab8a0893fd8e82e1ed95b32e0373625b03ffce4a", size = 178501, upload-time = "2026-07-10T06:32:51.439Z" }, - { url = "https://files.pythonhosted.org/packages/91/87/7a0320df854dacd09507ca972cb04a4dc5aae279583cc5b80ad5f5819533/websockets-16.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0b8d13ceabc5c60995f201b5211d76876e17e68706ebf5d3bc666b32eefff1a6", size = 179397, upload-time = "2026-07-10T06:32:52.892Z" }, - { url = "https://files.pythonhosted.org/packages/31/6a/0da1eb8c8da2ace7b578c8523d32618af85e62a9ebad56051d4a14a38a1c/websockets-16.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:81495f9c0085361c582efbc3207fb877174cfe03370f17d9cd70624404aa526f", size = 180546, upload-time = "2026-07-10T06:32:54.619Z" }, - { url = "https://files.pythonhosted.org/packages/66/58/bd83247f39ddc26ffc2c24eb05087a3b749e00cb4509fc6d19daa23c8495/websockets-16.1-py3-none-any.whl", hash = "sha256:c5149dfe490ec7e5ee5dbf624c642fb725f93a5575c7f00ab594ca9eddb8dd81", size = 174031, upload-time = "2026-07-10T06:32:56.079Z" }, -] - -[[package]] -name = "wrapt" -version = "2.2.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/fe/a4/282c8e64300a59fc834518a54bf0afabb4ff9218b5fa76958b450459a844/wrapt-2.2.2.tar.gz", hash = "sha256:0788e321027c999bf221b667bd4a54aaefd1a36283749a860ac3eb77daed0302", size = 129068, upload-time = "2026-06-20T23:49:44.49Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e1/8b/59781d0fe7b0adfbea37f600857de4be68921e454aeecf1a11bda35cdccc/wrapt-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:055e6fcfaa28e58c6a8c247d48b92be9d56f818b7068aa4f22b15b3343a09931", size = 80556, upload-time = "2026-06-20T23:47:28.473Z" }, - { url = "https://files.pythonhosted.org/packages/94/dc/66c61aca927230c9cf97a3cb005c803971a1076ff9f7d61085d035c20085/wrapt-2.2.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8374eb6b1a58809211e84ff835a182bb17ab2807a5bfef23204c8cff38178a00", size = 81648, upload-time = "2026-06-20T23:47:30.504Z" }, - { url = "https://files.pythonhosted.org/packages/23/1b/545eee1c18f3af4cf140bb5822b6ef81ebe569df0a63ac109973103a30a5/wrapt-2.2.2-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:656593bb3f5529f03d27af4136c4d7b11990e470bcbc6fefa5ef218695bece55", size = 152956, upload-time = "2026-06-20T23:47:31.867Z" }, - { url = "https://files.pythonhosted.org/packages/44/a7/6f42a3d03e44dc612a5dcff324e7366075a7857f0be2d49a8cb8a68279b8/wrapt-2.2.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dfb00cb7bb22099e2f64b7340fb96113639aa7260c0972af3797ace2297b936c", size = 154771, upload-time = "2026-06-20T23:47:33.352Z" }, - { url = "https://files.pythonhosted.org/packages/bf/55/4d76175aaa97523c38f1d28f79d18ab41a1b116814158a818bc0eba00571/wrapt-2.2.2-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e7f10ee0bd53673bfd52b67cbce83336fe6cad90d2377b03baf66491d2bbfb91", size = 149460, upload-time = "2026-06-20T23:47:34.712Z" }, - { url = "https://files.pythonhosted.org/packages/84/9b/12e23264d8f4735e8483262f95c5a6b03c3665fd2a84bdf99a45b6a2f4ec/wrapt-2.2.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4402f57c5f0d0579599858ffbdd9bf4e3f0972f51096f2bd6cc7dab6b76ee49e", size = 153648, upload-time = "2026-06-20T23:47:36.092Z" }, - { url = "https://files.pythonhosted.org/packages/d6/a3/bcd5ec37289dcd85ecd4d15395a6a6063d60bc45ff94a9d77814e1e54d64/wrapt-2.2.2-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:3a4eb7964ff4643d333c84f880bcf554652b2a1050aebc54ae696327f61acfaf", size = 148502, upload-time = "2026-06-20T23:47:37.623Z" }, - { url = "https://files.pythonhosted.org/packages/f2/be/716d708f607fa70f8a6eb47dff8ee945d5278dfc89ffeeff33039d052e63/wrapt-2.2.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e542b7c5af91e2123a8aabf19894319d5ec4268d2a9ffd2f239386133fc47746", size = 152238, upload-time = "2026-06-20T23:47:39.118Z" }, - { url = "https://files.pythonhosted.org/packages/b5/c0/1a48e7e54501274f5d906f18372221b13183b0afbb5b8bb4c7ca0392c0b4/wrapt-2.2.2-cp310-cp310-win32.whl", hash = "sha256:6e7e45b43d3c774d244fe7264378f5a3f0f383bc55a54a9866434e524540110f", size = 77278, upload-time = "2026-06-20T23:47:40.476Z" }, - { url = "https://files.pythonhosted.org/packages/b0/82/9cd69a1af288fbdedf01a10e3c8a0b6890b08c7f3f96d36a213699dbcd94/wrapt-2.2.2-cp310-cp310-win_amd64.whl", hash = "sha256:955f1d6e72a352e478de8d8b503abe301c5e139a141b62eb0923bd694995025f", size = 80131, upload-time = "2026-06-20T23:47:41.785Z" }, - { url = "https://files.pythonhosted.org/packages/7f/73/8db7e27daef37ae70a53ea62bef7fe80cc51a8b5e9e9181a8be6eb9a999c/wrapt-2.2.2-cp310-cp310-win_arm64.whl", hash = "sha256:b89d8d73c82db2bb7e6090b3afd7973f980d24e905cc34394eab60b884b3bf67", size = 79615, upload-time = "2026-06-20T23:47:43.109Z" }, - { url = "https://files.pythonhosted.org/packages/27/15/0c2d55168707465abfc41f33c0b23d792a5fa9b65c26983606940900a120/wrapt-2.2.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f1a2ff355ece6a111ca7a20dc86df6659c9205d3fcee674ca34f2a2854fd4e73", size = 80782, upload-time = "2026-06-20T23:47:44.367Z" }, - { url = "https://files.pythonhosted.org/packages/7d/b5/5c0b093eb48f8a062ef6267d3cb36e9bb1b88440181f6545a383c60efdf8/wrapt-2.2.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:55b9a899e6fff5444f229d30aa6e9ac92d2216d9d60f33c771b5d76a760d5f8e", size = 81678, upload-time = "2026-06-20T23:47:45.857Z" }, - { url = "https://files.pythonhosted.org/packages/34/f3/de70937472dd3e8a4e6811192f9c6075efdffd4a2cd9b4596bf160f89668/wrapt-2.2.2-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a2d78c363f97d8bd718ee40432c66395685e9e98528ccaa423c3355d1715a26d", size = 159671, upload-time = "2026-06-20T23:47:47.345Z" }, - { url = "https://files.pythonhosted.org/packages/a5/ec/40aed2330e7f02ecf74386ffcfef9ccb7108c6a430f15b6a252b663b1bed/wrapt-2.2.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d619e1eed9bd4f6ed9f24cd61971aa086fa86505289628d464bcf8a2c2e3f328", size = 160785, upload-time = "2026-06-20T23:47:48.759Z" }, - { url = "https://files.pythonhosted.org/packages/45/04/aa5309beed5344b00220ae6b3b24055852192656194c27947bee1736306a/wrapt-2.2.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:518b0c5e323511ec56a38894802ddd5e1222626484e68efe63f201854ad788e5", size = 153699, upload-time = "2026-06-20T23:47:50.177Z" }, - { url = "https://files.pythonhosted.org/packages/01/df/2def7e99d1fe87eea413f95f671924cdddcb08823b1ffd212748dfa6d062/wrapt-2.2.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4bccea5cdecffa9dd70e343741f0e41e0a16619313d04b72f78bb525162ebcd0", size = 159695, upload-time = "2026-06-20T23:47:51.602Z" }, - { url = "https://files.pythonhosted.org/packages/c7/f6/a906d01a2ce12157bad2404957b3e2140da354b8a70b2fa48bbf282871c0/wrapt-2.2.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:209112cafd963710a05d199aae431d79a28bc76eb8e6d1bbbb8ad24340722cae", size = 152813, upload-time = "2026-06-20T23:47:53.03Z" }, - { url = "https://files.pythonhosted.org/packages/02/49/bc0086292d239575b4c08f4cf8a4079fa58abbad58ec23abf84833a283ed/wrapt-2.2.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e5a5290e4bf2f332fc29ce72ffb9a2fff678aaac047e2e9f5f7165cd7792e099", size = 158809, upload-time = "2026-06-20T23:47:54.391Z" }, - { url = "https://files.pythonhosted.org/packages/55/83/8fbd034de1f3e907edaa18786d5dd8f6932874edee0826c7cecb5cab03a1/wrapt-2.2.2-cp311-cp311-win32.whl", hash = "sha256:5499236ad1dc116012e2a5dd943f3f31af12fce452128e2bbcbd55a7d3d4d14c", size = 77414, upload-time = "2026-06-20T23:47:55.882Z" }, - { url = "https://files.pythonhosted.org/packages/7e/9c/23695baa331c6de4e874c3d78b8e0bed92e1d2a274e665b29858f6841672/wrapt-2.2.2-cp311-cp311-win_amd64.whl", hash = "sha256:8636809939152be6ae20a6cef0fed9fe60f411b47847d0426a826884b469e971", size = 80368, upload-time = "2026-06-20T23:47:57.237Z" }, - { url = "https://files.pythonhosted.org/packages/08/49/40cefc342bf89b234a4490d741290fce781774b831aefb39c25471da96c9/wrapt-2.2.2-cp311-cp311-win_arm64.whl", hash = "sha256:5d0a142f7af07caeb5e5da87493162a7b8efa19ba919e550a746f7446e13fb30", size = 79489, upload-time = "2026-06-20T23:47:58.56Z" }, - { url = "https://files.pythonhosted.org/packages/2a/85/180b40628b23772692a0c76e8030114e1c0ae068470ed531919f0a5f2a4a/wrapt-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8417fd3c674d3c8023d080292d29301531a12daf8bd938dd419710dd2f464f2b", size = 81484, upload-time = "2026-06-20T23:47:59.924Z" }, - { url = "https://files.pythonhosted.org/packages/94/f2/21c90f2a16689702e2aaff45795b11018dff2c9b1242bac10d225483f676/wrapt-2.2.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0e7070c7472582e31af3dfc2622b2381a0df7435110a9388ed8db5ffbce67efb", size = 82151, upload-time = "2026-06-20T23:48:01.303Z" }, - { url = "https://files.pythonhosted.org/packages/5f/b3/7e6e9fcf4fe7e1b69a49fe6cc5a44e8224bab6283c5233c97e132f14908e/wrapt-2.2.2-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2e096c9d39a59b35b63c9aacfbbbec2088ff51ff1fc31051acc60a07f42f273a", size = 169828, upload-time = "2026-06-20T23:48:02.719Z" }, - { url = "https://files.pythonhosted.org/packages/0b/43/894f132d857ed5a9904d937baf368badcbe5ea9e436e2f1930fe21c9f1f0/wrapt-2.2.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d1a6050405bf334be33bf66296f113563622972a34900ae6fa60fd283a1a900", size = 171544, upload-time = "2026-06-20T23:48:04.266Z" }, - { url = "https://files.pythonhosted.org/packages/29/de/3c833e03725b477e9ea34028224dd21a48781830101e4e036f77e8b6b102/wrapt-2.2.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:10adb01371408c6de504a6658b9886480f1a4919a83752748a387a504a21df79", size = 160663, upload-time = "2026-06-20T23:48:05.708Z" }, - { url = "https://files.pythonhosted.org/packages/33/be/27edce350b24e3054d9d047f65f16d4c4d4c1f3f31c4278a1f8a95c723c8/wrapt-2.2.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3442eee2a5798f9b451f1b2cd7518ce8b7e28a2a364696c414460a0e295c012a", size = 169387, upload-time = "2026-06-20T23:48:07.243Z" }, - { url = "https://files.pythonhosted.org/packages/e2/c4/9fd9679af8bf38e146652c7f47b6b352c3e5795b4ad1c0b7f94e15ac2aa7/wrapt-2.2.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:6c99012a22f735a85eed7c4b86a3e99c30fdd57d9e115b2b45f796264b58d0bf", size = 158849, upload-time = "2026-06-20T23:48:08.91Z" }, - { url = "https://files.pythonhosted.org/packages/bc/c2/aa6c0c2206803068c6859dabe01f8c84c43744da93d4c67b8946d21655ee/wrapt-2.2.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3b686cfc008776a3952d6213cb296ed7f45d782a8453936406faa89eac0835ab", size = 168147, upload-time = "2026-06-20T23:48:10.374Z" }, - { url = "https://files.pythonhosted.org/packages/42/63/3eb25da41049d20ae18fcab2dd8b056e02387c4bfa626cbdfb7c3b872e4f/wrapt-2.2.2-cp312-cp312-win32.whl", hash = "sha256:ef2cce266b5b0b07e19fa82e59673b81142b7a3607c8ed1254113d048ed668da", size = 77734, upload-time = "2026-06-20T23:48:11.769Z" }, - { url = "https://files.pythonhosted.org/packages/da/09/0390e008a305360948fa9ce69507d041ac12cb2ee5d28e34467e2ee79391/wrapt-2.2.2-cp312-cp312-win_amd64.whl", hash = "sha256:abf8c20a2d72ee69e16328b3c91342c446e723bfe48bfcc4dded3b9722ac027f", size = 80585, upload-time = "2026-06-20T23:48:13.117Z" }, - { url = "https://files.pythonhosted.org/packages/d3/b3/84c445c66969f2d3457276b183a48c91097d59bbef9af6c075366b0f8c36/wrapt-2.2.2-cp312-cp312-win_arm64.whl", hash = "sha256:c6c64c5d02578bc4c4bca4f0aef1504de933c1d5b4ac2710b9131111459506c8", size = 79553, upload-time = "2026-06-20T23:48:14.5Z" }, - { url = "https://files.pythonhosted.org/packages/43/fc/f32f4b22c6511173c11d9e541ab4e7d8467a0f1b3455acaf784115d31ff8/wrapt-2.2.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:9e8b648270c613720a202d9a45ebabc33261b22c3a839b115ac5bce8c0bb0d69", size = 81296, upload-time = "2026-06-20T23:48:15.881Z" }, - { url = "https://files.pythonhosted.org/packages/72/06/4d117d5d77a9344776c0248b24dae3d3dd2f58e5f765fa08cf887072e719/wrapt-2.2.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e6fb7e94e8fe3e4c3067bb1653a91cce7c5e83acc119fdd41501b1bf74654617", size = 81841, upload-time = "2026-06-20T23:48:17.262Z" }, - { url = "https://files.pythonhosted.org/packages/15/ff/63ad96f98eb58a742b1a20d80f21da88924405910149950b912368150468/wrapt-2.2.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fb18fc51e813df0d9c98049e3bf2298a5495a648602040e21fa3c7329371159e", size = 167882, upload-time = "2026-06-20T23:48:18.764Z" }, - { url = "https://files.pythonhosted.org/packages/20/1f/8bb62d8933df7acf3247194e6e9fc68edf9d2fa203252c89c94b319dd472/wrapt-2.2.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94b00b00f806eb3ef2abe9049ed45994a81ee9284884d96e6b8314927c6cea3d", size = 167411, upload-time = "2026-06-20T23:48:20.315Z" }, - { url = "https://files.pythonhosted.org/packages/17/09/8789dcb09ee1de715727db7521aabbb68ffa68dfade3a49468440cfced49/wrapt-2.2.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:62415fd095bc590b842b6d092f2b5d9ccbaeb7e0b28535c03dcea2718b48636b", size = 158607, upload-time = "2026-06-20T23:48:21.728Z" }, - { url = "https://files.pythonhosted.org/packages/9c/20/66e02562d53ee67d841f175e38e3c993c2d78a3e104c576cad61c028b43c/wrapt-2.2.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a41e758d80dc0ab8c210f641ac892009d356cf1f955d97db544c8dd317b4d14c", size = 166367, upload-time = "2026-06-20T23:48:23.177Z" }, - { url = "https://files.pythonhosted.org/packages/bd/a3/832ac4e41222fb263b3042d42c2f08d305db7d0f0c9b1d3a271a9eede8f6/wrapt-2.2.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:b84cd4058001c9727b0e9980b7a9e66325b5ca748b1b578e822cade1bc6b304f", size = 157176, upload-time = "2026-06-20T23:48:24.711Z" }, - { url = "https://files.pythonhosted.org/packages/b7/01/1bd5e4d2df9c0178989ac8da9186543465388588ee2ef153e2591accebef/wrapt-2.2.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:26fc73a1b15e0946d2942b9a4426d162b51676338327dc067ccd8d2d76385f94", size = 167025, upload-time = "2026-06-20T23:48:26.118Z" }, - { url = "https://files.pythonhosted.org/packages/1c/69/583ed25291ab53e1ec117135fb1c33425e2f46d2bc8f29c17f7a94cf4274/wrapt-2.2.2-cp313-cp313-win32.whl", hash = "sha256:3c4095803491f6ef72128914c28ec05bbad9758433bb35f6715a3e9c8e46fb2d", size = 77605, upload-time = "2026-06-20T23:48:27.643Z" }, - { url = "https://files.pythonhosted.org/packages/29/68/e69fc6d06e1523c68e0d00f95c9aed1158ce9908ee41603f7f2eae3d5db6/wrapt-2.2.2-cp313-cp313-win_amd64.whl", hash = "sha256:2cb07f414fab25dbe6b5c7398e1491423a5c81a6209533639969a6c928d474a4", size = 80508, upload-time = "2026-06-20T23:48:29.013Z" }, - { url = "https://files.pythonhosted.org/packages/55/21/fe7a393d9e5dc0923bed8f5d857e9dcff210f1fa0888c02cc8f3ffaa55aa/wrapt-2.2.2-cp313-cp313-win_arm64.whl", hash = "sha256:1fc7691f070220215cccb2a20836b9adbaecb8ff22ad47abe63de5f110994fac", size = 79565, upload-time = "2026-06-20T23:48:30.429Z" }, - { url = "https://files.pythonhosted.org/packages/b6/e5/c120d13bf5091164f68c3c1657e84f16f57e71d978421b626393ac5bd7eb/wrapt-2.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:ec8f83949028366531383603139403cac7a826e4011955813cdd640017845ce5", size = 83264, upload-time = "2026-06-20T23:48:31.807Z" }, - { url = "https://files.pythonhosted.org/packages/d3/b0/d4a1eb97e0e286625bdf21bc7f702637f9607787ffbbdb5ec14d50c79dbf/wrapt-2.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4b481fb0c40d9fd90a5809911208da700987d373a20a4709dc9e3944af7a6bec", size = 83791, upload-time = "2026-06-20T23:48:33.482Z" }, - { url = "https://files.pythonhosted.org/packages/18/1e/f060df47755e87b57684cee7bfc1362b204df55fac96ffebc0631b697b79/wrapt-2.2.2-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0065a3b657cec06813b4241d2462ccec287f6863103d7445b725fb3a889736f9", size = 203399, upload-time = "2026-06-20T23:48:34.97Z" }, - { url = "https://files.pythonhosted.org/packages/c4/de/2316a757a1abb6453700b79d83e532146dcef2611348282d4d8889792161/wrapt-2.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:30f7424af5c5c345b7f26490e097f74a2ef45b3d08b664dc33571aee3bd3b56c", size = 210461, upload-time = "2026-06-20T23:48:36.569Z" }, - { url = "https://files.pythonhosted.org/packages/ed/29/d1160785ae18ca2495a6d82a21154103d74f656c9fd457fb35f6b11b965a/wrapt-2.2.2-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:07fdcb012821859168641acf68afad61ef9783cf37100af85f152550e9677194", size = 195313, upload-time = "2026-06-20T23:48:38.175Z" }, - { url = "https://files.pythonhosted.org/packages/f5/2d/7caa9598ae61a9cf0989cc501739cbeeb7d650ab3193cca1407b9af0c6ab/wrapt-2.2.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f90038ab58fafb584801ca62d72384d7d5225d93c76f7b773c22fae545bd8066", size = 206116, upload-time = "2026-06-20T23:48:39.804Z" }, - { url = "https://files.pythonhosted.org/packages/ac/02/281ea1088b8650d865f311b35cf86fd21df89128e2909714f1161e01c9d0/wrapt-2.2.2-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:c5d7825491bfa2d08b97e9557768987952c7b9ae687d06c3320b40a37ccb7f20", size = 192668, upload-time = "2026-06-20T23:48:41.346Z" }, - { url = "https://files.pythonhosted.org/packages/be/7d/976e2d5b4b5c5babda40974edd54d0a5585cb60132ed86b46f4b80239b16/wrapt-2.2.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0ad520e6daa9bbf136f14de735474dbec7dcc0891f718e1d274ce8dc92e645af", size = 198891, upload-time = "2026-06-20T23:48:43.056Z" }, - { url = "https://files.pythonhosted.org/packages/59/b7/e47651797c097f75a37e2ce86dcf04048ff576f3a674f7c558df7b5e9622/wrapt-2.2.2-cp313-cp313t-win32.whl", hash = "sha256:25904acb9475f46c24fe0423dbc8fda8cc5fbc282ab3dc6e72e919748c53f4e9", size = 78537, upload-time = "2026-06-20T23:48:44.509Z" }, - { url = "https://files.pythonhosted.org/packages/d1/6f/9fa5d59fb06d890defb5a8f727ce6a14d2932c8760153f96956628559fee/wrapt-2.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:305d4c247d61c4115794a169141823c62f719525ddb90b23aa332741c77d2c28", size = 82005, upload-time = "2026-06-20T23:48:46.391Z" }, - { url = "https://files.pythonhosted.org/packages/15/80/4c7bd9873d1f9f7d138d93556b500469dbe24f42710b877519c2b9eb380d/wrapt-2.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:c20279cd1a29800815d7b2d6338b60a6c6e78263f9d6e62e0eda251ba9cae2d0", size = 80762, upload-time = "2026-06-20T23:48:47.964Z" }, - { url = "https://files.pythonhosted.org/packages/24/05/7fd9c3f83b2c74cbfc572a0b88aa37431e04bd8aed70d2c0efd3464206de/wrapt-2.2.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:0e64826f920c42d9d9f87e8cc09ffae66c51ede12d59061a5a426deb9aa71745", size = 81341, upload-time = "2026-06-20T23:48:49.39Z" }, - { url = "https://files.pythonhosted.org/packages/4b/68/1bfa43100dd90d4ef74a05897b86275cf57e1313ca14aae2545bc9f872c9/wrapt-2.2.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:dcaa5e1451bd8751d7bd1568dfa3321c78092a52a7ecb5d1a0f18a5791e1fd00", size = 81921, upload-time = "2026-06-20T23:48:50.986Z" }, - { url = "https://files.pythonhosted.org/packages/74/eb/df7b7f0b631dbbc750f39be27d8b55f65777d8ac86da80e12be41a644c4b/wrapt-2.2.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0abfd648dac9ac9c5b3aa9b523d27f1789046640b58dcd5652a720ddb325e1fc", size = 167713, upload-time = "2026-06-20T23:48:52.598Z" }, - { url = "https://files.pythonhosted.org/packages/4d/9a/d1bd36f6d088c8e652a9383cabbd49af30b8c576302a7eccddbab6963e3f/wrapt-2.2.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f4bfd8d1eb438153eff8b8cfe87f032ba65731e1ce06138b5090f745a33f6f95", size = 166779, upload-time = "2026-06-20T23:48:54.33Z" }, - { url = "https://files.pythonhosted.org/packages/4c/ae/24ffacd4187fac2740a1972093929e836dea092d42c87d728cd98fee11a6/wrapt-2.2.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c427c9d06d859848a69f0d928fe28b5c33a941b2265d10a0e1f15cd244f1ee33", size = 158407, upload-time = "2026-06-20T23:48:55.944Z" }, - { url = "https://files.pythonhosted.org/packages/a3/ed/974427668249a356051e8d67d47fa54ef6c777f0fcf3bae9d292c047d4b6/wrapt-2.2.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:4250b43d1a129d947e083c4dc6baf333c9bb34edd26f912d5b0457841fc858ab", size = 166594, upload-time = "2026-06-20T23:48:57.617Z" }, - { url = "https://files.pythonhosted.org/packages/fb/5f/e1d7c6e4523f78db2fbd7826babd0348da1d5e0834c4f918b9ab5757dfae/wrapt-2.2.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:173e5bb5ca350a6e0abab60b7ec7cdd7992a814cb14b4de670a28f067f105663", size = 157068, upload-time = "2026-06-20T23:48:59.171Z" }, - { url = "https://files.pythonhosted.org/packages/1e/c1/7ebd1027f00700c0b0233b20aceef2b4784294ed64971424c4a78e069e34/wrapt-2.2.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:aa14b01804bce36c6d63d7b6a4f55df390f29f8648cc13a1f40b166f4d54680d", size = 166470, upload-time = "2026-06-20T23:49:00.737Z" }, - { url = "https://files.pythonhosted.org/packages/99/eb/974e471a6a978b8180186b8a9dc5ae3361ce269a967190b709b8ce17abfb/wrapt-2.2.2-cp314-cp314-win32.whl", hash = "sha256:58f9f8d637c9a6e245c6ef5b109b67ec187d2faed23d1405656b51d96e0a5b56", size = 78062, upload-time = "2026-06-20T23:49:02.327Z" }, - { url = "https://files.pythonhosted.org/packages/49/ec/e1281156cdc7a66693838ad7a0865ad641c74abd337a957d668b575aaffb/wrapt-2.2.2-cp314-cp314-win_amd64.whl", hash = "sha256:385cb1866f20479e83299af585375bfa0a4b0c6c9907a981483ea782ea8ae406", size = 80832, upload-time = "2026-06-20T23:49:03.837Z" }, - { url = "https://files.pythonhosted.org/packages/45/7d/1b6b5ddd94005a2dac97a4490c9838f3154977850d633abcb65b30089437/wrapt-2.2.2-cp314-cp314-win_arm64.whl", hash = "sha256:8ffbeaea6771a6eba6e6eeb09767864995726bc8240bb54baf88a9bb1db34d5c", size = 80029, upload-time = "2026-06-20T23:49:05.237Z" }, - { url = "https://files.pythonhosted.org/packages/b0/33/9ebcf8aafe91c601127cbd93708c16aa8f688f34a10bf004046803ecdc4f/wrapt-2.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:09f811d43f6f33ec7515f0be76b159569f4057ab54d3e079c3204dddb90afa2a", size = 83357, upload-time = "2026-06-20T23:49:06.632Z" }, - { url = "https://files.pythonhosted.org/packages/39/38/ec45b635153327b52e52732a0ea980e5f00b7efba65f9e018828f1e69daa/wrapt-2.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a795d3c06e5fbf9ea2f13196180b77aeab1b4685917256ee0d014cc163d90063", size = 83794, upload-time = "2026-06-20T23:49:08.098Z" }, - { url = "https://files.pythonhosted.org/packages/4e/ea/1a89e6d3b7a83c3affe5c09cde77792c947e63e4bc85ad84cd5bb9abb0d8/wrapt-2.2.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:45c2f2768e790c9f8db90f239ef23a2af8e7570f25a35619ef902df4a738447f", size = 203362, upload-time = "2026-06-20T23:49:09.811Z" }, - { url = "https://files.pythonhosted.org/packages/19/d8/3b58763d9863b5a73771c0d97110f9595d248db454009e07e1535ee905a4/wrapt-2.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bbf00ee0cb55ec24e2b0995a71942b85b21a066db8f3f46e1dbfdb9433ffba81", size = 210449, upload-time = "2026-06-20T23:49:11.521Z" }, - { url = "https://files.pythonhosted.org/packages/2d/6f/17fd9e053103d8be148d20d5d7505facc72d5fe1f9127973904ceaed79cf/wrapt-2.2.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:2252f77663651b89255895f58cc6ac08fcb206d4371813e5af61bb62d4f7689c", size = 195349, upload-time = "2026-06-20T23:49:13.346Z" }, - { url = "https://files.pythonhosted.org/packages/ef/04/d0d1ccaaa12cb7dccf28a23f0279a608ba498f71e81d949d5ed54bcfd5c1/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2cd7181ab1c31192ff5219269830744b5a62020b3a6d433588c4f1c95b8f8bff", size = 206099, upload-time = "2026-06-20T23:49:15.051Z" }, - { url = "https://files.pythonhosted.org/packages/44/b3/e8aa07b619890a2aa6cde1931b1887abb08820721b564a5f80b7ca3f3aa0/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:6fe35fd51b74867d8b80174c277bd6bbf6a73e443f908129dc531c4b688a20d5", size = 192728, upload-time = "2026-06-20T23:49:16.854Z" }, - { url = "https://files.pythonhosted.org/packages/b7/f0/1819fb50f0d3c9bd758d8a83b56f1b470dee8b5b8eac8702b7c137cea9d4/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:11d95fc2fbad3163596c39d440e6f21ca9fccece74b56e30a37ac2fca786a07c", size = 198842, upload-time = "2026-06-20T23:49:18.504Z" }, - { url = "https://files.pythonhosted.org/packages/67/7c/e88313f16a99930b899ef970d91c281544a470749a359decad994483bbda/wrapt-2.2.2-cp314-cp314t-win32.whl", hash = "sha256:d8a15813215f33fa83667bfc978b300e35669ea8bb424e970a1426bcb7bc6cca", size = 79059, upload-time = "2026-06-20T23:49:20.107Z" }, - { url = "https://files.pythonhosted.org/packages/a0/4f/ac12fda57a55068a094ec42851fb0a40e8489d8941863d517452de62e507/wrapt-2.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:d09db0f7e8357060d3c38fc22a018aba683a796bf184360fd1a58f6fc180dc77", size = 82462, upload-time = "2026-06-20T23:49:21.631Z" }, - { url = "https://files.pythonhosted.org/packages/48/a7/df732dac86d9b2027c56bd163dbc883e037b16c3469614752e148d219c61/wrapt-2.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:f32fe639c39561ccc187bcae17e9271be0eb45f1c2952510d2f29b33ab577347", size = 81182, upload-time = "2026-06-20T23:49:23.199Z" }, - { url = "https://files.pythonhosted.org/packages/6e/d2/6317eb6d4554855bbf12d61857774af34747bf88a42c19bf306de67e2fa3/wrapt-2.2.2-py3-none-any.whl", hash = "sha256:5bad217350f19ce99ca5b5e71d406765ea86fe541628426772b657375ee1c048", size = 61460, upload-time = "2026-06-20T23:49:42.966Z" }, -] diff --git a/libs/@local/petrinaut-optimizer-client/package.json b/libs/@local/petrinaut-optimizer-client/package.json index a4a01510818..311bd8a151e 100644 --- a/libs/@local/petrinaut-optimizer-client/package.json +++ b/libs/@local/petrinaut-optimizer-client/package.json @@ -24,8 +24,8 @@ "eventsource-parser": "3.0.8" }, "devDependencies": { - "@apps/petrinaut-opt": "workspace:*", "@local/tsconfig": "workspace:*", + "@python/petrinaut-optimization": "workspace:*", "openapi-typescript": "7.13.0", "oxfmt": "0.50.0", "rimraf": "6.1.3", diff --git a/libs/@local/petrinaut-optimizer-client/src/openapi.gen.ts b/libs/@local/petrinaut-optimizer-client/src/openapi.gen.ts index 18aec27ebb0..38c8dae4a3e 100644 --- a/libs/@local/petrinaut-optimizer-client/src/openapi.gen.ts +++ b/libs/@local/petrinaut-optimizer-client/src/openapi.gen.ts @@ -113,6 +113,7 @@ export interface components { /** Detail */ detail?: components["schemas"]["ValidationError"][]; }; + JsonValue: unknown; /** * Phase * @enum {string} @@ -183,7 +184,7 @@ export interface operations { requestBody: { content: { "application/json": { - [key: string]: unknown; + [key: string]: components["schemas"]["JsonValue"]; }; }; }; @@ -241,7 +242,7 @@ export interface operations { requestBody: { content: { "application/json": { - [key: string]: unknown; + [key: string]: components["schemas"]["JsonValue"]; }; }; }; diff --git a/pyproject.toml b/pyproject.toml index 25844b96f64..5f184450e2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ package = false [tool.uv.workspace] # Managed by `mise run sync:python` members = [ + "apps/petrinaut-opt", "libs/@local/repo-chores/python", ] @@ -38,6 +39,7 @@ hash-repo-chores = { workspace = true } addopts = "-q --import-mode=importlib" # Managed by `mise run sync:python` testpaths = [ + "apps/petrinaut-opt/tests", "libs/@local/repo-chores/python/tests", ] @@ -54,6 +56,7 @@ target-version = "py314" # Managed by `mise run sync:python` src = [ + "apps/petrinaut-opt", "libs/@local/repo-chores/python", ] @@ -182,6 +185,7 @@ root_module = "ignore" # Managed by `mise run sync:python` source_roots = [ + "apps/petrinaut-opt", "libs/@local/repo-chores/python", ] diff --git a/uv.lock b/uv.lock index e539b9d646b..10d3502a8ee 100644 --- a/uv.lock +++ b/uv.lock @@ -10,6 +10,116 @@ exclude-newer-span = "P5D" members = [ "hash", "hash-repo-chores", + "petrinaut-optimization", +] + +[[package]] +name = "alembic" +version = "1.18.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mako" }, + { name = "sqlalchemy" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1a/cc/ac0bed8e562e7407fe55c3ba85a4dce86e6dbd8730887bd1e406a6c5c18a/alembic-1.18.5.tar.gz", hash = "sha256:1554982221dd17e9a749b53902407578eb305e453f71999e8c7f0a48389fff8e", size = 2060480, upload-time = "2026-06-25T15:20:54.888Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/96/78/5fe6dc3a3a5b2f5a2a4faef8bfe336d5fa049a38884ab3172e0098160c01/alembic-1.18.5-py3-none-any.whl", hash = "sha256:06d8ba9d04558022f5395e9317de03d270f3dced49cee01f89fe7a13c26f14bc", size = 264664, upload-time = "2026-06-25T15:20:56.673Z" }, +] + +[[package]] +name = "annotated-doc" +version = "0.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, +] + +[[package]] +name = "anyio" +version = "4.14.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" }, +] + +[[package]] +name = "asgiref" +version = "3.12.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e6/26/3b59f2bdae5f640389becb1f673cded775287f5fc4f816309d9ca9a3f93d/asgiref-3.12.1.tar.gz", hash = "sha256:59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340", size = 42378, upload-time = "2026-07-14T09:56:18.087Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/1b/54f4ad77cd8a584fa70746c47df988e002cf1ee1eba43364d46f87803647/asgiref-3.12.1-py3-none-any.whl", hash = "sha256:fe386d1c2bff7259ea95929266d12a8cf9a8b5a1c2598402967d8792e7a7c094", size = 25478, upload-time = "2026-07-14T09:56:16.926Z" }, +] + +[[package]] +name = "certifi" +version = "2026.7.22" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.4.9" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/8d/496817fa0944239ecae662dd57ea765cfeaec6a735f9f025d4b7b72e7143/charset_normalizer-3.4.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:0327fcd59a935777d83410750c50600ee9571af2846f71ce40f25b13da1ef380", size = 317253, upload-time = "2026-07-07T14:33:54.994Z" }, + { url = "https://files.pythonhosted.org/packages/2b/f9/ef4a69ea338ad3c0deceea0f5f7d2380ae8b52132b06d652cb0d2cd86706/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a79d9f4d8001473a30c163556b3c3bfebec837495a412dde78b51672f6134f9", size = 215898, upload-time = "2026-07-07T14:33:56.334Z" }, + { url = "https://files.pythonhosted.org/packages/8c/e7/5ddfd76fc061eb52de219658a4aa431cbacadf0a0219c8854f00da50d289/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:33bdcc2a32c0a0e861f60841a512c8acc658c87c2ac59d89e3a46dacf7d866e4", size = 236718, upload-time = "2026-07-07T14:33:57.9Z" }, + { url = "https://files.pythonhosted.org/packages/49/ba/768fa3f36048d81c477a0ce61f813bc1454d80917ccfe550abd9f44f5e24/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f840ed6d8ecba8255df8c42b87fadeda98ddfc6eeec05e2dc66e26d46dd6f58a", size = 232519, upload-time = "2026-07-07T14:33:59.811Z" }, + { url = "https://files.pythonhosted.org/packages/f4/c4/b3e049d2aa3766180c78507110543d9d50894cc97f57de543f1be521dcdc/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c25fe15c70c59eb7c5ce8c06a1f3fa1da0ecc5ea1e7a5922c40fd2fa9b0d5046", size = 223143, upload-time = "2026-07-07T14:34:01.517Z" }, + { url = "https://files.pythonhosted.org/packages/19/79/55c32d06d76ae4feafe053f061f3e3ab70bcf19f4007797ce8c3efda7830/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:f7fb7d750cfa0a070d2c24e831fd3481019a60dd317ea2b39acbcebc08b6ed81", size = 206742, upload-time = "2026-07-07T14:34:03.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/e0/47c079dd82d217c807479cd59ffd30af56307ea31c108b75758970459ad3/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4d1c96a7a18b9690a4d46df09e3e3382406ae3213727cd1019ebade1c4a81917", size = 219191, upload-time = "2026-07-07T14:34:04.657Z" }, + { url = "https://files.pythonhosted.org/packages/42/ab/b9bc2e77d6b44a7e46ef62ec5cac1c9a6ba7b9135a5d560f002696ec9995/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a4cfde78a9f2880208d16a93b795726a3017d5977e08d1e162a7a31322479c41", size = 218328, upload-time = "2026-07-07T14:34:06.115Z" }, + { url = "https://files.pythonhosted.org/packages/f1/78/c9c71d599f5aa2d42bcdd35cbbd46d7f535351a57e40ff7d8e5a7e219401/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d4d6fcde76f94f5cb9e43e9e9a61f16dacefd228cbbf6f1a09bd9b219a92f1a1", size = 207406, upload-time = "2026-07-07T14:34:07.554Z" }, + { url = "https://files.pythonhosted.org/packages/f6/39/c914445c321a845097ce4f6ac7de9a18228a77b766272125a1ce00d851eb/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:898f0e9068ca27d37f8e83a5b962821df851532e6c4a7d615c1c033f9da6eedf", size = 225157, upload-time = "2026-07-07T14:34:09.061Z" }, + { url = "https://files.pythonhosted.org/packages/9b/f2/c0d4b8508565a36bc5c624e88ed297f5b0b1095011034d7f5b83a69908b5/charset_normalizer-3.4.9-cp314-cp314-win32.whl", hash = "sha256:c1c948747b03be832dceed96ca815cef7360de9aa19d37c730f8e3f6101aca48", size = 151095, upload-time = "2026-07-07T14:34:10.901Z" }, + { url = "https://files.pythonhosted.org/packages/49/fd/a1d26144398c67486422a72bf5812cda22cb4ccfcd95a290fb41ceb4b8e2/charset_normalizer-3.4.9-cp314-cp314-win_amd64.whl", hash = "sha256:16b65ea0f2465b6fb52aa22de5eca612aa964ddfec00a912e26f4656cbef890b", size = 162796, upload-time = "2026-07-07T14:34:12.47Z" }, + { url = "https://files.pythonhosted.org/packages/20/95/d75e82f8ce9fd323ebf059c16c9aadefb22a1ecde13b7840b35835e4886c/charset_normalizer-3.4.9-cp314-cp314-win_arm64.whl", hash = "sha256:40a126142a56b2dfc0aacbad1de8310cbf60da7656db0e6b16eebd48e3e93519", size = 153334, upload-time = "2026-07-07T14:34:14.044Z" }, + { url = "https://files.pythonhosted.org/packages/00/5e/17398df3a139985ba9d11ed072531986f408c8fca952835ef1ab1820c02b/charset_normalizer-3.4.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:609b3ba8fcc0fb5ab7af00719d0fb6ad0cb518e48e7712d12fd68f1327951198", size = 338848, upload-time = "2026-07-07T14:34:15.688Z" }, + { url = "https://files.pythonhosted.org/packages/cd/91/7253a32e86b7e1d1239b1b36ba6dd0f021a21107ab33054b53119cc083b9/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51447e9aa2684679af07ca5021c3db526e0284347ebf4ffcec1154c3350cfe32", size = 223022, upload-time = "2026-07-07T14:34:17.248Z" }, + { url = "https://files.pythonhosted.org/packages/cb/32/2e64bd2be10e89c61e57ebe6a93fd98ae88eb7ebe414b5121f22c96c69eb/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cc1b0fff8ead343dae06305f954eb8468ba0ec1a97881f42489d198e4ce3c632", size = 241590, upload-time = "2026-07-07T14:34:18.813Z" }, + { url = "https://files.pythonhosted.org/packages/3d/ef/d96ec496cfea0c21db43b0ad03891308b02388d054cc902cf0e5a1ad6a88/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa36ec09ef71d158186bc79e359ff5fdd6e7996fe8ab638f00d6b93139ba4fcf", size = 239584, upload-time = "2026-07-07T14:34:20.52Z" }, + { url = "https://files.pythonhosted.org/packages/d4/ce/9af95f7876194bd7a14e3dfe4a4de2e0bff02666a3910d72beafd06cc297/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df115d4d83168fdf2cae48ef1ff6d1cb4c466364e30861b37121de0f3bf1b990", size = 230224, upload-time = "2026-07-07T14:34:22.189Z" }, + { url = "https://files.pythonhosted.org/packages/52/94/af74dde74a3996bd959c350709bfe50e297823d70a8c1cbd54b838880863/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:f86c6358749bd4fda175388691e3ba8c46e24c5347d0afd20f9b7edfc9faf07d", size = 212667, upload-time = "2026-07-07T14:34:23.857Z" }, + { url = "https://files.pythonhosted.org/packages/ee/f0/f1c4fe746c395922961b5916ed1d7d6e7d4c84851d19ed43cc89980ec953/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:32286a2c8d167e897177b673176c1e3e00d4057caf5d2b64eef9a3666b03018e", size = 227179, upload-time = "2026-07-07T14:34:25.586Z" }, + { url = "https://files.pythonhosted.org/packages/e4/56/6c745619ac397e8871e2bcd3cea1eec86b877488f33888b3aef5c3ed506e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:83aed2c10721ddd90f68140685391b50811a880af20654c59af6b6c66c40513c", size = 225372, upload-time = "2026-07-07T14:34:27.212Z" }, + { url = "https://files.pythonhosted.org/packages/78/ad/98aae8630ac71f16711968e38a5acfecce41b778bf2f0312851020f565a8/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cd6c3d4b783c556fa00bf540854e42f135e2f256abd29669fcd0da0f2dec79c2", size = 215222, upload-time = "2026-07-07T14:34:28.774Z" }, + { url = "https://files.pythonhosted.org/packages/f7/40/9593d54209765207a7f11073c06494c1721e4ca4a0a426c597679bf7f91e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ee2f2a527e3c1a6e6411eb4209642e138b544a2d72fe5d0d76daf77b24063534", size = 231958, upload-time = "2026-07-07T14:34:30.345Z" }, + { url = "https://files.pythonhosted.org/packages/b1/27/693ee5e8a18191eb38647360c51cd505013e2bd3b366aa43fd5344c21e3c/charset_normalizer-3.4.9-cp314-cp314t-win32.whl", hash = "sha256:0d861473f743244d349b50f850d10eb87aeb22bbdcc8e64f79273c94af5a8226", size = 155580, upload-time = "2026-07-07T14:34:31.884Z" }, + { url = "https://files.pythonhosted.org/packages/80/3f/bd97d3d9c613013d07cb7733d299385b41df37f0471310f5a73dc359f0b8/charset_normalizer-3.4.9-cp314-cp314t-win_amd64.whl", hash = "sha256:9b8e0f3107e2200b76f6054de99016eac3ee6762713587b36baaa7e4bd2ae177", size = 167620, upload-time = "2026-07-07T14:34:33.438Z" }, + { url = "https://files.pythonhosted.org/packages/3d/c6/eee9dca4439b1061f76373f06ea855678cc4a64c1c3c90b50e479edbb8eb/charset_normalizer-3.4.9-cp314-cp314t-win_arm64.whl", hash = "sha256:19ac87f93086ce37b86e098888555c4b4bc48102279bae3350098c0ed664b501", size = 158037, upload-time = "2026-07-07T14:34:35.018Z" }, + { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" }, +] + +[[package]] +name = "click" +version = "8.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/76/d4/81420972a676e8ffea40450d8c8c92943e7218a78fe9b64359836cc9876b/click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6", size = 338000, upload-time = "2026-06-24T17:45:15.148Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76", size = 119243, upload-time = "2026-06-24T17:45:13.73Z" }, ] [[package]] @@ -21,6 +131,34 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, ] +[[package]] +name = "colorlog" +version = "6.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0a/bf/cb30a51af3aa8ce63735f77e23dcd4fc0720fe0339bcb04f77345659c277/colorlog-6.11.0.tar.gz", hash = "sha256:9d90fb53fa906c8970c18fbe46506bae1fb5f86b513b8f867db37e4ace9be7ae", size = 17734, upload-time = "2026-07-17T12:16:46.59Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/a1/6b71004ab0fea510230be9ce05a4059029ac847c009fcc80b1b73d6fa5ab/colorlog-6.11.0-py3-none-any.whl", hash = "sha256:f1e27d75aa2cb138f3f640c0e305b65b680ccbef6ecc034eba7e03494ffcd2a1", size = 12016, upload-time = "2026-07-17T12:16:45.3Z" }, +] + +[[package]] +name = "fastapi" +version = "0.139.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-doc" }, + { name = "pydantic" }, + { name = "starlette" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cd/95/d3f0ae10836324a2eab98a52b61210ac609f08200bf4bb0dc8132d32f78a/fastapi-0.139.2.tar.gz", hash = "sha256:333145a6891e9b5b3cfceb69baf817e8240cde4d4588ae5a10bf56ffacb6255e", size = 423428, upload-time = "2026-07-16T15:06:17.912Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5f/c7/cb03251d9dfb177246a9809a76f189d21df32dbd4a845951881d11323b7f/fastapi-0.139.2-py3-none-any.whl", hash = "sha256:b9ad015a835173d59865e2f5d8296fbc2b317bf56a2ba1a5bfbdd03de2fd4b1c", size = 130234, upload-time = "2026-07-16T15:06:19.557Z" }, +] + [[package]] name = "gitdb" version = "4.0.12" @@ -45,6 +183,71 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/20/7a/1c6e3562dfd8950adbb11ffbc65d21e7c89d01a6e4f137fa981056de25c5/gitpython-3.1.50-py3-none-any.whl", hash = "sha256:d352abe2908d07355014abdd21ddf798c2a961469239afec4962e9da884858f9", size = 212507, upload-time = "2026-05-06T04:01:23.799Z" }, ] +[[package]] +name = "googleapis-common-protos" +version = "1.75.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b5/c8/f439cffde755cffa462bfbb156278fa6f9d09119719af9814b858fd4f81f/googleapis_common_protos-1.75.0.tar.gz", hash = "sha256:53a062ff3c32552fbd62c11fe23768b78e4ddf0494d5e5fd97d3f4689c75fbbd", size = 151035, upload-time = "2026-05-07T08:04:49.423Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/c8/e2645aa8ed02fd4c7a2f59d68783b65b1f3cbdfe39a6308e156509d1fee8/googleapis_common_protos-1.75.0-py3-none-any.whl", hash = "sha256:961ed60399c457ceb0ee8f285a84c870aabc9c6a832b9d37bb281b5bebde43ed", size = 300631, upload-time = "2026-05-07T08:03:30.345Z" }, +] + +[[package]] +name = "greenlet" +version = "3.5.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e2/f1/fbbfef6af0bad0548f09bc28948ea3c275b4edb19e17fc5ca9900a6a634d/greenlet-3.5.3.tar.gz", hash = "sha256:a61efc018fd3eb317eeca31aba90ee9e7f26f22884a79b6c6ec715bf71bb62f1", size = 200270, upload-time = "2026-06-26T19:28:24.832Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c3/93/43e116ee114b28737ba7e12952a0d4e2f55944d0f84e42bc91ba7192a3c9/greenlet-3.5.3-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:fd2e02fa07485778536a036222d616ab957b1d533f36b3ed98ce725d9c9d3117", size = 288202, upload-time = "2026-06-26T18:23:49.604Z" }, + { url = "https://files.pythonhosted.org/packages/82/2f/146d218299046a43d1f029fd544b3d110d0f175a09c715c7e8da4a4a345d/greenlet-3.5.3-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df0a0628d1597eb0897b62f55d1343f772405fd25f3b2a796c76874b0c2e22e8", size = 654096, upload-time = "2026-06-26T19:07:12.71Z" }, + { url = "https://files.pythonhosted.org/packages/a0/cc/04738cafb3f45fa991ea44f9de94c47dcec964f5a972300988a6751f49d9/greenlet-3.5.3-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ebd933a6adabc298bab47731a130fe6bfb888bd934eee37810f151159544540d", size = 666304, upload-time = "2026-06-26T19:10:09.503Z" }, + { url = "https://files.pythonhosted.org/packages/ce/aa/4e0dad5e605c270c784ab911c43da6adb136ccd4d81180f763ca429a723d/greenlet-3.5.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4b9d501b40e80b70e32323c799dd9b420a5577a9601469d362ae1ffb690f3a7c", size = 663635, upload-time = "2026-06-26T18:32:20.802Z" }, + { url = "https://files.pythonhosted.org/packages/d1/50/13efdbea246fe3d3b735e191fec08fb50809f53cd2383ebe123d0809e44b/greenlet-3.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a1fad1d11e7d6aab184107baa8e4ece11ccba3ec9599cd7efa5ff4d70d43256a", size = 1621252, upload-time = "2026-06-26T19:09:05.647Z" }, + { url = "https://files.pythonhosted.org/packages/f7/22/c0a336ae4a1410fd5f5121098e5bfbf1865f64c5ef80b4b5412886c4a332/greenlet-3.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:fad5aec764399f1b5cc347ad250a59660f20c8f8888ea6bae1f93b769cce1154", size = 1684824, upload-time = "2026-06-26T18:31:47.738Z" }, + { url = "https://files.pythonhosted.org/packages/7a/94/91aec0030bea75c4b3244251d0de60a1f3432d1ecb53ab6c437fb5c3ba61/greenlet-3.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:7669aa24cf2a1041d6f7899575b494a3ab4cf68bfcc8609b1dc0be7272db835e", size = 240754, upload-time = "2026-06-26T18:22:15.669Z" }, + { url = "https://files.pythonhosted.org/packages/e5/06/68d0983e79e02138f64b4d303c500c27ddb48e5e77f3debb80888a921eae/greenlet-3.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:5b4807c4082c9d1b6d9eed56fcd041863e37f2228106eef24c30ca096e238605", size = 239549, upload-time = "2026-06-26T18:22:42.996Z" }, + { url = "https://files.pythonhosted.org/packages/91/95/3e161213d7f1d378d15aa9e792093e9bfe01844680d04b7fd6e0107c9098/greenlet-3.5.3-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:271a8ea7c1024e8a0d7dd2be66dd66dda8a07193f41a17b9e924f7600f5b62be", size = 296389, upload-time = "2026-06-26T18:22:20.657Z" }, + { url = "https://files.pythonhosted.org/packages/00/92/715c44721abe2b4d1ae9abde4179411868a5bff312479f54e105d372f131/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:19131729ae0ddc3c2e1ef85e650169b5e37ee32e400f215f78b94d7b0d567310", size = 653382, upload-time = "2026-06-26T19:07:14.209Z" }, + { url = "https://files.pythonhosted.org/packages/a0/83/37a10372a1090a6624cca8e74c12df1a36c2dc36429ed0255b7fb1aeee23/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1540dd8e5fc2a5aec40fbb98ef8e149fa47c89a4b4a1cf2575a14d3d1869d7a8", size = 659401, upload-time = "2026-06-26T19:10:10.876Z" }, + { url = "https://files.pythonhosted.org/packages/db/e2/d1509cad4207da559cc42986ecdd8fc67ad0d1bba2bf03023c467fd5e0f3/greenlet-3.5.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e81fa194a1d20967877bdf9c7794db2bc99063e5be36aee710c08f04c5bb087f", size = 656969, upload-time = "2026-06-26T18:32:22.272Z" }, + { url = "https://files.pythonhosted.org/packages/86/7d/eaf70de20aadca3a5884aec58362861c64ce45e7b277f47ed026926a3b89/greenlet-3.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:55cf4d777485d43110e47133cbba6d74a8885a87ec1227ef0267f9ee80c5aa21", size = 1617822, upload-time = "2026-06-26T19:09:06.893Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f9/414d38fc400ae4350d4185eaad1827676f7cf5287b9136e0ed1cbbe20a7f/greenlet-3.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:12a248ba75f6a9a236375f52296c498c89ff1d8badf32deb9eca7abd5853f7da", size = 1677983, upload-time = "2026-06-26T18:31:49.396Z" }, + { url = "https://files.pythonhosted.org/packages/e4/15/7edb977e08f9bff702fe42d6c902702786ff6b9694058b4e6a2a6ac90e57/greenlet-3.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:efc6bd60ea02e085862c74a3ef64b147ffc6f1a5ea7d9f26e7a939943f68c1e3", size = 243626, upload-time = "2026-06-26T18:24:41.485Z" }, +] + +[[package]] +name = "grpcio" +version = "1.82.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/90/bc/656b89387d6f4ed7e0686c7b64c2ae7e554a759aa58122c8e5fb99392c32/grpcio-1.82.1.tar.gz", hash = "sha256:707b24abd90fcb1e45bcc080577da1dbf9971d107490589b9539af8e1e77b4b5", size = 13187300, upload-time = "2026-07-08T12:36:16.588Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b4/cb/cf9ae9e164c6e6dc8a494faa9771763df9da150eefe19671009624d1559f/grpcio-1.82.1-cp314-cp314-linux_armv7l.whl", hash = "sha256:35f990f7784c8fd2872644f07f96ebb4d9e48e145a190ab80d0280af91a1bfb2", size = 6146901, upload-time = "2026-07-08T12:35:49.261Z" }, + { url = "https://files.pythonhosted.org/packages/3b/2a/eccf26dbcfb7f7cab8027c5490a16c8937c5aa7a2ec20a3eab2cf7a43165/grpcio-1.82.1-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:46536a4a1f4434df3c851b9254ff6fc7df5705b273681a15ca277d5921c178a0", size = 11954756, upload-time = "2026-07-08T12:35:52.196Z" }, + { url = "https://files.pythonhosted.org/packages/ad/75/3b3b4a3cc9f084b026af96e1d3e539b1af29ec7f41ed0dfff3cb99cc8626/grpcio-1.82.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d6650a7c1ebb7921c70e12a385439a8118efb99e669fa9ed31cf25db1843937c", size = 6723087, upload-time = "2026-07-08T12:35:54.973Z" }, + { url = "https://files.pythonhosted.org/packages/9c/8b/b0f0c9b1400a99a4da4c09b114f101b192f8f11192e76f620b8962f5d90b/grpcio-1.82.1-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:b8e110c66df5204c0506d6c8787b35d48b8b699ef5aa366d6c4d67325c67fe9a", size = 7454542, upload-time = "2026-07-08T12:35:57.586Z" }, + { url = "https://files.pythonhosted.org/packages/b7/bd/428e38868382aa193697a5aa53973f29c58e58ba4268aa0c86a2715ee58b/grpcio-1.82.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f853eae07235a51a27bb5d6a9a175a59ca55dc9b99edc6ce2f76f07332d333ae", size = 6889588, upload-time = "2026-07-08T12:36:00.012Z" }, + { url = "https://files.pythonhosted.org/packages/49/ce/03e01d5e10259bf5c08ee50570cc94724e79c956f61fd2f09b341af0956c/grpcio-1.82.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:60b0f2c95337694fc094b77d9f60f50566c84b5677393e342eb98daeee242d98", size = 7514166, upload-time = "2026-07-08T12:36:02.693Z" }, + { url = "https://files.pythonhosted.org/packages/ff/59/278b4b600329e2ba3849f3c1ea3c820b3a01b38a7ad184ba09595e8d2733/grpcio-1.82.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:b064fc444812bdaa9825d33c26f8d732d63ee6a5d78557c1faf92c98687fed27", size = 8536166, upload-time = "2026-07-08T12:36:05.349Z" }, + { url = "https://files.pythonhosted.org/packages/44/27/7ccf2ef00f27a8e47a79d641c8ceaf7d3028c7a03d9a97b4c8a9a783c086/grpcio-1.82.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7d7ede11d747b4e1bd05e3bc0260e155b65a88735a895a10f6521f19b889511e", size = 7912572, upload-time = "2026-07-08T12:36:08.393Z" }, + { url = "https://files.pythonhosted.org/packages/0d/be/33742482d2753f2d3a1b7641664b6622262d44f2f3b609f13425dd86d36f/grpcio-1.82.1-cp314-cp314-win32.whl", hash = "sha256:3d21f19838dc255ecbb79321b15ae9b98fbddff4c3d4aedb0a81bdd7f4ab572a", size = 4321856, upload-time = "2026-07-08T12:36:10.899Z" }, + { url = "https://files.pythonhosted.org/packages/cc/67/03329c847172c78ddeb1eb9be6b444fdbc12775a84c958b27e427e7b926d/grpcio-1.82.1-cp314-cp314-win_amd64.whl", hash = "sha256:e20f1edbb15f99e3128ec86433f9785fd5a451d8f115e74fe0056134f092a9d5", size = 5141114, upload-time = "2026-07-08T12:36:13.595Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + [[package]] name = "hash" version = "0.0.0" @@ -97,6 +300,65 @@ dev = [ { name = "ruff", specifier = ">=0.15.21,<0.16" }, ] +[[package]] +name = "httpcore2" +version = "2.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "h11" }, + { name = "truststore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d5/fe/6a3f9f1a8bb8733326140737446aaf72fddb8b54b8f202302f5c84960613/httpcore2-2.7.0.tar.gz", hash = "sha256:6dc0fedf329a52a990930a5579edfebaea81118ea700ea0dd7de2b5e5be49efc", size = 65593, upload-time = "2026-07-14T20:40:01.111Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6f/6c/62e2e279e63fc4f7a5ee841ef13175a8bbc613f258e9dcc186e9de803a42/httpcore2-2.7.0-py3-none-any.whl", hash = "sha256:1452f589fe23f55b44546cd884294c41a29330af902bc0b71a761fd52d18f92b", size = 81506, upload-time = "2026-07-14T20:39:58.053Z" }, +] + +[[package]] +name = "httptools" +version = "0.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/43/e5/d471fcb0e14523fe1c3f4ba58ca52480e7bd70ad7109a3846bc75892f7fb/httptools-0.8.0.tar.gz", hash = "sha256:6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999", size = 271342, upload-time = "2026-05-25T22:17:48.841Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1a/12/fa3fbf5f9517b273edea2dc982aa82a8c634091e67c590792b729017bc6f/httptools-0.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:de242a49b5d18e0a8776e654e9f6bf6d89f3875a5c35b425a0e7ce940feb3fd6", size = 206183, upload-time = "2026-05-25T22:17:24.004Z" }, + { url = "https://files.pythonhosted.org/packages/30/fc/5e7c4cb443370f2090a3aba0453a07384d29ff66b7435bb90e77e1037599/httptools-0.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:159e9ab5f701ccd42e555a12f1ad8ff69702910fc1c996cf2bb66e5fcb7a231b", size = 112079, upload-time = "2026-05-25T22:17:25.216Z" }, + { url = "https://files.pythonhosted.org/packages/ba/53/771bd891eb0f236f32145d6a1775777ec85745f3cc983a1f23d1a3b8ddfe/httptools-0.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c4a9f1707e4823d54dfec6c33fa3697d302aed536ed352a7ebb5a061ddb869d0", size = 481596, upload-time = "2026-05-25T22:17:26.186Z" }, + { url = "https://files.pythonhosted.org/packages/62/42/94e15bc68ce3d423243c45d7f1b0c7561f13844f97dc52ae23182fb65628/httptools-0.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d76ad7b951387e3632c8716a9bb03ac5b45c5f16119aa409db0459520887944e", size = 480865, upload-time = "2026-05-25T22:17:27.542Z" }, + { url = "https://files.pythonhosted.org/packages/1c/7c/fe2980fc03723272e30f135b62360b075f513dfe7cc73aef36c7f04012bd/httptools-0.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a3b7387147361c3fd47a0bde763c5c91b5b4cd4dc9989b8ece84ff436c99843b", size = 463189, upload-time = "2026-05-25T22:17:28.546Z" }, + { url = "https://files.pythonhosted.org/packages/15/1b/47fc5fff68acd1bfa20b4734059c9a06cadb88119dcd5258b5b0d21d91c8/httptools-0.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f256d6ce930c52ca1cb2a960b7da03548c454e7d28b06059ad41bfe789036ce0", size = 466610, upload-time = "2026-05-25T22:17:29.816Z" }, + { url = "https://files.pythonhosted.org/packages/60/bd/07b13c93ffd9bec9546e0d43f8e19378dd696dbd278511406bc07371ef1f/httptools-0.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:19d1ee275bb59ba2643ba9a3a1e51cc0c788caf2b8df506368e03f56fdd08527", size = 92705, upload-time = "2026-05-25T22:17:31.133Z" }, + { url = "https://files.pythonhosted.org/packages/fd/c4/121648f68ce066d7bd762d6b6d97e620847642d38d54f3d90ff11d947629/httptools-0.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:de1ed58a974e75d56560acc7e7fed01a454994429456f65209789992e41f2568", size = 215023, upload-time = "2026-05-25T22:17:32.401Z" }, + { url = "https://files.pythonhosted.org/packages/b9/b0/312a062ae741ae3e8baa8c8bf20be81b2e67337b259ab4349bebc7b6142e/httptools-0.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e93c227b595c6926c1acee96891dd9da4be338cfbe82e5cd3bb9d8dd7dc4ac0b", size = 117405, upload-time = "2026-05-25T22:17:33.742Z" }, + { url = "https://files.pythonhosted.org/packages/fc/37/fccd705f795386bb05bf413012fecff2a33e5aa8c2f069096de3e9fd8702/httptools-0.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2a021c3a8e65cc125390d72f59b968afca3bdcaff25bd67965e0a055a14946ca", size = 558497, upload-time = "2026-05-25T22:17:34.732Z" }, + { url = "https://files.pythonhosted.org/packages/bd/39/f172e8003576de35f5ba77ff417cf0e34429d35dc014deef15afa337a72c/httptools-0.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48774d39cbb70e2b1f71f88852a3087ae1d3a1eb80482bb48c13067ab080c14f", size = 571585, upload-time = "2026-05-25T22:17:35.813Z" }, + { url = "https://files.pythonhosted.org/packages/3e/b9/f5564760af99f3dbbf3f9104dc00e5da27e96cf433c6bdcf77617f70bf3f/httptools-0.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:88eead8ec8680a9f146c655bc88445a325bd7921cfd8194c7337e9467282427d", size = 543297, upload-time = "2026-05-25T22:17:37.08Z" }, + { url = "https://files.pythonhosted.org/packages/99/67/8d9f2c313618e161b82f3873188e7196126da1d6e29688df40eb3997c77a/httptools-0.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2c032fa028f46871ec7e1fc59fc15e8023eab3e6bbe6ece786a1611719a5d081", size = 539535, upload-time = "2026-05-25T22:17:38.032Z" }, + { url = "https://files.pythonhosted.org/packages/48/63/b906c01e53f50d432c0defe43ce52764a111dc1bdd028bafbeb54dcfd008/httptools-0.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:384c17174464c8e873398b7af24f0b1f44d992c820328413951a625323155d77", size = 108209, upload-time = "2026-05-25T22:17:39.473Z" }, +] + +[[package]] +name = "httpx2" +version = "2.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "httpcore2" }, + { name = "idna" }, + { name = "truststore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/4a/129b2e21b90ac2985d3928d96792bccc39bc6dfe796c5eee2d8ec06d4105/httpx2-2.7.0.tar.gz", hash = "sha256:8b30709aed5c8465b0dd3b95c09ce301c8f79e7e7a2d00ab0af551e0d0375b07", size = 94487, upload-time = "2026-07-14T20:40:02.318Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/b8/c341bba6411bdfda786020343c47a75ef472f6085caf82391b142b1a3ad9/httpx2-2.7.0-py3-none-any.whl", hash = "sha256:ed2a2719c696789e09493bd8e2bec3d8bd925cc6e26b68389ec25ade132f7bf4", size = 90234, upload-time = "2026-07-14T20:39:59.531Z" }, +] + +[[package]] +name = "idna" +version = "3.18" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" }, +] + [[package]] name = "iniconfig" version = "2.3.0" @@ -106,6 +368,18 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, ] +[[package]] +name = "mako" +version = "1.3.12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/00/62/791b31e69ae182791ec67f04850f2f062716bbd205483d63a215f3e062d3/mako-1.3.12.tar.gz", hash = "sha256:9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a", size = 400219, upload-time = "2026-04-28T19:01:08.512Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bc/b1/a0ec7a5a9db730a08daef1fdfb8090435b82465abbf758a596f0ea88727e/mako-1.3.12-py3-none-any.whl", hash = "sha256:8f61569480282dbf557145ce441e4ba888be453c30989f879f0d652e39f53ea9", size = 78521, upload-time = "2026-04-28T19:01:10.393Z" }, +] + [[package]] name = "markdown-it-py" version = "4.2.0" @@ -118,6 +392,36 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, ] +[[package]] +name = "markupsafe" +version = "3.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" }, + { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" }, + { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" }, + { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" }, + { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" }, + { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" }, + { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" }, + { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" }, + { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" }, + { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" }, + { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" }, + { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" }, + { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" }, + { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" }, + { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" }, + { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, +] + [[package]] name = "mdurl" version = "0.1.2" @@ -136,6 +440,208 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504, upload-time = "2025-12-08T17:02:38.159Z" }, ] +[[package]] +name = "numpy" +version = "2.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz", hash = "sha256:a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3", size = 20755553, upload-time = "2026-07-04T17:08:00.933Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/f4/731b6085a83faf6ca843394cbd5e217280c214399f7e8b21b9f552af0ae2/numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7c786fe9a5bbe360022e584c5a34cf6b54265c71bd7ec8ac3d8fec38968071f8", size = 16795063, upload-time = "2026-07-04T17:07:07.374Z" }, + { url = "https://files.pythonhosted.org/packages/bf/64/0e215f2048dd11a55bb989ed41b3585ef57452404e638d703a211a3e4157/numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:32985c896d897419ef8da6917872d80b78ad0ea26d85b23245c7366ffde76d75", size = 11776652, upload-time = "2026-07-04T17:07:09.907Z" }, + { url = "https://files.pythonhosted.org/packages/b5/59/2b844c7a6e9deff69b404a66221e1542937734f65d5e6e39411876053862/numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:efd736408cc97c79b9e6917338dfc8f06013b2274f992e96b1d9a81a71e2a2c2", size = 5335944, upload-time = "2026-07-04T17:07:12.227Z" }, + { url = "https://files.pythonhosted.org/packages/86/51/9bf7cb2cabcebc9e017e4ec7e6322b378317a542c08b4cb68479c1efc716/numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:ab84dc6b074fa881cae55bea94cc4f68e285181ba7f32497bf7dee6b1496165b", size = 6656266, upload-time = "2026-07-04T17:07:14.368Z" }, + { url = "https://files.pythonhosted.org/packages/83/3e/fb7615b211b82a32f44d5180a6d421b61f84d4fadd578b48ba4ac34e189f/numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caf3e317d33d60c37986b452613f4ab51246d0691350c03d0cb4a898627f4a95", size = 15179720, upload-time = "2026-07-04T17:07:16.272Z" }, + { url = "https://files.pythonhosted.org/packages/41/5f/0f992cb24560673496c5d68de61913b57166ce530ffda07c1f280e0cc464/numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:54ad769f17bc2d833b620851989f62054fb9ab93c969d9e1dc3c8e3d56beea21", size = 16664835, upload-time = "2026-07-04T17:07:19.021Z" }, + { url = "https://files.pythonhosted.org/packages/a2/2f/97d6475ee91afe2587797d09446f9d3e475ad4cb681662d824809327b75a/numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c12afb53450fa976d4c681c50a7423729a4c51c0465ed9f32b8a9cabbc472373", size = 16539135, upload-time = "2026-07-04T17:07:22.015Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5b/4db81e4ba0be7e2776b1de68c82aa862c7f8ec27e1b4927d4ae075e20678/numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e8c11c405efc5ff6816d5983c96cdfa215bab3428961243af3ff59b228490438", size = 18426684, upload-time = "2026-07-04T17:07:24.941Z" }, + { url = "https://files.pythonhosted.org/packages/1f/64/c0ba2d90724d450279a7df8f32057241070250a26a7e2b5337d77347f481/numpy-2.5.1-cp314-cp314-win32.whl", hash = "sha256:f2479a47f8d5932d1718168a681ad6e536a9df484c83cfcf9de365e164537ace", size = 6116103, upload-time = "2026-07-04T17:07:27.622Z" }, + { url = "https://files.pythonhosted.org/packages/c1/1a/837f9ed7405adcd7a40538792eb169eddd8fa5630c16a1ef49dae71a30f4/numpy-2.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:24d0eb82c0541d3415a33425db64ae439dffccd7b4dbcb30e7c35120205c506a", size = 12562177, upload-time = "2026-07-04T17:07:29.887Z" }, + { url = "https://files.pythonhosted.org/packages/22/ed/49707938b6dd0a78a9178dd93227dc89e4c11af47f5c798d70366e8d0483/numpy-2.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5a4c988b38d261deeeaad9954e3deb091ad905c94e8bb6708654ef1d97f286b0", size = 10627739, upload-time = "2026-07-04T17:07:32.568Z" }, + { url = "https://files.pythonhosted.org/packages/a6/c7/bb4b882cfe7f299cbc8b66e42e7dd78cf9d14e40f9469fc5e3db7e15b3bd/numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a33276be12fa045805f477f22482088b66bb758ffbe89a9d21457de863a32e22", size = 11894709, upload-time = "2026-07-04T17:07:34.941Z" }, + { url = "https://files.pythonhosted.org/packages/40/3f/5af7f4a7f6224aef48017aa82bb6174c7a659d724be0c75017b7e64a55b4/numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:f089d7b00756190aacf1f5d34bdf38c3c430ac82b4f868f8cede73380460fce7", size = 5453810, upload-time = "2026-07-04T17:07:37.495Z" }, + { url = "https://files.pythonhosted.org/packages/20/c9/3474309bc94d634d3f9c3eddf03250ecb8c22cd948ef16fef69a77cc5d7b/numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:09e9bfd8d2cf479c7d174804fb3811c53a8e9f20a37444008606b57d6b7a826d", size = 6761189, upload-time = "2026-07-04T17:07:39.563Z" }, + { url = "https://files.pythonhosted.org/packages/90/8a/558ae39fdd55d7e7f7fef9a84a6e964ac6b23edbd2a07e52bb084500507d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e68d8dd1e7eba712948f2053a29ec86917bc70ba1358df869d9f06649ef9cf09", size = 15225039, upload-time = "2026-07-04T17:07:41.682Z" }, + { url = "https://files.pythonhosted.org/packages/63/27/ca7392b2d030277bdf0273e7d23255b3ee57d57a7c170a6f4fb3981e1e5d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:99d5095fa265a0c4152e7bb12759e14381ef5496152f1ce58f44bdf55c44beb4", size = 16701306, upload-time = "2026-07-04T17:07:44.611Z" }, + { url = "https://files.pythonhosted.org/packages/02/42/03d53ae7996c44d4374a8262e9dc41671fd56cbb98f7d47ef85cf5da4c6b/numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ab87a91b3cc3382b8956095bd8f95e00cf679bb81554339be1a2ba404a1473c1", size = 16589955, upload-time = "2026-07-04T17:07:47.694Z" }, + { url = "https://files.pythonhosted.org/packages/7b/15/6c1784ae469640e65db111e9a34b3d0f14d91e8a38b9ce34810ced370dbb/numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:224ca51130ef7da85bea2191625181cb4f337f9cb64b471f10c1a12aa8b60077", size = 18464252, upload-time = "2026-07-04T17:07:50.684Z" }, + { url = "https://files.pythonhosted.org/packages/94/a8/f98e50356cf167df656c526c2dfeec2d7dde182f2a3da4b458a5938e2776/numpy-2.5.1-cp314-cp314t-win32.whl", hash = "sha256:6eab239876581b2b3c5a242281b6007bbdbcd1c7085d7709bb57c5929b11e6bf", size = 6263298, upload-time = "2026-07-04T17:07:53.445Z" }, + { url = "https://files.pythonhosted.org/packages/72/ac/96ae880cdecad0b3275d9359fcec72667b49a4863c9f12942e43679dda02/numpy-2.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:83ce9c80d5b521b0d77ddcbe5447c218d247929b6cc056ca5351342accfff0af", size = 12748623, upload-time = "2026-07-04T17:07:55.384Z" }, + { url = "https://files.pythonhosted.org/packages/a1/5a/4d2b1601df3602dba7a14f3348ba9bfe94a18adb428e693df6154c293831/numpy-2.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:5a6db61f9aaa57e369905c67d852045d3c4f7126405b29d09b19dec118e9c9cb", size = 10697674, upload-time = "2026-07-04T17:07:58.506Z" }, +] + +[[package]] +name = "opentelemetry-api" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ee/8b/aa9e2d8b8dfa7c946f7dec5d1f8f6ba8eca062f43509a06bdb5ce93d26c0/opentelemetry_api-1.44.0.tar.gz", hash = "sha256:67647e5e9566edcf421166fdf022b3537f818635daa852b289e34604dc6fb33a", size = 72406, upload-time = "2026-07-16T15:25:32.678Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ca/6f/a04e900f465ff3221ccc395522503e2d10e79fa21f2723c8e177aae1e0d1/opentelemetry_api-1.44.0-py3-none-any.whl", hash = "sha256:94b98c893a91b88657eaac1e3ba89618cdb85be6918196705354f34728b2cdef", size = 60018, upload-time = "2026-07-16T15:25:11.657Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-common" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-proto" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/61/09/4d717852c1cf3f854b76c7110a5d00883bc3c99288b9b0dbcbeb9e306eb6/opentelemetry_exporter_otlp_proto_common-1.44.0.tar.gz", hash = "sha256:dc87a5a5bc58f149a56d1547e4691588fa12994cdc3bc039a694ccb3375862ac", size = 20202, upload-time = "2026-07-16T15:25:37.658Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5e/71/65fd9d54c10b860f87c045ccee1264cab7011268895d3528818a29c1172a/opentelemetry_exporter_otlp_proto_common-1.44.0-py3-none-any.whl", hash = "sha256:9a9fe61bba73d802904bc989f1d6b4a7b1ee40f06c40e98d6f85af65aaebb694", size = 17045, upload-time = "2026-07-16T15:25:18.201Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-grpc" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "grpcio" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-common" }, + { name = "opentelemetry-proto" }, + { name = "opentelemetry-sdk" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1f/47/80d9e9d468dc5de3af5096f5ccdb065fa4dd1470f74495cc53e59e397f47/opentelemetry_exporter_otlp_proto_grpc-1.44.0.tar.gz", hash = "sha256:40d1ae9e03fcc36de3cbac610cc99f35894938bff9cfd90fc4ec68bd85448463", size = 27225, upload-time = "2026-07-16T15:25:38.308Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/29/6ae42ba32b153ae0a44ae125f0caff2188bbe62d99c82d1768da30864e72/opentelemetry_exporter_otlp_proto_grpc-1.44.0-py3-none-any.whl", hash = "sha256:6a1a645ea182a2f59440c51fa8301d309f3324a8f9d65f8395584b064b67ee4e", size = 19624, upload-time = "2026-07-16T15:25:19.096Z" }, +] + +[[package]] +name = "opentelemetry-exporter-otlp-proto-http" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-exporter-otlp-proto-common" }, + { name = "opentelemetry-proto" }, + { name = "opentelemetry-sdk" }, + { name = "requests" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1a/87/95e2a5aaa795b4e2260d74e16df2d5541deb2ea9de010bcd615f4dee2654/opentelemetry_exporter_otlp_proto_http-1.44.0.tar.gz", hash = "sha256:c633d7270ad6b57cd4cfbe8b0007a9e2e7c0cb50bd6c50fe2a7b245f721a09d8", size = 25806, upload-time = "2026-07-16T15:25:39.162Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/d0/fdeb1a98d8d3a6205f5f297c51b4a9bfe65126ab60339669bbe3dd54c2e2/opentelemetry_exporter_otlp_proto_http-1.44.0-py3-none-any.whl", hash = "sha256:838592fce774c1c8bb7b9a0a7facbfa82e17be5a8a4e94cef10cb84ae026bae3", size = 21850, upload-time = "2026-07-16T15:25:20.006Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation" +version = "0.65b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "packaging" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/13/91/3c58961cb0360cd60509064734f0be4275383c8681d73c580a40ca83ddce/opentelemetry_instrumentation-0.65b0.tar.gz", hash = "sha256:071d9d9eced9bd6460444ec3b0c77229870ed05a881c22c84fdede58e4eed09b", size = 42689, upload-time = "2026-07-16T15:25:50.275Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/7b/85eab1215f72adf0e68d3dc4a679b9bff993fa679ff34cd8dd378e2659fd/opentelemetry_instrumentation-0.65b0-py3-none-any.whl", hash = "sha256:ea967a72b9939b5fcfdad572753b4306c59dcb99e3f382d95dae04286805e137", size = 36717, upload-time = "2026-07-16T15:24:51.424Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation-asgi" +version = "0.65b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "asgiref" }, + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "opentelemetry-util-http" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/17/83/8e8e83b7ac285281687c7be2fd305213ccccbb8c0a2dd4fb45a8ccaf12c7/opentelemetry_instrumentation_asgi-0.65b0.tar.gz", hash = "sha256:892bca67c56522ffa85a8a83cf934d7b50b3be2132e45cbee705825f0a5ba426", size = 26140, upload-time = "2026-07-16T15:25:54.544Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/9c/376962840b619d2d55fe8ee2285f8c70971c090e5fff614516fc654a6f3a/opentelemetry_instrumentation_asgi-0.65b0-py3-none-any.whl", hash = "sha256:3a845a8ebd1c4ef0d8263401e6545f5b219b2feee612090d50f578a87e71fd65", size = 15903, upload-time = "2026-07-16T15:24:57.198Z" }, +] + +[[package]] +name = "opentelemetry-instrumentation-fastapi" +version = "0.65b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-instrumentation" }, + { name = "opentelemetry-instrumentation-asgi" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "opentelemetry-util-http" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/30/23/b057f8196d06efdc1b50e3ff11fbc499a7d96b35c87f217eb7885542f4ea/opentelemetry_instrumentation_fastapi-0.65b0.tar.gz", hash = "sha256:10a3a95486036230413a58fe4fdf4a83fa6bba46918407e527476994bd92bd97", size = 26236, upload-time = "2026-07-16T15:26:05.954Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/b0/c9b0300d33349ecc3dfd2362516eaffc44877e90970e6a52178ff953fec3/opentelemetry_instrumentation_fastapi-0.65b0-py3-none-any.whl", hash = "sha256:cda2610a0ec1b22d19886f33e4d861e9f5dbb886aeaa3a1263b47aff82c36943", size = 13261, upload-time = "2026-07-16T15:25:12.429Z" }, +] + +[[package]] +name = "opentelemetry-proto" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/64/01/40ac4ae9a149263cc52c2cee200ddd80cb6d8db1a4610abf8eabce0fe771/opentelemetry_proto-1.44.0.tar.gz", hash = "sha256:c547a79c2f8c0c515d31509154682e5921c7cfd5ca67b70e1f9266e2c3e103f3", size = 46488, upload-time = "2026-07-16T15:25:45.34Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/7c/8be563d68e93bbefa5c8affb82ddcff91b3ad858ce49957ba7b16fd3e0ab/opentelemetry_proto-1.44.0-py3-none-any.whl", hash = "sha256:898b155a0e1557afd867478fb6158e8122a46329ca0bb8dc53cc55e98f017f56", size = 72483, upload-time = "2026-07-16T15:25:28.429Z" }, +] + +[[package]] +name = "opentelemetry-sdk" +version = "1.44.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "opentelemetry-semantic-conventions" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5d/77/a6592cbc7c8d9bcc9d6757a9df45e04a7c585e3e6e7a13456da522b21109/opentelemetry_sdk-1.44.0.tar.gz", hash = "sha256:cebe7f65dc12f26ead75c6064de12fd2a9052e5060c0272d402cfa203aae123b", size = 208624, upload-time = "2026-07-16T15:25:46.078Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/23/ff077e61886ee020a17ce9c8b6fa11c601c8d8345b09ea24f605445df62a/opentelemetry_sdk-1.44.0-py3-none-any.whl", hash = "sha256:df081c4c6bcfdb1211e3e86140376792643128a25f8d72d1d27675936e7e96ad", size = 137221, upload-time = "2026-07-16T15:25:29.534Z" }, +] + +[[package]] +name = "opentelemetry-semantic-conventions" +version = "0.65b0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "opentelemetry-api" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8f/73/0cbdebcb4cf545fdd328da14f5137e37d0770c3f26185e478b0d15d94f50/opentelemetry_semantic_conventions-0.65b0.tar.gz", hash = "sha256:f9b2b81e9d5b64f11bc952075e7e9c7fb0aab075c7fd1c46d597f1b919852d60", size = 148774, upload-time = "2026-07-16T15:25:46.902Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a6/0e/49df70d9b81fb5cbae4bbf2a49d865b09bcbcbc4eb53f5851b1027738d78/opentelemetry_semantic_conventions-0.65b0-py3-none-any.whl", hash = "sha256:1cacde7b0ad306f84c5ef08c3dbe1bbaf20165bba6f8bff43b670e555a086bcb", size = 204645, upload-time = "2026-07-16T15:25:30.688Z" }, +] + +[[package]] +name = "opentelemetry-util-http" +version = "0.65b0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/32/a9/d7525a59fdd240e69b5af4a6338e78fafa1b4203394122cbd6701fb5f84a/opentelemetry_util_http-0.65b0.tar.gz", hash = "sha256:84f82d826978bba416ab453460ff6a7391cdc3534c93a786595e4068680016b7", size = 11243, upload-time = "2026-07-16T15:26:27.898Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/23/3f/ab8d29df207ce5f470a07fa96ebb48af4e95b7fab7e7635311b9a32f2fab/opentelemetry_util_http-0.65b0-py3-none-any.whl", hash = "sha256:7553b606f963097cb190536dc30556cce85090692e471a422fff30ca29b04348", size = 8245, upload-time = "2026-07-16T15:25:46.482Z" }, +] + +[[package]] +name = "optuna" +version = "4.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "alembic" }, + { name = "colorlog" }, + { name = "numpy" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "sqlalchemy" }, + { name = "tqdm" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f4/aa/05f5e3f662cc96a4c478fc3446b8ed6359825a2b504ecb614a9ac84e4a4d/optuna-4.9.0.tar.gz", hash = "sha256:b322e5cbdf1655fb84c37646c4a7a1f391de1b47806bbe222e015825d0a82b87", size = 485834, upload-time = "2026-06-01T06:23:30.424Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ab/f3/e5fcd5d9b15771ed6dc10e3a7eeddc672e418f4f4c4653d216cc1d857e2d/optuna-4.9.0-py3-none-any.whl", hash = "sha256:f52f3be6148654850c92a5860d398fd88ec6b2c84ab68d9c3d07dcff02e7afee", size = 425553, upload-time = "2026-06-01T06:23:28.804Z" }, +] + [[package]] name = "packaging" version = "26.2" @@ -145,6 +651,49 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" }, ] +[[package]] +name = "petrinaut-optimization" +version = "0.1.0" +source = { virtual = "apps/petrinaut-opt" } +dependencies = [ + { name = "fastapi" }, + { name = "opentelemetry-exporter-otlp-proto-grpc" }, + { name = "opentelemetry-exporter-otlp-proto-http" }, + { name = "opentelemetry-instrumentation-fastapi" }, + { name = "opentelemetry-sdk" }, + { name = "optuna" }, + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "uvicorn", extra = ["standard"] }, +] + +[package.dev-dependencies] +dev = [ + { name = "httpx2" }, + { name = "pytest" }, + { name = "ruff" }, +] + +[package.metadata] +requires-dist = [ + { name = "fastapi", specifier = ">=0.128.8" }, + { name = "opentelemetry-exporter-otlp-proto-grpc", specifier = ">=1.44.0" }, + { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.44.0" }, + { name = "opentelemetry-instrumentation-fastapi", specifier = ">=0.65b0" }, + { name = "opentelemetry-sdk", specifier = ">=1.44.0" }, + { name = "optuna", specifier = ">=3.6" }, + { name = "pydantic", specifier = ">=2.13.4,<3.0.0" }, + { name = "python-dotenv", specifier = ">=1.0.0" }, + { name = "uvicorn", extras = ["standard"], specifier = ">=0.39.0" }, +] + +[package.metadata.requires-dev] +dev = [ + { name = "httpx2", specifier = ">=2.7.0,<3" }, + { name = "pytest", specifier = ">=9.1.1,<10" }, + { name = "ruff", specifier = ">=0.15.21,<0.16" }, +] + [[package]] name = "pluggy" version = "1.6.0" @@ -166,6 +715,77 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" }, ] +[[package]] +name = "protobuf" +version = "7.35.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/da/01/9ef0afd7999eb9badb3a768b4aedd78c86d4c65cfaf1958ab276199e76b4/protobuf-7.35.1.tar.gz", hash = "sha256:ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a", size = 458717, upload-time = "2026-06-11T21:55:40.257Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/03/8aeeb7458d22546bf64b5250ca1daeb5ff757d900e8e4a7476c6f0db843e/protobuf-7.35.1-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6", size = 433226, upload-time = "2026-06-11T21:55:31.719Z" }, + { url = "https://files.pythonhosted.org/packages/37/4b/dfb89eb0e652a1ff073c39a59fb5e3a83cfe9b57a2c83fa6d78270101767/protobuf-7.35.1-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799", size = 328847, upload-time = "2026-06-11T21:55:34.035Z" }, + { url = "https://files.pythonhosted.org/packages/0f/58/dc12f2cd484951524af6e3382c785869b9b3fb5e52ee95ae23add53ee8f9/protobuf-7.35.1-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:b73f9489a4b8b1c9cb1f8ed951c736392592edb24b9d6819f36d2e10b171d5b4", size = 344030, upload-time = "2026-06-11T21:55:34.941Z" }, + { url = "https://files.pythonhosted.org/packages/e4/be/5b3cfe508bfab6761414ff944e3366eb13be4fd71efcd69450f89ba39f43/protobuf-7.35.1-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:74758715c53d7158fb76caf4f0cfdacc5329a4b1bb994f865d6cf302d413a1c4", size = 327130, upload-time = "2026-06-11T21:55:35.921Z" }, + { url = "https://files.pythonhosted.org/packages/d8/bc/6d6c7ba8709c85f8f2c390b2b118d6fb08a783676a572271851bf45a7d22/protobuf-7.35.1-cp310-abi3-win32.whl", hash = "sha256:353652e4efd0bca5b5fc2656abf8307ef351f0cf938c9eba09f0e09c20a25c30", size = 428945, upload-time = "2026-06-11T21:55:37.034Z" }, + { url = "https://files.pythonhosted.org/packages/0a/19/8d0cb6f20a1ef7b18f1c8986ad5783f22f84cce39c6ce9a6e645ea55192e/protobuf-7.35.1-cp310-abi3-win_amd64.whl", hash = "sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87", size = 439996, upload-time = "2026-06-11T21:55:38.123Z" }, + { url = "https://files.pythonhosted.org/packages/19/c7/5f7c636ec43e0c545e28d1f1db71990108306f7bdcb89f069ba97e428e7f/protobuf-7.35.1-py3-none-any.whl", hash = "sha256:4bc97768d8fe4ad6743c8a19403e314511ed9f6d13205b687e52421c023ac1b9", size = 171659, upload-time = "2026-06-11T21:55:39.155Z" }, +] + +[[package]] +name = "pydantic" +version = "2.13.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.46.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" }, + { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" }, + { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" }, + { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" }, + { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" }, + { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" }, + { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" }, + { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" }, + { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" }, + { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" }, + { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" }, + { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" }, + { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" }, + { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" }, + { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" }, + { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" }, + { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" }, + { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" }, + { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" }, + { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" }, + { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" }, + { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" }, + { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" }, + { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" }, + { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" }, + { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" }, + { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" }, +] + [[package]] name = "pydot" version = "4.0.1" @@ -212,6 +832,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, ] +[[package]] +name = "python-dotenv" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, +] + [[package]] name = "pyyaml" version = "6.0.3" @@ -238,6 +867,21 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, ] +[[package]] +name = "requests" +version = "2.34.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, +] + [[package]] name = "rich" version = "15.0.0" @@ -285,6 +929,45 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c1/d4/59e74daffcb57a07668852eeeb6035af9f32cbfd7a1d2511f17d2fe6a738/smmap-5.0.3-py3-none-any.whl", hash = "sha256:c106e05d5a61449cf6ba9a1e650227ecfb141590d2a98412103ff35d89fc7b2f", size = 24390, upload-time = "2026-03-09T03:43:24.361Z" }, ] +[[package]] +name = "sqlalchemy" +version = "2.0.51" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/02/f1/a7a892f18d4d224e6b26f706531eafccc41e37594d37d304786969ee13cb/sqlalchemy-2.0.51.tar.gz", hash = "sha256:804dccd8a4a6242c4e30ad961e540e18a588f6527202f2d6791b01845d59fdc9", size = 9912201, upload-time = "2026-06-15T15:41:20.012Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b1/49/a739be2e1d02a96a658eb71ab45d921c874249252358ad24a5bffdd02525/sqlalchemy-2.0.51-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6ea306caaae6bd5afd0a46050003c88f6bf33227377a49298c498c3cb88ff491", size = 2158999, upload-time = "2026-06-15T16:08:51.759Z" }, + { url = "https://files.pythonhosted.org/packages/23/6b/2e0e38cf75c8780eca78d9b2e78164f8bcfd70125e5caa588ff5cbb9c9f4/sqlalchemy-2.0.51-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c45a496d6bc05dec41dcd4c3a2b183723f47473255c159cd80b503c8f246424d", size = 3282539, upload-time = "2026-06-15T16:19:51.065Z" }, + { url = "https://files.pythonhosted.org/packages/dd/a1/e77854cb5336fd37dc3c6ae3b71de242c98caac5725120be0b526b31cbd0/sqlalchemy-2.0.51-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4004ada0aafe8ae1991b2cd1d99c6d9146126e123bd6f883c260d974aa012e54", size = 3287545, upload-time = "2026-06-15T16:26:44.735Z" }, + { url = "https://files.pythonhosted.org/packages/f6/ab/9e17272fd4dac8df3b83c4fbe52b998a1c9d89a843c8c35ff29b74ff7364/sqlalchemy-2.0.51-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0f6bcad487aee1c638d707235682fc96f741de00663619881ab235400d03289e", size = 3230929, upload-time = "2026-06-15T16:19:52.625Z" }, + { url = "https://files.pythonhosted.org/packages/02/3c/52f408ea701781caee975606beccc48845f2aee8711ac29843d612c0306c/sqlalchemy-2.0.51-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:39a76529db6305693d8d4affa58ad5b5e2e18edd62daea628b29b97930b3513d", size = 3252888, upload-time = "2026-06-15T16:26:46.454Z" }, + { url = "https://files.pythonhosted.org/packages/24/16/3efd2ee6bc4ca4693a30a1dd17a91b606cae15d517d2a4746611d9b73ce8/sqlalchemy-2.0.51-cp314-cp314-win32.whl", hash = "sha256:08a204d8b5638717c26a24df18fcf40af45a6b22e35b70b1d62f0113c2e278e8", size = 2120551, upload-time = "2026-06-15T16:23:15.629Z" }, + { url = "https://files.pythonhosted.org/packages/7b/78/55b12e70f45bccc40d9e483925c065027b3b98ea4cbbdf6f8c2546feaf6c/sqlalchemy-2.0.51-cp314-cp314-win_amd64.whl", hash = "sha256:96747bfbadb055466e5b46d572618170046b45ce5a4879167f50d70a5319a499", size = 2146318, upload-time = "2026-06-15T16:23:17.108Z" }, + { url = "https://files.pythonhosted.org/packages/21/db/a9574ed40fed418924b1b1a3e54f47ee3963053b3d3d325a0d36b41f2c08/sqlalchemy-2.0.51-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e5ea1a213be1fcd5e49d9904c3b9939211ded90bc2a64e93f4c01963474285de", size = 2178920, upload-time = "2026-06-15T15:59:56.285Z" }, + { url = "https://files.pythonhosted.org/packages/bf/90/a1bb5c7cbba76b7bc1fbd586d0a5479a7bc9c27b4a8298f22ec9423b2bb3/sqlalchemy-2.0.51-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7c6b36ed71f41942bdcd2ad2522be46bfce09d5705be5640ecf19bbc7660e4b7", size = 3566534, upload-time = "2026-06-15T15:58:35.024Z" }, + { url = "https://files.pythonhosted.org/packages/15/4b/481f1fed30e0e9e8dd24aecbb49f29eb57fe7657ece5cf06ee9b84bb97d8/sqlalchemy-2.0.51-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0c2c62877097e1a0db401fba5cb4debee33265e5b2a55c4ccb489c02c53b4f72", size = 3535844, upload-time = "2026-06-15T16:02:43.973Z" }, + { url = "https://files.pythonhosted.org/packages/02/71/0aa64aeda645510af0a43f7d9ee70932f0d1dc4263aed34c50ee891d9df3/sqlalchemy-2.0.51-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:0378d055e9e8cd6ce4d8dff683bdd3d7d413533c4ee51d67a2b1e0f9eacc0f23", size = 3475355, upload-time = "2026-06-15T15:58:36.592Z" }, + { url = "https://files.pythonhosted.org/packages/05/db/6061db32316446135a3abae5f308d144ab988a34234726042da3e58b1c63/sqlalchemy-2.0.51-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6e46fc36029eff666391e0531e5387b62ce6c4f1d8e50b3fb3099eaca1b42522", size = 3486591, upload-time = "2026-06-15T16:02:45.346Z" }, + { url = "https://files.pythonhosted.org/packages/0d/c9/f14fdf71bb8957e0c7e39db69bbdf12b5c80f4ef775fdfa127bf4e0d6760/sqlalchemy-2.0.51-cp314-cp314t-win32.whl", hash = "sha256:9161cfc9efce70d1715f47d6ff40f79c6778c00d53be4fbc09d70301e4b83ba7", size = 2151313, upload-time = "2026-06-15T16:03:39.127Z" }, + { url = "https://files.pythonhosted.org/packages/6a/c6/673e618e6f4f297e126d9b56ea2f6478708f6c1af4e3223835c22e2c3697/sqlalchemy-2.0.51-cp314-cp314t-win_amd64.whl", hash = "sha256:159bb6ba32059f57ad7375a8f50d844dd2f19d14954ecf820cd33e20debd46b2", size = 2186280, upload-time = "2026-06-15T16:03:40.569Z" }, + { url = "https://files.pythonhosted.org/packages/e2/22/dbf013a12ec759e54a34a119e9e217435b3f71b2dd5c61a7ade0a25dae87/sqlalchemy-2.0.51-py3-none-any.whl", hash = "sha256:bb024d8b621d0be75f4f44ecc7c950450026e76d66dc8f791bb5331d7fed59d5", size = 1944334, upload-time = "2026-06-15T16:09:22.418Z" }, +] + +[[package]] +name = "starlette" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/eb/e3/7c1dc7381d9f8ab7d854328ebfa884e62cb3f3d8549ddfd37c7814f42afa/starlette-1.3.1.tar.gz", hash = "sha256:05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0", size = 2703240, upload-time = "2026-06-12T09:23:11.602Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/bb/2799cc2ede3ed41131f8975621e7213dfc7ef4acbbaadfa440f32500c370/starlette-1.3.1-py3-none-any.whl", hash = "sha256:c7372aae11c3c3f26a42df7bd626cec2f47d03483d261d369516a615a53714c6", size = 73632, upload-time = "2026-06-12T09:23:10.017Z" }, +] + [[package]] name = "tach" version = "0.35.0" @@ -363,6 +1046,27 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6a/43/8bd850ee71a191bf072e31302c73a66be413fecdd98fdcd111ecbcce13ca/tomlkit-0.15.0-py3-none-any.whl", hash = "sha256:4dbc8f0fc024412b57ced8757ac7461305126a648ff8c2c807fcb8e133a78738", size = 41328, upload-time = "2026-05-10T07:38:23.517Z" }, ] +[[package]] +name = "tqdm" +version = "4.69.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8c/69/40407dfc835517f058b603dbf37a6df094d8582b015a51eddc988febbcb7/tqdm-4.69.0.tar.gz", hash = "sha256:700c5e85dcd5f009dd6222588a29180a193a748247a5d855b4d67db93d79a53b", size = 792569, upload-time = "2026-07-17T18:09:06.2Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fe/21/99a0cdaf54eb35e77623c41b5a2c9472ee4404bba687052791fe2aba6773/tqdm-4.69.0-py3-none-any.whl", hash = "sha256:9979978912be667a6ef21fd5d8abf54e324e63d82f7f43c360792ebc2bc4e622", size = 676680, upload-time = "2026-07-17T18:09:04.172Z" }, +] + +[[package]] +name = "truststore" +version = "0.10.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/53/a3/1585216310e344e8102c22482f6060c7a6ea0322b63e026372e6dcefcfd6/truststore-0.10.4.tar.gz", hash = "sha256:9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301", size = 26169, upload-time = "2025-08-12T18:49:02.73Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" }, +] + [[package]] name = "ty" version = "0.0.58" @@ -388,6 +1092,115 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/26/04/c9847cb680b5fe8e1f7d7b483edd5cedcc29394496e7b8ed40d96be796ba/ty-0.0.58-py3-none-win_arm64.whl", hash = "sha256:7334bb38789878f60677f2eb9c1de4bfdf4583e2443790989c77da9b10fe0989", size = 11710495, upload-time = "2026-07-10T03:09:28.478Z" }, ] +[[package]] +name = "typing-extensions" +version = "4.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, +] + +[[package]] +name = "urllib3" +version = "2.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, +] + +[[package]] +name = "uvicorn" +version = "0.51.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a2/65/b7c6c443ccc58678c91e1e973bbe2a878591538655d6e1d47f24ba1c51f3/uvicorn-0.51.0.tar.gz", hash = "sha256:f6f4b69b657c312f516dd2d268ab9ae6f254b11e4bac504f37b2ab58b24dd0b0", size = 94412, upload-time = "2026-07-08T10:59:05.962Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/45/ec/dbb7e5a6b91f86bfb9eb7d2988a2730907b6a729875b949c7f022e8b88fa/uvicorn-0.51.0-py3-none-any.whl", hash = "sha256:5d38af6cd620f2ae3849fb44fd4879e0890aa1febe8d47eb355fb45d93fe6a5b", size = 73219, upload-time = "2026-07-08T10:59:04.44Z" }, +] + +[package.optional-dependencies] +standard = [ + { name = "httptools" }, + { name = "python-dotenv" }, + { name = "pyyaml" }, + { name = "uvloop", marker = "platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'" }, + { name = "watchfiles" }, + { name = "websockets" }, +] + +[[package]] +name = "uvloop" +version = "0.22.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250, upload-time = "2025-10-16T22:17:19.342Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/90/cd/b62bdeaa429758aee8de8b00ac0dd26593a9de93d302bff3d21439e9791d/uvloop-0.22.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3879b88423ec7e97cd4eba2a443aa26ed4e59b45e6b76aabf13fe2f27023a142", size = 1362067, upload-time = "2025-10-16T22:16:44.503Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f8/a132124dfda0777e489ca86732e85e69afcd1ff7686647000050ba670689/uvloop-0.22.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4baa86acedf1d62115c1dc6ad1e17134476688f08c6efd8a2ab076e815665c74", size = 752423, upload-time = "2025-10-16T22:16:45.968Z" }, + { url = "https://files.pythonhosted.org/packages/a3/94/94af78c156f88da4b3a733773ad5ba0b164393e357cc4bd0ab2e2677a7d6/uvloop-0.22.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:297c27d8003520596236bdb2335e6b3f649480bd09e00d1e3a99144b691d2a35", size = 4272437, upload-time = "2025-10-16T22:16:47.451Z" }, + { url = "https://files.pythonhosted.org/packages/b5/35/60249e9fd07b32c665192cec7af29e06c7cd96fa1d08b84f012a56a0b38e/uvloop-0.22.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c1955d5a1dd43198244d47664a5858082a3239766a839b2102a269aaff7a4e25", size = 4292101, upload-time = "2025-10-16T22:16:49.318Z" }, + { url = "https://files.pythonhosted.org/packages/02/62/67d382dfcb25d0a98ce73c11ed1a6fba5037a1a1d533dcbb7cab033a2636/uvloop-0.22.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b31dc2fccbd42adc73bc4e7cdbae4fc5086cf378979e53ca5d0301838c5682c6", size = 4114158, upload-time = "2025-10-16T22:16:50.517Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/f1171b4a882a5d13c8b7576f348acfe6074d72eaf52cccef752f748d4a9f/uvloop-0.22.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:93f617675b2d03af4e72a5333ef89450dfaa5321303ede6e67ba9c9d26878079", size = 4177360, upload-time = "2025-10-16T22:16:52.646Z" }, + { url = "https://files.pythonhosted.org/packages/79/7b/b01414f31546caf0919da80ad57cbfe24c56b151d12af68cee1b04922ca8/uvloop-0.22.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:37554f70528f60cad66945b885eb01f1bb514f132d92b6eeed1c90fd54ed6289", size = 1454790, upload-time = "2025-10-16T22:16:54.355Z" }, + { url = "https://files.pythonhosted.org/packages/d4/31/0bb232318dd838cad3fa8fb0c68c8b40e1145b32025581975e18b11fab40/uvloop-0.22.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b76324e2dc033a0b2f435f33eb88ff9913c156ef78e153fb210e03c13da746b3", size = 796783, upload-time = "2025-10-16T22:16:55.906Z" }, + { url = "https://files.pythonhosted.org/packages/42/38/c9b09f3271a7a723a5de69f8e237ab8e7803183131bc57c890db0b6bb872/uvloop-0.22.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:badb4d8e58ee08dad957002027830d5c3b06aea446a6a3744483c2b3b745345c", size = 4647548, upload-time = "2025-10-16T22:16:57.008Z" }, + { url = "https://files.pythonhosted.org/packages/c1/37/945b4ca0ac27e3dc4952642d4c900edd030b3da6c9634875af6e13ae80e5/uvloop-0.22.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b91328c72635f6f9e0282e4a57da7470c7350ab1c9f48546c0f2866205349d21", size = 4467065, upload-time = "2025-10-16T22:16:58.206Z" }, + { url = "https://files.pythonhosted.org/packages/97/cc/48d232f33d60e2e2e0b42f4e73455b146b76ebe216487e862700457fbf3c/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:daf620c2995d193449393d6c62131b3fbd40a63bf7b307a1527856ace637fe88", size = 4328384, upload-time = "2025-10-16T22:16:59.36Z" }, + { url = "https://files.pythonhosted.org/packages/e4/16/c1fd27e9549f3c4baf1dc9c20c456cd2f822dbf8de9f463824b0c0357e06/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6cde23eeda1a25c75b2e07d39970f3374105d5eafbaab2a4482be82f272d5a5e", size = 4296730, upload-time = "2025-10-16T22:17:00.744Z" }, +] + +[[package]] +name = "watchfiles" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cd/41/5e1a4bb12aac5f1493fa1bdc11154eca3b258ca4eba65d39c473fe19d8e9/watchfiles-1.2.0.tar.gz", hash = "sha256:c995fba777f1ea992f090f9236e9284cf7a5d1a0130dd5a3d82c598cacd76838", size = 108252, upload-time = "2026-05-18T04:32:04.251Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/54/a9c7ea9a82a4ac65e7004c0a03920b5cdd2f9c3b678757d9cd425aa51d53/watchfiles-1.2.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:b8c8358484d5fa12ef34f05b7f4168eaf1932f408725ff6d023c33ec17bd79d4", size = 400205, upload-time = "2026-05-18T04:32:05.153Z" }, + { url = "https://files.pythonhosted.org/packages/aa/5d/c9ab3534374a4a67450696905d6ef16a04405448b8dc52bd752ae50423d4/watchfiles-1.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f04b092229ad2c50126dd3c922c8822e51e605993764a33058d4a791ab42281", size = 392508, upload-time = "2026-05-18T04:30:54.849Z" }, + { url = "https://files.pythonhosted.org/packages/26/ca/1ad30103535cf0cecd7b993e8d50edc5351b1820e38f2d22e3df58962feb/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a7ce236284f002a156f70add88efe5c70879cccbb658be0822c54b1306fc09d", size = 452448, upload-time = "2026-05-18T04:30:53.727Z" }, + { url = "https://files.pythonhosted.org/packages/37/a1/ceee2cdf2afbd715fa07758d39c9859513eae411b23196f7fd039e5feedd/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b9909cc2b48468b575eefa944919e1fe8a36c5849d5c7c168f80a8c1db69398e", size = 459605, upload-time = "2026-05-18T04:30:23.312Z" }, + { url = "https://files.pythonhosted.org/packages/e8/f6/421e30fd1cb3907a84ed92ab3f1983e37ba2dca015e9a894a048418417a2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a37faaed405c67e28e6be45a1fa4f206ef5a2860f27c237db9fa30704c38242", size = 490757, upload-time = "2026-05-18T04:30:47.358Z" }, + { url = "https://files.pythonhosted.org/packages/41/b0/55ed1b97ed08be7bba6f9a541cac15f2a858e1d74d2b07b6da70a82aab00/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9649193aa27bd9ff2e80ff29bfaa93085496c7a3a377592823cc58b77ee88add", size = 568672, upload-time = "2026-05-18T04:30:38.915Z" }, + { url = "https://files.pythonhosted.org/packages/d1/cf/d8ae8a80dd7bafab395ea7681c10237311bbf34d37704a8c744e7cf31fc7/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e4ff8e37f99cf1da89e255e07c9c4b37c214038c4283707bdec308cb1b0ea1f", size = 464197, upload-time = "2026-05-18T04:30:09.914Z" }, + { url = "https://files.pythonhosted.org/packages/7c/8a/3076c496ca8dafe0e8cd03fcebdfc47be4b1174b4e5b24ff6e396e6b3af2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:054dc20fd2e3132b4c3883b4a00d72fd6e1f56fdaf89fccd12e8057d74cd74d7", size = 453181, upload-time = "2026-05-18T04:30:14.829Z" }, + { url = "https://files.pythonhosted.org/packages/e5/10/9745e17c98e7b8a86454df0a3c7b5686bd650383f1e9f26e4ebcbd6cc0c0/watchfiles-1.2.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:e140ed30ebde76796b686e67c182cff10ea2fbab186fafd1560f74bb5a473a6e", size = 465109, upload-time = "2026-05-18T04:30:28.123Z" }, + { url = "https://files.pythonhosted.org/packages/8f/95/8ef4a95481d3e0cb52d62a06fa6e972e81424be2d9698b91a2fecca9904c/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:bb7e52ecf68ba46d22df23467b87cffeb2146908aa523ebfe803019618cfda06", size = 630653, upload-time = "2026-05-18T04:31:49.304Z" }, + { url = "https://files.pythonhosted.org/packages/fd/e4/3b3bf36b0f829b50c6ebcb8d031583863c59f923d6a6af3d485e470d0fac/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:23282a321c8baf9b3a3c4afff673f9fe65eb7fdc2338d765ccad9d3d1916a5ba", size = 657838, upload-time = "2026-05-18T04:31:06.497Z" }, + { url = "https://files.pythonhosted.org/packages/21/b1/6cbbb50c1f3002ab568777d44aa21206dfb8807a840990c4037523b51812/watchfiles-1.2.0-cp314-cp314-win32.whl", hash = "sha256:c0db965c5f79aa49fe672d297cf1febc5ad149b658594944f49a54a2b96270a7", size = 275108, upload-time = "2026-05-18T04:30:06.891Z" }, + { url = "https://files.pythonhosted.org/packages/92/45/190ce6db8dcb4536682cf75d3889ff1a27182a58cb519d343cb6d9ea63d8/watchfiles-1.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:71283b39fd17e5408eb123bd37aeecfd9d54c81fc184421943208aadb879d103", size = 288441, upload-time = "2026-05-18T04:32:12.901Z" }, + { url = "https://files.pythonhosted.org/packages/74/0d/3eae1c2313ab08378431d907c3f8095ecca00f3eda33111cf4f0f2591799/watchfiles-1.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:c5c19526f4e54a00f2666a6c0e9e40d582c09e865055ea7378bf0009aab857b3", size = 280684, upload-time = "2026-05-18T04:31:26.902Z" }, + { url = "https://files.pythonhosted.org/packages/b1/75/fb64e6c25d6b5ca636d03df34ffb1c6e9873303e76d27967e045f8df088f/watchfiles-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:d73a585accffa5ae39c17264c36ec3166d2fad7000c780f5ef83b2722afb9dd2", size = 398857, upload-time = "2026-05-18T04:32:17.108Z" }, + { url = "https://files.pythonhosted.org/packages/73/4e/9f7adf01754cbf81843722ccfec169d8f26c69778281a302855cecd2ee08/watchfiles-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ae99b14c5f21e026e0e9d96f40e07d8570ebee6cafd9d8fc318354606daa7a28", size = 392413, upload-time = "2026-05-18T04:31:07.911Z" }, + { url = "https://files.pythonhosted.org/packages/47/c8/bec626bcc2d69f44b9acb24ce7d60ed7b16b73628eea747fcbd169d8edda/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4429f3b105524a10b72c3a819b091c495d2811d419c1e1e8df773a5a5974f831", size = 452409, upload-time = "2026-05-18T04:31:20.142Z" }, + { url = "https://files.pythonhosted.org/packages/00/b7/b6362068e81e7c556d155a34c35d40ac3ef42d747b06d7f6e5bf58e359c2/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43d818978d06062d9b22c4fab2ebe44cf5213d42dc8e62bda8c2760cfa2eeb33", size = 458827, upload-time = "2026-05-18T04:32:06.219Z" }, + { url = "https://files.pythonhosted.org/packages/67/f8/9a813fa42afb1e0b4625e75f0479826644d3ee8dc287e093799bc01f390c/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f732dc58b2dbe69e464ccf8fff7a03b0dd0be439da4c0720d3558527d3d6b4", size = 490104, upload-time = "2026-05-18T04:31:56.034Z" }, + { url = "https://files.pythonhosted.org/packages/2f/bf/27dfb6094ca4c9aad21298b5525b6c53cb36121ee454331d05161e58d130/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f200104103feb097de4cab8fe4f5dd18a2026934c7dea98c55a2f5fd6d5a33b", size = 571360, upload-time = "2026-05-18T04:31:57.133Z" }, + { url = "https://files.pythonhosted.org/packages/fb/39/44a096d67270ea93df91d33877dbe91fbda3aa4f8ec2edf799d93eda8736/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:63ac26eefbf4af1741247d6fb68b11c49a25b2f7413fbd318a83a12aaa9cf666", size = 464644, upload-time = "2026-05-18T04:30:57.33Z" }, + { url = "https://files.pythonhosted.org/packages/0e/80/c7472203bad6268e3ef1ad260739704847898938ad7ea8b63a5131f46b50/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c4997d4e4a55f0d02b6cde327322daf3a0400e5df6c6b15948994bf72497925", size = 454771, upload-time = "2026-05-18T04:30:48.736Z" }, + { url = "https://files.pythonhosted.org/packages/51/cf/3b10b268b4b7f0fc26e9debb5eef1998b515887840f444cd3ec80c688755/watchfiles-1.2.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:4c887eba18b7945ac73067a8b4a66f21cd46c2539b2bc68588f7be6c7eb6d26b", size = 463494, upload-time = "2026-05-18T04:31:33.826Z" }, + { url = "https://files.pythonhosted.org/packages/3d/3e/a4302545cd589262a0dc7d140e86f7688eba3f9c72776c27f7e23b8864c4/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:3416ff151bb6b5a8d8d11664974fbef4d9305b9b2957839ab5a270468fd8df30", size = 629383, upload-time = "2026-05-18T04:31:15.596Z" }, + { url = "https://files.pythonhosted.org/packages/db/99/d5649df0a9a410d45b7c882304d0b790903ac9b6e8f2cfd12114e0c6b9f2/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:0e831a271c035d89789cffc386b6aa1375f39f1cd25eb7ca0997e4970d152fc5", size = 656093, upload-time = "2026-05-18T04:31:58.707Z" }, +] + [[package]] name = "wcwidth" version = "0.8.2" @@ -396,3 +1209,77 @@ sdist = { url = "https://files.pythonhosted.org/packages/34/74/c6428f875774288be wheels = [ { url = "https://files.pythonhosted.org/packages/96/42/3e5985a0a7e57de470b320c6d6a1a67c844f6737a587f3d44dd13d1819e7/wcwidth-0.8.2-py3-none-any.whl", hash = "sha256:d63947694a0539a1d51e01eda7caf800c291020e6cdd7e28ad7b14dd33ad4f85", size = 323166, upload-time = "2026-06-29T18:11:09.888Z" }, ] + +[[package]] +name = "websockets" +version = "16.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/f7/bc3a25c5ec26ce62ce487690becc2f3710bbc7b33338f005ad390db0b986/websockets-16.1.1.tar.gz", hash = "sha256:db234eda965dcce15df96bb9709f587cd87d4d52aaf0e80e2f34ec04c7670c57", size = 182204, upload-time = "2026-07-17T22:51:05.858Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/73/a2/ba78a164eeea4620df4a4df4bd2ed6017438c4655cc0f36f2c0bc0432355/websockets-16.1.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:443aefe96b7fdb132e2a70806cca1f2af49bb3f28e47abcd7c2e9dcf4d8fa1b8", size = 179635, upload-time = "2026-07-17T22:50:05.001Z" }, + { url = "https://files.pythonhosted.org/packages/b9/08/d26d7a7628cd4ac34cbbdb63ac80914ca842ed8e42938c40a53567806df3/websockets-16.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:6456ff333092d509127d75a638cb411afae8ff17f092635015d1902efec8a293", size = 177320, upload-time = "2026-07-17T22:50:06.427Z" }, + { url = "https://files.pythonhosted.org/packages/0f/45/ebec83e6269536aa5932533c67b0af5c781f3e73fdbcd68672dcf43f4f44/websockets-16.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fce6c48559c86d1ac3632ccb1bebc7d5442fbe79bd9bb0e40379ee54be2a4051", size = 177544, upload-time = "2026-07-17T22:50:07.834Z" }, + { url = "https://files.pythonhosted.org/packages/c9/d5/abc614d2297f6c1c3e01e61260364457a47c25cc1cf6a879038902bc6aa8/websockets-16.1.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:92b820d345f7a3fc7b8163949ee92df910f290c3fc517b3d5301c78065adafe1", size = 187270, upload-time = "2026-07-17T22:50:09.275Z" }, + { url = "https://files.pythonhosted.org/packages/52/71/4c99af3b87dff1b2927981f6876607d4acb45338c665242168d3982f7758/websockets-16.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a606d9c24035242a3e256e9d5b77ed9cd6bccfcb7cf993e5ca3c0f6f68fb6a7", size = 188509, upload-time = "2026-07-17T22:50:10.722Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b4/5c8ca14b0df7eb84ed0524165c5359150210140817a3312aee57bf62a1cf/websockets-16.1.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:414e596c75f74e0994084694189d7dc9229fb278e33064d6784b73ffbba3ca31", size = 189882, upload-time = "2026-07-17T22:50:12.293Z" }, + { url = "https://files.pythonhosted.org/packages/25/c1/bedfba9e70557129cb8083748d167bdcc01483dedf0f0df143676df05cbe/websockets-16.1.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:536676848fc5961aca9d20389951f59169508f765637a172403dc5434d722fa0", size = 189114, upload-time = "2026-07-17T22:50:13.789Z" }, + { url = "https://files.pythonhosted.org/packages/df/09/aa835b2787835aebd839114be5de51b797cb480b63ba42b26d34dfe147cb/websockets-16.1.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:97fd3a0e8b53efa41970ac1dff3d8cf0d2884cadeb4caaf95db7ad1526926ee3", size = 187861, upload-time = "2026-07-17T22:50:15.179Z" }, + { url = "https://files.pythonhosted.org/packages/20/26/f6408330694dbc9830857d9d23bc14ac4f6875127a480cfdda8d5ca21198/websockets-16.1.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7b1b19636af86a3c7995d4d028dbe376f39b4bf31541146f9c123582a6c94562", size = 185286, upload-time = "2026-07-17T22:50:16.741Z" }, + { url = "https://files.pythonhosted.org/packages/17/9a/e0675e70dd8a80762cf35bb18799d3f290a4890ffe6439bc51d222796083/websockets-16.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:41c8e77f17294c0ac18008a7309b99b34ee72247ef10b6dff4c3f8b5ac29896b", size = 187935, upload-time = "2026-07-17T22:50:18.213Z" }, + { url = "https://files.pythonhosted.org/packages/33/c1/3234cfb86afde01b81e9bddcc6e534c440975d60a13991259e833069ab3e/websockets-16.1.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:9f63bcef7f4b02b06b35fc01c93b96c43b5e88e1e8868676caacf493d5a31f3a", size = 186444, upload-time = "2026-07-17T22:50:19.67Z" }, + { url = "https://files.pythonhosted.org/packages/89/87/9c15206e1d778923d8daa9657de07aa62ea815e13448319c98458c37b281/websockets-16.1.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:dab9eb87869da2d6ed3af3f3adf28414baae6ec9d4df355ffc18889132f3436c", size = 188409, upload-time = "2026-07-17T22:50:21.28Z" }, + { url = "https://files.pythonhosted.org/packages/f2/00/cf5de5c67676de2d3eef8b2a518f168f6796595447a5b7161ba0d012915c/websockets-16.1.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:43e3a9fdd7cbf7ba6040c31fae0faf84ca1474fef777c4e37912f1540f854499", size = 185958, upload-time = "2026-07-17T22:50:22.719Z" }, + { url = "https://files.pythonhosted.org/packages/62/c0/731b6ddede2e4136912ec4cff2cffbda35af73546be4762c3d7bd3bd79af/websockets-16.1.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:056ae37939ed7e9974f364f5864e76e49182622d8f9751ac1903c0d09b013985", size = 186911, upload-time = "2026-07-17T22:50:24.108Z" }, + { url = "https://files.pythonhosted.org/packages/8c/7f/39c634472c4469a24a7c09cecddffb08fac6d0e74f73881a94ee8a40a196/websockets-16.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a0eadbbf2c30f01efa58e1f110eb6fa293261f6b0b1aa38f7f48707107690af9", size = 187204, upload-time = "2026-07-17T22:50:25.548Z" }, + { url = "https://files.pythonhosted.org/packages/26/89/9667c256c256dafcc62d21328ce7a40067da857969b68ee9af375b0aaf72/websockets-16.1.1-cp314-cp314-win32.whl", hash = "sha256:195c978b065fa40910582464f99d6b15c8b314c68e0546549a55ed83f4735328", size = 179603, upload-time = "2026-07-17T22:50:27.086Z" }, + { url = "https://files.pythonhosted.org/packages/bd/dd/1c099d6c0fc5deb6b46ccdbb6981fdb4b12c917869cb3952408409dc18db/websockets-16.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:4e8d01cc3bcae7bbf8167f944aeafefed590fae5693552bba9794a9df68371cc", size = 179948, upload-time = "2026-07-17T22:50:28.521Z" }, + { url = "https://files.pythonhosted.org/packages/35/25/9956b2d5e0529d5d23924f21bba1440d4c5c88a562e4f08550871ffa97a7/websockets-16.1.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:0ffd3031ea8bda8d61762e84220186105ba3b748b3c8da2ae4f7816fac03e573", size = 179963, upload-time = "2026-07-17T22:50:29.982Z" }, + { url = "https://files.pythonhosted.org/packages/17/06/55ffc976c488b6aee9ea05761ff7c4e88e7c1fd82818c8ca7b556ad2f90c/websockets-16.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:84a2cef8deffbd9ab8ee0ea546a2a6a7030c28f44e6cdd4547dbfeb489eb8999", size = 177497, upload-time = "2026-07-17T22:50:31.396Z" }, + { url = "https://files.pythonhosted.org/packages/0c/e8/f7dac2e980bacc92bdc26cebae4ae4d50cae5380732c50980598fc0bbae4/websockets-16.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3df13f73af9b3b38ab1195eb299ecb67a4330c911c97ae04043ff74085728abe", size = 177698, upload-time = "2026-07-17T22:50:32.829Z" }, + { url = "https://files.pythonhosted.org/packages/b2/39/26762f734113e22da2b942c3aca85798e0c0405d64c256549540ff31e5a1/websockets-16.1.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:23253dd5bcae3f9aaee0a1d30967a8dbd52e5d3cff93a2e5b84df57b77d4750d", size = 187561, upload-time = "2026-07-17T22:50:34.24Z" }, + { url = "https://files.pythonhosted.org/packages/11/94/c3f330851806b9b02138b774d593478323e73c99238681b4b93efe64e02d/websockets-16.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c1c5705e314449e3308872fe084b8571ce078ee4fc55a98a769bdefe5917392", size = 188732, upload-time = "2026-07-17T22:50:36.088Z" }, + { url = "https://files.pythonhosted.org/packages/d1/f2/eb2c450f052de334ae33cf200ece6e87b0e14d186807074e4eb1cd2cdea2/websockets-16.1.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:69e52d175a0a7d1e13b4b67ad41c560b7d98e8c6f6126eb0bda496c784faf8c7", size = 190872, upload-time = "2026-07-17T22:50:38.008Z" }, + { url = "https://files.pythonhosted.org/packages/70/31/2ac8cecf3a74f7fed9132129fc3d90b3998a1554570c11a69b2a8c20332d/websockets-16.1.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1f79c89b5eb034d1722938a891916582f8f7f503f58ca22518a63c3f2cd18499", size = 189305, upload-time = "2026-07-17T22:50:39.53Z" }, + { url = "https://files.pythonhosted.org/packages/6a/cf/8ab19650d3c0d4562c92e70ab47c257c4aa5c6a713ed87fe63766b31fefc/websockets-16.1.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:39f2a024af5c345ffe8fcf1ee18c049c024c94df393bb09b044a6917c77bde43", size = 188033, upload-time = "2026-07-17T22:50:40.912Z" }, + { url = "https://files.pythonhosted.org/packages/66/d7/a49a38a6127a4acb134fb1912b215d900cc657605cff32445bf519f3acc4/websockets-16.1.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:952303a7318d4cbe1011400839bb2051c9f84fa0a35923267f5daba34b15d458", size = 185748, upload-time = "2026-07-17T22:50:42.559Z" }, + { url = "https://files.pythonhosted.org/packages/95/3e/ad1fa40388c7f2e0bb2c7930d0090b6c5498594bd1cdaec18864df3d9e97/websockets-16.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:249116b4a76063d930a46391ad56e135c286e4562a18309029fc2c73f4ed4c62", size = 188285, upload-time = "2026-07-17T22:50:43.974Z" }, + { url = "https://files.pythonhosted.org/packages/35/b8/d5db28ca264b9104f82196f92dc8843e35fd391f763d42e4ad358f5bc97e/websockets-16.1.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:61922544a0587a13fd3f53e4c0e5e606510c7b0d9d22c8444e5fae22a06b38cb", size = 186777, upload-time = "2026-07-17T22:50:45.474Z" }, + { url = "https://files.pythonhosted.org/packages/42/9c/726cb39d0cc43ae848dce4aa2acb04eecc6738b1264ec6d700bf6bcfb9f8/websockets-16.1.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:46dcaa042cd1de6c59e7d9269fa63ff7572b6df40510600b678f0826b3c7af51", size = 188682, upload-time = "2026-07-17T22:50:46.973Z" }, + { url = "https://files.pythonhosted.org/packages/be/c7/1168704de8c2dd483edabe4a22cbe4465dd8be8dd95561d214f9fe092871/websockets-16.1.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:38565aca3e01ea8734e578fb2118dade0ecb0250533f29e22b8d1a7a196cf4d0", size = 186377, upload-time = "2026-07-17T22:50:48.413Z" }, + { url = "https://files.pythonhosted.org/packages/ca/40/f9ff2d630ffce4e7dfea0b2288e1caf9ebbf9ff8a9ec9396136ce8b94935/websockets-16.1.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:42f599f4d48c7e1a3338fdaac3acd075be3b3cf02d4b274f3bf2767aedd3d217", size = 187148, upload-time = "2026-07-17T22:50:49.845Z" }, + { url = "https://files.pythonhosted.org/packages/b5/71/e177c8299f78d7cbe2d14df228643c10c70c0e86e108e092056bbcc16e46/websockets-16.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:dcc04fedf83effaeb9cce98abc9469bb1b42ef85f03e01c8c1f4438ef7555737", size = 187578, upload-time = "2026-07-17T22:50:51.619Z" }, + { url = "https://files.pythonhosted.org/packages/49/b2/b6987faf330f5af5c787a2610124c2e8403d51724f9001ec4fff6311fe7a/websockets-16.1.1-cp314-cp314t-win32.whl", hash = "sha256:8483c2096363120eea8b07c06ae7304d520f686665fffd4811fad423930a65d7", size = 179729, upload-time = "2026-07-17T22:50:53.269Z" }, + { url = "https://files.pythonhosted.org/packages/a2/6e/fbac6ed878dd362fbad7d415fa4f84d38e3e33fed8cde45c64e783acf826/websockets-16.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:bcce07e23e5769375158f5efdcdafa8d5cd014b93c6683865b840ed65b96f231", size = 180072, upload-time = "2026-07-17T22:50:54.969Z" }, + { url = "https://files.pythonhosted.org/packages/be/4d/2d0d67834092e354d2b0498f014a41249a89556bc406cf86f3e1557bb463/websockets-16.1.1-py3-none-any.whl", hash = "sha256:6abbd3e82c731c8e531714466acd5d87b5e88ac3243465337ba71d68e23ae7e3", size = 173814, upload-time = "2026-07-17T22:51:04.184Z" }, +] + +[[package]] +name = "wrapt" +version = "2.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fe/a4/282c8e64300a59fc834518a54bf0afabb4ff9218b5fa76958b450459a844/wrapt-2.2.2.tar.gz", hash = "sha256:0788e321027c999bf221b667bd4a54aaefd1a36283749a860ac3eb77daed0302", size = 129068, upload-time = "2026-06-20T23:49:44.49Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/05/7fd9c3f83b2c74cbfc572a0b88aa37431e04bd8aed70d2c0efd3464206de/wrapt-2.2.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:0e64826f920c42d9d9f87e8cc09ffae66c51ede12d59061a5a426deb9aa71745", size = 81341, upload-time = "2026-06-20T23:48:49.39Z" }, + { url = "https://files.pythonhosted.org/packages/4b/68/1bfa43100dd90d4ef74a05897b86275cf57e1313ca14aae2545bc9f872c9/wrapt-2.2.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:dcaa5e1451bd8751d7bd1568dfa3321c78092a52a7ecb5d1a0f18a5791e1fd00", size = 81921, upload-time = "2026-06-20T23:48:50.986Z" }, + { url = "https://files.pythonhosted.org/packages/74/eb/df7b7f0b631dbbc750f39be27d8b55f65777d8ac86da80e12be41a644c4b/wrapt-2.2.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0abfd648dac9ac9c5b3aa9b523d27f1789046640b58dcd5652a720ddb325e1fc", size = 167713, upload-time = "2026-06-20T23:48:52.598Z" }, + { url = "https://files.pythonhosted.org/packages/4d/9a/d1bd36f6d088c8e652a9383cabbd49af30b8c576302a7eccddbab6963e3f/wrapt-2.2.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f4bfd8d1eb438153eff8b8cfe87f032ba65731e1ce06138b5090f745a33f6f95", size = 166779, upload-time = "2026-06-20T23:48:54.33Z" }, + { url = "https://files.pythonhosted.org/packages/4c/ae/24ffacd4187fac2740a1972093929e836dea092d42c87d728cd98fee11a6/wrapt-2.2.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c427c9d06d859848a69f0d928fe28b5c33a941b2265d10a0e1f15cd244f1ee33", size = 158407, upload-time = "2026-06-20T23:48:55.944Z" }, + { url = "https://files.pythonhosted.org/packages/a3/ed/974427668249a356051e8d67d47fa54ef6c777f0fcf3bae9d292c047d4b6/wrapt-2.2.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:4250b43d1a129d947e083c4dc6baf333c9bb34edd26f912d5b0457841fc858ab", size = 166594, upload-time = "2026-06-20T23:48:57.617Z" }, + { url = "https://files.pythonhosted.org/packages/fb/5f/e1d7c6e4523f78db2fbd7826babd0348da1d5e0834c4f918b9ab5757dfae/wrapt-2.2.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:173e5bb5ca350a6e0abab60b7ec7cdd7992a814cb14b4de670a28f067f105663", size = 157068, upload-time = "2026-06-20T23:48:59.171Z" }, + { url = "https://files.pythonhosted.org/packages/1e/c1/7ebd1027f00700c0b0233b20aceef2b4784294ed64971424c4a78e069e34/wrapt-2.2.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:aa14b01804bce36c6d63d7b6a4f55df390f29f8648cc13a1f40b166f4d54680d", size = 166470, upload-time = "2026-06-20T23:49:00.737Z" }, + { url = "https://files.pythonhosted.org/packages/99/eb/974e471a6a978b8180186b8a9dc5ae3361ce269a967190b709b8ce17abfb/wrapt-2.2.2-cp314-cp314-win32.whl", hash = "sha256:58f9f8d637c9a6e245c6ef5b109b67ec187d2faed23d1405656b51d96e0a5b56", size = 78062, upload-time = "2026-06-20T23:49:02.327Z" }, + { url = "https://files.pythonhosted.org/packages/49/ec/e1281156cdc7a66693838ad7a0865ad641c74abd337a957d668b575aaffb/wrapt-2.2.2-cp314-cp314-win_amd64.whl", hash = "sha256:385cb1866f20479e83299af585375bfa0a4b0c6c9907a981483ea782ea8ae406", size = 80832, upload-time = "2026-06-20T23:49:03.837Z" }, + { url = "https://files.pythonhosted.org/packages/45/7d/1b6b5ddd94005a2dac97a4490c9838f3154977850d633abcb65b30089437/wrapt-2.2.2-cp314-cp314-win_arm64.whl", hash = "sha256:8ffbeaea6771a6eba6e6eeb09767864995726bc8240bb54baf88a9bb1db34d5c", size = 80029, upload-time = "2026-06-20T23:49:05.237Z" }, + { url = "https://files.pythonhosted.org/packages/b0/33/9ebcf8aafe91c601127cbd93708c16aa8f688f34a10bf004046803ecdc4f/wrapt-2.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:09f811d43f6f33ec7515f0be76b159569f4057ab54d3e079c3204dddb90afa2a", size = 83357, upload-time = "2026-06-20T23:49:06.632Z" }, + { url = "https://files.pythonhosted.org/packages/39/38/ec45b635153327b52e52732a0ea980e5f00b7efba65f9e018828f1e69daa/wrapt-2.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a795d3c06e5fbf9ea2f13196180b77aeab1b4685917256ee0d014cc163d90063", size = 83794, upload-time = "2026-06-20T23:49:08.098Z" }, + { url = "https://files.pythonhosted.org/packages/4e/ea/1a89e6d3b7a83c3affe5c09cde77792c947e63e4bc85ad84cd5bb9abb0d8/wrapt-2.2.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:45c2f2768e790c9f8db90f239ef23a2af8e7570f25a35619ef902df4a738447f", size = 203362, upload-time = "2026-06-20T23:49:09.811Z" }, + { url = "https://files.pythonhosted.org/packages/19/d8/3b58763d9863b5a73771c0d97110f9595d248db454009e07e1535ee905a4/wrapt-2.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bbf00ee0cb55ec24e2b0995a71942b85b21a066db8f3f46e1dbfdb9433ffba81", size = 210449, upload-time = "2026-06-20T23:49:11.521Z" }, + { url = "https://files.pythonhosted.org/packages/2d/6f/17fd9e053103d8be148d20d5d7505facc72d5fe1f9127973904ceaed79cf/wrapt-2.2.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:2252f77663651b89255895f58cc6ac08fcb206d4371813e5af61bb62d4f7689c", size = 195349, upload-time = "2026-06-20T23:49:13.346Z" }, + { url = "https://files.pythonhosted.org/packages/ef/04/d0d1ccaaa12cb7dccf28a23f0279a608ba498f71e81d949d5ed54bcfd5c1/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2cd7181ab1c31192ff5219269830744b5a62020b3a6d433588c4f1c95b8f8bff", size = 206099, upload-time = "2026-06-20T23:49:15.051Z" }, + { url = "https://files.pythonhosted.org/packages/44/b3/e8aa07b619890a2aa6cde1931b1887abb08820721b564a5f80b7ca3f3aa0/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:6fe35fd51b74867d8b80174c277bd6bbf6a73e443f908129dc531c4b688a20d5", size = 192728, upload-time = "2026-06-20T23:49:16.854Z" }, + { url = "https://files.pythonhosted.org/packages/b7/f0/1819fb50f0d3c9bd758d8a83b56f1b470dee8b5b8eac8702b7c137cea9d4/wrapt-2.2.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:11d95fc2fbad3163596c39d440e6f21ca9fccece74b56e30a37ac2fca786a07c", size = 198842, upload-time = "2026-06-20T23:49:18.504Z" }, + { url = "https://files.pythonhosted.org/packages/67/7c/e88313f16a99930b899ef970d91c281544a470749a359decad994483bbda/wrapt-2.2.2-cp314-cp314t-win32.whl", hash = "sha256:d8a15813215f33fa83667bfc978b300e35669ea8bb424e970a1426bcb7bc6cca", size = 79059, upload-time = "2026-06-20T23:49:20.107Z" }, + { url = "https://files.pythonhosted.org/packages/a0/4f/ac12fda57a55068a094ec42851fb0a40e8489d8941863d517452de62e507/wrapt-2.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:d09db0f7e8357060d3c38fc22a018aba683a796bf184360fd1a58f6fc180dc77", size = 82462, upload-time = "2026-06-20T23:49:21.631Z" }, + { url = "https://files.pythonhosted.org/packages/48/a7/df732dac86d9b2027c56bd163dbc883e037b16c3469614752e148d219c61/wrapt-2.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:f32fe639c39561ccc187bcae17e9271be0eb45f1c2952510d2f29b33ab577347", size = 81182, upload-time = "2026-06-20T23:49:23.199Z" }, + { url = "https://files.pythonhosted.org/packages/6e/d2/6317eb6d4554855bbf12d61857774af34747bf88a42c19bf306de67e2fa3/wrapt-2.2.2-py3-none-any.whl", hash = "sha256:5bad217350f19ce99ca5b5e71d406765ea86fe541628426772b657375ee1c048", size = 61460, upload-time = "2026-06-20T23:49:42.966Z" }, +] diff --git a/yarn.lock b/yarn.lock index 3f30441f9a8..c7556e5fc41 100644 --- a/yarn.lock +++ b/yarn.lock @@ -884,12 +884,6 @@ __metadata: languageName: unknown linkType: soft -"@apps/petrinaut-opt@workspace:*, @apps/petrinaut-opt@workspace:apps/petrinaut-opt": - version: 0.0.0-use.local - resolution: "@apps/petrinaut-opt@workspace:apps/petrinaut-opt" - languageName: unknown - linkType: soft - "@apps/petrinaut-website@workspace:apps/petrinaut-website": version: 0.0.0-use.local resolution: "@apps/petrinaut-website@workspace:apps/petrinaut-website" @@ -8703,9 +8697,9 @@ __metadata: version: 0.0.0-use.local resolution: "@local/petrinaut-optimizer-client@workspace:libs/@local/petrinaut-optimizer-client" dependencies: - "@apps/petrinaut-opt": "workspace:*" "@hashintel/petrinaut-core": "workspace:*" "@local/tsconfig": "workspace:*" + "@python/petrinaut-optimization": "workspace:*" eventsource-parser: "npm:3.0.8" openapi-typescript: "npm:7.13.0" oxfmt: "npm:0.50.0" @@ -11181,6 +11175,12 @@ __metadata: languageName: unknown linkType: soft +"@python/petrinaut-optimization@workspace:*, @python/petrinaut-optimization@workspace:apps/petrinaut-opt": + version: 0.0.0-use.local + resolution: "@python/petrinaut-optimization@workspace:apps/petrinaut-opt" + languageName: unknown + linkType: soft + "@radix-ui/colors@npm:3.0.0": version: 3.0.0 resolution: "@radix-ui/colors@npm:3.0.0" From 479113a418c61f5d37d6ec651aa5ac212c808e3d Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud <7252775+indietyp@users.noreply.github.com> Date: Tue, 4 Aug 2026 09:57:04 +0200 Subject: [PATCH 10/10] chore: petrinaut-opt workspace integration and testing Bring the petrinaut-opt Python service into the monorepo's turbo and Python workspace tooling, add OpenAPI document validation tests, upgrade Python/uv versions, and improve repo-chores sync and linting to support dependency bound checking against resolved versions. --- .config/mise/tasks/fix/python.sh | 2 +- .config/mise/tasks/lint/python.sh | 2 +- .config/mise/tasks/sync/python.sh | 2 +- .github/workflows/deploy.yml | 6 +- .lefthook.yml | 2 +- AGENTS.md | 4 +- apps/petrinaut-opt/docker/Dockerfile | 14 +- apps/petrinaut-opt/package.json | 4 + apps/petrinaut-opt/pyproject.toml | 17 +- .../petrinaut-opt/scripts/generate_openapi.py | 31 ++- .../tests/test_openapi_document.py | 148 +++++++++++++ apps/petrinaut-opt/turbo.json | 5 + .../petrinaut-cli/MODEL_EXAMPLES.md | 4 +- .../repo-chores/python/repo_chores/lint.py | 85 +++++++- .../repo-chores/python/repo_chores/sync.py | 203 ++++++++++++++---- .../python/repo_chores/toml_edit.py | 171 ++++++++++++--- .../python/repo_chores/workspace.py | 31 +++ .../repo-chores/python/tests/test_lint.py | 93 ++++++-- .../repo-chores/python/tests/test_sync.py | 145 ++++++++++++- .../python/tests/test_toml_edit.py | 171 +++++++++++++++ pyproject.toml | 7 + turbo.json | 1 + uv.lock | 18 +- yarn.lock | 4 +- 24 files changed, 1038 insertions(+), 132 deletions(-) create mode 100644 apps/petrinaut-opt/tests/test_openapi_document.py create mode 100644 libs/@local/repo-chores/python/tests/test_toml_edit.py diff --git a/.config/mise/tasks/fix/python.sh b/.config/mise/tasks/fix/python.sh index 741bf95a39c..c9cb639cb09 100755 --- a/.config/mise/tasks/fix/python.sh +++ b/.config/mise/tasks/fix/python.sh @@ -2,6 +2,6 @@ #MISE description="Fix Python: sync lockfile, apply ruff autofixes and formatting" set -euo pipefail -mise exec uv -- uv sync +mise exec uv -- uv sync --all-packages mise exec uv -- uv run --frozen ruff check --fix . mise exec uv -- uv run --frozen ruff format . diff --git a/.config/mise/tasks/lint/python.sh b/.config/mise/tasks/lint/python.sh index 536a891b310..e54448f2840 100755 --- a/.config/mise/tasks/lint/python.sh +++ b/.config/mise/tasks/lint/python.sh @@ -11,7 +11,7 @@ run() { # `--locked` doubles as the uv.lock stability check: it fails if the lockfile # is out of sync with the workspace manifests. -run uv sync --locked +run uv sync --locked --all-packages # Boundaries: explicit workspace membership, uniform requires-python, shared # tool pins, and generated package.json turbo wiring. run uv run --frozen repo-chores sync --check diff --git a/.config/mise/tasks/sync/python.sh b/.config/mise/tasks/sync/python.sh index 643d6cc871b..bc983d4018e 100755 --- a/.config/mise/tasks/sync/python.sh +++ b/.config/mise/tasks/sync/python.sh @@ -8,4 +8,4 @@ mise exec uv -- uv run repo-chores sync # Membership or dependency fixes change the workspace graph; refresh the lock # and environment again so the result is immediately usable. mise exec uv -- uv lock -mise exec uv -- uv sync +mise exec uv -- uv sync --all-packages diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 05fd47790b2..9c0b5fce894 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -133,15 +133,11 @@ jobs: ecs: [{ service: "integration-worker", cluster: "h-stage-euc1-worker", service_name: "h-stage-euc1-worker-integration" }] }, { - # TODO(H-6664): switch to `package`-based detection once the - # monorepo tooling gives @apps/petrinaut-opt a `build:docker` - # task and workspace dependencies; until then turbo cannot see - # it and change detection runs on `paths` like kratos/hydra. + package: "@python/petrinaut-optimization", service: "petrinaut-opt", push: ["ecr", "ghcr"], dockerfile: "apps/petrinaut-opt/docker/Dockerfile", context: ".", - paths: ["apps/petrinaut-opt", "libs/@hashintel/petrinaut-cli", "libs/@hashintel/petrinaut-core"], ecs: [{ service: "petrinaut-opt", cluster: "h-stage-euc1-app", service_name: "h-stage-euc1-app-petrinaut-opt" }] }, { diff --git a/.lefthook.yml b/.lefthook.yml index 6d45320cadb..74e4e50a262 100644 --- a/.lefthook.yml +++ b/.lefthook.yml @@ -34,7 +34,7 @@ pre-commit: python: tags: [backend, style] glob: "*.py" - run: uv run --frozen ruff check --fix {staged_files} && uv run --frozen ruff format {staged_files} || true + run: uv run --frozen ruff check --force-exclude --fix {staged_files} && uv run --frozen ruff format --force-exclude {staged_files} || true stage_fixed: true toml: tags: [backend, style] diff --git a/AGENTS.md b/AGENTS.md index eaee593d775..edb181724bc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -105,7 +105,9 @@ Python packages form a single uv workspace rooted at the repository's `pyproject mise run sync:python # membership, requires-python, dev pins, package.json wiring, uv.lock ``` -The task wraps the Python `repo-chores` CLI (`libs/@local/repo-chores/python`; direct invocation: `uv run repo-chores sync`). Unlike the Rust wiring, the managed `package.json` includes baseline `scripts` (`lint:ruff`, `fix:ruff`, and `test:unit` when a `tests/` directory exists) — ruff and pytest are requirements, not opt-ins. Extra scripts and other keys are preserved. CI runs `repo-chores sync --check` and fails on any drift, including `pyproject.toml` files that are not workspace members. Import boundaries for new packages are declared in a `tach.domain.toml` next to the package's code; global tach settings live under `[tool.tach]` in the root `pyproject.toml`. +Dependency ranges are bounded on both sides and as tight as the resolution: the floor names the release series `uv.lock` resolves and the cap the next incompatible version, which is what `uv add` writes under `[tool.uv] add-bounds`. `repo-chores lint` fails on a floor older than the resolved series, so a dependency bump is a manifest edit rather than a silent widening. + +The task wraps the Python `repo-chores` CLI (`libs/@local/repo-chores/python`; direct invocation: `uv run repo-chores sync`). Unlike the Rust wiring, the managed `package.json` includes baseline `scripts` (`lint:ruff`, `fix:ruff`, and `test:unit` when a `tests/` directory exists) — ruff and pytest are requirements, not opt-ins. Extra scripts and other keys are preserved, and in `dependencies` the tool owns the `@python`-scoped entries only: an edge to a JavaScript workspace package (a built CLI an image ships, for instance) is declared by hand and survives every sync. Managed arrays in the root manifest are held sorted, which is the form `--check` compares against. CI runs `repo-chores sync --check` and fails on any drift, including `pyproject.toml` files that are not workspace members. Import boundaries for new packages are declared in a `tach.domain.toml` next to the package's code; global tach settings live under `[tool.tach]` in the root `pyproject.toml`. ## Documentation Maintenance diff --git a/apps/petrinaut-opt/docker/Dockerfile b/apps/petrinaut-opt/docker/Dockerfile index c58370ace24..b70411a2020 100644 --- a/apps/petrinaut-opt/docker/Dockerfile +++ b/apps/petrinaut-opt/docker/Dockerfile @@ -4,9 +4,9 @@ # docker build -f apps/petrinaut-opt/docker/Dockerfile . ARG NODE_VERSION=22 -ARG PYTHON_VERSION=3.13 +ARG PYTHON_VERSION=3.14 ARG TURBO_VERSION=2.6.3 -ARG UV_VERSION=0.11.18 +ARG UV_VERSION=0.11.28 FROM node:${NODE_VERSION}-bookworm-slim AS cli-pruner @@ -79,10 +79,14 @@ WORKDIR /app COPY --from=uv /uv /usr/local/bin/uv # Install locked Python dependencies independently from the application source -# for better layer caching. The project itself is imported directly from /app. -COPY apps/petrinaut-opt/pyproject.toml apps/petrinaut-opt/uv.lock ./ +# for better layer caching. One lockfile covers the whole Python workspace, so +# resolution reads the workspace root manifest next to this member's own, and +# `--package` narrows the install to this service's runtime dependencies. The +# service itself is imported directly from /app. +COPY pyproject.toml uv.lock ./ +COPY apps/petrinaut-opt/pyproject.toml apps/petrinaut-opt/pyproject.toml RUN --mount=type=cache,target=/root/.cache/uv \ - uv sync --frozen --no-dev --no-install-project + uv sync --frozen --no-dev --no-install-workspace --package petrinaut-optimization FROM python:${PYTHON_VERSION}-slim-bookworm AS runner diff --git a/apps/petrinaut-opt/package.json b/apps/petrinaut-opt/package.json index cc0c43dd9e9..a39a81c151e 100644 --- a/apps/petrinaut-opt/package.json +++ b/apps/petrinaut-opt/package.json @@ -5,6 +5,7 @@ "description": "Scenario-parameter optimization for Petrinaut using Optuna", "license": "(MIT OR Apache-2.0)", "scripts": { + "build:docker": "docker buildx build --tag petrinaut-opt --file docker/Dockerfile ../../ --load", "codegen": "uv run python -m scripts.generate_openapi", "fix:ruff": "uv run --frozen ruff check --fix . && uv run --frozen ruff format .", "install:deps": "uv sync", @@ -12,5 +13,8 @@ "start": "uv run uvicorn src.optimization_api:app", "start:dev": "uv run uvicorn src.optimization_api:app --reload", "test:unit": "uv run --frozen pytest tests" + }, + "dependencies": { + "@hashintel/petrinaut-cli": "workspace:*" } } diff --git a/apps/petrinaut-opt/pyproject.toml b/apps/petrinaut-opt/pyproject.toml index 0eea9c6d64d..d10aaddc501 100644 --- a/apps/petrinaut-opt/pyproject.toml +++ b/apps/petrinaut-opt/pyproject.toml @@ -5,15 +5,16 @@ description = "Scenario-parameter optimization for Petrinaut using Optuna" readme = "README.md" requires-python = ">=3.14,<3.15" dependencies = [ - "fastapi>=0.128.8", - "opentelemetry-exporter-otlp-proto-grpc>=1.44.0", - "opentelemetry-exporter-otlp-proto-http>=1.44.0", - "opentelemetry-instrumentation-fastapi>=0.65b0", - "opentelemetry-sdk>=1.44.0", - "optuna>=3.6", + "fastapi>=0.139.0,<0.140.0", + "opentelemetry-exporter-otlp-proto-grpc>=1.44.0,<2.0.0", + "opentelemetry-exporter-otlp-proto-http>=1.44.0,<2.0.0", + "opentelemetry-instrumentation-fastapi>=0.65b0,<0.66.0", + "opentelemetry-sdk>=1.44.0,<2.0.0", + "optuna>=4.9.0,<5.0.0", "pydantic>=2.13.4,<3.0.0", - "python-dotenv>=1.0.0", - "uvicorn[standard]>=0.39.0", + "python-dotenv>=1.2.0,<2.0.0", + "starlette>=1.3.1,<2.0.0", + "uvicorn[standard]>=0.51.0,<0.52.0", ] [dependency-groups] diff --git a/apps/petrinaut-opt/scripts/generate_openapi.py b/apps/petrinaut-opt/scripts/generate_openapi.py index 0bec1836e9a..f2f37471b13 100644 --- a/apps/petrinaut-opt/scripts/generate_openapi.py +++ b/apps/petrinaut-opt/scripts/generate_openapi.py @@ -5,9 +5,28 @@ from src.optimization_api import app -output_path = Path(__file__).resolve().parents[1] / "openapi" / "openapi.json" -output_path.parent.mkdir(parents=True, exist_ok=True) -output_path.write_text( - json.dumps(app.openapi(), indent=2, sort_keys=True) + "\n", - encoding="utf-8", -) +DOCUMENT_PATH = Path(__file__).resolve().parents[1] / "openapi" / "openapi.json" +"""Committed location of the document the TypeScript client is generated from.""" + +CODEGEN_COMMAND = "yarn workspace @python/petrinaut-optimization codegen" +"""How to bring the committed document back in step with the service.""" + + +def render_document() -> str: + """Serialize the service's OpenAPI schema in its committed form. + + Keys are sorted and the text ends in a newline, so regenerating an + unchanged schema rewrites the same bytes. The test suite renders through + this function too, which is what keeps the check and the generator from + disagreeing about formatting. + """ + return json.dumps(app.openapi(), indent=2, sort_keys=True) + "\n" + + +def main() -> None: + DOCUMENT_PATH.parent.mkdir(parents=True, exist_ok=True) + DOCUMENT_PATH.write_text(render_document(), encoding="utf-8") + + +if __name__ == "__main__": + main() diff --git a/apps/petrinaut-opt/tests/test_openapi_document.py b/apps/petrinaut-opt/tests/test_openapi_document.py new file mode 100644 index 00000000000..adfe334e162 --- /dev/null +++ b/apps/petrinaut-opt/tests/test_openapi_document.py @@ -0,0 +1,148 @@ +"""Checks on the OpenAPI document the TypeScript client is generated from. + +`libs/@local/petrinaut-optimizer-client` runs `openapi-typescript` over +`openapi/openapi.json` and re-exports the result, so that file is this +service's published contract rather than a build artifact. Two things can go +wrong with it, and each has a check below: the committed document can fall +behind the service, and a refactor can quietly change what the client reads — +the endpoints it may call, the media type of the optimization streams, or the +schema names it references by hand. +""" + +import json + +from pydantic import JsonValue + +from scripts.generate_openapi import CODEGEN_COMMAND, DOCUMENT_PATH, render_document + +type JsonObject = dict[str, JsonValue] +"""One JSON object of the document under inspection.""" + +CLIENT_SURFACE = { + ("/", "get"), + ("/optimize/all", "post"), + ("/optimize/best", "post"), + ("/status", "get"), + ("/status/{run_id}", "get"), +} +"""Every operation the service publishes, as path and HTTP method. + +Spelled out rather than derived from the application: derived from it, this +would restate how FastAPI builds a document, and adding or withdrawing an +endpoint would pass unnoticed. Written out, the client's callable surface +changes only in a diff that says so. +""" + +STREAMING_PATHS = ("/optimize/all", "/optimize/best") +"""The endpoints answering with a Server-Sent Events stream.""" + +RUN_STATUS_SCHEMA = {"$ref": "#/components/schemas/RunStatus"} +"""The reference the client resolves as `components["schemas"]["RunStatus"]`.""" + + +def _served_document() -> JsonObject: + """Return the schema the running service serves, parsed.""" + document: JsonValue = json.loads(render_document()) + assert isinstance(document, dict), "the rendered schema is not a JSON object" + return document + + +def _object_at(document: JsonObject, /, *keys: str) -> JsonObject: + """Descend through nested JSON objects, naming the key that is missing.""" + value: JsonValue = document + for key in keys: + assert isinstance(value, dict), f"{key}: expected an object" + assert key in value, f"the document has no {key}" + value = value[key] + + assert isinstance(value, dict), f"expected an object at {keys[-1]}" + return value + + +def _operations() -> dict[tuple[str, str], JsonObject]: + """Index every documented operation by its path and HTTP method.""" + paths = _object_at(_served_document(), "paths") + + operations: dict[tuple[str, str], JsonObject] = {} + for path in paths: + methods = _object_at(paths, path) + for method in methods: + operations[path, method] = _object_at(methods, method) + + return operations + + +def test_the_committed_document_is_the_schema_the_service_serves() -> None: + """A schema change that skips codegen leaves the client generated from stale bytes.""" + committed = DOCUMENT_PATH.read_text(encoding="utf-8") + rendered = render_document() + + assert json.loads(committed) == json.loads(rendered), ( + f"the committed OpenAPI document is not what the service serves; run `{CODEGEN_COMMAND}`" + ) + assert committed == rendered, ( + "the committed OpenAPI document carries the right schema in different bytes," + f" so every regeneration rewrites the file; run `{CODEGEN_COMMAND}`" + ) + + +def test_the_published_operations_are_the_client_surface() -> None: + """An endpoint added or withdrawn changes what the generated client can call.""" + assert set(_operations()) == CLIENT_SURFACE + + +def test_the_optimization_streams_are_published_as_server_sent_events() -> None: + """The SSE responses are hand-declared. + + Both stream endpoints return `StreamingResponse`, which FastAPI documents + as `application/json` unless the route declares otherwise. A refactor that + drops that declaration would generate a client typed as if the optimizer + answered with one JSON body, so the media type is checked rather than the + presence of a 200. + """ + operations = _operations() + for path in STREAMING_PATHS: + success = _object_at(operations[path, "post"], "responses", "200", "content") + + assert set(success) == {"text/event-stream"}, path + + +def test_the_optimization_streams_document_their_rejections() -> None: + """The optimizer's back-pressure contract. + + A client that cannot see 429 and its `Retry-After` header has no documented + way to wait for a free study slot, and one that cannot see 413 cannot tell + an oversized manifest from a service failure. + """ + operations = _operations() + for path in STREAMING_PATHS: + responses = _object_at(operations[path, "post"], "responses") + + assert {"413", "429", "500"} <= set(responses), path + assert "Retry-After" in _object_at(responses, "429", "headers"), path + + +def test_the_status_endpoints_keep_the_schema_name_the_client_references() -> None: + """`RunStatus` is named in the client's source; renaming the model breaks it.""" + operations = _operations() + + one = _object_at( + operations["/status/{run_id}", "get"], + "responses", + "200", + "content", + "application/json", + "schema", + ) + assert one == RUN_STATUS_SCHEMA + + many = _object_at( + operations["/status", "get"], + "responses", + "200", + "content", + "application/json", + "schema", + ) + assert many.get("type") == "array" + assert many.get("items") == RUN_STATUS_SCHEMA diff --git a/apps/petrinaut-opt/turbo.json b/apps/petrinaut-opt/turbo.json index 2779f225836..746474cff22 100644 --- a/apps/petrinaut-opt/turbo.json +++ b/apps/petrinaut-opt/turbo.json @@ -5,6 +5,11 @@ "inputs": ["pyproject.toml", "scripts/generate_openapi.py", "src/**"], "outputs": ["openapi/openapi.json"], "passThroughEnv": ["UV_CACHE_DIR"] + }, + "test:unit": { + // skips codegen, as that would invalidate the openapi.json validation task + "dependsOn": ["^build"], + "env": ["TEST_COVERAGE"] } } } diff --git a/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md b/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md index 1eed638a882..7d9da666894 100644 --- a/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md +++ b/libs/@hashintel/petrinaut-cli/MODEL_EXAMPLES.md @@ -134,9 +134,7 @@ directly, so it returns a single economic objective for each run. ```python with PetrinautClient( - model=Path( - "libs/@hashintel/petrinaut-cli/examples/supply-chain-profit-model.json" - ) + model=Path("libs/@hashintel/petrinaut-cli/examples/supply-chain-profit-model.json") ) as client: result = client.run( parameters={ diff --git a/libs/@local/repo-chores/python/repo_chores/lint.py b/libs/@local/repo-chores/python/repo_chores/lint.py index 3b5ed138d62..9c7f6435c73 100644 --- a/libs/@local/repo-chores/python/repo_chores/lint.py +++ b/libs/@local/repo-chores/python/repo_chores/lint.py @@ -1,6 +1,6 @@ """Lint the workspace's dependency requirements. -Two rules, both judged with :mod:`packaging` semantics and reported as +Three rules, all judged with :mod:`packaging` semantics and reported as findings (lint never edits): - every version range carries a lower and an upper bound (cargo-style, e.g. @@ -11,20 +11,27 @@ errors, so the list shrinks when exemptions expire. - URL requirements are rejected: workspace members are wired through `[tool.uv.sources]`, and everything else resolves from the registry. +- a bounded range's floor names the release series the lockfile resolves. A + floor below it advertises support for versions nothing in the repository has + ever installed, and it is not what `uv add` writes: under `[tool.uv] + add-bounds` uv pins the floor to the version it resolved, so a looser floor + is something a hand edit introduced. The entry point is :func:`lint`. """ -from collections.abc import Iterable +from collections.abc import Iterable, Mapping from pathlib import Path from packaging.requirements import InvalidRequirement, Requirement from packaging.utils import canonicalize_name +from packaging.version import InvalidVersion, Version from repo_chores.workspace import ( INSECURE_BOUNDS_ALLOWLIST_KEY, Finding, Workspace, + load_lockfile_versions, load_workspace, ) @@ -54,12 +61,62 @@ def _missing_bounds(requirement: Requirement, /) -> str | None: return "has no version bounds at all" +def _floor(requirement: Requirement, /) -> Version | None: + """Return the oldest version a requirement admits, where one is stated. + + A wildcard release (`==1.2.*`) is read as its series, and a version this + module cannot parse returns None rather than a guess. + """ + floors: list[Version] = [] + for specifier in requirement.specifier: + if specifier.operator not in LOWER_BOUND_OPERATORS: + continue + + try: + floors.append(Version(specifier.version.removesuffix(".*"))) + except InvalidVersion: + return None + + return max(floors, default=None) + + +def _loose_floor_finding( + *, path: str, text: str, requirement: Requirement, resolved: str | None +) -> Finding | None: + """Judge a bounded requirement's floor against the version uv resolved. + + Nothing is reported for a distribution absent from the lockfile: that + disagreement between manifest and lockfile is what `uv sync --locked` + reports, and inventing a second voice for it here would report it twice. + """ + floor = _floor(requirement) + if floor is None or resolved is None: + return None + + try: + installed = Version(resolved) + except InvalidVersion: + return None + + if (floor.major, floor.minor) == (installed.major, installed.minor): + return None + + return Finding( + path=path, + message=f"`{text}` admits {floor}, older than the resolved {installed};" + f" a floor names the series in the lockfile, so raise it to {installed.major}." + f"{installed.minor}", + fixable=False, + ) + + def _lint_requirements( *, path: str, requirements: Iterable[str], allowlist: frozenset[str], workspace_members: frozenset[str], + resolved: Mapping[str, str], ) -> tuple[list[Finding], frozenset[str]]: """Judge one manifest's requirement strings. @@ -97,6 +154,12 @@ def _lint_requirements( problem = _missing_bounds(requirement) if problem is None: + loose_floor = _loose_floor_finding( + path=path, text=text, requirement=requirement, resolved=resolved.get(name) + ) + if loose_floor is not None: + findings.append(loose_floor) + continue if name in allowlist: @@ -137,6 +200,7 @@ def _lint_manifest( requirements: tuple[str, ...], allowlist: tuple[str, ...], workspace_members: frozenset[str], + resolved: Mapping[str, str], ) -> list[Finding]: canonical_allowlist = frozenset(canonicalize_name(name) for name in allowlist) findings, used = _lint_requirements( @@ -144,13 +208,18 @@ def _lint_manifest( requirements=requirements, allowlist=canonical_allowlist, workspace_members=workspace_members, + resolved=resolved, ) findings.extend(_stale_exemption_findings(path=path, allowlist=allowlist, used=used)) return findings -def lint_workspace(workspace: Workspace, /) -> list[Finding]: - """Judge every manifest's requirements against the dependency rules.""" +def lint_workspace(workspace: Workspace, /, *, resolved: Mapping[str, str]) -> list[Finding]: + """Judge every manifest's requirements against the dependency rules. + + `resolved` maps a canonical distribution name to the version the lockfile + resolved for it; :func:`lint` reads it from the lockfile. + """ members = frozenset( canonicalize_name(member.name) for member in workspace.members if member.name is not None ) @@ -160,6 +229,7 @@ def lint_workspace(workspace: Workspace, /) -> list[Finding]: requirements=workspace.dev_dependencies, allowlist=workspace.insecure_bounds_allowlist, workspace_members=members, + resolved=resolved, ) for member in workspace.members: findings.extend( @@ -168,6 +238,7 @@ def lint_workspace(workspace: Workspace, /) -> list[Finding]: requirements=member.dependencies + member.dev_dependencies, allowlist=member.insecure_bounds_allowlist, workspace_members=members, + resolved=resolved, ) ) @@ -176,4 +247,8 @@ def lint_workspace(workspace: Workspace, /) -> list[Finding]: def lint(root: Path, /) -> list[Finding]: """Load the workspace at `root` and judge its dependency requirements.""" - return lint_workspace(load_workspace(root)) + resolved = { + str(canonicalize_name(name)): version + for name, version in load_lockfile_versions(root).items() + } + return lint_workspace(load_workspace(root), resolved=resolved) diff --git a/libs/@local/repo-chores/python/repo_chores/sync.py b/libs/@local/repo-chores/python/repo_chores/sync.py index 46ad52ba6d3..34713a6cdf4 100644 --- a/libs/@local/repo-chores/python/repo_chores/sync.py +++ b/libs/@local/repo-chores/python/repo_chores/sync.py @@ -8,8 +8,12 @@ - every member declares the workspace's exact requires-python bound, - every member's dev group carries the shared ruff (and, with tests, pytest) pins, - every member has a package.json wiring it into turbo (`@python/`), -- the root manifest's ruff `src`, pytest `testpaths`, and tach `source_roots` - cover every member. +- the root manifest's ruff `src`, pytest `testpaths` and `pythonpath`, and + tach `source_roots` cover every member. + +Every managed array is held in sorted order, which is what makes a deviation +fixable: a check that accepted any order would report an array as wrong and +leave apply mode nothing to change. Manifest edits are made in place; comments, ordering, and formatting survive every fix. The entry point is :func:`synchronize`. @@ -18,7 +22,7 @@ import json import shutil import subprocess -from collections.abc import Iterable, Mapping +from collections.abc import Iterable, Mapping, Sequence from dataclasses import dataclass from functools import cache from pathlib import Path, PurePosixPath @@ -67,8 +71,28 @@ def __post_init__(self) -> None: object.__setattr__(self, "expected", tuple(sorted(set(self.expected)))) -def _write(*, path: Path, content: str, apply: bool) -> None: - """Write `content` to `path` in apply mode; check mode leaves disk untouched.""" +def _write( + *, path: Path, original: str | None, content: str, findings: Sequence[Finding], apply: bool +) -> None: + """Write `content` to `path` in apply mode, checking that a claimed fix landed. + + Check mode leaves disk untouched. Either way a fixable finding has to have + changed the content: a deviation whose repair the reconciliation cannot + express would otherwise be reported as fixed on every run while `--check` + stayed red forever, sending the operator back to the command that just did + nothing. + + Raises :exc:`WorkspaceError` when a fixable finding produced no change. + """ + if content == original: + if any(finding.fixable for finding in findings): + raise WorkspaceError( + f"{path}: reported a fixable deviation that changed nothing," + " so `--check` cannot clear; this is a defect in `repo-chores sync`" + ) + + return + if apply: path.write_text(content, encoding="utf-8") @@ -151,13 +175,14 @@ def _sync_root_manifest(workspace: Workspace, /, *, apply: bool) -> list[Finding """Reconcile the managed arrays of the root manifest. Managed arrays are the uv workspace members, the ruff src roots, the - pytest testpaths, and the tach source roots; each must list exactly the - discovered members (or, for testpaths, the members with a tests - directory). Arrays containing non-string entries are reported as - unfixable and left untouched. + pytest testpaths and import roots, and the tach source roots; each must + list exactly the discovered members, in sorted order (or, for the pytest + arrays, the members with a tests directory). An array whose contents + cannot be rewritten safely is reported as unfixable and left untouched. """ manifest_path = workspace.root / "pyproject.toml" - document = tomlkit.parse(manifest_path.read_text(encoding="utf-8")) + original = manifest_path.read_text(encoding="utf-8") + document = tomlkit.parse(original) findings: list[Finding] = [] member_directories = tuple(member.directory for member in _named_members(workspace)) @@ -184,6 +209,17 @@ def _sync_root_manifest(workspace: Workspace, /, *, apply: bool) -> list[Finding expected=tuple(test_directories), description="pytest testpaths", ), + # A member's tests import its modules by the names its own directory + # exposes, so collecting them from the root needs that directory on + # sys.path; without it the testpaths above fail collection. + ManifestExpectation( + table_path=("tool", "pytest", "ini_options"), + key="pythonpath", + expected=tuple( + member.directory for member in _named_members(workspace) if member.has_tests + ), + description="pytest import roots", + ), ManifestExpectation( table_path=("tool", "tach"), key="source_roots", @@ -197,6 +233,9 @@ def _sync_root_manifest(workspace: Workspace, /, *, apply: bool) -> list[Finding current = navigate_to_array(table, path=(expectation.key,)) current_items = list(array_to_str(current)) + if tuple(current_items) == expectation.expected: + continue + if any(item is None for item in current_items): findings.append( Finding( @@ -207,24 +246,69 @@ def _sync_root_manifest(workspace: Workspace, /, *, apply: bool) -> list[Finding ) continue - if tuple(current_items) == expectation.expected: - continue - findings.append( Finding( path="pyproject.toml", - message=f"{expectation.description} must list every member:" + message=f"{expectation.description} must list every member, sorted:" f" {', '.join(expectation.expected)}", ) ) reconcile_string_array(current, expected=expectation.expected) - if findings: - _write(path=manifest_path, content=tomlkit.dumps(document), apply=apply) + _write( + path=manifest_path, + original=original, + content=tomlkit.dumps(document), + findings=findings, + apply=apply, + ) return findings +def _yarn_workspace_globs(data: Mapping[str, object], /, *, path: Path) -> tuple[object, ...]: + """Return the yarn workspace globs declared by a root package.json, in order. + + yarn reads both `"workspaces": ["packages/*"]` and + `"workspaces": {"packages": ["packages/*"]}`, so both are accepted here and + :func:`_with_yarn_workspace_globs` writes back into whichever one the + manifest uses. + + Raises :exc:`WorkspaceError` when neither shape is present: a root manifest + with no workspace globs is not the root this tool was pointed at, and + creating the key would be a decision about the repository's shape rather + than a fix. + """ + match data.get("workspaces"): + case list() as globs: + return tuple(globs) + case {"packages": list() as globs}: + return tuple(globs) + case _: + raise WorkspaceError( + f"{path} declares no yarn workspaces list; turbo discovers packages" + " through workspaces (or workspaces.packages)" + ) + + +def _with_yarn_workspace_globs( + data: Mapping[str, object], /, *, globs: Iterable[str] +) -> dict[str, object]: + """Return the manifest with `globs` in place of its declared workspace globs. + + The declaration shape and every sibling key survive; only the glob list + itself is replaced, and the manifest is rebuilt rather than mutated so the + caller's `data` stays the state it read. + """ + match data.get("workspaces"): + case list(): + return {**data, "workspaces": list(globs)} + case Mapping() as workspaces: + return {**data, "workspaces": {**workspaces, "packages": list(globs)}} + case _: # pragma: no cover - _yarn_workspace_globs rejects every other shape + raise WorkspaceError("the manifest declares no yarn workspaces list") + + def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Finding]: """Ensure every member is reachable through the yarn workspace globs. @@ -233,22 +317,37 @@ def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Fin path-aware glob semantics (`*` stays within one segment, `**` recurses), matching how yarn reads the patterns. Missing members are added as explicit entries and the list is kept sorted. + + Raises :exc:`WorkspaceError` when the manifest is not a JSON object or + declares no workspace globs. """ package_json_path = workspace.root / "package.json" - data = json.loads(package_json_path.read_text(encoding="utf-8")) + original = package_json_path.read_text(encoding="utf-8") + data: Mapping[str, object] = json.loads(original) + if not isinstance(data, Mapping): + raise WorkspaceError(f"{package_json_path} is not a JSON object") + + globs = _yarn_workspace_globs(data, path=package_json_path) + patterns = [glob for glob in globs if isinstance(glob, str)] + if len(patterns) != len(globs): + return [ + Finding( + path="package.json", + message="workspaces globs must only contain strings", + fixable=False, + ) + ] - patterns = [ - pattern - for pattern in data.get("workspaces", {}).get("packages", []) - if isinstance(pattern, str) and not pattern.startswith("!") - ] + inclusions = [pattern for pattern in patterns if not pattern.startswith("!")] findings: list[Finding] = [] + uncovered: list[str] = [] for member in _named_members(workspace): directory = PurePosixPath(member.directory) - if any(directory.full_match(pattern) for pattern in patterns): + if any(directory.full_match(pattern) for pattern in inclusions): continue + uncovered.append(member.directory) findings.append( Finding( path="package.json", @@ -258,11 +357,15 @@ def _sync_root_package_json(workspace: Workspace, /, *, apply: bool) -> list[Fin ) ) - data["workspaces"]["packages"] = sorted({*data["workspaces"]["packages"], member.directory}) - - if findings: - content = _format_package_json(json.dumps(data), root=workspace.root) - _write(path=package_json_path, content=content, apply=apply) + if uncovered: + updated = _with_yarn_workspace_globs(data, globs=sorted({*patterns, *uncovered})) + _write( + path=package_json_path, + original=original, + content=_format_package_json(json.dumps(updated), root=workspace.root), + findings=findings, + apply=apply, + ) return findings @@ -353,7 +456,8 @@ def _sync_member_dev_group( def _sync_member_manifest(workspace: Workspace, member: Member, /, *, apply: bool) -> list[Finding]: """Align a member manifest with the workspace: requires-python and tool pins.""" manifest_path = workspace.root / member.directory / "pyproject.toml" - document = tomlkit.parse(manifest_path.read_text(encoding="utf-8")) + original = manifest_path.read_text(encoding="utf-8") + document = tomlkit.parse(original) findings: list[Finding] = [] if member.requires_python != workspace.requires_python: @@ -370,8 +474,13 @@ def _sync_member_manifest(workspace: Workspace, member: Member, /, *, apply: boo findings.extend(_sync_member_dev_group(workspace, member, document=document)) - if findings: - _write(path=manifest_path, content=tomlkit.dumps(document), apply=apply) + _write( + path=manifest_path, + original=original, + content=tomlkit.dumps(document), + findings=findings, + apply=apply, + ) return findings @@ -381,15 +490,19 @@ def assemble_package_json( ) -> dict[str, object]: """Assemble the package.json contents wiring a member into turbo. - Managed keys (name, version, private, the ruff and pytest scripts, and - the dependencies mirroring the member's workspace dependencies) are - overwritten; everything else in `existing`, including hand-written - scripts, is preserved. Key and script ordering is left to the repository - formatter, which owns the canonical package.json layout. + Managed keys are name, version, private, the ruff and pytest scripts, and + the `@python`-scoped dependencies mirroring the member's uv workspace + dependencies; each is overwritten. Everything else in `existing` is + preserved: hand-written scripts, and dependencies outside the `@python` + scope, which is how a Python package declares an edge to a JavaScript + workspace package its image or tests build. Key and script ordering is left + to the repository formatter, which owns the canonical package.json layout. """ data: dict[str, object] = dict(existing or {}) scripts = data.get("scripts") scripts = dict(scripts) if isinstance(scripts, dict) else {} + declared = data.get("dependencies") + declared = dict(declared) if isinstance(declared, dict) else {} scripts["fix:ruff"] = RUFF_FIX_SCRIPT scripts["lint:ruff"] = RUFF_LINT_SCRIPT @@ -406,8 +519,10 @@ def assemble_package_json( data["scripts"] = scripts dependencies = { - f"{NPM_SCOPE}/{dependency}": "workspace:*" for dependency in member.workspace_dependencies - } + name: specifier + for name, specifier in declared.items() + if not (isinstance(name, str) and name.startswith(f"{NPM_SCOPE}/")) + } | {f"{NPM_SCOPE}/{dependency}": "workspace:*" for dependency in member.workspace_dependencies} if dependencies: data["dependencies"] = dependencies else: @@ -431,14 +546,22 @@ def _sync_member_package_json( if original == expected: return [] - _write(path=package_json_path, content=expected, apply=apply) - return [ + findings = [ Finding( path=f"{member.directory}/package.json", message="turbo wiring is missing or out of date" f" (managed by `repo-chores sync`, name {NPM_SCOPE}/{member.name})", ) ] + _write( + path=package_json_path, + original=original, + content=expected, + findings=findings, + apply=apply, + ) + + return findings def synchronize(root: Path, /, *, apply: bool) -> list[Finding]: diff --git a/libs/@local/repo-chores/python/repo_chores/toml_edit.py b/libs/@local/repo-chores/python/repo_chores/toml_edit.py index 4869c3bbb92..4cfcf3dd2d6 100644 --- a/libs/@local/repo-chores/python/repo_chores/toml_edit.py +++ b/libs/@local/repo-chores/python/repo_chores/toml_edit.py @@ -2,20 +2,20 @@ :func:`navigate_to_table` and :func:`navigate_to_array` descend to a node along a key path, creating missing levels and validating the shape of what they -find. :func:`reconcile_string_array` rewrites a managed array to an expected -value set, and :func:`array_to_str` exposes array elements for string-only -processing. +find. :func:`reconcile_string_array` rewrites a managed array to its canonical +form, carrying every comment with the element it documents, and +:func:`array_to_str` exposes array elements for string-only processing. -Edits are local: everything an edit leaves alone keeps its comments, +Edits are local: everything outside the node being edited keeps its comments, ordering, and formatting, so a manifest survives a parse-adjust-dump round-trip faithfully. """ -from collections.abc import Generator, Iterable, MutableMapping, Sequence +from collections.abc import Generator, Iterable, Mapping, MutableMapping, Sequence from typing import TypeIs import tomlkit -from tomlkit.items import Array, String +from tomlkit.items import Array, Comment, String, _ArrayItemGroup from repo_chores.workspace import WorkspaceError @@ -76,32 +76,145 @@ def array_to_str(array: Array, /) -> Generator[str | None]: yield item if isinstance(item, String) else None -def insert_sorted(array: Array, value: str, /) -> None: - """Insert `value` before the first larger element, keeping a sorted array sorted.""" - for index, item in enumerate(array): - if item > value: - array.insert(index, value) - return +def _element_groups(array: Array, /) -> list[_ArrayItemGroup]: + """Return the array's element groups: each element together with its own trivia. - array.append(value) + tomlkit parses an array into element/indent/comma/comment groups and keeps + them beside the element list, with no public accessor for a comment. A + comment line of its own parses as a group whose value is null, and a + trailing comment parses onto its element's group. Reconciliation moves + elements, so it reads and writes those groups to keep every comment with + the element it annotates; working through the element list alone would + leave each comment at the position it happened to parse at. + `tests/test_toml_edit.py` pins the behavior, so a tomlkit release that + reshapes the groups fails there instead of silently misplacing comments. + """ + return array._value # noqa: SLF001 — tomlkit exposes element trivia nowhere else. -def reconcile_string_array(array: Array, /, *, expected: Sequence[str]) -> None: - """Mutate a strings-only array to exactly the sorted `expected` values. +def _comments_by_element(array: Array, /) -> dict[str, Comment]: + """Index the trailing comment of every string element by that element's value. + + A value repeated with two different comments keeps the last one in document + order; deduplication leaves one entry to carry it. + """ + comments: dict[str, Comment] = {} + for group in _element_groups(array): + if isinstance(group.value, String) and group.comment is not None: + comments[str(group.value)] = group.comment + + return comments + + +def _attach_comments(array: Array, /, *, comments: Mapping[str, Comment]) -> None: + """Give every string element the comment indexed for its value, or none.""" + for group in _element_groups(array): + if isinstance(group.value, String): + group.comment = comments.get(str(group.value)) + + +def _is_comment_line(group: _ArrayItemGroup, /) -> bool: + """Report whether a group is a comment occupying a line of its own.""" + return group.comment is not None and not isinstance(group.value, String) + + +def _comment_lines_by_element( + array: Array, / +) -> tuple[dict[str, list[_ArrayItemGroup]], list[_ArrayItemGroup]]: + """Index each run of comment lines by the value of the element below it. + + A comment on a line of its own documents the line below it, so a run of + them belongs to the element that follows and moves with it. Runs are + returned by element value, together with the run that follows the last + element and therefore documents nothing — that one keeps its place at the + end of the array. Two runs on a repeated value merge onto the one entry + deduplication leaves. + """ + runs: dict[str, list[_ArrayItemGroup]] = {} + pending: list[_ArrayItemGroup] = [] + + for group in _element_groups(array): + if _is_comment_line(group): + pending.append(group) + elif isinstance(group.value, String) and pending: + runs.setdefault(str(group.value), []).extend(pending) + pending = [] + + return runs, pending + + +def _place_comment_lines( + array: Array, + /, + *, + runs: Mapping[str, list[_ArrayItemGroup]], + trailing: Sequence[_ArrayItemGroup], +) -> None: + """Move every run of comment lines back above the element it documents. + + A run whose element is gone goes with it, the same way a trailing comment + does not outlive the element it sat beside. + """ + groups = _element_groups(array) + placed: list[_ArrayItemGroup] = [] + for group in groups: + if _is_comment_line(group): + continue + + if isinstance(group.value, String): + placed.extend(runs.get(str(group.value), ())) + + placed.append(group) + + # The closing whitespace of a multiline array stays last, so an ownerless + # run is inserted ahead of it rather than after the bracket. + end = len(placed) + while end > 0 and placed[end - 1].is_whitespace(): + end -= 1 + placed[end:end] = trailing + + groups[:] = placed + array._reindex() # noqa: SLF001 — the element index map is derived from the group order. - Stale and duplicate entries are removed, missing ones inserted in sorted - position. Surviving entries are untouched, so their comments and - formatting are preserved. + +def reconcile_string_array(array: Array, /, *, expected: Sequence[str]) -> None: + """Rewrite a strings-only array to the sorted, deduplicated `expected` values. + + Sorted order is the canonical form of a managed array: a check that + compares against it and an apply pass that produces it agree, so a + hand-reordered array is a deviation that apply mode clears rather than a + permanent finding. Stale and duplicate elements go and missing ones arrive. + + Comments move with what they document. A comment trailing an element + follows that element to its new position; a comment on a line of its own + documents the line below it, so a run of them travels above the element + that follows, and a run after the last element keeps its place at the end. + A comment whose element is gone goes with it. + + The array's layout is left alone: elements keep the indentation and + separators of the positions they occupy, so a single-line array stays on + one line and a multiline array keeps one element per line. An array that + was empty becomes multiline, matching how a managed array is written by + hand. + + The caller owns one precondition, reported as an unfixable finding where it + fails: the array contains strings only. """ - remaining = set(expected) - for index in reversed(range(len(array))): - item = array[index] - if item in remaining: - remaining.discard(item) - else: - del array[index] - - if not array: + values = sorted(set(expected)) + comments = _comments_by_element(array) + comment_lines, trailing_comment_lines = _comment_lines_by_element(array) + + if not array and values: array.multiline(multiline=True) - for value in remaining: - insert_sorted(array, value) + + for index in reversed(range(len(values), len(array))): + del array[index] + for value in values[len(array) :]: + array.append(value) + + for index, value in enumerate(values): + if array[index] != value: + array[index] = value + + _attach_comments(array, comments=comments) + _place_comment_lines(array, runs=comment_lines, trailing=trailing_comment_lines) diff --git a/libs/@local/repo-chores/python/repo_chores/workspace.py b/libs/@local/repo-chores/python/repo_chores/workspace.py index c83fe3fde1e..5a2146b976e 100644 --- a/libs/@local/repo-chores/python/repo_chores/workspace.py +++ b/libs/@local/repo-chores/python/repo_chores/workspace.py @@ -140,6 +140,37 @@ def _insecure_bounds_allowlist(manifest: Mapping[str, object], /) -> tuple[str, return _str_entries(_table_at(manifest, "tool", "hash"), INSECURE_BOUNDS_ALLOWLIST_KEY) +def load_lockfile_versions(root: Path, /) -> Mapping[str, str]: + """Read the version uv resolved for every distribution in the lockfile. + + Names come back as the lockfile spells them; a caller comparing against + requirement names canonicalizes both sides. + + Raises :exc:`WorkspaceError` when the lockfile is missing or holds no + package list. Resolved versions are what a dependency range is judged + against, so an absent lockfile has to fail rather than pass everything. + """ + lockfile_path = root / "uv.lock" + if not lockfile_path.is_file(): + raise WorkspaceError(f"{lockfile_path} does not exist; run `uv lock`") + + packages = _load_toml(lockfile_path).get("package") + if not isinstance(packages, list): + raise WorkspaceError(f"{lockfile_path} declares no [[package]] entries") + + versions: dict[str, str] = {} + for package in packages: + if not _is_table(package): + continue + + name = _str_at(package, "name") + version = _str_at(package, "version") + if name is not None and version is not None: + versions[name] = version + + return versions + + def find_workspace_root(start: Path, /) -> Path: """Walk upwards from `start` to the manifest declaring the uv workspace. diff --git a/libs/@local/repo-chores/python/tests/test_lint.py b/libs/@local/repo-chores/python/tests/test_lint.py index 064060cb12e..d49bdb1879b 100644 --- a/libs/@local/repo-chores/python/tests/test_lint.py +++ b/libs/@local/repo-chores/python/tests/test_lint.py @@ -54,11 +54,11 @@ def test_bounded_ranges_pass() -> None: ) ) - assert lint_workspace(workspace) == [] + assert lint_workspace(workspace, resolved={}) == [] def test_missing_upper_bound_fails() -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("ruff>=0.15.21",))) + findings = lint_workspace(make_workspace(dev_dependencies=("ruff>=0.15.21",)), resolved={}) assert len(findings) == 1 assert "no upper bound" in findings[0].message @@ -67,21 +67,21 @@ def test_missing_upper_bound_fails() -> None: def test_missing_lower_bound_fails() -> None: # `<2` alone lets resolution reach arbitrarily far down. - findings = lint_workspace(make_workspace(dev_dependencies=("ruff<2",))) + findings = lint_workspace(make_workspace(dev_dependencies=("ruff<2",)), resolved={}) assert len(findings) == 1 assert "no lower bound" in findings[0].message def test_bare_requirement_fails() -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("pytest",))) + findings = lint_workspace(make_workspace(dev_dependencies=("pytest",)), resolved={}) assert len(findings) == 1 assert "no version bounds at all" in findings[0].message def test_exclusion_alone_is_not_a_bound() -> None: - findings = lint_workspace(make_workspace(dev_dependencies=("ruff!=0.15.20",))) + findings = lint_workspace(make_workspace(dev_dependencies=("ruff!=0.15.20",)), resolved={}) assert len(findings) == 1 assert "no version bounds at all" in findings[0].message @@ -91,39 +91,106 @@ def test_workspace_members_are_exempt() -> None: member = make_member(name="hash-repo-chores") workspace = make_workspace(dev_dependencies=("hash-repo-chores",), members=(member,)) - assert lint_workspace(workspace) == [] + assert lint_workspace(workspace, resolved={}) == [] def test_member_manifests_are_judged_too() -> None: member = make_member(dependencies=("requests>=2",), dev_dependencies=("pytest",)) workspace = make_workspace(members=(member,)) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace, resolved={}) assert len(findings) == 2 assert all(finding.path == "packages/alpha/pyproject.toml" for finding in findings) +# Floors against the resolved versions + + +def test_a_floor_below_the_resolved_series_fails() -> None: + workspace = make_workspace(dev_dependencies=("fastapi>=0.128.8,<0.140.0",)) + + findings = lint_workspace(workspace, resolved={"fastapi": "0.139.2"}) + + assert len(findings) == 1 + assert "admits 0.128.8, older than the resolved 0.139.2" in findings[0].message + assert "raise it to 0.139" in findings[0].message + assert not findings[0].fixable + + +def test_a_floor_naming_the_resolved_series_passes() -> None: + # The floor names the series, not the patch: a patch release must not force + # a manifest edit, while a minor one must. + workspace = make_workspace(dev_dependencies=("fastapi>=0.139.0,<0.140.0",)) + + assert lint_workspace(workspace, resolved={"fastapi": "0.139.2"}) == [] + + +def test_a_prerelease_floor_is_compared_by_series() -> None: + workspace = make_workspace(dev_dependencies=("otel-instrumentation>=0.65b0,<0.66.0",)) + + assert lint_workspace(workspace, resolved={"otel-instrumentation": "0.65b0"}) == [] + + +def test_a_compatible_release_floor_is_judged_too() -> None: + workspace = make_workspace(dev_dependencies=("tach~=0.35.0",)) + + findings = lint_workspace(workspace, resolved={"tach": "0.36.1"}) + + assert len(findings) == 1 + assert "admits 0.35.0, older than the resolved 0.36.1" in findings[0].message + + +def test_a_distribution_absent_from_the_lockfile_is_not_judged() -> None: + # `uv sync --locked` owns manifest-against-lockfile disagreement; repeating + # it here would report the same drift twice, in two vocabularies. + workspace = make_workspace(dev_dependencies=("ruff>=0.15.21,<0.16",)) + + assert lint_workspace(workspace, resolved={}) == [] + + +def test_an_unbounded_requirement_is_reported_once() -> None: + # The bounds rule fires first; a requirement with no upper bound does not + # also collect a floor finding. + workspace = make_workspace(dev_dependencies=("ruff>=0.1",)) + + findings = lint_workspace(workspace, resolved={"ruff": "0.15.21"}) + + assert len(findings) == 1 + assert "no upper bound" in findings[0].message + + +def test_the_allowlist_does_not_exempt_a_loose_floor() -> None: + # The allowlist buys an unbounded range, which is a different risk: a floor + # older than the resolution is a claim about tested versions. + workspace = make_workspace(dev_dependencies=("ruff>=0.1,<0.16",), allowlist=("ruff",)) + + findings = lint_workspace(workspace, resolved={"ruff": "0.15.21"}) + + messages = [finding.message for finding in findings] + assert any("older than the resolved 0.15.21" in message for message in messages) + + # Allowlist def test_allowlisted_dependency_is_exempt() -> None: workspace = make_workspace(dev_dependencies=("ruff>=0.15.21",), allowlist=("ruff",)) - assert lint_workspace(workspace) == [] + assert lint_workspace(workspace, resolved={}) == [] def test_allowlist_names_are_canonicalized() -> None: member = make_member(dependencies=("legacy.pkg>=1",), allowlist=("Legacy-Pkg",)) workspace = make_workspace(members=(member,)) - assert lint_workspace(workspace) == [] + assert lint_workspace(workspace, resolved={}) == [] def test_stale_allowlist_entry_fails() -> None: workspace = make_workspace(dev_dependencies=("ruff>=0.15.21,<0.16",), allowlist=("ruff",)) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace, resolved={}) assert len(findings) == 1 assert "exempts nothing" in findings[0].message @@ -134,7 +201,7 @@ def test_allowlist_is_scoped_to_its_manifest() -> None: member = make_member(dependencies=("requests>=2",)) workspace = make_workspace(members=(member,), allowlist=("requests",)) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace, resolved={}) messages = [finding.message for finding in findings] assert any("no upper bound" in message for message in messages) @@ -150,7 +217,7 @@ def test_url_requirements_fail_even_when_allowlisted() -> None: allowlist=("weird",), ) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace, resolved={}) assert any("URL requirement" in finding.message for finding in findings) @@ -158,7 +225,7 @@ def test_url_requirements_fail_even_when_allowlisted() -> None: def test_invalid_requirement_is_reported() -> None: workspace = make_workspace(dev_dependencies=(">=1.0",)) - findings = lint_workspace(workspace) + findings = lint_workspace(workspace, resolved={}) assert len(findings) == 1 assert "invalid requirement" in findings[0].message diff --git a/libs/@local/repo-chores/python/tests/test_sync.py b/libs/@local/repo-chores/python/tests/test_sync.py index 6ff8a6098db..19d93875adb 100644 --- a/libs/@local/repo-chores/python/tests/test_sync.py +++ b/libs/@local/repo-chores/python/tests/test_sync.py @@ -4,8 +4,11 @@ import tomllib from pathlib import Path +import pytest + +from repo_chores import sync from repo_chores.sync import PYTEST_SCRIPT, assemble_package_json, synchronize -from repo_chores.workspace import Member +from repo_chores.workspace import Finding, Member, WorkspaceError # Check mode @@ -88,7 +91,9 @@ def test_fixes_are_applied_and_idempotent(fixture_repo: Path) -> None: assert root_manifest["tool"]["uv"]["workspace"]["members"] == expected_members assert root_manifest["tool"]["ruff"]["src"] == expected_members assert root_manifest["tool"]["tach"]["source_roots"] == expected_members - assert root_manifest["tool"]["pytest"]["ini_options"]["testpaths"] == ["packages/alpha/tests"] + test_options = root_manifest["tool"]["pytest"]["ini_options"] + assert test_options["testpaths"] == ["packages/alpha/tests"] + assert test_options["pythonpath"] == ["packages/alpha"] root_package_json = json.loads((fixture_repo / "package.json").read_text()) assert "outside/lib" in root_package_json["workspaces"]["packages"] @@ -148,6 +153,106 @@ def test_fix_removes_stale_and_duplicate_member_entries(fixture_repo: Path) -> N ] +def test_fix_sorts_a_reordered_member_list(fixture_repo: Path) -> None: + # A member list holding the right entries in the wrong order used to be a + # deviation apply mode could not clear: it reported a fix, wrote nothing, + # and left `--check` red on every following run. + synchronize(fixture_repo, apply=True) + manifest_path = fixture_repo / "pyproject.toml" + sorted_members = ( + 'members = [\n "outside/lib",\n "packages/alpha",\n "packages/beta",\n]' + ) + reordered = 'members = [\n "packages/beta",\n "outside/lib",\n "packages/alpha",\n]' + manifest_path.write_text(manifest_path.read_text().replace(sorted_members, reordered)) + + findings = synchronize(fixture_repo, apply=True) + + assert any("workspace members must list every member, sorted" in f.message for f in findings) + root_manifest = tomllib.loads(manifest_path.read_text()) + assert root_manifest["tool"]["uv"]["workspace"]["members"] == [ + "outside/lib", + "packages/alpha", + "packages/beta", + ] + # The deviation is gone for good: check mode sees only the unfixable one. + assert [finding.fixable for finding in synchronize(fixture_repo, apply=False)] == [False] + + +def test_a_comment_line_follows_the_member_it_documents(fixture_repo: Path) -> None: + manifest_path = fixture_repo / "pyproject.toml" + annotated = 'members = [\n # the flagship package\n "packages/alpha",\n]' + manifest_path.write_text( + manifest_path.read_text().replace('members = [\n "packages/alpha",\n]', annotated) + ) + + synchronize(fixture_repo, apply=True) + + # Two members sort ahead of it, so the comment has to move with its own line. + assert ( + "members = [\n" + ' "outside/lib",\n' + " # the flagship package\n" + ' "packages/alpha",\n' + ' "packages/beta",\n' + "]" + ) in manifest_path.read_text() + assert [finding.fixable for finding in synchronize(fixture_repo, apply=False)] == [False] + + +def test_write_refuses_to_claim_a_fix_that_changed_nothing(tmp_path: Path) -> None: + path = tmp_path / "pyproject.toml" + path.write_text("unchanged") + + with pytest.raises(WorkspaceError, match="changed nothing"): + sync._write( + path=path, + original="unchanged", + content="unchanged", + findings=[Finding(path="pyproject.toml", message="a deviation")], + apply=True, + ) + + +def test_unfixable_findings_alone_do_not_trip_the_write_check(tmp_path: Path) -> None: + path = tmp_path / "pyproject.toml" + path.write_text("unchanged") + + sync._write( + path=path, + original="unchanged", + content="unchanged", + findings=[Finding(path="pyproject.toml", message="a deviation", fixable=False)], + apply=True, + ) + + assert path.read_text() == "unchanged" + + +def test_workspaces_declared_as_a_bare_list_is_covered(fixture_repo: Path) -> None: + package_json_path = fixture_repo / "package.json" + data = json.loads(package_json_path.read_text()) + data["workspaces"] = ["!**/node_modules", "packages/**"] + package_json_path.write_text(json.dumps(data, indent=2) + "\n") + + synchronize(fixture_repo, apply=True) + + assert json.loads(package_json_path.read_text())["workspaces"] == [ + "!**/node_modules", + "outside/lib", + "packages/**", + ] + + +def test_a_root_manifest_without_workspaces_is_a_loud_error(fixture_repo: Path) -> None: + package_json_path = fixture_repo / "package.json" + data = json.loads(package_json_path.read_text()) + del data["workspaces"] + package_json_path.write_text(json.dumps(data, indent=2) + "\n") + + with pytest.raises(WorkspaceError, match="declares no yarn workspaces list"): + synchronize(fixture_repo, apply=False) + + def test_non_string_member_entries_are_reported_not_clobbered(fixture_repo: Path) -> None: manifest_path = fixture_repo / "pyproject.toml" manifest_path.write_text( @@ -224,6 +329,34 @@ def test_assemble_manages_identity_scripts_and_dependencies() -> None: assert assembled["dependencies"] == {"@python/alpha-core": "workspace:*"} +def test_assemble_keeps_dependencies_outside_the_python_scope() -> None: + # A Python package's image can bake in a built JavaScript package; the turbo + # edge that rebuilds the image when that package changes is the dependency + # declared here, and only the `@python` scope is the sync tool's to own. + member = _make_member(workspace_dependencies=("alpha-core",)) + existing = { + "dependencies": { + "@hashintel/some-cli": "workspace:*", + "@python/withdrawn": "workspace:*", + } + } + + assembled = assemble_package_json(member, existing) + + assert assembled["dependencies"] == { + "@hashintel/some-cli": "workspace:*", + "@python/alpha-core": "workspace:*", + } + + +def test_assemble_keeps_a_foreign_dependency_when_no_python_source_remains() -> None: + existing = {"dependencies": {"@hashintel/some-cli": "workspace:*"}} + + assembled = assemble_package_json(_make_member(), existing) + + assert assembled["dependencies"] == {"@hashintel/some-cli": "workspace:*"} + + def test_assemble_removes_managed_pytest_script_when_tests_are_gone() -> None: existing = {"scripts": {"test:unit": PYTEST_SCRIPT, "custom:thing": "echo hi"}} @@ -241,7 +374,11 @@ def test_assemble_preserves_hand_written_test_script_without_tests_directory() - assert _scripts_of(assembled)["test:unit"] == "vitest run" -def test_assemble_omits_empty_dependencies() -> None: - assembled = assemble_package_json(_make_member(), {"dependencies": {"x": "1"}}) +def test_assemble_omits_dependencies_left_with_nothing_to_declare() -> None: + # The last managed edge going takes the key with it, rather than leaving an + # empty object behind; an unmanaged edge would keep the key (above). + existing = {"dependencies": {"@python/withdrawn": "workspace:*"}} + + assembled = assemble_package_json(_make_member(), existing) assert "dependencies" not in assembled diff --git a/libs/@local/repo-chores/python/tests/test_toml_edit.py b/libs/@local/repo-chores/python/tests/test_toml_edit.py new file mode 100644 index 00000000000..6c2afb0d2a3 --- /dev/null +++ b/libs/@local/repo-chores/python/tests/test_toml_edit.py @@ -0,0 +1,171 @@ +"""Tests for managed-array reconciliation: order, comments, layout, and refusals.""" + +import tomlkit +from tomlkit.items import Array + +from repo_chores.toml_edit import navigate_to_array, reconcile_string_array + + +def _members(source: str) -> tuple[tomlkit.TOMLDocument, Array]: + document = tomlkit.parse(source) + return document, navigate_to_array(document, path=("members",)) + + +def test_reordered_entries_are_sorted_in_place() -> None: + document, members = _members('members = [\n "b",\n "a",\n]\n') + + reconcile_string_array(members, expected=("a", "b")) + + assert tomlkit.dumps(document) == 'members = [\n "a",\n "b",\n]\n' + + +def test_reconciliation_is_idempotent() -> None: + document, members = _members('members = [\n "c",\n "a",\n]\n') + + reconcile_string_array(members, expected=("a", "b", "c")) + once = tomlkit.dumps(document) + reconcile_string_array(members, expected=("a", "b", "c")) + + assert tomlkit.dumps(document) == once + assert list(members) == ["a", "b", "c"] + + +def test_stale_and_duplicate_entries_go_and_missing_ones_arrive() -> None: + document, members = _members('members = [\n "ghost",\n "a",\n "a",\n]\n') + + reconcile_string_array(members, expected=("a", "b")) + + assert tomlkit.dumps(document) == 'members = [\n "a",\n "b",\n]\n' + + +def test_entry_comments_travel_with_their_entry() -> None: + document, members = _members( + 'members = [\n "zeta", # ships first\n "alpha", # ships second\n]\n' + ) + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n "alpha", # ships second\n "zeta", # ships first\n]\n' + ) + + +def test_a_comment_does_not_outlive_the_entry_it_annotated() -> None: + document, members = _members('members = [\n "a",\n "ghost", # about to go\n]\n') + + reconcile_string_array(members, expected=("a", "b")) + + assert tomlkit.dumps(document) == 'members = [\n "a",\n "b",\n]\n' + + +def test_a_single_line_array_stays_on_one_line() -> None: + document, members = _members('members = ["b", "a"]\n') + + reconcile_string_array(members, expected=("a", "b")) + + assert tomlkit.dumps(document) == 'members = ["a", "b"]\n' + + +def test_an_empty_array_is_filled_one_entry_per_line() -> None: + document, members = _members("members = []\n") + + reconcile_string_array(members, expected=("b", "a")) + + assert tomlkit.dumps(document) == 'members = [\n "a",\n "b",\n]\n' + + +def test_an_array_emptied_of_every_entry_keeps_its_key() -> None: + document, members = _members('members = [\n "a",\n]\n') + + reconcile_string_array(members, expected=()) + + assert list(members) == [] + assert "members" in tomlkit.dumps(document) + + +def test_a_comment_line_travels_with_the_entry_below_it() -> None: + document, members = _members('members = [\n "zeta",\n # the newcomer\n "alpha",\n]\n') + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n # the newcomer\n "alpha",\n "zeta",\n]\n' + ) + + +def test_a_run_of_comment_lines_stays_together_above_its_entry() -> None: + document, members = _members( + 'members = [\n "zeta",\n # two lines\n # about alpha\n "alpha",\n]\n' + ) + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n # two lines\n # about alpha\n "alpha",\n "zeta",\n]\n' + ) + + +def test_a_run_keeps_its_blank_line_and_travels_whole() -> None: + document, members = _members( + 'members = [\n "zeta",\n # two lines\n\n # about alpha\n "alpha",\n]\n' + ) + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n # two lines\n\n # about alpha\n "alpha",\n "zeta",\n]\n' + ) + + +def test_a_run_above_the_first_entry_follows_that_entry_rather_than_heading_the_array() -> None: + document, members = _members( + 'members = [\n # two lines\n # about zeta\n "zeta",\n "alpha",\n]\n' + ) + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n "alpha",\n # two lines\n # about zeta\n "zeta",\n]\n' + ) + + +def test_a_trailing_comment_and_a_run_below_it_keep_their_separate_entries() -> None: + document, members = _members( + 'members = [\n "zeta", # beside zeta\n # about alpha\n "alpha",\n]\n' + ) + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n # about alpha\n "alpha",\n "zeta", # beside zeta\n]\n' + ) + + +def test_a_comment_line_goes_with_the_entry_it_documented() -> None: + document, members = _members('members = [\n # about the ghost\n "ghost",\n "a",\n]\n') + + reconcile_string_array(members, expected=("a",)) + + assert tomlkit.dumps(document) == 'members = [\n "a",\n]\n' + + +def test_a_comment_run_after_the_last_entry_keeps_its_place() -> None: + document, members = _members( + 'members = [\n "b",\n "a",\n # documents nothing below it\n]\n' + ) + + reconcile_string_array(members, expected=("a", "b")) + + assert tomlkit.dumps(document) == ( + 'members = [\n "a",\n "b",\n # documents nothing below it\n]\n' + ) + + +def test_comment_lines_survive_a_reconciliation_that_adds_an_entry() -> None: + document, members = _members('members = [\n # about zeta\n "zeta",\n]\n') + + reconcile_string_array(members, expected=("alpha", "zeta")) + + assert tomlkit.dumps(document) == ( + 'members = [\n "alpha",\n # about zeta\n "zeta",\n]\n' + ) diff --git a/pyproject.toml b/pyproject.toml index 5f184450e2c..547cda91646 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,13 @@ testpaths = [ "apps/petrinaut-opt/tests", "libs/@local/repo-chores/python/tests", ] +# Managed by `mise run sync:python`. A member's tests import its modules by the +# names its own directory exposes, the way its own pytest configuration does, so +# collecting the testpaths above from the root needs each member directory here. +pythonpath = [ + "apps/petrinaut-opt", + "libs/@local/repo-chores/python", +] [tool.ruff] # Linter: strictest rule set, exceptions curated below. Formatter: next style epoch. diff --git a/turbo.json b/turbo.json index 497fa7cd49e..63026d009bf 100644 --- a/turbo.json +++ b/turbo.json @@ -123,6 +123,7 @@ ".github/actions/**", ".github/scripts/**", ".github/workflows/**", + "libs/@local/repo-chores/python/repo_chores/prune.py", // Dot-files ".*", ".cargo/**", diff --git a/uv.lock b/uv.lock index 10d3502a8ee..771fa1d6552 100644 --- a/uv.lock +++ b/uv.lock @@ -664,6 +664,7 @@ dependencies = [ { name = "optuna" }, { name = "pydantic" }, { name = "python-dotenv" }, + { name = "starlette" }, { name = "uvicorn", extra = ["standard"] }, ] @@ -676,15 +677,16 @@ dev = [ [package.metadata] requires-dist = [ - { name = "fastapi", specifier = ">=0.128.8" }, - { name = "opentelemetry-exporter-otlp-proto-grpc", specifier = ">=1.44.0" }, - { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.44.0" }, - { name = "opentelemetry-instrumentation-fastapi", specifier = ">=0.65b0" }, - { name = "opentelemetry-sdk", specifier = ">=1.44.0" }, - { name = "optuna", specifier = ">=3.6" }, + { name = "fastapi", specifier = ">=0.139.0,<0.140.0" }, + { name = "opentelemetry-exporter-otlp-proto-grpc", specifier = ">=1.44.0,<2.0.0" }, + { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.44.0,<2.0.0" }, + { name = "opentelemetry-instrumentation-fastapi", specifier = ">=0.65b0,<0.66.0" }, + { name = "opentelemetry-sdk", specifier = ">=1.44.0,<2.0.0" }, + { name = "optuna", specifier = ">=4.9.0,<5.0.0" }, { name = "pydantic", specifier = ">=2.13.4,<3.0.0" }, - { name = "python-dotenv", specifier = ">=1.0.0" }, - { name = "uvicorn", extras = ["standard"], specifier = ">=0.39.0" }, + { name = "python-dotenv", specifier = ">=1.2.0,<2.0.0" }, + { name = "starlette", specifier = ">=1.3.1,<2.0.0" }, + { name = "uvicorn", extras = ["standard"], specifier = ">=0.51.0,<0.52.0" }, ] [package.metadata.requires-dev] diff --git a/yarn.lock b/yarn.lock index c7556e5fc41..80ee10e86ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6923,7 +6923,7 @@ __metadata: languageName: node linkType: hard -"@hashintel/petrinaut-cli@workspace:libs/@hashintel/petrinaut-cli": +"@hashintel/petrinaut-cli@workspace:*, @hashintel/petrinaut-cli@workspace:libs/@hashintel/petrinaut-cli": version: 0.0.0-use.local resolution: "@hashintel/petrinaut-cli@workspace:libs/@hashintel/petrinaut-cli" dependencies: @@ -11178,6 +11178,8 @@ __metadata: "@python/petrinaut-optimization@workspace:*, @python/petrinaut-optimization@workspace:apps/petrinaut-opt": version: 0.0.0-use.local resolution: "@python/petrinaut-optimization@workspace:apps/petrinaut-opt" + dependencies: + "@hashintel/petrinaut-cli": "workspace:*" languageName: unknown linkType: soft