Skip to content

Commit addc9a1

Browse files
authored
chore(deps): update python-nonmajor (#381)
1 parent 29af305 commit addc9a1

File tree

7 files changed

+42
-41
lines changed

7 files changed

+42
-41
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ langgraph = [
4646
test = [
4747
"black[jupyter]==25.1.0",
4848
"isort==6.0.1",
49-
"langgraph==0.2.74",
49+
"langgraph==0.3.31",
5050
"mypy==1.15.0",
51-
"pytest-asyncio==0.25.3",
51+
"pytest-asyncio==0.26.0",
5252
"pytest==8.3.5",
53-
"pytest-cov==6.0.0",
53+
"pytest-cov==6.1.1",
5454
"pytest-depends==1.0.1",
55-
"Pillow==11.1.0",
56-
"langchain-tests==0.3.12"
55+
"Pillow==11.2.1",
56+
"langchain-tests==0.3.19"
5757
]
5858

5959
[build-system]

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
google-cloud-alloydb-connector[asyncpg]==1.8.0
22
google-cloud-storage==3.1.0
3-
langchain-core==0.3.41
4-
numpy==2.2.3; python_version > "3.9"
5-
numpy== 2.0.2; python_version <= "3.9"
6-
pgvector==0.3.6
7-
SQLAlchemy[asyncio]==2.0.38
8-
langgraph-checkpoint==2.0.19
3+
langchain-core==0.3.55
4+
numpy==2.2.5; python_version > "3.9"
5+
numpy==2.0.2; python_version <= "3.9"
6+
pgvector==0.4.0
7+
SQLAlchemy[asyncio]==2.0.40
8+
langgraph==0.3.31
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
langchain-google-alloydb-pg==0.9.3
2-
langchain==0.3.20
3-
langchain-google-vertexai==2.0.14
1+
langchain-google-alloydb-pg==0.10.0
2+
langchain==0.3.24
3+
langchain-google-vertexai==2.0.20
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
google-cloud-aiplatform[reasoningengine,langchain]==1.83.0
2-
langchain-google-alloydb-pg==0.9.3
3-
langchain-google-vertexai==2.0.14
4-
google-cloud-resource-manager==1.14.1
5-
langchain-community==0.3.19
1+
google-cloud-aiplatform[reasoningengine,langchain]==1.90.0
2+
langchain-google-alloydb-pg==0.10.0
3+
langchain-google-vertexai==2.0.20
4+
google-cloud-resource-manager==1.14.2
5+
langchain-community==0.3.22
66
# Required to fix: "PydanticUndefinedAnnotation: name 'SafetySetting' is not defined"
77
# Todo: remove after upstream issue is fixed: https://github.com/langchain-ai/langchain/issues/28271
8-
pydantic==2.10.6
8+
pydantic==2.11.3

samples/migrations/requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
langchain-chroma==0.2.2
2-
langchain-core==0.3.41
3-
langchain-google-alloydb-pg==0.9.3
4-
langchain-milvus==0.1.8
1+
langchain-chroma==0.2.3
2+
langchain-core==0.3.55
3+
langchain-google-alloydb-pg==0.10.0
4+
langchain-milvus==0.1.9
55
langchain-pinecone==0.2.3
66
langchain-qdrant==0.2.0
77
langchain-weaviate==0.0.4
88
pinecone-client==6.0.0
9-
pymilvus==2.5.5
10-
pytest-asyncio==0.25.3
9+
pymilvus==2.5.6
10+
pytest-asyncio==0.26.0
1111
pytest==8.3.5
12-
qdrant-client==1.13.3
13-
weaviate-client==4.11.1
12+
qdrant-client==1.14.1
13+
weaviate-client==4.14.0

samples/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
google-cloud-aiplatform[reasoningengine,langchain]==1.83.0
2-
google-cloud-resource-manager==1.14.1
3-
langchain-community==0.3.19
4-
langchain-google-alloydb-pg==0.9.3
5-
langchain-google-vertexai==2.0.14
1+
google-cloud-aiplatform[reasoningengine,langchain]==1.90.0
2+
google-cloud-resource-manager==1.14.2
3+
langchain-community==0.3.22
4+
langchain-google-alloydb-pg==0.10.0
5+
langchain-google-vertexai==2.0.20

tests/test_async_checkpoint.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
empty_checkpoint,
4040
)
4141
from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
42-
from langgraph.prebuilt import (
42+
from langgraph.prebuilt import ( # type: ignore[import-not-found]
4343
ToolNode,
4444
ValidationNode,
4545
create_react_agent,
@@ -376,13 +376,14 @@ def _AnyIdHumanMessage(**kwargs: Any) -> HumanMessage:
376376

377377
saved = await checkpointer.aget_tuple(thread)
378378
assert saved is not None
379-
assert saved.checkpoint["channel_values"] == {
380-
"messages": [
381-
_AnyIdHumanMessage(content="hi?"),
382-
AIMessage(content="hi?", id="0"),
383-
],
384-
"agent": "agent",
385-
}
379+
assert (
380+
_AnyIdHumanMessage(content="hi?")
381+
in saved.checkpoint["channel_values"]["messages"]
382+
)
383+
assert (
384+
AIMessage(content="hi?", id="0")
385+
in saved.checkpoint["channel_values"]["messages"]
386+
)
386387
assert saved.metadata == {
387388
"parents": {},
388389
"source": "loop",

0 commit comments

Comments
 (0)