From 02300de24c199cbb41936a8b324dfbbf305d7fcc Mon Sep 17 00:00:00 2001 From: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com> Date: Thu, 13 Nov 2025 13:59:34 -0500 Subject: [PATCH] fix: dep warnings in prebuilt (#6443) --- libs/langgraph/.claude/settings.local.json | 16 -------------- libs/langgraph/uv.lock | 2 +- libs/prebuilt/.claude/settings.local.json | 21 +++++++++++++++++++ .../langgraph/prebuilt/chat_agent_executor.py | 10 ++++----- libs/prebuilt/pyproject.toml | 2 +- libs/prebuilt/uv.lock | 2 +- 6 files changed, 29 insertions(+), 24 deletions(-) delete mode 100644 libs/langgraph/.claude/settings.local.json create mode 100644 libs/prebuilt/.claude/settings.local.json diff --git a/libs/langgraph/.claude/settings.local.json b/libs/langgraph/.claude/settings.local.json deleted file mode 100644 index 92676baa3..000000000 --- a/libs/langgraph/.claude/settings.local.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(rg:*)", - "Bash(python:*)", - "Bash(grep:*)", - "Bash(sed:*)", - "Bash(awk:*)", - "Bash(uv run mypy:*)", - "Bash(uv run:*)", - "Bash(make test:*)", - "Bash(make test_parallel:*)" - ], - "deny": [] - } -} diff --git a/libs/langgraph/uv.lock b/libs/langgraph/uv.lock index affdf6d91..ff0d70af0 100644 --- a/libs/langgraph/uv.lock +++ b/libs/langgraph/uv.lock @@ -1710,7 +1710,7 @@ test = [ [[package]] name = "langgraph-prebuilt" -version = "1.0.3" +version = "1.0.4" source = { editable = "../prebuilt" } dependencies = [ { name = "langchain-core" }, diff --git a/libs/prebuilt/.claude/settings.local.json b/libs/prebuilt/.claude/settings.local.json new file mode 100644 index 000000000..269a4e496 --- /dev/null +++ b/libs/prebuilt/.claude/settings.local.json @@ -0,0 +1,21 @@ +{ + "permissions": { + "allow": [ + "Bash(make test:*)", + "Bash(uv run pytest:*)", + "Bash(LANGGRAPH_TEST_FAST=0 make start-services:*)", + "Bash(LANGGRAPH_TEST_FAST=0 uv run:*)", + "Bash(EXIT_CODE=$?)", + "Bash(make stop-services:*)", + "Bash(exit $EXIT_CODE)", + "Read(//Users/sydney_runkle/oss/langgraph/**)", + "Bash(python3:*)", + "Bash(find:*)", + "Bash(python -m pytest:*)", + "Bash(python:*)", + "Read(//tmp/**)" + ], + "deny": [], + "ask": [] + } +} diff --git a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py index 6c0df122d..42352fefb 100644 --- a/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py +++ b/libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py @@ -63,7 +63,7 @@ class AgentState(TypedDict): @deprecated( - "AgentStatePydantic has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStatePydantic`.", + "AgentStatePydantic has been deprecated in favor of AgentState in `langchain.agents`.", category=LangGraphDeprecatedSinceV10, ) class AgentStatePydantic(BaseModel): @@ -78,11 +78,11 @@ with warnings.catch_warnings(): warnings.filterwarnings( "ignore", category=LangGraphDeprecatedSinceV10, - message="AgentState has been moved to langchain.agents.*", + message="AgentState has been moved to `langchain.agents`.*", ) @deprecated( - "AgentStateWithStructuredResponse has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStateWithStructuredResponse`.", + "AgentStateWithStructuredResponse has been deprecated in favor of AgentState in `langchain.agents`.", category=LangGraphDeprecatedSinceV10, ) class AgentStateWithStructuredResponse(AgentState): @@ -95,11 +95,11 @@ with warnings.catch_warnings(): warnings.filterwarnings( "ignore", category=LangGraphDeprecatedSinceV10, - message="AgentStatePydantic has been moved to langchain.agents.*", + message="AgentStatePydantic has been deprecated in favor of AgentState in `langchain.agents`.", ) @deprecated( - "AgentStateWithStructuredResponsePydantic has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStateWithStructuredResponsePydantic`.", + "AgentStateWithStructuredResponsePydantic has been deprecated in favor of AgentState in `langchain.agents`.", category=LangGraphDeprecatedSinceV10, ) class AgentStateWithStructuredResponsePydantic(AgentStatePydantic): diff --git a/libs/prebuilt/pyproject.toml b/libs/prebuilt/pyproject.toml index dbd2fbf5c..0e2fc1364 100644 --- a/libs/prebuilt/pyproject.toml +++ b/libs/prebuilt/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "langgraph-prebuilt" -version = "1.0.3" +version = "1.0.4" description = "Library with high-level APIs for creating and executing LangGraph agents and tools." authors = [] requires-python = ">=3.10" diff --git a/libs/prebuilt/uv.lock b/libs/prebuilt/uv.lock index 9b8e8bf50..7caf5aee5 100644 --- a/libs/prebuilt/uv.lock +++ b/libs/prebuilt/uv.lock @@ -467,7 +467,7 @@ test = [ [[package]] name = "langgraph-prebuilt" -version = "1.0.3" +version = "1.0.4" source = { editable = "." } dependencies = [ { name = "langchain-core" },