Skip to content

Commit 95bbda3

Browse files
committed
update pyproject python deps
1 parent 88c15b7 commit 95bbda3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: pyproject.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@ huggingface = [
105105
notebook = ["ipython>=7.23.1, <8.0", "ipywidgets~=7.6.3"]
106106
onnx = [
107107
"lightgbm",
108-
"onnx>=1.12.0", #,<=1.15.0", # v 1.15.0 set base on onnxrutime version and onnx opset support - https://onnxruntime.ai/docs/reference/compatibility.html#onnx-opset-support
108+
"onnx>=1.12.0,<=1.15.0; python_version < '3.12'", # v 1.15.0 set base on onnxrutime version and onnx opset support - https://onnxruntime.ai/docs/reference/compatibility.html#onnx-opset-support
109+
"onnx>=1.12.0; python_version >= '3.12'", # v 1.15.0 set base on onnxrutime version and onnx opset support - https://onnxruntime.ai/docs/reference/compatibility.html#onnx-opset-support
109110
"onnxmltools>=1.10.0",
110-
"onnxruntime", #~=1.17.0,!=1.16.0", # v1.17.0 used in Oracle Database 23ai; avoid v1.16 https://github.com/microsoft/onnxruntime/issues/17631, revealed by unit tests
111+
"onnxruntime~=1.17.0,!=1.16.0; python_version < '3.12'", # v1.17.0 used in Oracle Database 23ai; avoid v1.16 https://github.com/microsoft/onnxruntime/issues/17631, revealed by unit tests
112+
"onnxruntime; python_version >= '3.12'", # v1.17.0 used in Oracle Database 23ai; avoid v1.16 https://github.com/microsoft/onnxruntime/issues/17631, revealed by unit tests
111113
"oracle_ads[viz]",
112114
"protobuf",
113115
"skl2onnx>=1.10.4",
@@ -131,7 +133,8 @@ optuna = ["optuna==2.9.0", "oracle_ads[viz]"]
131133
spark = ["pyspark>=3.0.0"]
132134
tensorflow = [
133135
"oracle_ads[viz]",
134-
"tensorflow" #<=2.15.1" # v2.16.1 with consequence on tf2onnx v1.16.1 (latest) has an issue with Keras 3 installed in py3.11+ (https://github.com/onnx/tensorflow-onnx/issues/2319)
136+
"tensorflow<=2.15.1; python_version < '3.12'" # v2.16.1 with consequence on tf2onnx v1.16.1 (latest) has an issue with Keras 3 installed in py3.11+ (https://github.com/onnx/tensorflow-onnx/issues/2319)
137+
"tensorflow; python_version >= '3.12'" # v2.16.1 with consequence on tf2onnx v1.16.1 (latest) has an issue with Keras 3 installed in py3.11+ (https://github.com/onnx/tensorflow-onnx/issues/2319)
135138
]
136139
text = [
137140
"spacy>=3.4.2,<3.8", # the first version of spacy that supports python 3.11 is spacy v3.4.2; 3.8.2 has dependency conflict.

0 commit comments

Comments
 (0)