Skip to content

Commit 56810e1

Browse files
simon-morkooo567
authored andcommitted
[Hotfix] Pin opencv-python-headless==4.3.0.36 (#10049)
1 parent 46af99e commit 56810e1

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

ci/asan_tests/ray-project/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kubernetes
1212
lxml
1313
networkx
1414
numba
15-
opencv-python-headless
15+
opencv-python-headless==4.3.0.36
1616
openpyxl
1717
pandas==0.24.2
1818
Pillow

doc/requirements-doc.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ flatbuffers
77
jsonschema
88
mock
99
numpy
10-
opencv-python-headless
10+
opencv-python-headless==4.3.0.36
1111
pandas
1212
pickle5
1313
pillow

docker/examples/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN conda install -y numpy
77
# Needed to run Tune example with a 'plot' call - which does not actually render a plot, but throws an error.
88
RUN apt-get install -y zlib1g-dev libgl1-mesa-dev
99
RUN pip install -U pip
10-
RUN pip install gym[atari] opencv-python-headless tensorflow lz4 pytest-timeout smart_open tensorflow_probability dm_tree
10+
RUN pip install gym[atari] opencv-python-headless==4.3.0.36 tensorflow lz4 pytest-timeout smart_open tensorflow_probability dm_tree
1111
RUN pip install -U h5py # Mutes FutureWarnings
1212
RUN pip install --upgrade bayesian-optimization hyperopt
1313
RUN pip install ConfigSpace==0.4.10

python/ray/tune/requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
flake8==3.7.7
22
flake8-quotes
33
gym
4-
opencv-python
4+
opencv-python-headless==4.3.0.36
55
pandas
66
requests
77
tabulate

python/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dm_tree
3131
flask
3232
gym[atari]
3333
lz4
34-
opencv-python-headless
34+
opencv-python-headless==4.3.0.36
3535
pandas==1.0.5
3636
scipy==1.4.1
3737
tabulate

python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"dm_tree",
120120
"gym[atari]",
121121
"lz4",
122-
"opencv-python-headless",
122+
"opencv-python-headless<=4.3.0.36",
123123
"pyyaml",
124124
"scipy",
125125
]

0 commit comments

Comments
 (0)