Skip to content

Commit 3a2af82

Browse files
ethanwee1jeffdaily
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) (cherry picked from commit 22d02e8)
1 parent 144ed6e commit 3a2af82

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
@@ -166,10 +166,11 @@ pillow==11.0.0
166166
#Pinned versions: 10.3.0
167167
#test that import:
168168

169-
protobuf==5.29.4
170-
#Description: Google's data interchange format
171-
#Pinned versions: 5.29.4
172-
#test that import: test_tensorboard.py, test/onnx/*
169+
protobuf==3.20.2 ; python_version <= "3.12"
170+
protobuf==4.25.1 ; python_version == "3.13"
171+
#Description: Google’s data interchange format
172+
#Pinned versions: 3.20.1
173+
#test that import: test_tensorboard.py
173174

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

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

325327
# Python-3.9 binaries
@@ -331,8 +333,9 @@ sympy==1.13.3
331333
#Pinned versions:
332334
#test that import:
333335

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

0 commit comments

Comments
 (0)