From 7b4415ca64ea60ed8ea40a298581e95f5c7dc34a Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 9 Feb 2024 18:23:59 +0100 Subject: [PATCH] Add upper bound on `jupyterlab<4.1` (#7249) * Add upper bound on `jupyterlab<4.1` * typo fix --- .github/workflows/buildutils.yml | 4 ++-- .pre-commit-config.yaml | 2 +- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/buildutils.yml b/.github/workflows/buildutils.yml index 10f188a61c..ece5981b1d 100644 --- a/.github/workflows/buildutils.yml +++ b/.github/workflows/buildutils.yml @@ -29,7 +29,7 @@ jobs: - name: Install dependencies run: | - python -m pip install -U "jupyterlab>=4.0.2,<5" hatch + python -m pip install -U "jupyterlab>=4.0.2,<4.1" hatch jlpm jlpm run build @@ -79,6 +79,6 @@ jobs: - name: Install dependencies run: | - python -m pip install -U "jupyterlab>=4.0.2,<5" pip + python -m pip install -U "jupyterlab>=4.0.2,<4.1" pip jlpm jlpm run build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92a9022322..c63307e763 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: files: "^notebook" stages: [manual] args: ["--install-types", "--non-interactive"] - additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.0"] + additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.0,<4.1"] - repo: https://github.com/pre-commit/pygrep-hooks rev: 'v1.10.0' diff --git a/pyproject.toml b/pyproject.toml index e160b1fcda..8007519006 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.11", "jupyterlab>=4.0.2,<5"] +requires = ["hatchling>=1.11", "jupyterlab>=4.0.2,<4.1"] build-backend = "hatchling.build" [project] @@ -32,7 +32,7 @@ classifiers = [ ] dependencies = [ "jupyter_server>=2.4.0,<3", - "jupyterlab>=4.0.2,<5", + "jupyterlab>=4.0.2,<4.1", "jupyterlab_server>=2.22.1,<3", "notebook_shim>=0.2,<0.3", "tornado>=6.2.0",