Skip to content

Commit 752a79c

Browse files
authored
Remove pins for jupyter packages. (#989)
- Use simply the version from our DLVM base image. - Removed the meta-package `jupyter`. It references packages already installed. This ensures we have the jupyter packages in sync with DLVM and ensures compatibility with the Cloud AI Notebook environment.
1 parent 7fabccb commit 752a79c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

Dockerfile

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -302,25 +302,23 @@ RUN pip install bleach && \
302302
pip install decorator && \
303303
pip install entrypoints && \
304304
pip install html5lib && \
305-
# Latest version breaks nbconvert: https://github.com/ipython/ipykernel/issues/422
306-
pip install ipykernel==5.1.1 && \
305+
pip install ipykernel && \
307306
pip install ipython && \
308307
pip install ipython-genutils && \
309308
pip install ipywidgets && \
310309
pip install isoweek && \
311-
# Lastest version breaks ipython. https://github.com/ipython/ipython/issues/12740
312-
pip install jedi==0.17.2 && \
310+
pip install jedi && \
313311
pip install Jinja2 && \
314312
pip install jsonschema && \
315-
pip install jupyter && \
316313
pip install jupyter-client && \
317314
pip install jupyter-console && \
318315
pip install jupyter-core && \
319316
pip install MarkupSafe && \
320317
pip install mistune && \
321318
pip install nbconvert && \
322319
pip install nbformat && \
323-
pip install notebook==5.5.0 && \
320+
pip install notebook && \
321+
pip install papermill && \
324322
pip install olefile && \
325323
pip install kornia && \
326324
pip install pandas_summary && \
@@ -340,9 +338,7 @@ RUN pip install bleach && \
340338
pip install qtconsole && \
341339
pip install six && \
342340
pip install terminado && \
343-
# Latest version (6.0) of tornado breaks Jupyter notebook:
344-
# https://github.com/jupyter/notebook/issues/4439
345-
pip install tornado==5.0.2 && \
341+
pip install tornado && \
346342
pip install tqdm && \
347343
pip install traitlets && \
348344
pip install wcwidth && \
@@ -411,7 +407,6 @@ RUN pip install flashtext && \
411407
pip install nnabla && \
412408
pip install vowpalwabbit && \
413409
# papermill can replace nbconvert for executing notebooks
414-
pip install papermill && \
415410
pip install cloud-tpu-client && \
416411
pip install tensorflow-cloud && \
417412
pip install tensorflow-datasets && \

0 commit comments

Comments
 (0)