Skip to content

Commit 1369652

Browse files
authored
Fix LSP by pinning jupyter_server. (#1381)
LSP was broken in the release on 2024-03-20 by an automatic upgrade of jupyter_server from 2.12.5 to 2.13.0. Pinning this for now to resolve that issue. http://b/333854354
1 parent e3181fe commit 1369652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tmpl

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

627627
# Fix to import bq_helper library without downgrading setuptools

0 commit comments

Comments
 (0)