Skip to content

Incompatible with latest langchain-community version due to numpy dependency #202

Closed
@jKlag

Description

@jKlag

After langchain-community's latest updates to its numpy dependencies (in release v0.3.22), langchain-postgres can no longer be installed in the same environment:

12.31 ERROR: Cannot install -r requirements.txt (line 21) and -r requirements.txt (line 23) because these package versions have conflicting dependencies.
12.31 
12.31 The conflict is caused by:
12.31     langchain-community 0.3.22 depends on numpy>=2.1.0; python_version >= "3.13"
12.31     langchain-postgres 0.0.14 depends on numpy<2.0 and >=1.21

I believe the numpy dependency in this package (currently numpy = "^1.21") will need to be updated to something >=2.1.0 in order to resolve this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions