Skip to content
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ test = [
"black[jupyter]==25.1.0",
"isort==6.0.1",
"mypy==1.15.0",
"pytest-asyncio==0.25.3",
"pytest==8.3.4",
"pytest-cov==6.0.0",
"langchain-tests==0.3.12",
"langgraph==0.2.74"
"pytest-asyncio==0.26.0",
"pytest==8.3.5",
"pytest-cov==6.1.1",
"langchain-tests==0.3.19",
"langgraph==0.3.31"
]

[build-system]
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cloud-sql-python-connector[asyncpg]==1.18.1
langchain-core==0.3.40
numpy==2.2.3; python_version > "3.9"
numpy== 2.0.2; python_version <= "3.9"
pgvector==0.3.6
SQLAlchemy[asyncio]==2.0.38
langgraph-checkpoint==2.0.10
langchain-core==0.3.55
numpy==2.2.5; python_version > "3.9"
numpy==2.0.2; python_version <= "3.9"
pgvector==0.4.0
SQLAlchemy[asyncio]==2.0.40
langgraph==0.3.31
6 changes: 3 additions & 3 deletions samples/index_tuning_sample/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
langchain-community==0.3.18
langchain-google-cloud-sql-pg==0.12.1
langchain-google-vertexai==2.0.14
langchain-community==0.3.22
langchain-google-cloud-sql-pg==0.13.0
langchain-google-vertexai==2.0.20
10 changes: 5 additions & 5 deletions samples/langchain_on_vertexai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
google-cloud-aiplatform[reasoningengine,langchain]==1.81.0
google-cloud-resource-manager==1.14.1
langchain-community==0.3.18
langchain-google-cloud-sql-pg==0.12.1
langchain-google-vertexai==2.0.14
google-cloud-aiplatform[reasoningengine,langchain]==1.89.0
google-cloud-resource-manager==1.14.2
langchain-community==0.3.22
langchain-google-cloud-sql-pg==0.13.0
langchain-google-vertexai==2.0.20
10 changes: 5 additions & 5 deletions samples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
google-cloud-aiplatform[reasoningengine,langchain]==1.81.0
google-cloud-resource-manager==1.14.1
langchain-community==0.3.18
langchain-google-cloud-sql-pg==0.12.1
langchain-google-vertexai==2.0.14
google-cloud-aiplatform[reasoningengine,langchain]==1.89.0
google-cloud-resource-manager==1.14.2
langchain-community==0.3.22
langchain-google-cloud-sql-pg==0.13.0
langchain-google-vertexai==2.0.20
17 changes: 9 additions & 8 deletions tests/test_async_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
empty_checkpoint,
)
from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
from langgraph.prebuilt import (
from langgraph.prebuilt import ( # type: ignore[import-not-found]
ToolNode,
ValidationNode,
create_react_agent,
Expand Down Expand Up @@ -374,13 +374,14 @@ def _AnyIdHumanMessage(**kwargs: Any) -> HumanMessage:

saved = await checkpointer.aget_tuple(thread_agent_config)
assert saved is not None
assert saved.checkpoint["channel_values"] == {
"messages": [
_AnyIdHumanMessage(content="hi?"),
AIMessage(content="hi?", id="0"),
],
"agent": "agent",
}
assert (
_AnyIdHumanMessage(content="hi?")
in saved.checkpoint["channel_values"]["messages"]
)
assert (
AIMessage(content="hi?", id="0")
in saved.checkpoint["channel_values"]["messages"]
)
assert saved.metadata == {
"parents": {},
"source": "loop",
Expand Down