From de55f387e625c312d9354cd5844e8f88961d1107 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Fri, 27 Feb 2026 10:00:25 +0000 Subject: [PATCH 1/4] Temporary pin virtualenv < 21 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03ab0a0ba..fc8fcfd80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: - name: Install hatch run: | python --version - python -m pip install hatch + python -m pip install hatch "virtualenv<21" - name: Run the tests timeout-minutes: 15 From 4a195e46229cc6333f60aa19b5387fe97297588f Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Fri, 27 Feb 2026 10:02:55 +0000 Subject: [PATCH 2/4] Typo in CHANGELOG picked up by codespell --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac5d7ada4..97c1f230b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ ### Enhancements made - Made IOPubThread constructor backward compatible [#1492](https://github.com/ipython/ipykernel/pull/1492) ([@JohanMabille](https://github.com/JohanMabille), [@SylvainCorlay](https://github.com/SylvainCorlay), [@ianthomas23](https://github.com/ianthomas23), [@minrk](https://github.com/minrk)) -- Advertizes kernel protocol 5.5 [#1488](https://github.com/ipython/ipykernel/pull/1488) ([@JohanMabille](https://github.com/JohanMabille), [@ianthomas23](https://github.com/ianthomas23)) +- Advertises kernel protocol 5.5 [#1488](https://github.com/ipython/ipykernel/pull/1488) ([@JohanMabille](https://github.com/JohanMabille), [@ianthomas23](https://github.com/ianthomas23)) - Upgrade to jupyter_client 8.8.0 [#1487](https://github.com/ipython/ipykernel/pull/1487) ([@JohanMabille](https://github.com/JohanMabille), [@ianthomas23](https://github.com/ianthomas23)) - Implement kernel-side callstack filtering for internal frames [#1481](https://github.com/ipython/ipykernel/pull/1481) ([@arjxn-py](https://github.com/arjxn-py), [@JohanMabille](https://github.com/JohanMabille), [@ianthomas23](https://github.com/ianthomas23)) From e51c2d6067f5a3ca21051763e31cf2e5cdee86d6 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Fri, 27 Feb 2026 10:19:57 +0000 Subject: [PATCH 3/4] Preinstall on other CI workflows --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc8fcfd80..9b6e32043 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - name: Run Linters run: | @@ -116,7 +122,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -125,7 +138,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - name: Build API docs run: | hatch run docs:api @@ -148,6 +168,11 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 @@ -170,6 +195,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: @@ -191,10 +222,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + + - name: Preinstall hatch and virtualenv + run: | + python --version + python -m pip install hatch "virtualenv<21" + - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: pre + - name: Run the tests run: | hatch run test:nowarn From 4bbcd05257ed86eb2e99583e744435a7a2c4dbf5 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Fri, 27 Feb 2026 10:46:50 +0000 Subject: [PATCH 4/4] Try to fix test_minimum_versions --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b6e32043..c46aab31d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,6 +196,10 @@ jobs: steps: - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 + with: + python-version: "3.10" + - name: Preinstall hatch and virtualenv run: | python --version @@ -205,7 +209,7 @@ jobs: uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: dependency_type: minimum - python_version: "3.10" + python_version: ${{ matrix.python-version }} - name: List installed packages run: |