From d39726c8b3b08913357252063170482880e6298f Mon Sep 17 00:00:00 2001 From: Jim Plotts Date: Fri, 12 Apr 2024 01:21:45 +0000 Subject: [PATCH] Fix LSP by pinning jupyter_server. LSP was broken in the release on 2024-03-20 by an automatic upgrade of the jupyter_server from 2.12.5 to 2.13.0. Pinning this for now to resolve that issue. http://b/333854354 --- Dockerfile.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 90381a07..ffcd5fb6 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -619,8 +619,8 @@ RUN pip install --upgrade dask && \ mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \ # Temporary patch for broken libpixman 0.38 in conda-forge, symlink to system libpixman 0.34 untile conda package gets updated to 0.38.5 or higher. ln -sf /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.34.0 /opt/conda/lib/libpixman-1.so.0.38.0 && \ - # upgrade jupyter-server to version > 2.x - pip install --force-reinstall --no-deps jupyter_server>=2.* && \ + # pin jupyter-server to version 2.12.5; later versions break LSP (b/333854354) + pip install --force-reinstall --no-deps jupyter_server==2.12.5 && \ /tmp/clean-layer.sh # Fix to import bq_helper library without downgrading setuptools