From 5fc1a01912a8bccfbb284be2189cfc51a16917d5 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Fri, 16 Aug 2024 11:41:27 -0700 Subject: [PATCH] Install setuptools==69.0.0 to fix issue with nbgrader --- dockerfiles/r-stat-201/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfiles/r-stat-201/Dockerfile b/dockerfiles/r-stat-201/Dockerfile index 9239c82..da7b846 100644 --- a/dockerfiles/r-stat-201/Dockerfile +++ b/dockerfiles/r-stat-201/Dockerfile @@ -40,7 +40,8 @@ RUN mamba update --quiet --file /tmp/conda-linux-64.lock \ && Rscript -e "devtools::install_github('UBC-MDS/taxyvr@0.1.0')" # Install pexpect from main branch to fix asyncio issue with jupyterlab_git -RUN pip install --no-cache pexpect==4.9.0 +# Install setuptools==69.0.0 to fix issue with nbgrader and "from backports import tarfile" +RUN pip install --no-cache pexpect==4.9.0 setuptools==69.0.0 # Disable the cell toolbar (which ignores metadata and students often accidentally click + delete grading cells) RUN jupyter labextension disable @jupyterlab/cell-toolbar-extension