From e86e150ed12d767a80af0196c5d9140d0f59babd Mon Sep 17 00:00:00 2001 From: Derek Worthen Date: Tue, 24 Mar 2026 09:00:37 -0700 Subject: [PATCH] Pin litellm dependency - Response to #2289 --- .../next-release/patch-20260324160003300421.json | 4 ++++ packages/graphrag-llm/pyproject.toml | 2 +- uv.lock | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .semversioner/next-release/patch-20260324160003300421.json diff --git a/.semversioner/next-release/patch-20260324160003300421.json b/.semversioner/next-release/patch-20260324160003300421.json new file mode 100644 index 0000000000..6b44219c25 --- /dev/null +++ b/.semversioner/next-release/patch-20260324160003300421.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "Pin litellm dependency." +} diff --git a/packages/graphrag-llm/pyproject.toml b/packages/graphrag-llm/pyproject.toml index 1ed69cb6ce..3743d8a741 100644 --- a/packages/graphrag-llm/pyproject.toml +++ b/packages/graphrag-llm/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "graphrag-cache==3.0.6", "graphrag-common==3.0.6", "jinja2~=3.1", - "litellm~=1.80", + "litellm==1.82.6", "nest-asyncio2~=1.7", "pydantic~=2.10", "typing-extensions~=4.12" diff --git a/uv.lock b/uv.lock index e040053f3c..45411fc606 100644 --- a/uv.lock +++ b/uv.lock @@ -1175,7 +1175,7 @@ requires-dist = [ { name = "graphrag-cache", editable = "packages/graphrag-cache" }, { name = "graphrag-common", editable = "packages/graphrag-common" }, { name = "jinja2", specifier = "~=3.1" }, - { name = "litellm", specifier = "~=1.80" }, + { name = "litellm", specifier = "==1.82.6" }, { name = "nest-asyncio2", specifier = "~=1.7" }, { name = "pydantic", specifier = "~=2.10" }, { name = "typing-extensions", specifier = "~=4.12" }, @@ -1928,7 +1928,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.81.9" +version = "1.82.6" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1944,9 +1944,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/ff/8f/2a08f3d86fd008b4b02254649883032068378a8551baed93e8d9dcbbdb5d/litellm-1.81.9.tar.gz", hash = "sha256:a2cd9bc53a88696c21309ef37c55556f03c501392ed59d7f4250f9932917c13c", size = 16276983, upload-time = "2026-02-07T21:14:24.473Z" } +sdist = { url = "https://files.pythonhosted.org/packages/29/75/1c537aa458426a9127a92bc2273787b2f987f4e5044e21f01f2eed5244fd/litellm-1.82.6.tar.gz", hash = "sha256:2aa1c2da21fe940c33613aa447119674a3ad4d2ad5eb064e4d5ce5ee42420136", size = 17414147, upload-time = "2026-03-22T06:36:00.452Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/8b/672fc06c8a2803477e61e0de383d3c6e686e0f0fc62789c21f0317494076/litellm-1.81.9-py3-none-any.whl", hash = "sha256:24ee273bc8a62299fbb754035f83fb7d8d44329c383701a2bd034f4fd1c19084", size = 14433170, upload-time = "2026-02-07T21:14:21.469Z" }, + { url = "https://files.pythonhosted.org/packages/02/6c/5327667e6dbe9e98cbfbd4261c8e91386a52e38f41419575854248bbab6a/litellm-1.82.6-py3-none-any.whl", hash = "sha256:164a3ef3e19f309e3cabc199bef3d2045212712fefdfa25fc7f75884a5b5b205", size = 15591595, upload-time = "2026-03-22T06:35:56.795Z" }, ] [[package]]