From 14c2201be6d41ba7776149793c77abfb3d27d521 Mon Sep 17 00:00:00 2001 From: Mathis <84033116+mathis-marcotte@users.noreply.github.com> Date: Wed, 8 Nov 2023 08:08:23 -0500 Subject: [PATCH] Fix disabled jupyterlab extensions (#550) * pinned jupyterlab_execute_time package version --------- Co-authored-by: Mathis Marcotte --- docker-bits/6_jupyterlab.Dockerfile | 4 +++- output/jupyterlab-cpu/Dockerfile | 4 +++- output/jupyterlab-pytorch/Dockerfile | 4 +++- output/jupyterlab-tensorflow/Dockerfile | 4 +++- output/sas/Dockerfile | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docker-bits/6_jupyterlab.Dockerfile b/docker-bits/6_jupyterlab.Dockerfile index 6f9f8fbd3..182c7348e 100644 --- a/docker-bits/6_jupyterlab.Dockerfile +++ b/docker-bits/6_jupyterlab.Dockerfile @@ -60,7 +60,9 @@ RUN pip install \ 'ipympl' \ 'jupyter-server-proxy' \ 'jupyterlab-language-pack-fr-fr' \ - 'jupyterlab_execute_time' \ + # pinned version of package to fix dependency issues with jupyterlab v4 + # remove pin when jupyterlab extensions are caught up to v4 + 'jupyterlab_execute_time==2.3.1' \ 'nb_conda_kernels' \ 'jupyterlab-lsp' \ 'jupyter-lsp' && \ diff --git a/output/jupyterlab-cpu/Dockerfile b/output/jupyterlab-cpu/Dockerfile index d2df693ce..e0f7775ce 100644 --- a/output/jupyterlab-cpu/Dockerfile +++ b/output/jupyterlab-cpu/Dockerfile @@ -212,7 +212,9 @@ RUN pip install \ 'ipympl' \ 'jupyter-server-proxy' \ 'jupyterlab-language-pack-fr-fr' \ - 'jupyterlab_execute_time' \ + # pinned version of package to fix dependency issues with jupyterlab v4 + # remove pin when jupyterlab extensions are caught up to v4 + 'jupyterlab_execute_time==2.3.1' \ 'nb_conda_kernels' \ 'jupyterlab-lsp' \ 'jupyter-lsp' && \ diff --git a/output/jupyterlab-pytorch/Dockerfile b/output/jupyterlab-pytorch/Dockerfile index c7398e006..65676c79f 100644 --- a/output/jupyterlab-pytorch/Dockerfile +++ b/output/jupyterlab-pytorch/Dockerfile @@ -234,7 +234,9 @@ RUN pip install \ 'ipympl' \ 'jupyter-server-proxy' \ 'jupyterlab-language-pack-fr-fr' \ - 'jupyterlab_execute_time' \ + # pinned version of package to fix dependency issues with jupyterlab v4 + # remove pin when jupyterlab extensions are caught up to v4 + 'jupyterlab_execute_time==2.3.1' \ 'nb_conda_kernels' \ 'jupyterlab-lsp' \ 'jupyter-lsp' && \ diff --git a/output/jupyterlab-tensorflow/Dockerfile b/output/jupyterlab-tensorflow/Dockerfile index 864053df1..d6c0ebfc6 100644 --- a/output/jupyterlab-tensorflow/Dockerfile +++ b/output/jupyterlab-tensorflow/Dockerfile @@ -341,7 +341,9 @@ RUN pip install \ 'ipympl' \ 'jupyter-server-proxy' \ 'jupyterlab-language-pack-fr-fr' \ - 'jupyterlab_execute_time' \ + # pinned version of package to fix dependency issues with jupyterlab v4 + # remove pin when jupyterlab extensions are caught up to v4 + 'jupyterlab_execute_time==2.3.1' \ 'nb_conda_kernels' \ 'jupyterlab-lsp' \ 'jupyter-lsp' && \ diff --git a/output/sas/Dockerfile b/output/sas/Dockerfile index 2f4c14bf4..8b4f7a891 100644 --- a/output/sas/Dockerfile +++ b/output/sas/Dockerfile @@ -214,7 +214,9 @@ RUN pip install \ 'ipympl' \ 'jupyter-server-proxy' \ 'jupyterlab-language-pack-fr-fr' \ - 'jupyterlab_execute_time' \ + # pinned version of package to fix dependency issues with jupyterlab v4 + # remove pin when jupyterlab extensions are caught up to v4 + 'jupyterlab_execute_time==2.3.1' \ 'nb_conda_kernels' \ 'jupyterlab-lsp' \ 'jupyter-lsp' && \