From 1f366b924f041fe7473831a474891c542e454fe1 Mon Sep 17 00:00:00 2001 From: "David L. Qiu" Date: Wed, 4 Dec 2024 16:54:37 -0800 Subject: [PATCH 1/2] fix install 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..4ca5e52b3 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 From b14ee65ef14d58235ee8bc082f7b46765b8684ce Mon Sep 17 00:00:00 2001 From: "David L. Qiu" Date: Wed, 4 Dec 2024 17:02:48 -0800 Subject: [PATCH 2/2] pre-commit --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 4ca5e52b3..7031bacb3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ set -eux # Install JupyterLab -# +# # Excludes v4.3.2 as it pins `httpx` to a very narrow range, causing `pip # install` to stall on package resolution. #