From 2a802eb8b9b7456555b633a1c33bedb0b85a01a4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 06:27:56 +0000 Subject: [PATCH] fix: install sandbox test dependencies and support Python 3.10 typing Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com> --- .github/workflows/test-integration.yml | 2 +- litellm/proxy/workflows/monty/_validator_worker.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index b49417c96ad..7ab63905437 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -58,7 +58,7 @@ jobs: with: version: "0.10.9" - name: Install proxy test dependencies - run: .github/scripts/uv_sync_with_retries.sh --frozen --extra proxy --group dev --group proxy-dev + run: .github/scripts/uv_sync_with_retries.sh --frozen --extra proxy --group dev --group proxy-dev --group e2e-dev - name: Run real Monty and validator workers run: uv run --no-sync pytest tests/integration/sandbox/test_monty_runtime.py -q diff --git a/litellm/proxy/workflows/monty/_validator_worker.py b/litellm/proxy/workflows/monty/_validator_worker.py index 67bfc9aa48f..52b422ea2bc 100644 --- a/litellm/proxy/workflows/monty/_validator_worker.py +++ b/litellm/proxy/workflows/monty/_validator_worker.py @@ -3,7 +3,7 @@ from __future__ import annotations import json import sys from collections.abc import Mapping -from typing import Final, Never, TypeAlias, cast # noqa: TID251 # stdlib decoder produces the recursive JSON union +from typing import Final, NoReturn, TypeAlias, cast # noqa: TID251 # stdlib decoder produces the recursive JSON union from jsonschema import Draft202012Validator from jsonschema.exceptions import ValidationError @@ -15,7 +15,7 @@ JsonValue: TypeAlias = None | bool | int | float | str | list["JsonValue"] | dic MAX_MESSAGE_BYTES: Final = 64 * 1024 * 1024 -def refuse_retrieval(uri: str) -> Never: +def refuse_retrieval(uri: str) -> NoReturn: raise NoSuchResource(ref=uri)