Skip to content

Commit 47b70d3

Browse files
authored
feat: python 3.14 compatibility (#403)
update deps for python 3.14 compatibility Signed-off-by: Michele Dolfi <[email protected]>
1 parent 2b519f2 commit 47b70d3

18 files changed

+977
-570
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
21+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Cache Hugging Face models

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ classifiers = [
2626
"Intended Audience :: Science/Research",
2727
"Natural Language :: English",
2828
"Operating System :: OS Independent",
29-
"Programming Language :: Python :: 3",
3029
"Topic :: Database",
3130
"Topic :: Scientific/Engineering :: Information Analysis",
3231
"Topic :: Software Development :: Libraries :: Python Modules",
3332
"Typing :: Typed",
3433
"Programming Language :: Python :: 3",
34+
"Programming Language :: Python :: 3.9",
35+
"Programming Language :: Python :: 3.10",
36+
"Programming Language :: Python :: 3.11",
37+
"Programming Language :: Python :: 3.12",
38+
"Programming Language :: Python :: 3.13",
39+
"Programming Language :: Python :: 3.14",
3540
]
3641
requires-python = '>=3.9,<4.0'
3742
dependencies = [
@@ -40,7 +45,7 @@ dependencies = [
4045
'jsonref (>=1.1.0,<2.0.0)',
4146
'tabulate (>=0.9.0,<0.10.0)',
4247
'pandas (>=2.1.4,<3.0.0)',
43-
'pillow (>=10.0.0,<12.0.0)',
48+
'pillow (>=10.0.0,<13.0.0)',
4449
'pyyaml (>=5.1,<7.0.0)',
4550
'typing-extensions (>=4.12.2,<5.0.0)',
4651
'typer (>=0.12.5,<0.20.0)',
@@ -61,7 +66,7 @@ docling-view = "docling_core.cli.view:app"
6166

6267
[project.optional-dependencies]
6368
chunking = ['semchunk (>=2.2.0,<3.0.0)', 'transformers (>=4.34.0,<5.0.0)']
64-
chunking-openai = ['semchunk', 'tiktoken (>=0.9.0,<0.10.0)']
69+
chunking-openai = ['semchunk', 'tiktoken (>=0.9.0,<0.13.0)']
6570

6671
[dependency-groups]
6772
dev = [

test/data/doc/2408.09869v3_enriched.out.dt.json

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

test/data/doc/doc_with_kv.dt.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

test/data/doc/page_with_pic.dt.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

test/data/doc/page_with_pic_from_files.dt.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
-9.08 KB
Loading
-13.2 KB
Loading
-13.5 KB
Loading
-6.55 KB
Loading

0 commit comments

Comments
 (0)