From 9029b8a66e9d5e0d29d9a6df0e5590cc7c0e9038 Mon Sep 17 00:00:00 2001 From: Hangfei Lin Date: Fri, 27 Jun 2025 09:47:48 -0700 Subject: [PATCH] fix: Lock LangGraph version to <= 0.4.10 New version removed graph.graph we rely on. temporarily fix the version before we fix the issue. PiperOrigin-RevId: 776619611 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6cf78ab406..a93443d459 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,7 +95,8 @@ test = [ # go/keep-sorted start "anthropic>=0.43.0", # For anthropic model tests "langchain-community>=0.3.17", - "langgraph>=0.2.60", # For LangGraphAgent + # langgraph 0.5 removed langgraph.graph.graph which we depend on + "langgraph>=0.2.60, <= 0.4.10", # For LangGraphAgent "litellm>=1.71.2", # For LiteLLM tests "llama-index-readers-file>=0.4.0", # For retrieval tests "pytest-asyncio>=0.25.0",