Skip to content

Commit ceab24d

Browse files
malfetpytorchmergebot
authored andcommitted
[CI] Unify numpy version for python-3.9 and 3.10 configs (pytorch#139244)
Per dependabot numpy-1.21 is subject of CVE-2021-34141 so perhaps it's ok not to test against it Pull Request resolved: pytorch#139244 Approved by: https://github.com/huydhn
1 parent 3495ef7 commit ceab24d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ numba==0.55.2 ; python_version == "3.10"
128128
#test_nn.py, test_namedtensor.py, test_linalg.py, test_jit_cuda_fuser.py,
129129
#test_jit.py, test_indexing.py, test_datapipe.py, test_dataloader.py,
130130
#test_binary_ufuncs.py
131-
numpy==1.21.2; python_version == "3.9"
132-
numpy==1.22.4; python_version == "3.10"
131+
numpy==1.22.4; python_version == "3.9" or python_version == "3.10"
133132
numpy==1.26.2; python_version == "3.11" or python_version == "3.12"
134133
numpy==2.1.2; python_version >= "3.13"
135134

0 commit comments

Comments
 (0)