diff --git a/requirements-common.txt b/requirements-common.txt index 2fc89c026901b..a9596878a0f89 100644 --- a/requirements-common.txt +++ b/requirements-common.txt @@ -7,8 +7,8 @@ py-cpuinfo transformers >= 4.45.0 # Required for Llama 3.2. tokenizers >= 0.19.1 # Required for Llama 3. protobuf # Required by LlamaTokenizer. -fastapi < 0.113.0; python_version < '3.9' -fastapi >= 0.114.1; python_version >= '3.9' +fastapi >= 0.107.0, < 0.113.0; python_version < '3.9' +fastapi >= 0.107.0, != 0.113.*, != 0.114.0; python_version >= '3.9' aiohttp openai >= 1.40.0 # Ensure modern openai package (ensure types module present) uvicorn[standard]