From ca0823f238ae95e1ceb5fa44435e12461dd2b7c4 Mon Sep 17 00:00:00 2001 From: zhangxinyuehfad <59153331+zhangxinyuehfad@users.noreply.github.com> Date: Tue, 16 Dec 2025 11:34:11 +0800 Subject: [PATCH] [0.11.0][Bugfix] fix fastapi version (#5052) ### What this PR does / why we need it? fix fastapi version Signed-off-by: hfadzxy --- pyproject.toml | 1 + requirements-dev.txt | 1 - requirements.txt | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 916b984..248f844 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ requires = [ "msgpack", "quart", "numba", + "fastapi<0.124.0", "opencv-python-headless<=4.11.0.86", # Required to avoid numpy version conflict with vllm ] build-backend = "setuptools.build_meta" diff --git a/requirements-dev.txt b/requirements-dev.txt index 3509a48..d047a43 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -17,4 +17,3 @@ ray>=2.47.1 protobuf>3.20.0 librosa soundfile -fastapi<0.124.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 999d2ce..808ce97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,3 +28,4 @@ numba torch-npu==2.7.1 transformers<=4.57.1 +fastapi<0.124.0