Skip to content

Commit 2fd46f8

Browse files
authored
[release/2.6] pin requirements (#1986)
Reattempt of #1928 Validation: http://rocm-ci.amd.com/job/pytorch2.6-manylinux-wheels_rel-6.4-preview/20/
1 parent 7ad5a0a commit 2fd46f8

File tree

2 files changed

+26
-23
lines changed

2 files changed

+26
-23
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ boto3==1.35.42
1010
#Pinned versions: 1.19.12, 1.16.34
1111
#test that import:
1212

13-
click
13+
click==8.1.8
1414
#Description: Command Line Interface Creation Kit
1515
#Pinned versions:
1616
#test that import:
@@ -191,7 +191,7 @@ pytest-flakefinder==1.1.0
191191
#Pinned versions: 1.1.0
192192
#test that import:
193193

194-
pytest-rerunfailures>=10.3
194+
pytest-rerunfailures==10.3
195195
#Description: plugin for rerunning failure tests in pytest
196196
#Pinned versions:
197197
#test that import:
@@ -272,7 +272,7 @@ tlparse==0.3.7
272272
#test that import: dynamo/test_structured_trace.py
273273

274274
# needed by torchgen utils
275-
typing-extensions>=4.10.0
275+
typing-extensions==4.12.2
276276
#Description: type hints for python
277277
#Pinned versions:
278278
#test that import:
@@ -293,7 +293,7 @@ lintrunner==0.12.5
293293
#Pinned versions: 0.12.5
294294
#test that import:
295295

296-
redis>=4.0.0
296+
redis==4.0.0
297297
#Description: redis database
298298
#test that import: anything that tests OSS caching/mocking (inductor/test_codecache.py, inductor/test_max_autotune.py)
299299

@@ -379,3 +379,4 @@ pulp==2.9.0 ; python_version >= "3.8"
379379
#Description: required for testing ilp formulaiton under torch/distributed/_tools
380380
#Pinned versions: 2.9.0
381381
#test that import: test_sac_ilp.py
382+

requirements.txt

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
# Python dependencies required for development
2-
astunparse
3-
expecttest>=0.2.1
4-
hypothesis
5-
numpy
6-
psutil
7-
pyyaml
8-
requests
9-
setuptools
10-
types-dataclasses
11-
typing-extensions>=4.10.0
2+
astunparse==1.6.3
3+
expecttest==0.2.1
4+
hypothesis==5.35.1
5+
numpy==1.22.4; python_version == "3.9" or python_version == "3.10"
6+
numpy==1.26.2; python_version == "3.11" or python_version == "3.12"
7+
numpy==2.1.2; python_version >= "3.13"
8+
psutil==7.0.0
9+
pyyaml==6.0.2
10+
requests==2.32.3
11+
setuptools==75.8.0
12+
types-dataclasses==0.6.6
13+
typing-extensions==4.12.2
1214
sympy==1.13.1 ; python_version >= "3.9"
13-
filelock
14-
networkx
15-
jinja2
16-
fsspec
17-
lintrunner
18-
ninja
19-
packaging
20-
optree>=0.13.0
21-
cmake
15+
filelock==3.17.0
16+
networkx==2.8.8
17+
Jinja2==3.1.4
18+
fsspec==2025.3.0
19+
lintrunner==0.12.5
20+
ninja==1.11.1.3
21+
packaging==24.2
22+
optree==0.13.0
23+
cmake==3.31.4

0 commit comments

Comments
 (0)