From ff2aa0cb03dd6ed65dbea646f5120b2d0e4f0e4a Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 31 Jul 2026 12:44:32 +0200 Subject: [PATCH 1/5] CI: upgrade runner to Ubuntu 26.04 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8448893..f99af34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,8 @@ on: [push, pull_request] jobs: CI: - name: "Linux x64 (Ubuntu 22.04) - Python ${{ matrix.python-version }}" - runs-on: ubuntu-22.04 + name: "Linux x64 (Ubuntu 26.04) - Python ${{ matrix.python-version }}" + runs-on: ubuntu-26.04 strategy: fail-fast: false matrix: From 40842660b7ebe1633536a18660f043f7b861288a Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 31 Jul 2026 12:53:01 +0200 Subject: [PATCH 2/5] CI: skip running mypy on PyPy --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f99af34..e6ce34a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,10 +33,9 @@ jobs: flake8 . - name: Type check with mypy + if: "!contains(matrix.python-version, 'pypy')" run: | - # Pin mypy to <1.19 due to librt dependency in 1.19+ - # which is not available on PyPy 3.9 - pip install "mypy<1.19" "numpy" "pillow" "requests" "types-requests" + pip install mypy numpy pillow requests types-requests mypy pyvips/__init__.pyi --no-error-summary mypy examples/*.py --no-error-summary From 4b63e2cc429b43f1aa38176499f0f3d51e10b060 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 31 Jul 2026 12:54:32 +0200 Subject: [PATCH 3/5] CI: ensure all type stubs are checked --- .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 e6ce34a..3a5715d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: if: "!contains(matrix.python-version, 'pypy')" run: | pip install mypy numpy pillow requests types-requests - mypy pyvips/__init__.pyi --no-error-summary + mypy pyvips/*.pyi --no-error-summary mypy examples/*.py --no-error-summary - name: Install tox and any other packages From a8ec810ca00f53594c1aa873cdfc160e094158cf Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 31 Jul 2026 12:55:16 +0200 Subject: [PATCH 4/5] CI: upgrade `actions/checkout` to v7 --- .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 3a5715d..662a181 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 From 6a788b3ab6df02f4e30f476114a0bce433d4f26f Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 31 Jul 2026 12:55:43 +0200 Subject: [PATCH 5/5] CI: upgrade `actions/setup-python` to v7 --- .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 662a181..6e6be16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }}