From 555638166f69599233d06ba948801151ef879ab5 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 3 Mar 2020 08:55:01 +0100 Subject: [PATCH 1/3] Add support to JupyterLab 2 Signed-off-by: martinRenou --- js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/package.json b/js/package.json index 9521d7f7..ba7b7154 100644 --- a/js/package.json +++ b/js/package.json @@ -30,6 +30,6 @@ "webpack-cli": "^3.3.11" }, "dependencies": { - "@jupyter-widgets/base": "^2.0.0" + "@jupyter-widgets/base": "^2 || ^3" } } From 1f2bd4dc4f4ca476f38e91421a1bcf42fb488020 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 3 Mar 2020 08:55:29 +0100 Subject: [PATCH 2/3] Test against JupyterLab 2 on travis Signed-off-by: martinRenou --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 476ba445..7c1e7d34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ install: - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a -- conda install -c conda-forge nodejs notebook matplotlib ipywidgets selenium jupyterlab=1 +- conda install -c conda-forge nodejs notebook matplotlib ipywidgets selenium jupyterlab - pip install -v . script: - jupyter nbextension install --py --symlink --sys-prefix ipympl From 15462c80e0744f5bb3b32a372675b09bd9fb0132 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 3 Mar 2020 09:10:56 +0100 Subject: [PATCH 3/3] selenium_check -> browser_check Signed-off-by: martinRenou --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7c1e7d34..048f5c7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,12 +21,12 @@ install: - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a -- conda install -c conda-forge nodejs notebook matplotlib ipywidgets selenium jupyterlab +- conda install -c conda-forge nodejs notebook matplotlib ipywidgets jupyterlab - pip install -v . script: - jupyter nbextension install --py --symlink --sys-prefix ipympl - jupyter nbextension enable --py --sys-prefix ipympl - jupyter labextension list 2>&1 | grep -q jupyter-matplotlib - jupyter labextension install @jupyter-widgets/jupyterlab-manager -- python -m jupyterlab.selenium_check --NotebookApp.ip=127.0.0.1 - jupyter labextension link js +- python -m jupyterlab.browser_check --NotebookApp.ip=127.0.0.1