Skip to content

Commit a164aa2

Browse files
fix(deps): update dependency numpy to v2 (#251)
* fix(deps): update dependency numpy to v2 * Update pyproject.toml * Update requirements.txt * Update requirements.txt * Update pyproject.toml --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
1 parent ed1c9fd commit a164aa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
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, <2.0.0",
15+
"numpy>=1.24.4, <3.0.0; python_version > '3.9'",
16+
"numpy>=1.24.4, <=2.0.2; python_version <= '3.9'",
1617
"pgvector>=0.2.5, <1.0.0",
1718
"SQLAlchemy[asyncio]>=2.0.25, <3.0.0"
1819
]

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cloud-sql-python-connector[asyncpg]==1.17.0
22
langchain-core==0.3.40
3-
numpy==1.26.4
3+
numpy==2.2.3; python_version > "3.9"
4+
numpy== 2.0.2; python_version <= "3.9"
45
pgvector==0.3.6
56
SQLAlchemy[asyncio]==2.0.38

0 commit comments

Comments
 (0)