Skip to content

Commit ca5caca

Browse files
committed
Modify onnx dependencies
1 parent d574050 commit ca5caca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,14 @@ notebook = ["ipython>=7.23.1, <8.0", "ipywidgets~=7.6.3"]
107107
onnx = [
108108
"lightgbm",
109109
"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
110-
"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
111-
"onnxmltools>=1.10.0",
110+
"onnx~=1.17.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
111+
"onnxmltools~=1.13.0",
112112
"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
113-
"onnxruntime>=1.17.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
113+
"onnxruntime~=1.22.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
114114
"oracle_ads[viz]",
115115
"protobuf",
116-
"skl2onnx>=1.10.4",
116+
"skl2onnx>=1.10.4; python_version < '3.12'",
117+
"skl2onnx~=1.18.0; python_version >= '3.12'",
117118
"tf2onnx",
118119
"xgboost<=1.7",
119120
]

0 commit comments

Comments
 (0)