Skip to content

Commit 02300de

Browse files
fix: dep warnings in prebuilt (#6443)
1 parent ac16bdb commit 02300de

File tree

6 files changed

+29
-24
lines changed

6 files changed

+29
-24
lines changed

libs/langgraph/.claude/settings.local.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

libs/langgraph/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(make test:*)",
5+
"Bash(uv run pytest:*)",
6+
"Bash(LANGGRAPH_TEST_FAST=0 make start-services:*)",
7+
"Bash(LANGGRAPH_TEST_FAST=0 uv run:*)",
8+
"Bash(EXIT_CODE=$?)",
9+
"Bash(make stop-services:*)",
10+
"Bash(exit $EXIT_CODE)",
11+
"Read(//Users/sydney_runkle/oss/langgraph/**)",
12+
"Bash(python3:*)",
13+
"Bash(find:*)",
14+
"Bash(python -m pytest:*)",
15+
"Bash(python:*)",
16+
"Read(//tmp/**)"
17+
],
18+
"deny": [],
19+
"ask": []
20+
}
21+
}

libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class AgentState(TypedDict):
6363

6464

6565
@deprecated(
66-
"AgentStatePydantic has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStatePydantic`.",
66+
"AgentStatePydantic has been deprecated in favor of AgentState in `langchain.agents`.",
6767
category=LangGraphDeprecatedSinceV10,
6868
)
6969
class AgentStatePydantic(BaseModel):
@@ -78,11 +78,11 @@ class AgentStatePydantic(BaseModel):
7878
warnings.filterwarnings(
7979
"ignore",
8080
category=LangGraphDeprecatedSinceV10,
81-
message="AgentState has been moved to langchain.agents.*",
81+
message="AgentState has been moved to `langchain.agents`.*",
8282
)
8383

8484
@deprecated(
85-
"AgentStateWithStructuredResponse has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStateWithStructuredResponse`.",
85+
"AgentStateWithStructuredResponse has been deprecated in favor of AgentState in `langchain.agents`.",
8686
category=LangGraphDeprecatedSinceV10,
8787
)
8888
class AgentStateWithStructuredResponse(AgentState):
@@ -95,11 +95,11 @@ class AgentStateWithStructuredResponse(AgentState):
9595
warnings.filterwarnings(
9696
"ignore",
9797
category=LangGraphDeprecatedSinceV10,
98-
message="AgentStatePydantic has been moved to langchain.agents.*",
98+
message="AgentStatePydantic has been deprecated in favor of AgentState in `langchain.agents`.",
9999
)
100100

101101
@deprecated(
102-
"AgentStateWithStructuredResponsePydantic has been moved to `langchain.agents`. Please update your import to `from langchain.agents import AgentStateWithStructuredResponsePydantic`.",
102+
"AgentStateWithStructuredResponsePydantic has been deprecated in favor of AgentState in `langchain.agents`.",
103103
category=LangGraphDeprecatedSinceV10,
104104
)
105105
class AgentStateWithStructuredResponsePydantic(AgentStatePydantic):

libs/prebuilt/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "langgraph-prebuilt"
7-
version = "1.0.3"
7+
version = "1.0.4"
88
description = "Library with high-level APIs for creating and executing LangGraph agents and tools."
99
authors = []
1010
requires-python = ">=3.10"

libs/prebuilt/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)