Skip to content

Commit a5c3cbb

Browse files
committed
Only pin for Python 3.10
1 parent 306c32c commit a5c3cbb

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ chem = [
7373
"scikit-fingerprints>=1.13.1",
7474
]
7575

76+
# NOTE: There is an error in the metadata of onnxruntim version 1.24.1 to 1.24.3.
77+
# The metadata claims that these versions are compatible with Python 3.10.
78+
# However, Python 3.10 is not actually supported by versions >=1.24.
79+
# As this causes issues with dependency resolving, we explicitly set the upper bound
80+
# for onnxruntime to <1.24 for Python 3.10.
7681
onnx = [
7782
"onnx>=1.16.0", # see AUDIT NOTE, required by skl2onnx
78-
"onnxruntime>=1.15.1,<1.24",
83+
"onnxruntime>=1.15.1,<1.24; python_version < '3.11'",
84+
"onnxruntime>=1.15.1; python_version >= '3.11'",
7985
"skl2onnx>=1.19.1",
8086
]
8187

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)