From 67e54b86f3697e22a279b73d3ff75c8d4893f48c Mon Sep 17 00:00:00 2001 From: Pedro Maximino Date: Tue, 13 Feb 2024 10:25:44 +0100 Subject: [PATCH] swan: Install latest version (4.9.0) of pexpect Jupyterlab git extension uses the pexpect python module as a dependency. However, the extension only works properly with the latest version (4.9.0) of pexpect, together with python 3.11, which is the python version that is used by jupyterlab. This issue was reported in the repository of the git extension, on GitHub: https://github.com/jupyterlab/jupyterlab-git/issues/1261 --- swan/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/swan/Dockerfile b/swan/Dockerfile index 064b92cf..cf7561d7 100644 --- a/swan/Dockerfile +++ b/swan/Dockerfile @@ -77,7 +77,10 @@ RUN mamba install --yes \ 'jupyter-resource-usage==1.0.1' \ 'jupyterlab-git==0.50.0' \ # Extensions required by jupyter server - 'webio-jupyter-extension==0.1.0' + 'webio-jupyter-extension==0.1.0' \ + # This version of pexpect is needed for + # jupyterlab-git (0.50.0) module to work properly + 'pexpect==4.9.0' # Install all of our extensions # Ignore (almost all) dependencies because they have already been installed or come from CVMFS