Skip to content

Error Installing docling (>=2.4.1,<3.0.0) in project with langchain dependency #283

@souzatharsis

Description

@souzatharsis

Bug

Installing docling (>=2.4.1,<3.0.0) in a project with langchain (any version) dependency fails.

  1. Because langchain depends on numpy (>=1.26.0,<2.0.0)
  2. Because cocling (>=2.4.1,<3.0.0) requires numpy (>=2.0.2,<3.0.0)

So, because my project depends on both langchain (^0.3.3) and numpy (>=2.0.2,<3.0.0), version solving failed.

Steps to reproduce

poetry add langchain
poetry add docling

Docling version

(>=2.4.1,<3.0.0)

Python version

Python 3.11

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions