Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#10743] fix(mcp): pin fakeredis below 2.35.0 for FastMCP compatibility (#10744)

Qi Yuade36727eb47
diff --git a/mcp-server/pyproject.toml b/mcp-server/pyproject.toml
index 3747199fce..299b4008c5 100644
--- a/mcp-server/pyproject.toml
+++ b/mcp-server/pyproject.toml
@@ -25,6 +25,11 @@ dependencies = [
# fastmcp has been release 3.0.x, which makes some incompatible changes, so we temporarily pin
# it to 2.14.5 to avoid breaking changes.
"fastmcp==2.14.5",
+ # TODO(#10754): pydocket (a transitive dep of fastmcp>=2.14.0)
+ # requires fakeredis>=2.32.1, but fakeredis 2.35.0 removed FakeConnection from
+ # fakeredis.aioredis, which pydocket still uses. Pin fakeredis to <2.35.0 until the
+ # tracked pydocket/fakeredis compatibility issue is resolved.
+ "fakeredis<2.35.0",
"parameterized>=0.9.0",
"pytest>=8.4.1",
"pylint>=2.20.0",