diff --git a/docs/api/conf.py b/docs/api/conf.py index ef4df8e96..5f7a3c2dc 100644 --- a/docs/api/conf.py +++ b/docs/api/conf.py @@ -102,6 +102,14 @@ autodoc_mock_imports = [ "openai.types.beta.realtime", "langchain_core", "langchain_core.messages", + # FastAPI - Pydantic v2 compatibility issues during Sphinx autodoc + "fastapi", + "fastapi.applications", + "fastapi.routing", + "fastapi.params", + "fastapi.middleware", + "fastapi.responses", + "uvicorn", ] # HTML output settings diff --git a/pyproject.toml b/pyproject.toml index a6b5afafa..4dc92b879 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ qwen = [] remote-smart-turn = [] rime = [ "pipecat-ai[websockets-base]" ] riva = [ "pipecat-ai[nvidia]" ] -runner = [ "python-dotenv>=1.0.0,<2.0.0", "uvicorn>=0.32.0,<1.0.0", "fastapi>=0.115.6,<0.122.0", "pipecat-ai-small-webrtc-prebuilt>=2.0.4"] +runner = [ "python-dotenv>=1.0.0,<2.0.0", "uvicorn>=0.32.0,<1.0.0", "fastapi>=0.115.6,<0.128.0", "pipecat-ai-small-webrtc-prebuilt>=2.0.4"] sagemaker = ["aws_sdk_sagemaker_runtime_http2; python_version>='3.12'"] sambanova = [] sarvam = [ "sarvamai==0.1.21", "pipecat-ai[websockets-base]" ] @@ -113,7 +113,7 @@ together = [] tracing = [ "opentelemetry-sdk>=1.33.0", "opentelemetry-api>=1.33.0", "opentelemetry-instrumentation>=0.54b0" ] ultravox = [ "pipecat-ai[websockets-base]" ] webrtc = [ "aiortc>=1.14.0,<2", "opencv-python>=4.11.0.86,<5" ] -websocket = [ "pipecat-ai[websockets-base]", "fastapi>=0.115.6,<0.122.0" ] +websocket = [ "pipecat-ai[websockets-base]", "fastapi>=0.115.6,<0.128.0" ] websockets-base = [ "websockets>=13.1,<16.0" ] whisper = [ "faster-whisper~=1.1.1" ] diff --git a/uv.lock b/uv.lock index 43a44bb5c..45c1f892f 100644 --- a/uv.lock +++ b/uv.lock @@ -1446,7 +1446,7 @@ wheels = [ [[package]] name = "fastapi" -version = "0.121.3" +version = "0.127.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-doc" }, @@ -1454,9 +1454,9 @@ dependencies = [ { name = "starlette" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/80/f0/086c442c6516195786131b8ca70488c6ef11d2f2e33c9a893576b2b0d3f7/fastapi-0.121.3.tar.gz", hash = "sha256:0055bc24fe53e56a40e9e0ad1ae2baa81622c406e548e501e717634e2dfbc40b", size = 344501, upload-time = "2025-11-19T16:53:39.243Z" } +sdist = { url = "https://files.pythonhosted.org/packages/96/8a/6b9ba6eb8ff3817caae83120495965d9e70afb4d6348cb120e464ee199f4/fastapi-0.127.1.tar.gz", hash = "sha256:946a87ee5d931883b562b6bada787d6c8178becee2683cb3f9b980d593206359", size = 391876, upload-time = "2025-12-26T13:04:47.075Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/98/b6/4f620d7720fc0a754c8c1b7501d73777f6ba43b57c8ab99671f4d7441eb8/fastapi-0.121.3-py3-none-any.whl", hash = "sha256:0c78fc87587fcd910ca1bbf5bc8ba37b80e119b388a7206b39f0ecc95ebf53e9", size = 109801, upload-time = "2025-11-19T16:53:37.918Z" }, + { url = "https://files.pythonhosted.org/packages/d2/f3/a6858d147ed2645c095d11dc2440f94a5f1cd8f4df888e3377e6b5281a0f/fastapi-0.127.1-py3-none-any.whl", hash = "sha256:31d670a4f9373cc6d7994420f98e4dc46ea693145207abc39696746c83a44430", size = 112332, upload-time = "2025-12-26T13:04:45.329Z" }, ] [package.optional-dependencies] @@ -4513,8 +4513,8 @@ requires-dist = [ { name = "docstring-parser", specifier = "~=0.16" }, { name = "einops", marker = "extra == 'moondream'", specifier = "~=0.8.0" }, { name = "fal-client", marker = "extra == 'fal'", specifier = "~=0.5.9" }, - { name = "fastapi", marker = "extra == 'runner'", specifier = ">=0.115.6,<0.122.0" }, - { name = "fastapi", marker = "extra == 'websocket'", specifier = ">=0.115.6,<0.122.0" }, + { name = "fastapi", marker = "extra == 'runner'", specifier = ">=0.115.6,<0.128.0" }, + { name = "fastapi", marker = "extra == 'websocket'", specifier = ">=0.115.6,<0.128.0" }, { name = "faster-whisper", marker = "extra == 'whisper'", specifier = "~=1.1.1" }, { name = "google-cloud-speech", marker = "extra == 'google'", specifier = ">=2.33.0,<3" }, { name = "google-cloud-texttospeech", marker = "extra == 'google'", specifier = ">=2.31.0,<3" },