Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.
Rust
ci: gate nemo-switchyard release publishing on tags (#2)
nachiketb-nvidiacb2940480d92
diff --git a/.agents/skills/publish-package/SKILL.md b/.agents/skills/publish-package/SKILL.mdnew file mode 100644index 000000000..e81655236--- /dev/null+++ b/.agents/skills/publish-package/SKILL.md@@ -0,0 +1,94 @@+---+name: publish-package+description: Build and publish Switchyard packages through the current OSS-style GitHub release path. Use when asked to publish, release, ship, tag, cut a version, build wheel artifacts, or prepare a package release.+---++# Publish Switchyard++Switchyard currently uses the OSS-style NeMo release shape in GitHub Actions. Keep temporary dev+wheels separate from official tag-gated release builds.++| Channel | Trigger | CI owner | Destination | Runbook |+|---|---|---|---|---|+| Dev wheel artifact | Manual `publish.yml` dispatch with `build_dev_artifact=true` | GitHub Actions | One-day GitHub artifact | `docs/internal/release_workflow.md` |+| Dev matrix artifact | Manual `publish.yml` dispatch with `build_dev_matrix=true` | GitHub Actions | Full matrix GitHub artifacts | `docs/internal/release_workflow.md` |+| Official release build | Root `vMAJOR.MINOR.PATCH` tag | GitHub Actions `.github/workflows/publish.yml` | Full release artifact matrix + PyPI Trusted Publishing via `uv publish` | `.github/workflows/publish.yml` |++Release publishing stays on the public GitHub/PyPI path. Manual branch builds only produce+artifacts; root release tags publish through PyPI Trusted Publishing.++## Guardrails++- Do not create tags unless the user explicitly asks for a tag-based release.+- Do not create GitHub Releases for dev wheel artifacts.+- Do not publish dev wheels to PyPI from manual workflow dispatch.+- Keep `.dev` artifacts public-safe because GitHub Actions artifacts may be shared for review.+- Full wheel matrices may run manually for validation, but PyPI publishing belongs only on root+ `vMAJOR.MINOR.PATCH` tag releases.+- Manual dev builds should build exactly one Linux x86_64 wheel artifact with one-day retention.+- Use PyPI Trusted Publishing with the GitHub environment named `pypi`; do not add long-lived PyPI tokens.++## Dev Wheel Artifact Shape++Use the workflow-dispatch path in `.github/workflows/publish.yml`.++It stamps a build-local `.dev` version, builds one manylinux x86_64 abi3 wheel, uploads it as+`dev-wheel-linux-x86_64` with one-day retention, then downloads it again to verify the wheel `Name`+and `Version`.++| Input | Default | Meaning |+|---|---|---|+| `build_dev_artifact` | `false` | Set to `true` to build one temporary wheel artifact |+| `build_dev_matrix` | `false` | Set to `true` to build the complete sdist and wheel matrix as artifacts |+| `dev_version` | `0.0.1.dev0` | PEP 440 `.dev` version for wheel metadata |++## Required Secrets++The artifact-only dev build does not require release secrets.++The official publish job uses `uv publish --trusted-publishing always`; no PyPI token is required.+Manual dev builds never publish to PyPI.++Before cutting the first tag, create the pending PyPI trusted publisher for:++| Field | Value |+|---|---|+| Project | `nemo-switchyard` |+| Owner | `NVIDIA-NeMo` |+| Repository | `Switchyard` |+| Workflow | `publish.yml` |+| Environment | `pypi` |++## Local Preflight For Release-Infrastructure Changes++When editing release scripts, package metadata, package release docs, or this skill, run:++```bash+uv run ruff check scripts/release/set_dev_wheel_version.py tests/test_dev_wheel_versioning.py+uv run pytest tests/test_dev_wheel_versioning.py -v+python scripts/release/set_dev_wheel_version.py 0.0.1.dev0 --print-version+git diff --check+```++For docs changes under `docs/`, also run the strict MkDocs build when practical:++```bash+cd docs+make publish+```++## Failure Map++| Symptom | Fix |+|---|---|+| GitHub artifact verifier cannot find wheels | Check the `dev-wheel-*` artifact names and retention |+| Artifact build creates a `switchyard` wheel | Confirm `scripts/release/set_dev_wheel_version.py` ran before `maturin build` |+| Release publish cannot mint trusted token | Confirm PyPI pending publisher and GitHub `pypi` environment both match the workflow |+| Full matrix runs on every commit | Ensure matrix jobs are only `workflow_dispatch` or root release-tag gated |+| Install imports checkout version | Verify from a temporary directory outside the repo |++## References++- Release workflow runbook: `docs/internal/release_workflow.md`+- Dev wheel version helper: `scripts/release/set_dev_wheel_version.py`+- Public GitHub build workflow: `.github/workflows/publish.yml`diff --git a/.agents/skills/switchyard-testing-ci/SKILL.md b/.agents/skills/switchyard-testing-ci/SKILL.mdindex 6c7c3af73..559c4b549 100644--- a/.agents/skills/switchyard-testing-ci/SKILL.md+++ b/.agents/skills/switchyard-testing-ci/SKILL.md@@ -288,8 +288,8 @@ explicit user intent; after changing dependencies run `uv lock`, `uv sync`, and### Stale package names-The package and CLI are `switchyard`. Do not reintroduce `nemo_switchyard` imports or public docs-unless a test explicitly preserves legacy context. Check:+The distribution package is `nemo-switchyard`; imports and the CLI are `switchyard`. Do not+introduce `nemo_switchyard` imports or publish docs that imply `pip install switchyard`. Check:```bashuv run pytest tests/test_cli_stale_names.py tests/test_no_stale_module_paths.py tests/test_version_package_name.py -v -o addopts=diff --git a/.github/workflows/package-portability.yml b/.github/workflows/package-portability.ymlindex 6eae5e10b..2fe85e672 100644--- a/.github/workflows/package-portability.yml+++ b/.github/workflows/package-portability.yml@@ -31,69 +31,18 @@ env:MATURIN_VERSION: "1.11.5"jobs:- source-dist:- name: Source distribution+ # Regular CI intentionally builds one wheel only. The complete cross-platform+ # wheel matrix is expensive and belongs to the tag-gated release workflow in+ # `.github/workflows/publish.yml`.+ wheel:+ name: Wheel (linux-x86_64)runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- - uses: astral-sh/setup-uv@v6- with:- python-version: "3.12"- enable-cache: true- cache-dependency-glob: "uv.lock"- - run: uv sync --locked- - name: Build sdist- run: uv run maturin sdist --out dist-- wheels:- name: Wheel (${{ matrix.label }})- runs-on: ${{ matrix.os }}- strategy:- fail-fast: false- matrix:- include:- - label: linux-x86_64- os: ubuntu-latest- rust_target: x86_64-unknown-linux-gnu- manylinux_arch: x86_64- smoke: true- - label: linux-aarch64- os: ubuntu-latest- rust_target: aarch64-unknown-linux-gnu- manylinux_arch: aarch64- smoke: false- - label: macos-x86_64- os: macos-15-intel- rust_target: x86_64-apple-darwin- smoke: true- - label: macos-arm64- os: macos-14- rust_target: aarch64-apple-darwin- smoke: true- - label: windows-x86_64- os: windows-latest- rust_target: x86_64-pc-windows-msvc- smoke: truesteps:- uses: actions/checkout@v4- uses: actions/setup-python@v5with:python-version: "3.12"- - name: Setup QEMU for Linux cross builds- if: matrix.label == 'linux-aarch64'- uses: docker/setup-qemu-action@v3- - name: Install maturin- if: runner.os != 'Linux'- shell: bash- run: |- python -m pip install --upgrade pip- python -m pip install "maturin==${MATURIN_VERSION}"- - name: Install Rust target- if: runner.os != 'Linux'- shell: bash- run: rustup target add "${{ matrix.rust_target }}"- - name: Build manylinux wheel- if: runner.os == 'Linux'+ - name: Build manylinux x86_64 wheelshell: bashrun: |set -euxo pipefail@@ -101,7 +50,7 @@ jobs:-e MATURIN_VERSION="${MATURIN_VERSION}" \-v "${GITHUB_WORKSPACE}:/io" \-w /io \- "quay.io/pypa/manylinux2014_${{ matrix.manylinux_arch }}" \+ "quay.io/pypa/manylinux2014_x86_64" \/bin/bash -lc 'set -euxo pipefailcurl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable@@ -116,18 +65,7 @@ jobs:--out dist \--interpreter "${PYTHON}"'- - name: Build native wheel- if: runner.os != 'Linux'- shell: bash- run: |- python -m maturin build \- --release \- --locked \- --compatibility pypi \- --out dist \- --target "${{ matrix.rust_target }}"- - name: Smoke install native wheel on Python 3.12- if: matrix.smoke+ - name: Smoke install wheel on Python 3.12shell: bashrun: |python -m pip install --upgrade pip@@ -150,11 +88,9 @@ jobs:print("rust extension", _switchyard_rust.__name__)PY- uses: actions/setup-python@v5- if: matrix.smokewith:python-version: "3.14"- - name: Smoke install native wheel on Python 3.14- if: matrix.smoke+ - name: Smoke install wheel on Python 3.14shell: bashrun: |python -m pip install --upgrade pipdiff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 60928a32b..5341af102 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -3,20 +3,74 @@ name: Build and publish release distributionson:push:tags:- - "v*"+ - "v*.*.*"workflow_dispatch:+ inputs:+ build_dev_artifact:+ description: "Build one Linux x86_64 dev wheel artifact."+ required: true+ type: boolean+ default: false+ build_dev_matrix:+ description: "Build the complete dev sdist and wheel matrix as artifacts."+ required: true+ type: boolean+ default: false+ dev_version:+ description: "PEP 440 .dev version for the dev wheel."+ required: true+ type: string+ default: "0.0.1.dev0"env:+ DEV_PACKAGE_NAME: "nemo-switchyard"MATURIN_VERSION: "1.11.5"- # Delete this variable when public GitHub/PyPI publishing is officially enabled.- SWITCHYARD_GITHUB_PUBLISH_DISABLED: "1"permissions:contents: readjobs:+ # OSS-style split:+ # - Root vMAJOR.MINOR.PATCH tags run validation, build the complete matrix, publish to+ # PyPI, and create a GitHub Release.+ # - Manual dev builds create artifacts only. They are useful for branch validation but never+ # publish to PyPI.+ #+ # This deliberately keeps release publishing on the public GitHub/PyPI path. Manual+ # branch builds only produce artifacts; tag builds publish through PyPI Trusted Publishing.+ validate-release-ref:+ name: Validate release ref+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || github.event_name == 'workflow_dispatch' }}+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - name: Check release tag+ if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}+ run: |+ python - <<'PY'+ import os+ import re+ import tomllib++ tag = os.environ["GITHUB_REF_NAME"]+ if not re.fullmatch(r"v\d+\.\d+\.\d+", tag):+ raise SystemExit(f"release tags must look like vMAJOR.MINOR.PATCH, got {tag!r}")++ with open("pyproject.toml", "rb") as file:+ pyproject = tomllib.load(file)+ package_version = pyproject["project"]["version"]+ expected = f"v{package_version}"+ if tag != expected:+ raise SystemExit(+ f"release tag {tag!r} does not match pyproject version {package_version!r}"+ )+ print(f"release tag {tag} matches pyproject version {package_version}")+ PY+python-release-checks:name: Release Python checks (${{ matrix.python-version }})+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix) }}+ needs: [validate-release-ref]runs-on: ubuntu-lateststrategy:fail-fast: false@@ -37,6 +91,8 @@ jobs:rust-release-checks:name: Release Rust checks+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix) }}+ needs: [validate-release-ref]runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -47,10 +103,11 @@ jobs:- name: cargo clippyrun: cargo clippy --workspace --all-targets -- -D warnings- name: cargo test- run: cargo test --workspace+ run: cargo test --workspace -- --test-threads=1source-dist:name: Source distribution+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix) }}needs: [python-release-checks, rust-release-checks]runs-on: ubuntu-lateststeps:@@ -61,15 +118,43 @@ jobs:enable-cache: truecache-dependency-glob: "uv.lock"- run: uv sync --locked+ - name: Stamp dev source distribution metadata+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix }}+ run: |+ python scripts/release/set_dev_wheel_version.py \+ "${{ inputs.dev_version }}" \+ --package-name "${DEV_PACKAGE_NAME}"- name: Build sdistrun: uv run maturin sdist --out dist+ - name: Verify sdist license files+ run: |+ python - <<'PY'+ from pathlib import Path+ import tarfile++ archives = list(Path("dist").glob("*.tar.gz"))+ if len(archives) != 1:+ raise SystemExit(f"expected one sdist archive, found {archives}")++ with tarfile.open(archives[0]) as archive:+ archive_paths = set(archive.getnames())++ expected_suffixes = {"LICENSE", "NOTICE"}+ present_suffixes = {Path(path).name for path in archive_paths}+ missing = sorted(expected_suffixes - present_suffixes)+ if missing:+ raise SystemExit(f"{archives[0]} is missing required license files: {missing}")++ print(f"{archives[0]} contains {', '.join(sorted(expected_suffixes))}")+ PY- uses: actions/upload-artifact@v4with:- name: switchyard-sdist+ name: nemo-switchyard-sdistpath: dist/*wheels:name: Wheel (${{ matrix.label }})+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix) }}needs: [python-release-checks, rust-release-checks]runs-on: ${{ matrix.os }}strategy:@@ -82,7 +167,7 @@ jobs:manylinux_arch: x86_64smoke: true- label: linux-aarch64- os: ubuntu-latest+ os: ubuntu-24.04-armrust_target: aarch64-unknown-linux-gnumanylinux_arch: aarch64smoke: false@@ -98,13 +183,24 @@ jobs:os: windows-latestrust_target: x86_64-pc-windows-msvcsmoke: true+ - label: windows-arm64+ os: windows-11-arm+ rust_target: aarch64-pc-windows-msvc+ smoke: falsesteps:- uses: actions/checkout@v4- uses: actions/setup-python@v5with:python-version: "3.12"+ - name: Stamp dev wheel metadata+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix }}+ shell: bash+ run: |+ python scripts/release/set_dev_wheel_version.py \+ "${{ inputs.dev_version }}" \+ --package-name "${DEV_PACKAGE_NAME}"- name: Setup QEMU for Linux cross builds- if: matrix.label == 'linux-aarch64'+ if: runner.os == 'Linux' && runner.arch != 'ARM64' && matrix.manylinux_arch == 'aarch64'uses: docker/setup-qemu-action@v3- name: Install maturinif: runner.os != 'Linux'@@ -151,7 +247,7 @@ jobs:--out dist \--target "${{ matrix.rust_target }}"- name: Smoke install native wheel on Python 3.12- if: matrix.smoke+ if: ${{ matrix.smoke }}shell: bashrun: |python -m pip install --upgrade pip@@ -174,11 +270,11 @@ jobs:print("rust extension", _switchyard_rust.__name__)PY- uses: actions/setup-python@v5- if: matrix.smoke+ if: ${{ matrix.smoke }}with:python-version: "3.14"- name: Smoke install native wheel on Python 3.14- if: matrix.smoke+ if: ${{ matrix.smoke }}shell: bashrun: |python -m pip install --upgrade pip@@ -202,27 +298,133 @@ jobs:PY- uses: actions/upload-artifact@v4with:- name: switchyard-wheel-${{ matrix.label }}+ name: nemo-switchyard-wheel-${{ matrix.label }}path: dist/*+ dev-artifact-wheel:+ name: Dev wheel artifact (linux-x86_64)+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.build_dev_artifact }}+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-python@v5+ with:+ python-version: "3.12"+ - name: Stamp dev wheel metadata+ shell: bash+ run: |+ python scripts/release/set_dev_wheel_version.py \+ "${{ inputs.dev_version }}" \+ --package-name "${DEV_PACKAGE_NAME}"+ - name: Build manylinux x86_64 wheel+ shell: bash+ run: |+ set -euxo pipefail+ docker run --rm \+ -e MATURIN_VERSION="${MATURIN_VERSION}" \+ -v "${GITHUB_WORKSPACE}:/io" \+ -w /io \+ "quay.io/pypa/manylinux2014_x86_64" \+ /bin/bash -lc '+ set -euxo pipefail+ curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable+ source "${HOME}/.cargo/env"+ PYTHON=/opt/python/cp312-cp312/bin/python+ "${PYTHON}" -m pip install --upgrade pip+ "${PYTHON}" -m pip install "maturin==${MATURIN_VERSION}"+ "${PYTHON}" -m maturin build \+ --release \+ --locked \+ --compatibility pypi \+ --out dist \+ --interpreter "${PYTHON}"+ '+ - uses: actions/upload-artifact@v4+ with:+ name: dev-wheel-linux-x86_64+ path: dist/*.whl+ retention-days: 1++ verify-dev-artifact:+ name: Verify dev wheel artifact+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.build_dev_artifact }}+ needs: [dev-artifact-wheel]+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/download-artifact@v4+ with:+ path: dist+ pattern: dev-wheel-*+ merge-multiple: true+ - uses: actions/setup-python@v5+ with:+ python-version: "3.12"+ - name: Verify wheel metadata+ env:+ EXPECTED_NAME: ${{ env.DEV_PACKAGE_NAME }}+ EXPECTED_VERSION_INPUT: ${{ inputs.dev_version }}+ shell: bash+ run: |+ set -euo pipefail++ EXPECTED_VERSION="$(python scripts/release/set_dev_wheel_version.py \+ "${EXPECTED_VERSION_INPUT}" \+ --print-version)"+ EXPECTED_PREFIX="${EXPECTED_NAME//-/_}"+ export EXPECTED_NAME EXPECTED_PREFIX EXPECTED_VERSION++ python - <<'PY'+ import email+ import glob+ import os+ import zipfile++ expected_name = os.environ["EXPECTED_NAME"]+ expected_prefix = os.environ["EXPECTED_PREFIX"]+ expected_version = os.environ["EXPECTED_VERSION"]+ wheels = sorted(glob.glob("dist/*.whl"))+ if not wheels:+ raise SystemExit("no wheels downloaded")++ for path in wheels:+ filename = os.path.basename(path)+ if not filename.startswith(f"{expected_prefix}-{expected_version}-"):+ raise SystemExit(+ f"{filename}: expected prefix {expected_prefix}-{expected_version}-"+ )+ with zipfile.ZipFile(path) as wheel:+ metadata_name = next(+ name for name in wheel.namelist() if name.endswith(".dist-info/METADATA")+ )+ metadata = email.message_from_bytes(wheel.read(metadata_name))+ if metadata["Name"] != expected_name:+ raise SystemExit(f"{filename}: Name={metadata['Name']!r}")+ if metadata["Version"] != expected_version:+ raise SystemExit(f"{filename}: Version={metadata['Version']!r}")+ print(f"{filename}: {metadata['Name']} {metadata['Version']}")+ PY+list-distributions:name: List distributions+ if: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.build_dev_matrix) }}needs: [source-dist, wheels]runs-on: ubuntu-lateststeps:- uses: actions/download-artifact@v4with:path: dist- pattern: switchyard-*+ pattern: nemo-switchyard-*merge-multiple: true- name: List distributionsrun: ls -l distpublish:name: Publish distributions- if: ${{ env.SWITCHYARD_GITHUB_PUBLISH_DISABLED == '' }}+ if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}needs: [source-dist, wheels]runs-on: ubuntu-latest+ environment: pypipermissions:contents: writeid-token: write@@ -230,21 +432,14 @@ jobs:- uses: actions/download-artifact@v4with:path: dist- pattern: switchyard-*+ pattern: nemo-switchyard-*merge-multiple: true+ - uses: astral-sh/setup-uv@v6- name: List distributionsrun: ls -l dist- name: Publish to PyPI- uses: pypa/gh-action-pypi-publish@release/v1- with:- packages-dir: dist/+ run: uv publish --trusted-publishing always dist/*- name: Create GitHub Releaseuses: softprops/action-gh-release@v2- with:- files: dist/*- draft: false- generate_release_notes: true- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.secrets.baseline b/.secrets.baselineindex affda6f56..26b9e874f 100644--- a/.secrets.baseline+++ b/.secrets.baseline@@ -98,10 +98,6 @@"path": "detect_secrets.filters.common.is_baseline_file","filename": ".secrets.baseline"},- {- "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",- "min_level": 2- },{"path": "detect_secrets.filters.heuristic.is_indirect_reference"},@@ -240,14 +236,14 @@"filename": "AGENTS.md","hashed_secret": "ec3810e10fb78db55ce38b9c18d1c3eb1db739e0","is_verified": false,- "line_number": 247+ "line_number": 248},{"type": "Secret Keyword","filename": "AGENTS.md","hashed_secret": "a219d7693c25cd2d93313512e200ff3eb374d281","is_verified": false,- "line_number": 248+ "line_number": 249}],"CONTRIBUTING.md": [@@ -1211,5 +1207,5 @@}]},- "generated_at": "2026-06-30T00:43:49Z"+ "generated_at": "2026-06-30T16:33:42Z"}diff --git a/AGENTS.md b/AGENTS.mdindex 47e99dc95..f6a22fb00 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -2,7 +2,8 @@Switchyard is a Python library for LLM traffic orchestration. It sits between client applications (Claude Code, OpenAI / Anthropic SDK clients, Codex CLI) and LLM backends, handling routing, format translation, logging, A/B testing, and health-aware multi-endpoint serving.-> **Note:** The package was renamed from `nemo-switchyard` to `switchyard` in the open-source release. All imports use `switchyard.*`, and the CLI command is `switchyard` (registered via `pyproject.toml` scripts).+> **Note:** The public distribution is `nemo-switchyard`. All imports use `switchyard.*`,+> and the CLI command is `switchyard` (registered via `pyproject.toml` scripts).## Engineering Guidelines@@ -183,7 +184,7 @@ switchyard/│ │ ├── intake_response_processor.py│ │ ├── intake_payload_builder.py│ │ └── intake_client.py-│ ├── endpoints/ # FastAPI endpoint wrappers (require `switchyard[server]`)+│ ├── endpoints/ # FastAPI endpoint wrappers (require `nemo-switchyard[server]`)│ │ ├── openai_chat_endpoint.py # OpenAIChatEndpoint│ │ ├── anthropic_messages_endpoint.py # AnthropicMessagesEndpoint│ │ ├── responses_endpoint.py # ResponsesEndpoint@@ -193,7 +194,7 @@ switchyard/│ └── config/│ ├── intake_sink_config.py│ └── latency_service_backend_config.py-├── cli/ # CLI (requires `switchyard[cli]`)+├── cli/ # CLI (requires `nemo-switchyard[cli]`)│ ├── switchyard_cli.py # `switchyard` entry point│ ├── launch_command.py # `switchyard launch claude/codex`│ ├── configure_command.py # `switchyard configure`@@ -218,10 +219,10 @@ tests/ # Unit tests (pytest)## Tech Stack- **Python 3.12+**, async-first (asyncio)-- **FastAPI + Uvicorn** for HTTP (`switchyard[server]`), **sse-starlette** for SSE streaming+- **FastAPI + Uvicorn** for HTTP (`nemo-switchyard[server]`), **sse-starlette** for SSE streaming- **OpenAI SDK** (`openai>=2.30`) — primary client; the translation engine converts all inbound formats to Chat Completions- **Anthropic SDK** (`anthropic>=0.94`)-- **RouteLLM** for ML-based strong/weak routing (`switchyard[gpu]`)+- **RouteLLM** for ML-based strong/weak routing (`nemo-switchyard[gpu]`)- **httpx** for direct HTTP (health polling, Anthropic Messages)- **uv** as the package manager (preferred over pip)- **pytest + pytest-asyncio** for testing, **respx** for HTTP mockingdiff --git a/docs/internal/release_workflow.md b/docs/internal/release_workflow.mdnew file mode 100644index 000000000..b6a44b7fa--- /dev/null+++ b/docs/internal/release_workflow.md@@ -0,0 +1,97 @@+# Release Workflow++Audience: Switchyard maintainers who need temporary wheel artifacts or an official PyPI release.++Switchyard currently follows the OSS-style NeMo path for GitHub builds:++- regular CI runs tests, linting, type checks, Rust checks, and slim-install smoke checks;+- manual dev builds create one Linux x86_64 wheel as a one-day GitHub Actions artifact;+- manual dev matrix builds create the full sdist and wheel set as GitHub Actions artifacts;+- root `vMAJOR.MINOR.PATCH` tags run the complete release validation and wheel matrix;+- public PyPI/GitHub publishing happens only from approved `vMAJOR.MINOR.PATCH` tag releases.++Wheel metadata uses the public distribution name `nemo-switchyard`, while the Python import and CLI+stay `switchyard`.++## Why Dev Builds Are Explicit Opt-In++GitHub dev builds are for validation and review. They should not publish from branch state, and+GitHub Packages is not a PyPI-compatible package index.++Because of those constraints, GitHub dev builds stay as short-lived artifacts. PyPI publishing is+reserved for tag-driven releases because PyPI versions are effectively immutable once uploaded.++## Manual Dev Artifact Build++Use the workflow-dispatch path in `.github/workflows/publish.yml`:++```text+Actions -> Build and publish release distributions -> Run workflow+```++Set:++| Input | Value |+|---|---|+| `build_dev_artifact` | `true` |+| `dev_version` | `0.0.1.dev0` |++The workflow:++1. Stamps build-local metadata to `version = "0.0.1.dev0"`.+2. Builds one manylinux x86_64 wheel.+3. Uploads `dev-wheel-linux-x86_64` with one-day retention.+4. Downloads the artifact again and verifies the wheel `Name` and `Version` metadata.++## Manual Dev Matrix Artifact Build++Use this to prove the complete release matrix before cutting an official tag:++| Input | Value |+|---|---|+| `build_dev_artifact` | `false` |+| `build_dev_matrix` | `true` |+| `dev_version` | `0.0.1.dev0` |++This path stamps the requested `.dev` version, runs the release checks, builds the sdist, builds the+full abi3 wheel matrix, and uploads the distributions as GitHub Actions artifacts. It does not+publish anything to PyPI.++## Official Release Build++Create a root `vMAJOR.MINOR.PATCH` tag only when a real release has been approved. Tag pushes run:++- Python release checks on Python 3.12, 3.13, and 3.14;+- Rust fmt, clippy, and workspace tests;+- source distribution build;+- full abi3 wheel matrix for Linux x86_64, Linux aarch64, macOS x86_64, macOS arm64,+ Windows x86_64, and Windows arm64;+- native wheel smoke installs where the runner can execute the artifact.++The workflow rejects release tags that do not exactly match `pyproject.toml`'s package version. For+example, package version `0.0.1` must be released with the `v0.0.1` tag.++The official `publish` job uses `uv publish --trusted-publishing always`, so PyPI project creation+and uploads require a matching pending trusted publisher:++| Field | Value |+|---|---|+| Project | `nemo-switchyard` |+| Owner | `NVIDIA-NeMo` |+| Repository | `Switchyard` |+| Workflow | `publish.yml` |+| Environment | `pypi` |++Do not create a root release tag until the PyPI pending publisher and GitHub `pypi` environment are+ready.++## Local Metadata Helper++To preview the metadata stamp locally:++```bash+python scripts/release/set_dev_wheel_version.py 0.0.1.dev0 --print-version+python scripts/release/set_dev_wheel_version.py 0.0.1.dev0 --package-name nemo-switchyard+```++Do not commit the stamped package metadata unless the release process explicitly requires it.diff --git a/pyproject.toml b/pyproject.tomlindex 33037fb42..b62f023ed 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -91,7 +91,7 @@ all = [# extra so it is not advertised in the published wheel's METADATA. This# keeps pytest / ruff / mypy / pygments-via-pytest out of downstream# vulnerability scans, since they're never installed by `pip install-# switchyard` or any of the user-facing extras above.+# nemo-switchyard` or any of the user-facing extras above.## Install dev tooling with `uv sync` (the `dev` group is uv's default and# is installed automatically) or `uv sync --group dev` to be explicit.@@ -146,6 +146,10 @@ manifest-path = "crates/switchyard-py/Cargo.toml"module-name = "switchyard_rust._switchyard_rust"python-source = "."python-packages = ["switchyard", "switchyard_rust"]+include = [+ { path = "LICENSE", format = "sdist" },+ { path = "NOTICE", format = "sdist" },+][tool.pytest.ini_options]testpaths = ["tests"]diff --git a/scripts/release/set_dev_wheel_version.py b/scripts/release/set_dev_wheel_version.pynew file mode 100644index 000000000..cfa8e7796--- /dev/null+++ b/scripts/release/set_dev_wheel_version.py@@ -0,0 +1,144 @@+#!/usr/bin/env python3+# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.+# SPDX-License-Identifier: Apache-2.0++"""Stamp temporary Python package metadata for dev wheel artifact builds."""++from __future__ import annotations++import argparse+import dataclasses+import re+import sys+from pathlib import Path++DEV_VERSION_RE = re.compile(r"^(?P<release>\d+\.\d+\.\d+)\.dev(?P<number>\d*)$")+PACKAGE_NAME_RE = re.compile(r'^(name\s*=\s*")([^"]+)(".*)$')+PACKAGE_VERSION_RE = re.compile(r'^(version\s*=\s*")([^"]+)(".*)$')+PYTHON_VERSION_RE = re.compile(r'^(__version__\s*=\s*")([^"]+)(".*)$', re.MULTILINE)++[email protected](frozen=True)+class DevWheelVersion:+ """Normalized metadata used for a short-lived dev wheel artifact build."""++ version: str+++def parse_dev_wheel_version(version: str) -> DevWheelVersion:+ """Return the normalized PEP 440 `.dev` version or raise `ValueError`."""++ match = DEV_VERSION_RE.fullmatch(version)+ if match is None:+ raise ValueError("dev wheel versions must look like 0.0.1.dev0")++ number = match.group("number") or "0"+ return DevWheelVersion(version=f"{match.group('release')}.dev{number}")+++def update_pyproject(path: Path, *, package_name: str, version: str) -> bool:+ """Set `[project]` name and version in `pyproject.toml`."""++ lines = path.read_text().splitlines(keepends=True)+ in_project = False+ changed = False+ found_name = False+ found_version = False+ output: list[str] = []++ for line in lines:+ section = re.match(r"^\s*\[([^]]+)]\s*(?:#.*)?$", line)+ if section is not None:+ in_project = section.group(1) == "project"++ updated = line+ if in_project:+ updated, count = PACKAGE_NAME_RE.subn(rf"\g<1>{package_name}\g<3>", updated, count=1)+ if count:+ found_name = True+ updated, count = PACKAGE_VERSION_RE.subn(rf"\g<1>{version}\g<3>", updated, count=1)+ if count:+ found_version = True++ changed = changed or updated != line+ output.append(updated)++ if not found_name:+ raise ValueError(f"{path}: missing [project] name")+ if not found_version:+ raise ValueError(f"{path}: missing [project] version")+ if changed:+ path.write_text("".join(output))+ return changed+++def update_python_init(path: Path, version: str) -> bool:+ """Set `switchyard.__version__` for the dev wheel artifact."""++ text = path.read_text()+ updated, count = PYTHON_VERSION_RE.subn(rf"\g<1>{version}\g<3>", text, count=1)+ if count != 1:+ raise ValueError(f"{path}: missing __version__")+ if updated != text:+ path.write_text(updated)+ return True+ return False+++def apply_version(version: DevWheelVersion, *, package_name: str) -> None:+ """Update package metadata files used by maturin wheel builds."""++ changes = [+ (+ "pyproject.toml",+ update_pyproject(+ Path("pyproject.toml"),+ package_name=package_name,+ version=version.version,+ ),+ ),+ ("switchyard/__init__.py", update_python_init(Path("switchyard/__init__.py"), version.version)),+ ]++ changed = [path for path, did_change in changes if did_change]+ if changed:+ print("Set dev wheel metadata:")+ print(f" Package: {package_name}")+ print(f" Version: {version.version}")+ for path in changed:+ print(f" updated {path}")+ else:+ print(f"dev wheel metadata already set for {package_name} {version.version}")+++def main(argv: list[str] | None = None) -> int:+ """CLI entry point."""++ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("version", help="PEP 440 .dev version, such as 0.0.1.dev0")+ parser.add_argument(+ "--package-name",+ default="nemo-switchyard",+ help="Distribution name to stamp into wheel metadata",+ )+ parser.add_argument(+ "--print-version",+ action="store_true",+ help="Print only the normalized version",+ )+ args = parser.parse_args(argv)++ try:+ version = parse_dev_wheel_version(args.version)+ if args.print_version:+ print(version.version)+ return 0+ apply_version(version, package_name=args.package_name)+ except ValueError as exc:+ print(f"error: {exc}", file=sys.stderr)+ return 2+ return 0+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/scripts/release/set_internal_version.py b/scripts/release/set_internal_version.pydeleted file mode 100644index f2832d792..000000000--- a/scripts/release/set_internal_version.py+++ /dev/null@@ -1,249 +0,0 @@-#!/usr/bin/env python3-# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.-# SPDX-License-Identifier: Apache-2.0--"""Apply an internal release tag version to Switchyard package metadata."""--from __future__ import annotations--import argparse-import dataclasses-import re-import sys-from pathlib import Path--TAG_RE = re.compile(- r"^internal/v(?P<release>\d+\.\d+\.\d+)"- r"(?:-(?P<label>alpha|beta|rc)\.(?P<number>\d+))?$"-)-PACKAGE_VERSION_RE = re.compile(r'^(version\s*=\s*")([^"]+)(".*)$')-PYTHON_VERSION_RE = re.compile(r'^(__version__\s*=\s*")([^"]+)(".*)$', re.MULTILINE)-INLINE_TABLE_RE = re.compile(r"^(\s*(?P<name>[\w-]+)\s*=\s*\{)(?P<body>.*)(\}\s*)$")--RUST_MANIFESTS = (- Path("crates/switchyard-core/Cargo.toml"),- Path("crates/switchyard-translation/Cargo.toml"),- Path("crates/switchyard-components/Cargo.toml"),- Path("crates/switchyard-server/Cargo.toml"),- Path("crates/switchyard-py/Cargo.toml"),-)-INTERNAL_RUST_DEPENDENCIES = {- "switchyard-core",- "switchyard-translation",- "switchyard-components",- "switchyard-server",- "switchyard-py",-}--[email protected](frozen=True)-class InternalReleaseVersion:- """Resolved package versions derived from an internal GitLab tag."""-- tag: str- cargo: str- python: str---def parse_internal_tag(tag: str) -> InternalReleaseVersion:- """Return Cargo and Python package versions for an internal release tag."""-- match = TAG_RE.fullmatch(tag)- if match is None:- raise ValueError(- "internal release tags must look like "- "internal/v0.1.0, internal/v0.1.0-alpha.20260601, or internal/v0.1.0-rc.1"- )-- release = match.group("release")- label = match.group("label")- number = match.group("number")- if label is None:- return InternalReleaseVersion(tag=tag, cargo=release, python=release)-- cargo = f"{release}-{label}.{number}"- pep440_label = {"alpha": "a", "beta": "b", "rc": "rc"}[label]- python = f"{release}{pep440_label}{number}"- return InternalReleaseVersion(tag=tag, cargo=cargo, python=python)---def update_pyproject(path: Path, version: str) -> bool:- """Set the `[project]` version in `pyproject.toml`."""-- lines = path.read_text().splitlines(keepends=True)- in_project = False- changed = False- found = False- output: list[str] = []- for line in lines:- section = re.match(r"^\s*\[([^]]+)]\s*(?:#.*)?$", line)- if section is not None:- in_project = section.group(1) == "project"-- if in_project:- updated, count = PACKAGE_VERSION_RE.subn(rf"\g<1>{version}\g<3>", line, count=1)- if count:- found = True- changed = changed or updated != line- output.append(updated)- continue-- output.append(line)-- if not found:- raise ValueError(f"{path}: missing [project] version")- if changed:- path.write_text("".join(output))- return changed---def update_python_init(path: Path, version: str) -> bool:- """Set `switchyard.__version__`."""-- text = path.read_text()- updated, count = PYTHON_VERSION_RE.subn(rf"\g<1>{version}\g<3>", text, count=1)- if count != 1:- raise ValueError(f"{path}: missing __version__")- if updated != text:- path.write_text(updated)- return True- return False---def update_cargo_package_version(path: Path, version: str, *, cargo_artifactory: bool) -> bool:- """Set a Cargo package version and optionally make local deps publishable."""-- lines = path.read_text().splitlines(keepends=True)- section = ""- found = False- changed = False- output: list[str] = []- for line in lines:- section_match = re.match(r"^\s*\[([^]]+)]\s*(?:#.*)?$", line)- if section_match is not None:- section = section_match.group(1)-- updated = line- if section == "package":- updated, count = PACKAGE_VERSION_RE.subn(rf"\g<1>{version}\g<3>", line, count=1)- if count:- found = True- elif cargo_artifactory and section == "dependencies":- updated = rewrite_internal_dependency(line, version)-- changed = changed or updated != line- output.append(updated)-- if not found:- raise ValueError(f"{path}: missing [package] version")- if changed:- path.write_text("".join(output))- return changed---def rewrite_internal_dependency(line: str, version: str) -> str:- """Add version and registry metadata to known local path dependencies."""-- newline = "\n" if line.endswith("\n") else ""- body_line = line[:-1] if newline else line- match = INLINE_TABLE_RE.match(body_line)- if match is None or match.group("name") not in INTERNAL_RUST_DEPENDENCIES:- return line-- fields = parse_inline_table_fields(match.group("body"))- if "path" not in fields:- return line-- fields["version"] = f'"{version}"'- fields.pop("table", None)- fields["registry"] = '"artifactory"'- ordered_keys = [key for key in ("path", "version", "registry") if key in fields]- ordered_keys.extend(key for key in fields if key not in ordered_keys)- body = ", ".join(f"{key} = {fields[key]}" for key in ordered_keys)- return f"{match.group(1)} {body} }}{newline}"---def parse_inline_table_fields(body: str) -> dict[str, str]:- """Parse the simple inline tables used by Switchyard Cargo dependencies."""-- fields: dict[str, str] = {}- for raw_part in body.split(","):- part = raw_part.strip()- if not part:- continue- key, separator, value = part.partition("=")- if not separator:- raise ValueError(f"unsupported inline table field: {part!r}")- fields[key.strip()] = value.strip()- return fields---def apply_versions(version: InternalReleaseVersion, *, cargo_artifactory: bool) -> None:- """Update all package metadata files in the repository."""-- changes = [- ("pyproject.toml", update_pyproject(Path("pyproject.toml"), version.python)),- ("switchyard/__init__.py", update_python_init(Path("switchyard/__init__.py"), version.python)),- ]- for manifest in RUST_MANIFESTS:- changes.append(- (- str(manifest),- update_cargo_package_version(- manifest,- version.cargo,- cargo_artifactory=cargo_artifactory,- ),- )- )-- changed = [path for path, did_change in changes if did_change]- if changed:- print(f"Set internal release {version.tag}:")- print(f" Python: {version.python}")- print(f" Cargo: {version.cargo}")- for path in changed:- print(f" updated {path}")- else:- print(f"Internal release metadata already set for {version.tag}")---def main(argv: list[str] | None = None) -> int:- """CLI entrypoint."""-- parser = argparse.ArgumentParser(description=__doc__)- parser.add_argument("tag", help="Internal release tag, such as internal/v0.1.0-rc.1")- parser.add_argument(- "--cargo-artifactory",- action="store_true",- help="Rewrite local Cargo dependencies for publishing to the artifactory registry",- )- parser.add_argument(- "--print-python-version",- action="store_true",- help="Print only the derived Python version",- )- parser.add_argument(- "--print-cargo-version",- action="store_true",- help="Print only the derived Cargo version",- )- args = parser.parse_args(argv)-- try:- version = parse_internal_tag(args.tag)- if args.print_python_version:- print(version.python)- return 0- if args.print_cargo_version:- print(version.cargo)- return 0- apply_versions(version, cargo_artifactory=args.cargo_artifactory)- except ValueError as exc:- print(f"error: {exc}", file=sys.stderr)- return 2- return 0---if __name__ == "__main__":- raise SystemExit(main())diff --git a/switchyard/telemetry.py b/switchyard/telemetry.pyindex d8567294e..fd33635cc 100644--- a/switchyard/telemetry.py+++ b/switchyard/telemetry.py@@ -45,7 +45,7 @@ def _is_opted_out() -> bool:@lru_cache(maxsize=1)def _get_version() -> str:- """Read the installed ``switchyard`` package version once."""+ """Read the installed ``nemo-switchyard`` package version once."""try:return importlib.metadata.version("nemo-switchyard")except Exception:diff --git a/tests/test_cli_stale_names.py b/tests/test_cli_stale_names.pyindex f6187e820..98662a372 100644--- a/tests/test_cli_stale_names.py+++ b/tests/test_cli_stale_names.py@@ -1,9 +1,10 @@# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.# SPDX-License-Identifier: Apache-2.0-"""Tests that CLI constants and runtime strings use the renamed 'switchyard' package name.+"""Tests that CLI constants and runtime strings use the `switchyard` command name.-These tests fail when the code still references the old 'nemo-switchyard' name.+The PyPI distribution is `nemo-switchyard`, but user-facing CLI names,+configuration directories, and runtime model descriptions stay `switchyard`."""from __future__ import annotationsdiff --git a/tests/test_dev_wheel_versioning.py b/tests/test_dev_wheel_versioning.pynew file mode 100644index 000000000..b17feb275--- /dev/null+++ b/tests/test_dev_wheel_versioning.py@@ -0,0 +1,67 @@+# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.+# SPDX-License-Identifier: Apache-2.0++from __future__ import annotations++import importlib.util+import sys+from pathlib import Path++import pytest++_MODULE_PATH = Path(__file__).resolve().parents[1] / "scripts/release/set_dev_wheel_version.py"+_SPEC = importlib.util.spec_from_file_location("set_dev_wheel_version", _MODULE_PATH)+assert _SPEC is not None+assert _SPEC.loader is not None+set_dev_wheel_version = importlib.util.module_from_spec(_SPEC)+sys.modules[_SPEC.name] = set_dev_wheel_version+_SPEC.loader.exec_module(set_dev_wheel_version)+++ ("raw_version", "normalized"),+ [+ ("0.0.1.dev", "0.0.1.dev0"),+ ("0.0.1.dev0", "0.0.1.dev0"),+ ("1.2.3.dev42", "1.2.3.dev42"),+ ],+)+def test_parse_dev_wheel_version(raw_version: str, normalized: str) -> None:+ version = set_dev_wheel_version.parse_dev_wheel_version(raw_version)++ assert version.version == normalized+++ "raw_version",+ [+ "0.0.1",+ "0.0.1rc1",+ "0.0.1.dev.a",+ "release/v0.0.1-dev.0",+ "v0.0.1.dev0",+ ],+)+def test_parse_dev_wheel_version_rejects_non_dev_versions(raw_version: str) -> None:+ with pytest.raises(ValueError):+ set_dev_wheel_version.parse_dev_wheel_version(raw_version)+++def test_metadata_file_updates(tmp_path: Path) -> None:+ pyproject = tmp_path / "pyproject.toml"+ pyproject.write_text(+ '[build-system]\nrequires = []\n\n[project]\nname = "switchyard"\nversion = "0.1.0"\n'+ )+ init = tmp_path / "__init__.py"+ init.write_text('__all__ = []\n\n__version__ = "0.1.0"\n')++ assert set_dev_wheel_version.update_pyproject(+ pyproject,+ package_name="nemo-switchyard",+ version="0.0.1.dev0",+ )+ assert set_dev_wheel_version.update_python_init(init, "0.0.1.dev0")++ assert 'name = "nemo-switchyard"' in pyproject.read_text()+ assert 'version = "0.0.1.dev0"' in pyproject.read_text()+ assert '__version__ = "0.0.1.dev0"' in init.read_text()diff --git a/tests/test_internal_release_versioning.py b/tests/test_internal_release_versioning.pydeleted file mode 100644index 3841394b4..000000000--- a/tests/test_internal_release_versioning.py+++ /dev/null@@ -1,107 +0,0 @@-# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.-# SPDX-License-Identifier: Apache-2.0--from __future__ import annotations--import importlib.util-import sys-from pathlib import Path--import pytest--_MODULE_PATH = Path(__file__).resolve().parents[1] / "scripts/release/set_internal_version.py"-_SPEC = importlib.util.spec_from_file_location("set_internal_version", _MODULE_PATH)-assert _SPEC is not None-assert _SPEC.loader is not None-set_internal_version = importlib.util.module_from_spec(_SPEC)-sys.modules[_SPEC.name] = set_internal_version-_SPEC.loader.exec_module(set_internal_version)--- ("tag", "cargo", "python"),- [- ("internal/v0.1.1", "0.1.1", "0.1.1"),- ("internal/v0.1.1-alpha.20260601", "0.1.1-alpha.20260601", "0.1.1a20260601"),- ("internal/v0.1.1-beta.2", "0.1.1-beta.2", "0.1.1b2"),- ("internal/v0.1.1-rc.3", "0.1.1-rc.3", "0.1.1rc3"),- ],-)-def test_parse_internal_tag(tag: str, cargo: str, python: str) -> None:- version = set_internal_version.parse_internal_tag(tag)-- assert version.tag == tag- assert version.cargo == cargo- assert version.python == python--- "tag",- [- "v0.1.1",- "internal/0.1.1",- "internal/v0.1",- "internal/v0.1.1.dev1",- "internal/v0.1.1-alpha",- "internal/v0.1.1-nightly.20260601",- ],-)-def test_parse_internal_tag_rejects_public_or_invalid_tags(tag: str) -> None:- with pytest.raises(ValueError):- set_internal_version.parse_internal_tag(tag)---def test_rewrite_internal_dependency_adds_publish_metadata() -> None:- line = 'switchyard-core = { path = "../switchyard-core" }\n'-- rewritten = set_internal_version.rewrite_internal_dependency(line, "0.1.1-rc.1")-- assert (- rewritten- == 'switchyard-core = { path = "../switchyard-core", version = "0.1.1-rc.1", registry = "artifactory" }\n'- )---def test_rewrite_internal_dependency_replaces_existing_publish_metadata() -> None:- line = (- 'switchyard-components = { path = "../switchyard-components", '- 'version = "0.1.0", table = "old" }\n'- )-- rewritten = set_internal_version.rewrite_internal_dependency(line, "0.1.1-alpha.20260601")-- assert (- rewritten- == 'switchyard-components = { path = "../switchyard-components", version = "0.1.1-alpha.20260601", registry = "artifactory" }\n'- )---def test_rewrite_internal_dependency_leaves_external_dependencies_alone() -> None:- line = 'serde = { version = "1", features = ["derive"] }\n'-- assert set_internal_version.rewrite_internal_dependency(line, "0.1.1") == line---def test_metadata_file_updates(tmp_path: Path) -> None:- pyproject = tmp_path / "pyproject.toml"- pyproject.write_text('[build-system]\nrequires = []\n\n[project]\nname = "switchyard"\nversion = "0.1.0"\n')- init = tmp_path / "__init__.py"- init.write_text('__all__ = []\n\n__version__ = "0.1.0"\n')- cargo = tmp_path / "Cargo.toml"- cargo.write_text(- '[package]\nname = "switchyard-components"\nversion = "0.1.0"\n\n'- '[dependencies]\nswitchyard-core = { path = "../switchyard-core" }\n'- )-- assert set_internal_version.update_pyproject(pyproject, "0.1.1rc1")- assert set_internal_version.update_python_init(init, "0.1.1rc1")- assert set_internal_version.update_cargo_package_version(- cargo,- "0.1.1-rc.1",- cargo_artifactory=True,- )-- assert 'version = "0.1.1rc1"' in pyproject.read_text()- assert '__version__ = "0.1.1rc1"' in init.read_text()- assert 'version = "0.1.1-rc.1"' in cargo.read_text()- assert 'registry = "artifactory"' in cargo.read_text()diff --git a/tests/test_telemetry.py b/tests/test_telemetry.pyindex 21f3965d9..d2238af79 100644--- a/tests/test_telemetry.py+++ b/tests/test_telemetry.py@@ -29,7 +29,7 @@ def _reset_telemetry_env(monkeypatch: pytest.MonkeyPatch) -> None:_get_version.cache_clear()-def test_get_telemetry_headers_uses_switchyard_package_version(+def test_get_telemetry_headers_uses_distribution_package_version(monkeypatch: pytest.MonkeyPatch,) -> None:package_names: list[str] = []diff --git a/tests/test_version_package_name.py b/tests/test_version_package_name.pyindex bdee9eb21..1630829a3 100644--- a/tests/test_version_package_name.py+++ b/tests/test_version_package_name.py@@ -1,7 +1,7 @@# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.# SPDX-License-Identifier: Apache-2.0-"""Regression tests for version lookups after the package rename."""+"""Regression tests for version lookups after the distribution rename."""from __future__ import annotations@@ -16,7 +16,7 @@ def _mock_version(name: str) -> str:raise PackageNotFoundError(name)-def test_intake_payload_builder_version_uses_switchyard_package() -> None:+def test_intake_payload_builder_version_uses_nemo_switchyard_package() -> None:from switchyard.lib.processors import intake_payload_builderintake_payload_builder._switchyard_version.cache_clear()diff --git a/uv.lock b/uv.lockindex e94f88120..b323f3b09 100644--- a/uv.lock+++ b/uv.lock@@ -1174,7 +1174,9 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/3f/7a/6bc2a7835731387ed303b9390ce68a116ab053df05450a59181239200454/greenlet-3.5.2-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:76dae33e97b52743a19210931ee3e78a88fe1438bc2fc4ee5e7512d289bfad4f", size = 288351, upload-time = "2026-06-17T17:36:17.019Z" },{ url = "https://files.pythonhosted.org/packages/57/1b/bd98062fcef6d0e9d0873ab6f2d029772e6ea342972ae43275bd6177900f/greenlet-3.5.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:30252d191d6959df1d040b559a38fc017139606c5ecc2ad00416557c0355d742", size = 604273, upload-time = "2026-06-17T18:07:20.296Z" },{ url = "https://files.pythonhosted.org/packages/25/e6/fe392c522bf45d976abe7db2793f6ef4e87b053ebb869deeaae46aeb54da/greenlet-3.5.2-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1adc23c50f22b0f5979521909a8360ab4a3d3bef8b641ce633a04cf1b1c967ea", size = 616536, upload-time = "2026-06-17T18:29:43.205Z" },+ { url = "https://files.pythonhosted.org/packages/42/df/cdb1f75f07214f13110e7e3879531f11c26083bd480a56a9474c430ec44c/greenlet-3.5.2-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:87359c23eb4e8f1b16da68faad29bf5aeb80e3628d7d8e4aa2e41c36879ddedd", size = 621843, upload-time = "2026-06-17T18:39:27.507Z" },{ url = "https://files.pythonhosted.org/packages/68/4a/399ff81fa93a19d6a9df394cef0355f082dbc19ad41aba9593cd0ad444e2/greenlet-3.5.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1f052fff492c52fdfa99bd3b3c1389a53de37dae76a0562741417f0d018f02b3", size = 613749, upload-time = "2026-06-17T17:39:28.148Z" },+ { url = "https://files.pythonhosted.org/packages/2e/25/36a3628a7edcfeefddd3101dc88039c79721c5f8d688db7ebed1cbaaa789/greenlet-3.5.2-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:f4d67c1684db3f9782c37ee4bade3f86f5a23a8fcf3f8359224106018ca40728", size = 424889, upload-time = "2026-06-17T18:41:19.469Z" },{ url = "https://files.pythonhosted.org/packages/a5/75/f519593f12ad43d08e28c03a95cfe2eeae011707dbc9dab0c4a263ce90f9/greenlet-3.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:120b77c2a18ebf629c3a7886f68c6d01e065654844ad468f15bb93ace66f2094", size = 1573725, upload-time = "2026-06-17T18:22:12.023Z" },{ url = "https://files.pythonhosted.org/packages/f1/bc/bc1ea4b0754c6c51bbf9d94677b0b1f7fbda8cbb404e44a896854fc0a940/greenlet-3.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a850f6224088ef7dcc70f1a545cb6b3d119c35d6dca63b925b9f35da0635cdad", size = 1638132, upload-time = "2026-06-17T17:40:06.971Z" },{ url = "https://files.pythonhosted.org/packages/36/c0/f0f5a34247df60de285f75f22e57f14027f4b3c43820981854b5b643ca6d/greenlet-3.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:89da99ee8345b458ea2f16831dad31c88ddcdec454b48704d569a0b8fb28f146", size = 239393, upload-time = "2026-06-17T17:33:47.09Z" },@@ -1182,7 +1184,9 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/d0/3c/bb37b9d40d65b0741a8b040ca5c307034d0a9822994dff5f825c88dd7a6b/greenlet-3.5.2-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:0629377725977252159de1ebd3c6e49c170a63856e585446797bb3d66d4d9c34", size = 287178, upload-time = "2026-06-17T17:35:25.132Z" },{ url = "https://files.pythonhosted.org/packages/f0/a6/0c5902393f492f8ceb19d0b5cf139284e3a11b333a049739643b1036b6f8/greenlet-3.5.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a2ddf9eddc617681108dd071b3feabf3f4a4cd64846254aec4d4ceda098b639a", size = 606900, upload-time = "2026-06-17T18:07:21.692Z" },{ url = "https://files.pythonhosted.org/packages/d8/7c/42899c31d4b87148ae4e3f87f63e13398824be6241f4dde42ded95768a34/greenlet-3.5.2-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f41feb9f2b59e2e61ac9bea4e344ddd9396bf3cacb2583f73a3595ed7df6f8e7", size = 619265, upload-time = "2026-06-17T18:29:44.837Z" },+ { url = "https://files.pythonhosted.org/packages/6a/7e/28f991affb413b232b1e7d768db24c37b3f4d5daecc3f19b455d40bd2dea/greenlet-3.5.2-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9dc23f0e5ad76415457212a4b947d22ebe4dc80baf02adf7dd5647a90f38bb4e", size = 625044, upload-time = "2026-06-17T18:39:29.046Z" },{ url = "https://files.pythonhosted.org/packages/d3/52/4ff8c98d3cfe62b4515f8584ae14510a58f35c549cc5292b78d9b7a40b70/greenlet-3.5.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:09201fa698768db245920b00fdc86ee3e73540f01ca6db162be9632642e1a473", size = 616187, upload-time = "2026-06-17T17:39:29.473Z" },+ { url = "https://files.pythonhosted.org/packages/29/05/0cc9ec660e7acff85f93b0a048b6654371c822c884add44c02a465cf70e0/greenlet-3.5.2-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:423167363c510a75b649f5cd58d873c29498ea03598b9e4b1c3b73e0f899f3d5", size = 427322, upload-time = "2026-06-17T18:41:20.892Z" },{ url = "https://files.pythonhosted.org/packages/c9/a6/269c8bf9aefc13361ce1088f0e392b154cb21005de7862e42b5d782b81fd/greenlet-3.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a1759fa4f14c398508cf20dc8037de55cc23ae8bd14c185c2718257837195ca5", size = 1573778, upload-time = "2026-06-17T18:22:13.497Z" },{ url = "https://files.pythonhosted.org/packages/1f/9b/391d015cbc6323e81b14c02cf825fdca7e0049c9bb489bf4ac72883118ba/greenlet-3.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b9318cdeb9abdbfdd8bc8464ee4a06dffde2c7846e1def138365a6240ab2c9a5", size = 1638092, upload-time = "2026-06-17T17:40:08.163Z" },{ url = "https://files.pythonhosted.org/packages/49/53/5b4df711f4356c62e85d9f819d87966d526d1cfb32bae49a8f7d6fc36ea4/greenlet-3.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:2c3b3311af72b3d3b03cc0f1ffd11f072e834be5d0444105cf715fc44434e39c", size = 239352, upload-time = "2026-06-17T17:38:51.593Z" },@@ -1190,7 +1194,9 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/c7/89/aaafc8e14de4ac882e02ccb963225329b0e8578aba4365e71eb678e45722/greenlet-3.5.2-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:1c31219badba285858ba8ed117f403dea7fafee6bade9a1991875aae530c3ceb", size = 287676, upload-time = "2026-06-17T17:33:31.514Z" },{ url = "https://files.pythonhosted.org/packages/b8/fc/2308249206c12ac70de7b9a00970f84f07d10b3cd60e05d2fbcaa84124e8/greenlet-3.5.2-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6f96ed6f4adc1066954ae95f45717657cb67468ef3b89e9a3632e14a625a8f39", size = 653552, upload-time = "2026-06-17T18:07:23.493Z" },{ url = "https://files.pythonhosted.org/packages/7c/24/47730d1f8f1336b9b089237521ed7a26eee997065dcb4cab81cdca333abc/greenlet-3.5.2-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5795e883e915333c0d5648faaa691857fbc7180136883edc377f50f0d509c2a8", size = 665756, upload-time = "2026-06-17T18:29:46.616Z" },+ { url = "https://files.pythonhosted.org/packages/23/5c/2664d290cbd1fef9eb3f69b5d3bc5aa91b6fa907519298ca6af93a90c6cb/greenlet-3.5.2-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6e9e49d732ee92a189bb7035e293029244aeba648297a9b856dc733d17ca7f0d", size = 669989, upload-time = "2026-06-17T18:39:30.79Z" },{ url = "https://files.pythonhosted.org/packages/99/69/d6c99db15dc0b5e892ac3cc7b942c8b21f4a9cc3bd9ea0bc3b0f339ffbd4/greenlet-3.5.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26aed8d9503ca78889141a9739d71b383efea5f472a7c522b5410f7eb2a1b163", size = 663228, upload-time = "2026-06-17T17:39:31.073Z" },+ { url = "https://files.pythonhosted.org/packages/42/d4/fcb53fa9847d7fbd4723fbed9469c3869b9e3544c4e001d9d5aa2f66162d/greenlet-3.5.2-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:537c5c4f30395020bb9f48f53146070e3b997c3c75da14011ab732aaa19ce3ef", size = 472888, upload-time = "2026-06-17T18:41:22.511Z" },{ url = "https://files.pythonhosted.org/packages/4f/88/9e603f448e2bc107c883e95817b980fb9b45ba6aea0299b2e9978124bea2/greenlet-3.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:dbebc038fcdda8f8f21cce985fd04e34e0f42007e7fc7ab7ad285caf77974b95", size = 1620723, upload-time = "2026-06-17T18:22:14.817Z" },{ url = "https://files.pythonhosted.org/packages/11/91/26da17e3777858c16fdb8d020a4c68f3a03cb92f238de8f5351d5d5186e9/greenlet-3.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a207023f1cf8695fd82580b8099c09c5809be18bc2282362cdfb965dd884a317", size = 1684227, upload-time = "2026-06-17T17:40:09.536Z" },{ url = "https://files.pythonhosted.org/packages/2d/44/b3a11f7aa34cb38f1b7f3df8bcd9fcd09bac9d342c2a2c9b8686c804bcd2/greenlet-3.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:c674a1dd4fe41f6a93febe7ab366ceabf15080ea31a9307811c56dac5f435f73", size = 240257, upload-time = "2026-06-17T17:35:23.359Z" },@@ -1198,14 +1204,18 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/47/ac/d3bad483e9f6cd1848604fdffa32cac25846dd6dfcec0e6f81c790185518/greenlet-3.5.2-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:a96457a30384de52d9c5d2fd33abf6c1daae3db392cd556738f408b1a79a1cf0", size = 295668, upload-time = "2026-06-17T17:36:02.293Z" },{ url = "https://files.pythonhosted.org/packages/00/e9/3a7e557b895fd0469b00cd0b2bd498ba950e8bfdf6d7adeecf2c5e4130a6/greenlet-3.5.2-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e4af5d4961818ab651d09c1448a03b1ba2a1726a076266ebb62330bab9f3238c", size = 652820, upload-time = "2026-06-17T18:07:24.95Z" },{ url = "https://files.pythonhosted.org/packages/78/67/6225d5c5e4afc04be0fd161eec82e4b72017e8a100d222f25d7b42b0140d/greenlet-3.5.2-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a1789a6244ea1ba61fd4386c9a6a31873e9b0234762103364be98ef87dcb19f3", size = 658697, upload-time = "2026-06-17T18:29:48.365Z" },+ { url = "https://files.pythonhosted.org/packages/35/ad/9b3058f999b81750a9c6d9ec424f509462d232b58002086fe2ba63b66407/greenlet-3.5.2-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2ee6288f1933d698b4f098127ed17bda2910a75d2807915bd16294a972055d6c", size = 658945, upload-time = "2026-06-17T18:39:32.509Z" },{ url = "https://files.pythonhosted.org/packages/fa/99/6324b8ef916dcaddccb340b304c992ca3f947614ce0f2685d438187300b8/greenlet-3.5.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3be00501fb4a8c37f6b4b3c4773808ceb26ea65c7ea64fd5735d0f330b3786de", size = 656436, upload-time = "2026-06-17T17:39:32.509Z" },+ { url = "https://files.pythonhosted.org/packages/92/75/1b6ecd8c027b69ab1b6798a84094df79aab5e69ac7e249c78b9d361dd1fa/greenlet-3.5.2-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:b4cad42662c796334c2d24607c411e3ed82481c1fb4e1e8ec3a5a8416060092e", size = 490529, upload-time = "2026-06-17T18:41:23.954Z" },{ url = "https://files.pythonhosted.org/packages/a9/ee/f5bf9daac27c5e1b011965f64b5630a32b415daf7381b312943629e12c2a/greenlet-3.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:1d554cd96841a68d464d75a3736f8e87408a7b02b1930a75fa32feb408ad62f8", size = 1617193, upload-time = "2026-06-17T18:22:16.252Z" },{ url = "https://files.pythonhosted.org/packages/8a/21/b05d5b12715bda92ce27c118d64971d21e9b8f3563ed959a7d271e2d4223/greenlet-3.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3dff6cd3aac35f6cd3fc23460105acf576f5faf6c378de0bc088bf37c913864a", size = 1677512, upload-time = "2026-06-17T17:40:10.771Z" },{ url = "https://files.pythonhosted.org/packages/b8/97/1b8f1314b868041b327dc1051603e8142b826480cb0ecb8a7b7632aee9c4/greenlet-3.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:36cfea2aa075d544617176b2e84450480f0797070ad8799a8c41ada2fe449d32", size = 243145, upload-time = "2026-06-17T17:34:37.502Z" },{ url = "https://files.pythonhosted.org/packages/36/07/1b5311775e04c718a118c504d7a3a312430e2a1bd1347226aff4774e4549/greenlet-3.5.2-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:a0314aa832c94633355dc6f3ee54f195159533355a323f26926fc63b98b2ccbb", size = 288315, upload-time = "2026-06-17T17:34:34.04Z" },{ url = "https://files.pythonhosted.org/packages/ed/cc/6abcd2a486b58b9f77b7a93b690d59cb2c11a5906ed2ad4c63c7b9c1113d/greenlet-3.5.2-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24c59cb7db9d5c694cb8fd0c76eef8e456b2123afdfa7e4b8f2a67a0860d7682", size = 659130, upload-time = "2026-06-17T18:07:26.354Z" },{ url = "https://files.pythonhosted.org/packages/f2/12/f4aaad6d3d383233f700ab322568a4f29f2c701a4861d85f4811d99689b2/greenlet-3.5.2-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7bb811753703739ad318112f16eccfaabdac050037b6d092debaa8b23566b4ce", size = 669724, upload-time = "2026-06-17T18:29:50.13Z" },+ { url = "https://files.pythonhosted.org/packages/53/e0/4ce3a046b51e53934eae93d7f9c13975a97285741e9e1fcadf8751314c37/greenlet-3.5.2-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2debcd0ef9455b7d4879589903efc8e497d4b8fb8c0ae772309e44d1ca5e957f", size = 673494, upload-time = "2026-06-17T18:39:34.196Z" },{ url = "https://files.pythonhosted.org/packages/91/2a/a089811fc31c6bf8742f40a4e73470d6d401cef18e4314eb20dc399b377c/greenlet-3.5.2-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6d78b5c1c178dad90447f1b8452262709d3eef4c98f825569e74c9d0b2260ac9", size = 668089, upload-time = "2026-06-17T17:39:33.808Z" },+ { url = "https://files.pythonhosted.org/packages/52/e0/9c18721e63445dce02ee67e4c81c0f281626604ff55ae6f7b7f4354d7129/greenlet-3.5.2-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:9558cae989faeab6fbb425cd98a0cfa4190a47fba6443973fbee0a1eb0b0b6c3", size = 479721, upload-time = "2026-06-17T18:41:25.726Z" },{ url = "https://files.pythonhosted.org/packages/0f/1c/2f47c7d5fcfa98a62b705bf9a0505d86f4563c0d81cab1f7159ff1e743b7/greenlet-3.5.2-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:0977af2df83136f81c1f76e76d4e2fe7d0dc56ea9c101a86af26a95190b9ca32", size = 1625684, upload-time = "2026-06-17T18:22:17.664Z" },{ url = "https://files.pythonhosted.org/packages/b9/bf/661dd24624f70b7b32972d7693d0344ecde10278f647d7b828baf739899c/greenlet-3.5.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f9ed777c6891d8253e54468576f55e27f8fc1a662a664f946a191003574c0a74", size = 1688043, upload-time = "2026-06-17T17:40:12.403Z" },{ url = "https://files.pythonhosted.org/packages/60/49/d9bde1d15a21296b3b521fe083eb8aabd54ac05d15de9832918f3d639543/greenlet-3.5.2-cp315-cp315-win_amd64.whl", hash = "sha256:c0ea4eb3de23f0bac1d75205e10ccfa9b418b17b01a2d7bf19e3b69dda08900a", size = 240531, upload-time = "2026-06-17T17:35:47.448Z" },@@ -1213,7 +1223,9 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/92/15/907be5e8900901039bae752fa9a31c03a3c1e064833f35a4e49449184581/greenlet-3.5.2-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:98a52d6a50d4deaba304331d83ee3e10ebbdc1517fcca40b2715d1de4534065c", size = 296697, upload-time = "2026-06-17T17:37:15.887Z" },{ url = "https://files.pythonhosted.org/packages/95/5c/08c57be575c3d6a3c023bbf22144a1c7dc6ed4d134527bb36ded4dbf04a8/greenlet-3.5.2-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1587ff8b58fdf806993ed1490a06ac19c22d47b219c68b30954380029045d8d4", size = 656710, upload-time = "2026-06-17T18:07:28.046Z" },{ url = "https://files.pythonhosted.org/packages/8c/d0/749f917bdc9fc90fceea4aa65fbf6556e617a50714d1496bdc8ad190bb36/greenlet-3.5.2-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:feb721811d2754bfd16b48de151dd6b1f222c048e625151f2ca44cfdfd69f59c", size = 662629, upload-time = "2026-06-17T18:29:51.728Z" },+ { url = "https://files.pythonhosted.org/packages/55/87/10776cd88df54d0f563e9e21e98363f2d6af94bedc553b1da0972fa87f80/greenlet-3.5.2-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a9476cbead736dc48ce89e3cd97acff95ecc48cbf21273603a438f9870c4a014", size = 663191, upload-time = "2026-06-17T18:39:35.639Z" },{ url = "https://files.pythonhosted.org/packages/5a/a5/68cefae3a07f6d0093a490cf28ab604f14578f3e60205a2a2b2d5cd70af2/greenlet-3.5.2-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7fe6062b1f35534e1e8fb28dfed406cf4eeff3e0bca3a0d9f8ff69f20a4abb00", size = 660147, upload-time = "2026-06-17T17:39:35.068Z" },+ { url = "https://files.pythonhosted.org/packages/02/aa/26ddf92826a99d87bfb8fdb8f3a262a6f16495a5d8e579737baa92fb4543/greenlet-3.5.2-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:5930d3946ecae99fa7fc0e3f3ae515426ad85058ebd9bfc6c00cca8016e6206b", size = 498199, upload-time = "2026-06-17T18:41:27.464Z" },{ url = "https://files.pythonhosted.org/packages/d2/6b/b9156d8397e4750220f54c7c5c34650f1e740a8d2f66eab9cfd1b7b53b69/greenlet-3.5.2-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:b4ac902af825cbac8e9b2fccab8122236fd2ba6c8b71a080116d2c2ec72671b1", size = 1621675, upload-time = "2026-06-17T18:22:18.873Z" },{ url = "https://files.pythonhosted.org/packages/b0/e3/d3250f4fa01c211a93d04e34fded63187e648dbec17b9b1a14d388040593/greenlet-3.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:6f1e473c06ae8be00c9034c2bb10fa277b08a93287e3111c395b839f01d27e1f", size = 1680577, upload-time = "2026-06-17T17:40:14.055Z" },{ url = "https://files.pythonhosted.org/packages/55/ba/eaee8bda4419770d7096b5a009ebff0ab20a2a28cdd83c4b591bfdf36fa9/greenlet-3.5.2-cp315-cp315t-win_amd64.whl", hash = "sha256:3c2315045f9983e2e50d7e89d95405c21bddb8745f2da4487bc080ab3525f904", size = 243482, upload-time = "2026-06-17T17:37:34.741Z" },