Skip to content

Commit 8d86dae

Browse files
authored
Add python_version < "3.13" for onnxscript dependency. (#24510)
### Description <!-- Describe your changes. --> Add `python_version < "3.13"` for `onnxscript` dependency in tools/ci_build/github/linux/python/requirements.txt. `onnxscript` has `onnx` as a dependency. Building the `onnx` wheel fails with Python 3.13. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix pipeline build failures.
1 parent d1ac97e commit 8d86dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci_build/github/linux/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ protobuf==4.21.12
88
sympy==1.12
99
flatbuffers
1010
psutil
11-
onnxscript==0.2.3
11+
onnxscript==0.2.3 ; python_version < '3.13'

0 commit comments

Comments
 (0)