Skip to content

Commit 0f0195c

Browse files
chore(deps): update python-nonmajor (#310)
* chore(deps): update python-nonmajor * update deps * fix test * update deps * fix dep --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
1 parent b8b2e27 commit 0f0195c

File tree

7 files changed

+24
-28
lines changed

7 files changed

+24
-28
lines changed

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ authors = [
1212
dependencies = [
1313
"cloud-sql-python-connector[asyncpg] >= 1.10.0, <2.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"
@@ -47,10 +48,10 @@ test = [
4748
"isort==6.0.1",
4849
"mypy==1.15.0",
4950
"pytest-asyncio==0.26.0",
50-
"pytest==8.3.5",
51-
"pytest-cov==6.1.1",
52-
"langchain-tests==0.3.19",
53-
"langgraph==0.3.31"
51+
"pytest==8.4.1",
52+
"pytest-cov==6.2.1",
53+
"langchain-tests==0.3.20",
54+
"langgraph==0.5.2"
5455
]
5556

5657
[build-system]

requirements.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
cloud-sql-python-connector[asyncpg]==1.18.1
2-
langchain-core==0.3.55
3-
numpy==2.2.5; python_version > "3.9"
1+
cloud-sql-python-connector[asyncpg]==1.18.2
2+
langchain-core==0.3.68
3+
numpy==2.3.1; python_version >= "3.11"
4+
numpy==2.2.6; python_version == "3.10"
45
numpy==2.0.2; python_version <= "3.9"
5-
pgvector==0.4.0
6-
SQLAlchemy[asyncio]==2.0.40
7-
langgraph==0.3.31
6+
pgvector==0.4.1
7+
SQLAlchemy[asyncio]==2.0.41
8+
langgraph==0.5.2
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
langchain-community==0.3.22
2-
langchain-google-cloud-sql-pg==0.13.0
3-
langchain-google-vertexai==2.0.20
1+
langchain-community==0.3.27
2+
langchain-google-cloud-sql-pg==0.14.0
3+
langchain-google-vertexai==2.0.27
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
google-cloud-aiplatform[reasoningengine,langchain]==1.89.0
1+
google-cloud-aiplatform[reasoningengine,langchain]==1.97.0
22
google-cloud-resource-manager==1.14.2
3-
langchain-community==0.3.22
4-
langchain-google-cloud-sql-pg==0.13.0
5-
langchain-google-vertexai==2.0.20
3+
langchain-community==0.3.27
4+
langchain-google-cloud-sql-pg==0.14.0
5+
langchain-google-vertexai==2.0.27

samples/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
google-cloud-aiplatform[reasoningengine,langchain]==1.89.0
1+
google-cloud-aiplatform[reasoningengine,langchain]==1.97.0
22
google-cloud-resource-manager==1.14.2
3-
langchain-community==0.3.22
4-
langchain-google-cloud-sql-pg==0.13.0
5-
langchain-google-vertexai==2.0.20
3+
langchain-community==0.3.27
4+
langchain-google-cloud-sql-pg==0.14.0
5+
langchain-google-vertexai==2.0.27

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

@@ -213,7 +212,6 @@ def test_data() -> dict[str, Any]:
213212
"__start__": {"__start__": 1},
214213
"node": {"start:node": 2},
215214
},
216-
"pending_sends": [],
217215
}
218216
chkpnt_1: Checkpoint = empty_checkpoint()
219217
chkpnt_2: Checkpoint = create_checkpoint(chkpnt_1, {}, 1)
@@ -385,9 +383,7 @@ def _AnyIdHumanMessage(**kwargs: Any) -> HumanMessage:
385383
assert saved.metadata == {
386384
"parents": {},
387385
"source": "loop",
388-
"writes": {"agent": {"messages": [AIMessage(content="hi?", id="0")]}},
389386
"step": 1,
390-
"thread_id": "123",
391387
}
392388
assert saved.pending_writes == []
393389

tests/test_checkpoint.py

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

6564

@@ -236,7 +235,6 @@ def test_data() -> dict[str, Any]:
236235
"__start__": {"__start__": 1},
237236
"node": {"start:node": 2},
238237
},
239-
"pending_sends": [],
240238
}
241239
chkpnt_1: Checkpoint = empty_checkpoint()
242240
chkpnt_2: Checkpoint = create_checkpoint(chkpnt_1, {}, 1)

0 commit comments

Comments
 (0)