Skip to content

Commit e84b0e7

Browse files
committed
use old cibuildwheel for old python versions
Signed-off-by: Michele Dolfi <[email protected]>
1 parent 28caca3 commit e84b0e7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Repository = "https://github.com/docling-project/docling-parse"
4444
requires = [
4545
"setuptools>=77.0.3",
4646
"pybind11>=2.13.6",
47-
"cibuildwheel>=2.19.2,<4.0.0",
47+
"cibuildwheel>=2.19.2,<3.0.0; python_version < '3.11'",
48+
"cibuildwheel>=2.19.2,<4.0.0; python_version >= '3.11'",
4849
"wheel>=0.43.0,<1.0.0",
4950
"delocate>=0.11.0,<1.0.0",
5051
"cmake>=3.27.0,<4.0.0"
@@ -55,7 +56,8 @@ build-backend = "setuptools.build_meta"
5556
build = [
5657
"setuptools>=77.0.3",
5758
"pybind11>=2.13.6",
58-
"cibuildwheel>=2.19.2,<4.0.0",
59+
"cibuildwheel>=2.19.2,<3.0.0; python_version < '3.11'",
60+
"cibuildwheel>=2.19.2,<4.0.0; python_version >= '3.11'",
5961
"wheel>=0.43.0,<1.0.0",
6062
"delocate>=0.11.0,<1.0.0",
6163
"cmake>=3.27.0,<4.0.0"

uv.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)