From 2439c6c59cfaeee754eefa7bdf127eddadb34af3 Mon Sep 17 00:00:00 2001 From: Weiming Liao Date: Sat, 5 Dec 2026 01:52:21 +0800 Subject: [PATCH] [bugfix] packaging: cap opentelemetry-api<1.46 to avoid FastAPI ASGI TypeError --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b617a4df3..5e0b2507c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ requires-python = ">=3.11" dependencies = [ "PyYAML>=6,<7", "filelock>=3.16,<4", "httpx[socks]>=0.27,<1", "anyio>=4,<5", "pydantic>=2.12,<3", "typer>=0.27.3,<0.28", "Pillow>=12,<14", "pillow-heif>=1.8.1,<2", - "fonttools==4.68.0", "fastapi>=0.115,<1", "uvicorn>=0.30,<1", "numpy>=2,<3", + "fonttools==4.68.0", "fastapi>=0.115,<1", "opentelemetry-api<1.46", "uvicorn>=0.30,<1", "numpy>=2,<3", "starlette>=1.8,<2", "python-multipart>=0.0.33,<1", "yt-dlp>=2026.11.23", "distlib>=0.4,<1; sys_platform == 'win32'", ]