From d81f897a6f1209b52940938dd31b576fe0f6e526 Mon Sep 17 00:00:00 2001 From: david qiu Date: Thu, 5 Dec 2024 06:59:42 -0800 Subject: [PATCH] Backport PR #1139: Fix install step in CI --- scripts/install.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index bfe594b03..7031bacb3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,7 +1,15 @@ #!/bin/bash set -eux -# install core packages -pip install jupyterlab~=4.0 + +# Install JupyterLab +# +# Excludes v4.3.2 as it pins `httpx` to a very narrow range, causing `pip +# install` to stall on package resolution. +# +# See: https://github.com/jupyterlab/jupyter-ai/issues/1138 +pip install jupyterlab~=4.0,!=4.3.2 + +# Install core packages cp playground/config.example.py playground/config.py jlpm install jlpm dev-install