Skip to content

Commit 590e2ed

Browse files
authored
[release/2.11] Bump multiple dependencies to run CI on python 3.14 (#3423)
The Rock CI environment has a problem building dependencies that don't have python 3.14 binaries. Bumping those dependencies to the minimal version that provides python 3.14 binaries. Bumping following versions for 3.14 only: mypy 1.17.1 networkx 3.0.0 pillow 12.0.0 scikit-image 0.26.0 pywavelets 1.9.0 pyzstd 0.18.0
1 parent b2b5485 commit 590e2ed

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

.ci/docker/requirements-ci.txt

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,16 @@ librosa==0.10.2 ; python_version == "3.12" and platform_machine != "s390x"
9898
#Pinned versions:
9999
#test that import:
100100

101-
mypy==1.16.0 ; platform_system == "Linux"
101+
mypy==1.16.0 ; platform_system == "Linux" and python_version < "3.14"
102+
mypy==1.17.1 ; platform_system == "Linux" and python_version >= "3.14"
102103
# Pin MyPy version because new errors are likely to appear with each release
103104
# Skip on Windows as lots of type annotations are POSIX specific
104105
#Description: linter
105-
#Pinned versions: 1.16.0
106+
#Pinned versions: 1.16.0, 1.17.1
106107
#test that import: test_typing.py, test_type_hints.py
107108

108-
networkx==2.8.8
109+
networkx==2.8.8 ; python_version < "3.14"
110+
networkx==3.0.0 ; python_version >= "3.14"
109111
#Description: creation, manipulation, and study of
110112
#the structure, dynamics, and functions of complex networks
111113
#Pinned versions: 2.8.8
@@ -142,8 +144,7 @@ numpy==2.0.2 ; python_version == "3.9"
142144
numpy==2.1.2 ; python_version > "3.9" and python_version < "3.14"
143145
numpy==2.3.4; python_version >= "3.14"
144146

145-
pandas==2.0.3; python_version < "3.13"
146-
pandas==2.2.3; python_version >= "3.13" and python_version < "3.14"
147+
pandas==2.2.3; python_version < "3.14"
147148
pandas==2.3.3; python_version >= "3.14"
148149

149150
#onnxruntime
@@ -170,9 +171,10 @@ optree==0.17.0 ; python_version >= "3.14"
170171
#test_pointwise_ops.py, test_dtensor_ops.py, test_torchinductor.py, test_fx.py,
171172
#test_fake_tensor.py, test_mps.py
172173

173-
pillow==11.0.0
174+
pillow==11.0.0 ; python_version < "3.14"
175+
pillow==12.0.0 ; python_version >= "3.14"
174176
#Description: Python Imaging Library fork
175-
#Pinned versions: 11.0.0
177+
#Pinned versions: 11.0.0, 12.0.0
176178
#test that import:
177179

178180
protobuf==6.33.5
@@ -245,9 +247,10 @@ pygments==2.15.0
245247
#Pinned versions: 14.1.0
246248
#test that import:
247249

248-
scikit-image==0.22.0
250+
scikit-image==0.22.0 ; python_version < "3.14"
251+
scikit-image==0.26.0 ; python_version >= "3.14"
249252
#Description: image processing routines
250-
#Pinned versions: 0.22.0
253+
#Pinned versions: 0.22.0, 0.26.0
251254
#test that import: test_nn.py
252255

253256
#scikit-learn
@@ -323,7 +326,8 @@ tensorboard==2.18.0
323326
#test that import: test_tensorboard
324327

325328
pywavelets==1.4.1 ; python_version < "3.12"
326-
pywavelets==1.7.0 ; python_version >= "3.12"
329+
pywavelets==1.7.0 ; python_version >= "3.12" and python_version < "3.14"
330+
pywavelets==1.9.0 ; python_version >= "3.14"
327331
#Description: This is a requirement of scikit-image, we need to pin
328332
# it here because 1.5.0 conflicts with numpy 1.21.2 used in CI
329333
#Pinned versions: 1.4.1
@@ -371,7 +375,8 @@ pwlf==2.2.1
371375

372376
# To build PyTorch itself
373377
pyyaml==6.0.3
374-
pyzstd==0.16.2
378+
pyzstd==0.16.2 ; python_version < "3.14"
379+
pyzstd==0.18.0 ; python_version >= "3.14"
375380
setuptools==79.0.1
376381
packaging==25.0
377382
six==1.17.0

0 commit comments

Comments
 (0)