From 92378a42df16ac8f6876307d34bb455d9834558b Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 16 Oct 2025 11:33:27 +0200 Subject: [PATCH 1/4] try to fix some tests --- .github/workflows/downstream.yml | 1 + .github/workflows/test.yml | 1 + .pre-commit-config.yaml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 8c00957..9413dc3 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -65,6 +65,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 with: package_name: jupyter_client + package_spec: ".[test]" pytest_jupyter: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea35fd7..579cd20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,6 +82,7 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: minimum + python_version: 3.10 - name: Run the unit tests run: | hatch run test:nowarn || hatch run test:nowarn --lf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c6aefa8..73c4e1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.34.0 + rev: 0.34.1 hooks: - id: check-github-workflows From 85537bfd1caa8cc884e3c7e914b52574ab569fad Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 16 Oct 2025 11:35:30 +0200 Subject: [PATCH 2/4] dont us nowarn, and no --lf --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 579cd20..70992f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,7 +85,7 @@ jobs: python_version: 3.10 - name: Run the unit tests run: | - hatch run test:nowarn || hatch run test:nowarn --lf + hatch run test:test test_prereleases: name: Test Prereleases @@ -98,7 +98,7 @@ jobs: dependency_type: pre - name: Run the tests run: | - hatch run test:nowarn || hatch run test:nowarn --lf + hatch run test:test test_docs: name: Test Docs From 9c01191ed16d9eed3d4aa4e6d2d3b7baebbc4518 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 16 Oct 2025 11:38:10 +0200 Subject: [PATCH 3/4] quotes --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70992f1..4c04297 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,7 +82,7 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: minimum - python_version: 3.10 + python_version: "3.10" - name: Run the unit tests run: | hatch run test:test From 2565f810767d9f7981e9d421fb1ad8d7e6a4846d Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 16 Oct 2025 11:47:29 +0200 Subject: [PATCH 4/4] try to install anyio as well --- .github/workflows/downstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 9413dc3..cc2bf05 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -65,7 +65,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1 with: package_name: jupyter_client - package_spec: ".[test]" + package_spec: "anyio .[test]" pytest_jupyter: runs-on: ubuntu-latest