Skip to content

Commit 9f49346

Browse files
committed
conditional numpy version
1 parent cfeadb4 commit 9f49346

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements/fabric/test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
coverage ==7.11.0; python_version >= "3.10"
22
coverage ==7.10.7; python_version < "3.10"
3-
numpy >=1.21.0, <1.27.0
3+
numpy >=1.21.0, <1.27.0; python_version < "3.13"
4+
numpy >=2.1.0, <2.3.0; python_version >= "3.13"
45
pytest ==8.4.2
56
pytest-cov ==7.0.0
67
pytest-timeout ==2.4.0

requirements/pytorch/test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ pytest-random-order ==1.2.0
1010
# needed in tests
1111
cloudpickle >=1.3, <3.2.0
1212
scikit-learn >0.22.1, <1.8.0
13-
numpy >1.20.0, <1.27.0
13+
numpy >=1.21.0, <1.27.0; python_version < "3.13"
14+
numpy >=2.1.0, <2.3.0; python_version >= "3.13"
1415
onnx >1.12.0, <1.20.0
1516
onnxruntime >=1.12.0, <1.24.0
1617
onnxscript >= 0.1.0, < 0.6.0

0 commit comments

Comments
 (0)