Skip to content

Commit

Permalink
chore(deps): set temporarily the version of jupyterlab-git
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Nov 8, 2023
1 parent c19b865 commit 14cd447
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion jupyter/Dockerfile
Expand Up @@ -5,8 +5,9 @@ LABEL maintainer="InseeFrLab <innovation@insee.fr>"

USER root

# Install JupyterLab
RUN /opt/install-jupyterlab.sh && \
# Install JupyterLab extensions
pip install --pre jupyterlab-git==0.50.0rc0 && \
# If using Conda and Julia is installed, make its kernel available in Jupyter
if command -v julia && [ -n "$MAMBA_DIR" ]; then \
julia -e 'using Pkg; pkg"add IJulia"; pkg"precompile"' && \
Expand Down
8 changes: 2 additions & 6 deletions scripts/install-jupyterlab.sh
Expand Up @@ -3,12 +3,8 @@ set -e

# If Conda is installed, use it to install Jupyterlab
if command -v mamba ; then
mamba install -y jupyterlab jupyterlab-git
mamba install -y jupyterlab
else
# Else, install via pip
if [ "`which pip3`" = "" ]; then
apt-get update
apt-get install -y --no-install-recommends python3-pip
fi
pip install jupyterlab jupyterlab-git
pip install jupyterlab
fi

0 comments on commit 14cd447

Please sign in to comment.