Skip to content

Commit

Permalink
feat: support LangChain v0.2 (#133)
Browse files Browse the repository at this point in the history
* chore(deps): update python-nonmajor

* Update requirements.txt

* Update pyproject.toml

* Update pyproject.toml

---------

Co-authored-by: Averi Kitsch <akitsch@google.com>
  • Loading branch information
renovate-bot and averikitsch committed May 30, 2024
1 parent 2cccb22 commit 4364a04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ authors = [

dependencies = [
"cloud-sql-python-connector[asyncpg] >= 1.7.0, <2.0.0",
"langchain-core>=0.1.1, <2.0.0 ",
"langchain-community>=0.0.18, <0.1.0",
"numpy>=1.24.4, <2.0.0",
"langchain-core>=0.1.1, <1.0.0 ",
"langchain-community>=0.0.18, <0.3.0",
"numpy==1.24.4; python_version<='3.8'",
"numpy>=1.24.4, <2.0.0; python_version>'3.8'",
"pgvector>=0.2.5, <1.0.0",
"SQLAlchemy[asyncio]>=2.0.25, <3.0.0"
]
Expand Down Expand Up @@ -43,8 +44,8 @@ Changelog = "https://github.com/googleapis/langchain-google-cloud-sql-pg-python/
test = [
"black[jupyter]==23.12.1",
"isort==5.13.2",
"mypy==1.9.0",
"pytest-asyncio==0.23.5.post1",
"mypy==1.10.0",
"pytest-asyncio==0.23.7",
"pytest==7.4.4",
"pytest-cov==5.0.0"
]
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cloud-sql-python-connector[asyncpg]==1.8.0
langchain-core==0.1.35
langchain-community==0.0.28
numpy==1.24.4; python_version<='3.8'
cloud-sql-python-connector[asyncpg]==1.9.2
langchain-core==0.2.2
langchain-community==0.2.1
numpy===1.24.4; python_version<='3.8'
numpy==1.26.4; python_version>'3.8'
pgvector==0.2.5
SQLAlchemy[asyncio]==2.0.28
SQLAlchemy[asyncio]==2.0.30

0 comments on commit 4364a04

Please sign in to comment.