From 6240a791b7488bb9d1a1b22edf0ff6cf8924f44f Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 13 Apr 2026 09:09:39 +0800 Subject: [PATCH] fix(deps): cap fakeredis to <2.35.0 to prevent startup crash on 2.x (#3883) Co-authored-by: Emily Chen Fixes #3862 --- pyproject.toml | 1 + uv.lock | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9bc20af18..fc91ff38f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ dependencies = [ "openapi-pydantic>=0.5.1", "platformdirs>=4.0.0", "pydocket>=0.17.2", + "fakeredis[lua]<2.35.0", "rich>=13.9.4", "cyclopts>=4.0.0", "authlib>=1.6.5", diff --git a/uv.lock b/uv.lock index 300b03ca6..17417ef6e 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.10" resolution-markers = [ "python_full_version >= '3.11'", @@ -688,6 +688,7 @@ dependencies = [ { name = "authlib" }, { name = "cyclopts" }, { name = "exceptiongroup" }, + { name = "fakeredis", extra = ["lua"] }, { name = "httpx" }, { name = "jsonref" }, { name = "jsonschema-path" }, @@ -746,6 +747,7 @@ requires-dist = [ { name = "authlib", specifier = ">=1.6.5" }, { name = "cyclopts", specifier = ">=4.0.0" }, { name = "exceptiongroup", specifier = ">=1.2.2" }, + { name = "fakeredis", extras = ["lua"], specifier = "<2.35.0" }, { name = "httpx", specifier = ">=0.28.1" }, { name = "jsonref", specifier = ">=1.1.0" }, { name = "jsonschema-path", specifier = ">=0.3.4" },