Skip to content

Commit 22d02e8

Browse files
ethanwee1jithunnair-amd
authored andcommitted
[release/2.8] enable py3.13 (#2366)
pip installed requirements.txt and .ci/docker/requirements-ci.txt Local validation: `Successfully installed jinja2-3.1.6 lintrunner-0.12.7 mypy-1.14.0 onnxscript-0.2.2 sympy-1.13.3 tlparse-0.3.30 z3-solver-4.12.6.0` (cherry picked from commit 30508ff)
1 parent a0ffd4f commit 22d02e8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ pillow==11.0.0
162162
#Pinned versions: 10.3.0
163163
#test that import:
164164

165-
protobuf==5.29.4
166-
#Description: Google's data interchange format
167-
#Pinned versions: 5.29.4
168-
#test that import: test_tensorboard.py, test/onnx/*
165+
protobuf==3.20.2 ; python_version <= "3.12"
166+
protobuf==4.25.1 ; python_version == "3.13"
167+
#Description: Google’s data interchange format
168+
#Pinned versions: 3.20.1
169+
#test that import: test_tensorboard.py
169170

170171
psutil
171172
#Description: information on running processes and system utilization
@@ -320,7 +321,8 @@ pywavelets==1.7.0 ; python_version >= "3.12"
320321
#Pinned versions: 1.4.1
321322
#test that import:
322323

323-
lxml==5.3.0
324+
lxml==5.3.0 ; python_version <= "3.12"
325+
lxml==6.0.0 ; python_version == "3.13"
324326
#Description: This is a requirement of unittest-xml-reporting
325327

326328
# Python-3.9 binaries
@@ -332,8 +334,9 @@ sympy==1.13.3
332334
#Pinned versions:
333335
#test that import:
334336

335-
onnx==1.18.0
336-
#Description: Required by onnx tests, and mypy and test_public_bindings.py when checking torch.onnx._internal
337+
onnx==1.16.1 ; python_version <= "3.12"
338+
onnx==1.18.0 ; python_version == "3.13"
339+
#Description: Required by mypy and test_public_bindings.py when checking torch.onnx._internal
337340
#Pinned versions:
338341
#test that import:
339342

0 commit comments

Comments
 (0)