From fdbf1932f02e19f6af397281397f6668a3ec9b8f Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 29 Jul 2020 16:25:04 +0200 Subject: [PATCH 1/3] image: fix pycortex install with pep518 like Ariel did --- deployments/hub-neurohackademy-org/image/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/hub-neurohackademy-org/image/environment.yml b/deployments/hub-neurohackademy-org/image/environment.yml index 15384dd..db65658 100644 --- a/deployments/hub-neurohackademy-org/image/environment.yml +++ b/deployments/hub-neurohackademy-org/image/environment.yml @@ -67,7 +67,7 @@ dependencies: - testkraken - seaborn - statsmodels - - pycortex + - git+https://github.com/consideRatio/pycortex.git@pep518 - tables # ----------------------------------------------------------------------- From eb4509b0f283e751803c309d4284436794aa38b7 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 29 Jul 2020 16:25:27 +0200 Subject: [PATCH 2/3] image: install the @jupyterlab/server-proxy labextension --- deployments/hub-neurohackademy-org/image/postBuild | 1 + 1 file changed, 1 insertion(+) diff --git a/deployments/hub-neurohackademy-org/image/postBuild b/deployments/hub-neurohackademy-org/image/postBuild index 8fb25ba..8fbf067 100644 --- a/deployments/hub-neurohackademy-org/image/postBuild +++ b/deployments/hub-neurohackademy-org/image/postBuild @@ -7,6 +7,7 @@ jupyter labextension install --dev-build=False --minimize=True \ @jupyter-voila/jupyterlab-preview \ @jupyter-widgets/jupyterlab-manager \ + @jupyterlab/server-proxy \ bqplot \ ipyvolume \ jupyterlab-datawidgets \ From cf370580202dd8bc766625ccc6d403d52d990af9 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 29 Jul 2020 16:29:07 +0200 Subject: [PATCH 3/3] image: add dask-labextension --- deployments/hub-neurohackademy-org/image/environment.yml | 1 + deployments/hub-neurohackademy-org/image/postBuild | 2 ++ 2 files changed, 3 insertions(+) diff --git a/deployments/hub-neurohackademy-org/image/environment.yml b/deployments/hub-neurohackademy-org/image/environment.yml index db65658..840636d 100644 --- a/deployments/hub-neurohackademy-org/image/environment.yml +++ b/deployments/hub-neurohackademy-org/image/environment.yml @@ -69,6 +69,7 @@ dependencies: - statsmodels - git+https://github.com/consideRatio/pycortex.git@pep518 - tables + - dask_labextension # also install jupyterlab extension and enable the serverextension in postBuild! # ----------------------------------------------------------------------- # Needed by the neurohackademy Helm chart diff --git a/deployments/hub-neurohackademy-org/image/postBuild b/deployments/hub-neurohackademy-org/image/postBuild index 8fbf067..e016c4a 100644 --- a/deployments/hub-neurohackademy-org/image/postBuild +++ b/deployments/hub-neurohackademy-org/image/postBuild @@ -9,6 +9,7 @@ jupyter labextension install --dev-build=False --minimize=True \ @jupyter-widgets/jupyterlab-manager \ @jupyterlab/server-proxy \ bqplot \ + dask-labextension \ ipyvolume \ jupyterlab-datawidgets \ jupyterlab-plotly \ @@ -17,3 +18,4 @@ jupyter labextension install --dev-build=False --minimize=True \ # Enable use of a /voila path like /lab and /tree jupyter serverextension enable --sys-prefix voila +jupyter serverextension enable --sys-prefix --py dask_labextension