From fe7b636e5f6d76c4cd011349b9222d465ddbd6a9 Mon Sep 17 00:00:00 2001 From: Jithun Nair Date: Wed, 11 Jun 2025 23:10:30 +0000 Subject: [PATCH 1/2] Use different versions for py3.9 --- .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 b3523a891f53e..eca516fd4e937 100644 --- a/.ci/docker/requirements-ci.txt +++ b/.ci/docker/requirements-ci.txt @@ -113,7 +113,8 @@ ninja==1.11.1.3 #Pinned versions: 1.11.1.3 #test that import: run_test.py, test_cpp_extensions_aot.py,test_determination.py -numba==0.61.2 +numba==0.60.0 ; python_version == "3.9" +numba==0.61.2 ; python_version > "3.9" #Pinned versions: 0.54.1, 0.49.0, <=0.49.1 #test that import: test_numba_integration.py #For numba issue see https://github.com/pytorch/pytorch/issues/51511 @@ -130,7 +131,8 @@ numba==0.61.2 #test_nn.py, test_namedtensor.py, test_linalg.py, test_jit_cuda_fuser.py, #test_jit.py, test_indexing.py, test_datapipe.py, test_dataloader.py, #test_binary_ufuncs.py -numpy==2.1.2 +numpy==2.0.2 ; python_version == "3.9" +numpy==2.1.2 ; python_version > "3.9" pandas==2.2.3 #onnxruntime @@ -242,8 +244,8 @@ scikit-image==0.22.0 ; python_version >= "3.10" #Pinned versions: 0.20.3 #test that import: -scipy==1.10.1 ; python_version <= "3.11" -scipy==1.14.1 ; python_version >= "3.12" +scipy==1.13.1 ; python_version == "3.9" +scipy==1.14.1 ; python_version > "3.9" # Pin SciPy because of failing distribution tests (see #60347) #Description: scientific python #Pinned versions: 1.10.1 From a11d94ad20f5b666adec4d44d1ab97280b12d6bf Mon Sep 17 00:00:00 2001 From: Jithun Nair Date: Thu, 12 Jun 2025 05:19:07 +0000 Subject: [PATCH 2/2] Sync requirements.txt to requirements-ci.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 19022d173aa74..35fe509adffaf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,8 @@ jinja2 lintrunner ; platform_machine != "s390x" networkx ninja -numpy==2.1.2 +numpy==2.0.2 ; python_version == "3.9" +numpy==2.1.2 ; python_version > "3.9" optree>=0.13.0 packaging psutil