Skip to content

Commit 30508ff

Browse files
authored
[release/2.7] 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`
1 parent fe3d37a commit 30508ff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.ci/docker/requirements-ci.txt

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

165-
protobuf==3.20.2
165+
protobuf==3.20.2 ; python_version <= "3.12"
166+
protobuf==4.25.1 ; python_version == "3.13"
166167
#Description: Google’s data interchange format
167168
#Pinned versions: 3.20.1
168169
#test that import: test_tensorboard.py
@@ -325,7 +326,8 @@ pywavelets==1.7.0 ; python_version >= "3.12"
325326
#Pinned versions: 1.4.1
326327
#test that import:
327328

328-
lxml==5.3.0
329+
lxml==5.3.0 ; python_version <= "3.12"
330+
lxml==6.0.0 ; python_version == "3.13"
329331
#Description: This is a requirement of unittest-xml-reporting
330332

331333
# Python-3.9 binaries
@@ -337,7 +339,8 @@ sympy==1.13.3
337339
#Pinned versions:
338340
#test that import:
339341

340-
onnx==1.17.0
342+
onnx==1.16.1 ; python_version <= "3.12"
343+
onnx==1.18.0 ; python_version == "3.13"
341344
#Description: Required by mypy and test_public_bindings.py when checking torch.onnx._internal
342345
#Pinned versions:
343346
#test that import:

0 commit comments

Comments
 (0)