From 7c05e670995618e152ac61e51b96ecbf67a001b3 Mon Sep 17 00:00:00 2001 From: Olivier Benz Date: Sun, 18 Feb 2024 16:29:00 +0100 Subject: [PATCH] base: Update latest Dockerfile - https://github.com/jupyterhub/jupyter-server-proxy/issues/445 --- base/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/Dockerfile b/base/Dockerfile index 3a0b577..ebdace7 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -404,6 +404,9 @@ RUN export PIP_BREAK_SYSTEM_PACKAGES=1 \ nbclassic \ nbconvert \ python-lsp-server[all] \ + ## Fix https://github.com/jupyterhub/jupyter-server-proxy/issues/445 + && sed -i 's/subprotocols=self\.subprotocols/subprotocols=self\.subprotocols if self\.subprotocols else None/g' \ + /usr/local/lib/python*/*-packages/jupyter_server_proxy/handlers.py \ ## Include custom fonts && sed -i 's|||g' /usr/local/share/jupyter/lab/static/index.html \ && sed -i 's|||g' /usr/local/share/jupyter/lab/static/index.html \