Skip to content

Commit

Permalink
Merge pull request #204 from GeorgianaElena/jupyterlab3
Browse files Browse the repository at this point in the history
Upgrade to JupyterLab 3.0
  • Loading branch information
GeorgianaElena authored Jun 4, 2021
2 parents 27be2de + 8291481 commit 55e083c
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 68 deletions.
2 changes: 1 addition & 1 deletion hub-templates/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jupyterhub:
hub.jupyter.org/node-purpose: user
image:
name: set_automatically_by_automation
tag: 524cf58
tag: 0d5aa48
storage:
type: static
static:
Expand Down
7 changes: 2 additions & 5 deletions images/user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,9 @@ RUN sed -i -e '/^R_LIBS_USER=/s/^/#/' /etc/R/Renviron && \

USER ${NB_USER}

COPY environment.yml /tmp/
COPY requirements.txt /tmp/

RUN conda env update -p ${CONDA_DIR} -f /tmp/environment.yml

COPY install-jupyter-extensions.bash /tmp/install-jupyter-extensions.bash
RUN /tmp/install-jupyter-extensions.bash
RUN python3 -m pip install -r /tmp/requirements.txt

# Set CRAN mirror to rspm before we install anything
COPY Rprofile.site /usr/lib/R/etc/Rprofile.site
Expand Down
52 changes: 0 additions & 52 deletions images/user/environment.yml

This file was deleted.

10 changes: 0 additions & 10 deletions images/user/install-jupyter-extensions.bash

This file was deleted.

42 changes: 42 additions & 0 deletions images/user/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
numpy
scipy
matplotlib
pandas
seaborn
sympy
networkx
scikit-learn
beautifulsoup4
statsmodels
nltk
spacy
geopandas
# From https://github.com/utoronto-2i2c/jupyterhub-deploy/issues/29
astroquery
astropy
galpy
catalystcoop.pudl
dask==2020.12.0
distributed==2020.12.0
dask-gateway==0.9.0
# Infrastructure things
jupyterlab==3.*
voila==0.2.6
nbgitpuller==0.9.*
jupyter-resource-usage==0.5.0
RISE==5.7.1
jupyter_contrib_nbextensions==0.5.1
notebook==6.1.4
jupyterhub==1.3.0
jupyter-rsession-proxy==1.2
jupyter-tree-download==1.0.1
ipywidgets==7.5.1
otter-grader==2.1.7
datascience
geojson
folium
geopy
# JupyterLab extensions
jupyterlab_widgets==1.0.*
jupytext==1.10.*
jupyter-server-proxy==3.0.2

0 comments on commit 55e083c

Please sign in to comment.