From eb09c5a3592fa5adaf5b9ed5e0bf22207684cdc4 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 19 Mar 2026 11:10:50 +0100 Subject: [PATCH 1/5] CI: use Ubuntu 22.04 / macOS 15 --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31307c84ab..db2fc1a8d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,27 +51,27 @@ jobs: strategy: matrix: include: - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: '3.5' toxenv: py35 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: '3.6' toxenv: py36 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: '3.7' toxenv: py37 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: '3.8' toxenv: py38 - - os: ubuntu-20.04 + - os: ubuntu-22.04 python-version: '3.9' toxenv: py39 - - os: ubuntu-20.04 + - os: ubuntu-22.04 + python-version: '3.10' + toxenv: py310 + - os: macos-15 python-version: '3.10' toxenv: py310 - - os: macos-11 - python-version: '3.7' - toxenv: py37 env: # Configure pkg-config to use OpenSSL from Homebrew From cd6e93c4c4cbb57f24d479667477c4a3dad42d7e Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 19 Mar 2026 11:15:05 +0100 Subject: [PATCH 2/5] CI: use cache@v4 --- .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 db2fc1a8d2..eb29c5f4dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,7 +91,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/development.lock.txt') }} From eda794c8442481c1daa8ac906ce92b4bdfa89d10 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 19 Mar 2026 11:17:43 +0100 Subject: [PATCH 3/5] CI: remove outdated Pythons --- .github/workflows/ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb29c5f4dd..ff1204d7a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.10' - name: Lint with flake8 run: | pip install flake8 @@ -51,18 +51,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-22.04 - python-version: '3.5' - toxenv: py35 - - os: ubuntu-22.04 - python-version: '3.6' - toxenv: py36 - - os: ubuntu-22.04 - python-version: '3.7' - toxenv: py37 - - os: ubuntu-22.04 - python-version: '3.8' - toxenv: py38 - os: ubuntu-22.04 python-version: '3.9' toxenv: py39 From c77fb4060d92986a8137200b3b27126e25602592 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 19 Mar 2026 11:26:14 +0100 Subject: [PATCH 4/5] CI/requirements: use pytest < 9.0.0 --- requirements.d/development.lock.txt | 1 + requirements.d/development.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.d/development.lock.txt b/requirements.d/development.lock.txt index 1a2dd1185c..68224389ff 100644 --- a/requirements.d/development.lock.txt +++ b/requirements.d/development.lock.txt @@ -4,6 +4,7 @@ pip==20.3.4 virtualenv==20.13.1 tox==3.24.5 pytest==6.1.2; python_version < '3.10' +pytest==8.4.2; python_version >= '3.10' pytest-xdist==2.2.1 pytest-cov==2.12.1 pytest-benchmark==3.4.1 diff --git a/requirements.d/development.txt b/requirements.d/development.txt index 7a60af9822..450a23b54c 100644 --- a/requirements.d/development.txt +++ b/requirements.d/development.txt @@ -3,7 +3,7 @@ setuptools_scm pip virtualenv tox -pytest +pytest < 9.0.0 pytest-xdist pytest-cov pytest-benchmark From da77417c0f7b8b3470f7ef95297e082eedc3142c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 19 Mar 2026 14:04:24 +0100 Subject: [PATCH 5/5] CI: increase timeout, macOS runners are slooow --- .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 ff1204d7a7..cc0826d8ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: TOXENV: ${{ matrix.toxenv }} runs-on: ${{ matrix.os }} - timeout-minutes: 40 + timeout-minutes: 360 steps: - uses: actions/checkout@v2