From d6a86836c112b2fd8bb6db601a8edd648814d286 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 20 Dec 2024 08:46:48 +0100 Subject: [PATCH 1/4] Temporary CI fix --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f36140033..eb3d70e8aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,6 +46,10 @@ jobs: - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - name: tmp - install jupyter-server from source + run: | + pip install "jupyter_server @ git+https://github.com/jupyter-server/jupyter_server@main" + - name: Test the package run: hatch run cov:test From 837de3aa90fe6c1795cff364654ab7c63d58f582 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 20 Dec 2024 08:58:48 +0100 Subject: [PATCH 2/4] Update pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 944780b957..c107e4475d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,7 @@ test = [ "jupyter_server[test]>=2.4.0,<3", "jupyterlab_server[test]>=2.27.1,<3", "importlib-resources>=5.0;python_version<\"3.10\"", + "jupyter_server @ git+https://github.com/jupyter-server/jupyter_server@main", ] docs = [ "myst_parser", From 5e3d90b523d3717669f4c22708a4b53fc983fc23 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 20 Dec 2024 09:02:37 +0100 Subject: [PATCH 3/4] Update pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c107e4475d..16c3cba4f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,9 @@ dev = [ "hatch" ] +[tool.hatch.metadata] +allow-direct-references = true + [tool.hatch.version] path = "notebook/_version.py" validate-bump = false From 8e63b06bb5eb612e56bf961da2bb211b0643aa8c Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 20 Dec 2024 08:11:10 +0000 Subject: [PATCH 4/4] undo --- .github/workflows/build.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb3d70e8aa..8f36140033 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,10 +46,6 @@ jobs: - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - - name: tmp - install jupyter-server from source - run: | - pip install "jupyter_server @ git+https://github.com/jupyter-server/jupyter_server@main" - - name: Test the package run: hatch run cov:test