Skip to content

Commit

Permalink
feat: upgrade JupyterLab to 3.0.x (#137)
Browse files Browse the repository at this point in the history
Co-authored-by: Chandrasekhar Ramakrishnan <[email protected]>
Co-authored-by: Rok Roskar <[email protected]>
  • Loading branch information
3 people authored Jul 9, 2021
1 parent 23d30d4 commit 274c0d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docker/cuda-tf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ RUN ln -s $(which python3) /usr/local/bin/python
# Installs the latest version by default.
USER $NB_USER
ARG TF_PACKAGE=tensorflow-gpu
ARG TF_PACKAGE_VERSION=2.4
ARG TF_PACKAGE_VERSION=2.5.0
RUN python3 -m pip install --no-cache-dir ${TF_PACKAGE}${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}

# Tensorboard jupyter(lab) extension
Expand Down
10 changes: 4 additions & 6 deletions docker/py/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run with the RenkuKubeSpawner via JupyterHub
ARG BASE_IMAGE=jupyter/base-notebook:aec555e49be6
ARG BASE_IMAGE=jupyter/base-notebook:lab-3.0.16
FROM $BASE_IMAGE as base

LABEL maintainer="Swiss Data Science Center <[email protected]>"
Expand Down Expand Up @@ -45,11 +45,9 @@ USER $NB_USER
COPY requirements.txt /tmp/requirements.txt
RUN python3 -m pip install --no-cache -U pip && \
python3 -m pip install --no-cache -r /tmp/requirements.txt && \
jupyter labextension install --no-build @jupyterlab/toc && \
jupyter labextension install --no-build jupyterlab-topbar-extension jupyterlab-system-monitor && \
jupyter lab build && \
jupyter labextension list && \
npm cache clean --force && \
# jupyter lab build && \
# jupyter labextension list && \
# npm cache clean --force && \
rm -rf /home/${NB_USER}/.cache

# fix https://github.com/SwissDataScienceCenter/renku-jupyter/issues/14
Expand Down
15 changes: 7 additions & 8 deletions docker/py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
jupyterhub==1.2.2
jupyterlab-git==0.23.3
jupyterlab_server<2.0
jupyter-server-proxy==1.6.0
nbresuse==0.4.0
nbclient<0.5.1
papermill==2.3.1
jupyter-server-proxy~=3.1.0
jupyterhub~=1.4.0
jupyterlab-git==0.30.1
jupyterlab-system-monitor~=0.8.0
jupyterlab~=3.0.0
papermill~=2.3.0
pipx>=0.15.0.0
powerline-shell==0.7.0
powerline-shell~=0.7.0
requests>=2.20.0

0 comments on commit 274c0d4

Please sign in to comment.