From c5757c5fb45bd6e3a16c876501f4b9082256a7cb Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 6 Sep 2024 09:17:57 +0200 Subject: [PATCH] Align `jupyterlab` version range with the version used in JupyterLite (#109) --- .github/workflows/build.yml | 4 ++-- .github/workflows/update-integration-tests.yml | 2 +- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 007d6a7..6f71b0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,7 @@ jobs: sudo rm -rf $(which node) sudo rm -rf $(which node) - pip install "jupyterlab>=4.0.0,<5" jupyterlite_xeus*.whl + pip install "jupyterlab>=4.0.0,<4.3" jupyterlite_xeus*.whl jupyter labextension list jupyter labextension list 2>&1 | grep -ie "@jupyterlite/xeus.*OK" @@ -236,7 +236,7 @@ jobs: - name: Install the extension run: | set -eux - python -m pip install "jupyterlab>=4.0.0,<5" jupyterlite_xeus*.whl + python -m pip install "jupyterlab>=4.0.0,<4.3" jupyterlite_xeus*.whl python -m pip install ${{ matrix.jupyterlite_version }} - name: Install dependencies diff --git a/.github/workflows/update-integration-tests.yml b/.github/workflows/update-integration-tests.yml index 468f2cb..a5808b1 100644 --- a/.github/workflows/update-integration-tests.yml +++ b/.github/workflows/update-integration-tests.yml @@ -34,7 +34,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - name: Install dependencies - run: python -m pip install -U "jupyterlab>=4.0.0,<5" jupyterlite-core + run: python -m pip install -U "jupyterlab>=4.0.0,<4.3" jupyterlite-core - name: Install extension run: | diff --git a/pyproject.toml b/pyproject.toml index b396c54..fa3c326 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.5.0", "jupyterlab>=4.0,<4.2", "hatch-nodejs-version>=0.3.2"] +requires = ["hatchling>=1.5.0", "jupyterlab>=4.0,<4.3", "hatch-nodejs-version>=0.3.2"] build-backend = "hatchling.build" [project] @@ -75,7 +75,7 @@ version_cmd = "hatch version" [tool.jupyter-releaser.hooks] before-build-npm = [ - "python -m pip install 'jupyterlab>=4.0.0,<5'", + "python -m pip install 'jupyterlab>=4.0.0,<4.3'", "jlpm", "jlpm build:prod" ]