From 9662d437c4ceeed624dcb074c6e9c6a48404612d Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 25 Jun 2020 19:10:18 +0530 Subject: [PATCH] Upgrade JupyterLab version 2.x has been around for a while --- tljh/installer.py | 4 +++- tljh/requirements-base.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tljh/installer.py b/tljh/installer.py index 1fed0ff..b18e2ac 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -170,7 +170,9 @@ def ensure_jupyterlab_extensions(): Install the JupyterLab extensions we want. """ extensions = [ - '@jupyter-widgets/jupyterlab-manager@1.1' # for jupyterlab 1.2.x + # We don't pin versions here, since labextension will find something + # appropriate for our version of jupyterlab + '@jupyter-widgets/jupyterlab-manager' ] install_options = [ '--no-build' # do not build extension at install time. Will build later diff --git a/tljh/requirements-base.txt b/tljh/requirements-base.txt index ea0e45c..9312b44 100644 --- a/tljh/requirements-base.txt +++ b/tljh/requirements-base.txt @@ -5,7 +5,7 @@ jupyterhub==1.0.* notebook==6.0.* # Install additional notebook frontends! -jupyterlab==1.2.* +jupyterlab==2.* nteract-on-jupyter==2.1.* # nbgitpuller for easily pulling in Git repositories nbgitpuller==0.7.*