From 69dfd1a6a05fc8c1d2ced66eacef7381c25d48f3 Mon Sep 17 00:00:00 2001 From: Lester12138 <2665063734@qq.com> Date: Sat, 24 Oct 2026 13:13:51 +0800 Subject: [PATCH] fix: preserve safe filelock requirements in core package --- packaging/litellm-core/pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/litellm-core/pyproject.toml b/packaging/litellm-core/pyproject.toml index 890fa0fd773..bf766cd33eb 100644 --- a/packaging/litellm-core/pyproject.toml +++ b/packaging/litellm-core/pyproject.toml @@ -11,7 +11,8 @@ authors = [ ] dependencies = [ "fastuuid>=0.14.0,<1.0", - "filelock>=3.16.1,<4.0", + "filelock>=3.20.3,<3.20.4; python_version < '3.11'", + "filelock>=4.2.1,<5.0; python_version >= '3.11'", "httpx[http2]>=0.28.0,<1.0", "openai>=2.20.0,<4.0.0", "python-dateutil>=2.8.2,<3.0",