fix: install sandbox test dependencies and support Python 3.10 typing

Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-11-06 06:27:56 +00:00
parent a96742e76c
commit 2a802eb8b9
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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)