Skip to content

Commit

Permalink
Merge pull request #434 from courtneypacheco/fix-docling-parse-issue
Browse files Browse the repository at this point in the history
fix: Restrict `docling` library versions to resolve dependency issues + update `mypy` linting packages
  • Loading branch information
bbrowning authored Dec 10, 2024
2 parents a05edb5 + 2e00bb8 commit 74858df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: Apache-2.0
click>=8.1.7,<9.0.0
datasets>=2.18.0,<3.0.0
docling[tesserocr]>=2.4.2,<3.0.0
docling[tesserocr]>=2.4.2,<=2.8.3
docling-parse>=2.0.0,<3.0.0
GitPython>=3.1.42,<4.0.0
gguf>=0.6.0
httpx>=0.25.0,<1.0.0
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ allowlist_externals = sh

[testenv:mypy]
description = Python type checking with mypy
# Note: 'mypy<1.14' by default pulls the latest 'pydantic' release as a dependency, but 'pydantic>=2.10' does not
# work with 'mypy<1.14', so for compatibility purposes, we set 'pydantic<=2.9.2'
deps =
mypy>=1.10.0,<2.0
mypy>=1.10.0,<1.14
types-PyYAML
pytest
pydantic<=2.9.2
commands =
mypy src

Expand Down

0 comments on commit 74858df

Please sign in to comment.