Skip to content

Commit 6fbd4b5

Browse files
chore(deps): update python-nonmajor (#424)
* chore(deps): update python-nonmajor * fix deps * fix numpy * fix numpy * fix numpy * update test * fix lint * mypy lint * deps downgrade * downgrade dep * fix tests --------- Co-authored-by: Averi Kitsch <[email protected]>
1 parent fb89146 commit 6fbd4b5

File tree

7 files changed

+22
-26
lines changed

7 files changed

+22
-26
lines changed

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ dependencies = [
1212
"google-cloud-alloydb-connector[asyncpg]>=1.2.0, <2.0.0",
1313
"google-cloud-storage>=2.18.2, <4.0.0",
1414
"langchain-core>=0.2.36, <1.0.0",
15-
"numpy>=1.24.4, <3.0.0; python_version > '3.9'",
15+
"numpy>=1.24.4, <3.0.0; python_version >= '3.11'",
16+
"numpy>=1.24.4, <=2.2.6; python_version == '3.10'",
1617
"numpy>=1.24.4, <=2.0.2; python_version <= '3.9'",
1718
"pgvector>=0.2.5, <1.0.0",
1819
"SQLAlchemy[asyncio]>=2.0.25, <3.0.0"
@@ -46,14 +47,14 @@ langgraph = [
4647
test = [
4748
"black[jupyter]==25.1.0",
4849
"isort==6.0.1",
49-
"langgraph==0.3.31",
50+
"langgraph==0.5.0",
5051
"mypy==1.15.0",
5152
"pytest-asyncio==0.26.0",
52-
"pytest==8.3.5",
53-
"pytest-cov==6.1.1",
53+
"pytest==8.4.1",
54+
"pytest-cov==6.2.1",
5455
"pytest-depends==1.0.1",
55-
"Pillow==11.2.1",
56-
"langchain-tests==0.3.19"
56+
"Pillow==11.3.0",
57+
"langchain-tests==0.3.20"
5758
]
5859

5960
[build-system]

requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
google-cloud-alloydb-connector[asyncpg]==1.8.0
2-
google-cloud-storage==3.1.0
3-
langchain-core==0.3.55
4-
numpy==2.2.5; python_version > "3.9"
1+
google-cloud-alloydb-connector[asyncpg]==1.9.0
2+
google-cloud-storage==3.1.1
3+
langchain-core==0.3.67
4+
numpy==2.3.1; python_version >= "3.11"
5+
numpy==2.2.6; python_version == "3.10"
56
numpy==2.0.2; python_version <= "3.9"
6-
pgvector==0.4.0
7-
SQLAlchemy[asyncio]==2.0.40
8-
langgraph==0.3.31
7+
pgvector==0.4.1
8+
SQLAlchemy[asyncio]==2.0.41
9+
langgraph==0.5.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
langchain-google-alloydb-pg==0.10.0
2-
langchain==0.3.24
1+
langchain-google-alloydb-pg==0.12.0
2+
langchain==0.3.26
33
langchain-google-vertexai==2.0.20
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
google-cloud-aiplatform[reasoningengine,langchain]==1.90.0
2-
langchain-google-alloydb-pg==0.10.0
2+
langchain-google-alloydb-pg==0.12.0
33
langchain-google-vertexai==2.0.20
44
google-cloud-resource-manager==1.14.2
5-
langchain-community==0.3.22
5+
langchain-community==0.3.26
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.11.3
8+
pydantic==2.11.7

samples/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
google-cloud-aiplatform[reasoningengine,langchain]==1.90.0
22
google-cloud-resource-manager==1.14.2
3-
langchain-community==0.3.22
4-
langchain-google-alloydb-pg==0.10.0
3+
langchain-community==0.3.26
4+
langchain-google-alloydb-pg==0.12.0
55
langchain-google-vertexai==2.0.20

tests/test_async_checkpoint.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"__start__": {"__start__": 1},
7979
"node": {"start:node": 2},
8080
},
81-
"pending_sends": [],
8281
}
8382

8483

@@ -215,7 +214,6 @@ def test_data() -> dict[str, Any]:
215214
"__start__": {"__start__": 1},
216215
"node": {"start:node": 2},
217216
},
218-
"pending_sends": [],
219217
}
220218
chkpnt_1: Checkpoint = empty_checkpoint()
221219
chkpnt_2: Checkpoint = create_checkpoint(chkpnt_1, {}, 1)
@@ -386,9 +384,7 @@ def _AnyIdHumanMessage(**kwargs: Any) -> HumanMessage:
386384
assert saved.metadata == {
387385
"parents": {},
388386
"source": "loop",
389-
"writes": {"agent": {"messages": [AIMessage(content="hi?", id="0")]}},
390387
"step": 1,
391-
"thread_id": "123",
392388
}
393389
assert saved.pending_writes == []
394390

tests/test_checkpoint.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"__start__": {"__start__": 1},
6161
"node": {"start:node": 2},
6262
},
63-
"pending_sends": [],
6463
}
6564

6665

@@ -241,7 +240,6 @@ def test_data() -> dict[str, Any]:
241240
"__start__": {"__start__": 1},
242241
"node": {"start:node": 2},
243242
},
244-
"pending_sends": [],
245243
}
246244
chkpnt_1: Checkpoint = empty_checkpoint()
247245
chkpnt_2: Checkpoint = create_checkpoint(chkpnt_1, {}, 1)

0 commit comments

Comments
 (0)