Skip to content

Commit

Permalink
pin docling-ibm-models 1.1.0 with python 3.10 support (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Jul 18, 2024
1 parent eb0b208 commit 7bc20ad
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-poetry
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Docling

[![PyPI version](https://img.shields.io/pypi/v/docling)](https://pypi.org/project/docling/)
![Python](https://img.shields.io/badge/python-3.11%20%7C%203.12-blue)
![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
Expand Down Expand Up @@ -35,7 +35,7 @@ pip install docling
### Development setup

To develop for Docling, you need Python 3.11 / 3.12 and Poetry. You can then install from your local clone's root dir:
To develop for Docling, you need Python 3.10 / 3.11 / 3.12 and Poetry. You can then install from your local clone's root dir:
```bash
poetry install
```
Expand Down
67 changes: 58 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ keywords= ["docling", "convert", "document", "pdf", "layout model", "segmentatio
packages = [{include = "docling"}]

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
pydantic = "^2.0.0"
docling-core = "^1.1.0"
docling-ibm-models = "^0.2.0"
docling-ibm-models = "^1.1.0"
deepsearch-glm = ">=0.19.0,<1"
filetype = "^1.2.0"
pypdfium2 = "^4.30.0"
Expand Down Expand Up @@ -54,7 +54,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = ["py311"]
target-version = ["py310"]
include = '\.pyi?$'

[tool.isort]
Expand All @@ -66,7 +66,7 @@ py_version=311
pretty = true
# strict = true
no_implicit_optional = true
python_version = "3.11"
python_version = "3.10"

[tool.flake8]
max-line-length = 88
Expand Down

0 comments on commit 7bc20ad

Please sign in to comment.