mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-06 07:04:01 +00:00
fix: 🐛 SQLAlchemy import error (#3716)
During the import of langchain, SQLAlchemy was throeing an errror `ImportError: cannot import name 'Mapped' from 'sqlalchemy.orm'`. This is becaue the Mapped name was introduced in v1.4
This commit is contained in:
parent
f8d69e4e52
commit
64ba24292d
@ -13,7 +13,7 @@ langchain-server = "langchain.server:main"
|
|||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.8.1,<4.0"
|
python = ">=3.8.1,<4.0"
|
||||||
pydantic = "^1"
|
pydantic = "^1"
|
||||||
SQLAlchemy = ">1.3,<3"
|
SQLAlchemy = ">1.4,<3"
|
||||||
requests = "^2"
|
requests = "^2"
|
||||||
PyYAML = ">=5.4.1"
|
PyYAML = ">=5.4.1"
|
||||||
numpy = "^1"
|
numpy = "^1"
|
||||||
|
Loading…
Reference in New Issue
Block a user