Skip to content

Commit 37029dc

Browse files
jithunnair-amdethanwee1
authored andcommitted
[release/2.8] Upgrade numpy versions; Use different package versions for py3.9;
upgrade tensorboard compatible with numpy 2 Co-authored-by: Ethan Wee <[email protected]> (cherry picked from commit e867a3d) (cherry picked from commit c7a1e32) (cherry picked from commit 2a215e4) (cherry picked from commit 866cc1d) (cherry picked from commit 4b46310)
1 parent 0553283 commit 37029dc

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ ninja==1.11.1.3
113113
#test that import: run_test.py, test_cpp_extensions_aot.py,test_determination.py
114114

115115
numba==0.49.0 ; python_version < "3.9" and platform_machine != "s390x"
116-
numba==0.55.2 ; python_version == "3.9" and platform_machine != "s390x"
117-
numba==0.55.2 ; python_version == "3.10" and platform_machine != "s390x"
118-
numba==0.60.0 ; python_version == "3.12" and platform_machine != "s390x"
116+
numba==0.60.0 ; python_version == "3.9" and platform_machine != "s390x"
117+
numba==0.61.2 ; python_version > "3.9" and platform_machine != "s390x"
119118
#Description: Just-In-Time Compiler for Numerical Functions
120119
#Pinned versions: 0.54.1, 0.49.0, <=0.49.1
121120
#test that import: test_numba_integration.py
@@ -134,12 +133,10 @@ numba==0.60.0 ; python_version == "3.12" and platform_machine != "s390x"
134133
#test_nn.py, test_namedtensor.py, test_linalg.py, test_jit_cuda_fuser.py,
135134
#test_jit.py, test_indexing.py, test_datapipe.py, test_dataloader.py,
136135
#test_binary_ufuncs.py
137-
numpy==1.22.4; python_version == "3.9" or python_version == "3.10"
138-
numpy==1.26.2; python_version == "3.11" or python_version == "3.12"
139-
numpy==2.1.2; python_version >= "3.13"
136+
numpy==2.0.2 ; python_version == "3.9"
137+
numpy==2.1.2 ; python_version > "3.9"
140138

141-
pandas==2.0.3; python_version < "3.13"
142-
pandas==2.2.3; python_version >= "3.13"
139+
pandas==2.2.3
143140

144141
#onnxruntime
145142
#Description: scoring engine for Open Neural Network Exchange (ONNX) models
@@ -250,8 +247,8 @@ scikit-image==0.22.0 ; python_version >= "3.10"
250247
#Pinned versions: 0.20.3
251248
#test that import:
252249

253-
scipy==1.10.1 ; python_version <= "3.11"
254-
scipy==1.14.1 ; python_version >= "3.12"
250+
scipy==1.13.1 ; python_version == "3.9"
251+
scipy==1.14.1 ; python_version > "3.9"
255252
# Pin SciPy because of failing distribution tests (see #60347)
256253
#Description: scientific python
257254
#Pinned versions: 1.10.1
@@ -310,8 +307,7 @@ z3-solver==4.15.1.0 ; platform_machine != "s390x"
310307
#Pinned versions:
311308
#test that import:
312309

313-
tensorboard==2.13.0 ; python_version < "3.13"
314-
tensorboard==2.18.0 ; python_version >= "3.13"
310+
tensorboard==2.18.0
315311
#Description: Also included in .ci/docker/requirements-docs.txt
316312
#Pinned versions:
317313
#test that import: test_tensorboard

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ hypothesis
1212
jinja2
1313
lintrunner ; platform_machine != "s390x" and platform_machine != "riscv64"
1414
networkx>=2.5.1
15+
ninja
16+
numpy==2.0.2 ; python_version == "3.9"
17+
numpy==2.1.2 ; python_version > "3.9"
1518
optree>=0.13.0
1619
psutil
1720
sympy>=1.13.3

0 commit comments

Comments
 (0)