Skip to content

Commit d39726c

Browse files
committed
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
1 parent ee8b8fa commit d39726c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,8 @@ RUN pip install --upgrade dask && \
619619
mkdir -p /etc/ipython/ && echo "c = get_config(); c.IPKernelApp.matplotlib = 'inline'" > /etc/ipython/ipython_config.py && \
620620
# 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.
621621
ln -sf /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.34.0 /opt/conda/lib/libpixman-1.so.0.38.0 && \
622-
# upgrade jupyter-server to version > 2.x
623-
pip install --force-reinstall --no-deps jupyter_server>=2.* && \
622+
# pin jupyter-server to version 2.12.5; later versions break LSP (b/333854354)
623+
pip install --force-reinstall --no-deps jupyter_server==2.12.5 && \
624624
/tmp/clean-layer.sh
625625

626626
# Fix to import bq_helper library without downgrading setuptools

0 commit comments

Comments
 (0)