From d49fffb1c2287cd3f4cb3c2f927f5243970c8746 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 4 Aug 2025 17:18:12 +0200 Subject: [PATCH 1/6] Pin `httpx` on CI --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f36140033..382c0f8b49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,6 +110,10 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: pre + - name: Pin httpx + run: | + # See https://github.com/jupyter/notebook/issues/7690 + pip install "httpx>=0.28.1,<1" - name: Run the tests run: | hatch run test:nowarn || hatch run test:nowarn --lf From 090a3bc64e588fa3b3760937c5605d33141bf1d1 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 4 Aug 2025 17:43:28 +0200 Subject: [PATCH 2/6] Update pyproject.toml --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 61da67a3c0..5e9886aa60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,8 @@ test = [ "jupyter_server[test]>=2.4.0,<3", "jupyterlab_server[test]>=2.27.1,<3", "importlib-resources>=5.0;python_version<\"3.10\"", + # See https://github.com/jupyter/notebook/issues/7690 + "httpx>=0.25.0,<1", ] docs = [ "myst_parser", From 60a4f66bee8ce677571c8e7524eb1d0480c6459c Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 4 Aug 2025 17:44:03 +0200 Subject: [PATCH 3/6] Update build.yml --- .github/workflows/build.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 382c0f8b49..8f36140033 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,10 +110,6 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: pre - - name: Pin httpx - run: | - # See https://github.com/jupyter/notebook/issues/7690 - pip install "httpx>=0.28.1,<1" - name: Run the tests run: | hatch run test:nowarn || hatch run test:nowarn --lf From 4aa47ca0518f5b8f6a2424e479ff8233668782dc Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 4 Aug 2025 17:49:35 +0200 Subject: [PATCH 4/6] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5e9886aa60..bacc1da38b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ test = [ "jupyterlab_server[test]>=2.27.1,<3", "importlib-resources>=5.0;python_version<\"3.10\"", # See https://github.com/jupyter/notebook/issues/7690 - "httpx>=0.25.0,<1", + "httpx>=0.25.0,<1.0.dev1", ] docs = [ "myst_parser", From 4279e8930f802c5f204da1a1e5adfed87875f437 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 4 Aug 2025 18:02:19 +0200 Subject: [PATCH 5/6] Update pyproject.toml --- pyproject.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bacc1da38b..810a96e947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,10 @@ [build-system] -requires = ["hatchling>=1.11", "jupyterlab>=4.5.0a1,<4.6"] +requires = [ + "hatchling>=1.11", + "jupyterlab>=4.5.0a1,<4.6", + # See https://github.com/jupyter/notebook/issues/7690 + "httpx>=0.25.0,<1.0.dev1", +] build-backend = "hatchling.build" [project] @@ -60,8 +65,6 @@ test = [ "jupyter_server[test]>=2.4.0,<3", "jupyterlab_server[test]>=2.27.1,<3", "importlib-resources>=5.0;python_version<\"3.10\"", - # See https://github.com/jupyter/notebook/issues/7690 - "httpx>=0.25.0,<1.0.dev1", ] docs = [ "myst_parser", From a184e64d0256cd507f2bea2adf86ccad68244716 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 5 Aug 2025 08:22:15 +0200 Subject: [PATCH 6/6] Update pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 810a96e947..c1e6e85770 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ requires = [ "hatchling>=1.11", "jupyterlab>=4.5.0a1,<4.6", # See https://github.com/jupyter/notebook/issues/7690 + # TODO: remove when https://github.com/jupyterlab/jupyterlab/pull/17746 is released "httpx>=0.25.0,<1.0.dev1", ] build-backend = "hatchling.build"