From fec1c13c0aebf54f52bcb8e5b220b7eca5a915f1 Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Mon, 5 Jan 2026 17:22:55 -0800 Subject: [PATCH] Fix typing-extensions dependency: add >=4.14.1 requirement - Add typing-extensions>=4.14.1 to pyproject.toml, requirements.txt, and .circleci/requirements.txt - Required by pydantic-core which needs Sentinel from typing_extensions - Also update fastapi-sso to 0.19.0 in .circleci/requirements.txt to match previous fix - Fixes ImportError: cannot import name 'Sentinel' from 'typing_extensions' --- .circleci/requirements.txt | 3 ++- pyproject.toml | 1 + requirements.txt | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/requirements.txt b/.circleci/requirements.txt index 2294c84813c..193035a13e5 100644 --- a/.circleci/requirements.txt +++ b/.circleci/requirements.txt @@ -9,9 +9,10 @@ redisvl==0.4.1 anthropic orjson==3.10.12 # fast /embedding responses pydantic==2.10.2 +typing-extensions>=4.14.1 # required by pydantic-core google-cloud-aiplatform==1.43.0 google-cloud-iam==2.19.1 -fastapi-sso==0.16.0 +fastapi-sso==0.19.0 # updated to fix GHSA-hp6r-r9vc-q8wx uvloop==0.21.0 mcp==1.10.1 # for MCP server semantic_router==0.1.10 # for auto-routing with litellm diff --git a/pyproject.toml b/pyproject.toml index 0df0ecf2d88..97370ccc805 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ jinja2 = "^3.1.2" aiohttp = ">=3.10" pydantic = "^2.5.0" jsonschema = "^4.22.0" +typing-extensions = ">=4.14.1" numpydoc = {version = "*", optional = true} # used in utils.py uvicorn = {version = "^0.31.1", optional = true} diff --git a/requirements.txt b/requirements.txt index df7bc8b3242..c659de04b31 100644 --- a/requirements.txt +++ b/requirements.txt @@ -57,6 +57,7 @@ aiohttp==3.12.14 # for network calls aioboto3==13.4.0 # for async sagemaker calls tenacity==8.5.0 # for retrying requests, when litellm.num_retries set pydantic>=2.11,<3 # proxy + openai req. + mcp +typing-extensions>=4.14.1 # required by pydantic-core jsonschema==4.22.0 # validating json schema websockets==13.1.0 # for realtime API soundfile==0.12.1 # for audio file processing