From d08ff3e151b8c9751f92c9c634e3219f78e6fa2e Mon Sep 17 00:00:00 2001 From: ethanwee1 Date: Mon, 14 Jul 2025 21:36:22 +0000 Subject: [PATCH 1/2] enable 3.13 --- .ci/docker/requirements-ci.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.ci/docker/requirements-ci.txt b/.ci/docker/requirements-ci.txt index efc058b1d375e..5e924423fc7ec 100644 --- a/.ci/docker/requirements-ci.txt +++ b/.ci/docker/requirements-ci.txt @@ -156,12 +156,13 @@ optree==0.13.0 #test_pointwise_ops.py, test_dtensor_ops.py, test_torchinductor.py, test_fx.py, #test_fake_tensor.py, test_mps.py -pillow==11.0.0 +pillow==11.0.0 ; python_version == "3.13" +pillow==10.3.0 ; python_version <= "3.12" #Description: Python Imaging Library fork #Pinned versions: 10.3.0 #test that import: -protobuf==3.20.2 +protobuf==4.25.1 #Description: Google’s data interchange format #Pinned versions: 3.20.1 #test that import: test_tensorboard.py @@ -324,7 +325,7 @@ pywavelets==1.7.0 ; python_version >= "3.12" #Pinned versions: 1.4.1 #test that import: -lxml==5.3.0 +lxml==6.0.0 #Description: This is a requirement of unittest-xml-reporting # Python-3.9 binaries @@ -336,7 +337,8 @@ sympy==1.13.1 ; python_version >= "3.9" #Pinned versions: #test that import: -onnx==1.17.0 +onnx==1.16.1 ; python_version <= "3.12" +onnx==1.18.0 ; python_version == "3.13" #Description: Required by mypy and test_public_bindings.py when checking torch.onnx._internal #Pinned versions: #test that import: From 10bb933f460d77685f94d158560f49d6580a3188 Mon Sep 17 00:00:00 2001 From: Ethan Wee Date: Mon, 14 Jul 2025 14:50:48 -0700 Subject: [PATCH 2/2] Update requirements-ci.txt --- .ci/docker/requirements-ci.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/docker/requirements-ci.txt b/.ci/docker/requirements-ci.txt index 5e924423fc7ec..3d3746535aee9 100644 --- a/.ci/docker/requirements-ci.txt +++ b/.ci/docker/requirements-ci.txt @@ -156,13 +156,12 @@ optree==0.13.0 #test_pointwise_ops.py, test_dtensor_ops.py, test_torchinductor.py, test_fx.py, #test_fake_tensor.py, test_mps.py -pillow==11.0.0 ; python_version == "3.13" -pillow==10.3.0 ; python_version <= "3.12" +pillow==11.0.0 #Description: Python Imaging Library fork #Pinned versions: 10.3.0 #test that import: - -protobuf==4.25.1 +protobuf==3.20.2 ; python_version <= "3.12" +protobuf==4.25.1 ; python_version == "3.13" #Description: Google’s data interchange format #Pinned versions: 3.20.1 #test that import: test_tensorboard.py @@ -325,7 +324,8 @@ pywavelets==1.7.0 ; python_version >= "3.12" #Pinned versions: 1.4.1 #test that import: -lxml==6.0.0 +lxml==5.3.0 ; python_version <= "3.12" +lxml==6.0.0 ; python_version == "3.13" #Description: This is a requirement of unittest-xml-reporting # Python-3.9 binaries