Skip to content

Commit 38f83f4

Browse files
authored
Install py4j. (#1099)
The latest version of `hyperopt` (0.2.6) requires `py4j` but doesn't list it as a requirement. This caused our tests to start failing. `py4j` is a package to access Java objects. http://b/206631257
1 parent 870bc49 commit 38f83f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ RUN pip install mpld3 && \
239239
pip install haversine && \
240240
pip install toolz cytoolz && \
241241
pip install plotly && \
242+
# b/206631257: hyperopt requires py4j >= 0.2.6 requires py4j but doesn't list it as a dependency. Remove once hyperopt properly list it.
243+
pip install py4j && \
242244
pip install hyperopt && \
243245
pip install fitter && \
244246
pip install langid && \

0 commit comments

Comments
 (0)