From d01cda90fd395cf43bc3f593968d5249c428e8b9 Mon Sep 17 00:00:00 2001 From: Alexander Song Date: Fri, 10 Jan 2025 13:28:20 -0800 Subject: [PATCH] fix: pin upper bound on litellm to prevent windows break --- pyproject.toml | 2 +- requirements/unit-tests.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b72933610c..6dd1e6b29d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,7 +93,7 @@ dev = [ "arize[AutoEmbeddings, LLM_Evaluation]", "llama-index>=0.10.3", "langchain>=0.0.334", - "litellm>=1.0.3", + "litellm>=1.0.3,<1.57.5", # windows compatibility broken on 1.57.5 (https://github.com/BerriAI/litellm/issues/7677) "google-cloud-aiplatform>=1.3", "anthropic", "prometheus_client", diff --git a/requirements/unit-tests.txt b/requirements/unit-tests.txt index 736b5f834f..f482064dfc 100644 --- a/requirements/unit-tests.txt +++ b/requirements/unit-tests.txt @@ -7,7 +7,7 @@ asyncpg grpc-interceptor[testing] httpx httpx-ws -litellm>=1.0.3 +litellm>=1.0.3,<1.57.5 nest-asyncio # for executor testing numpy openai>=1.0.0