From 19507380f6a8fbee62fb16e1af02b635252cc7b3 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Mon, 5 Oct 2026 11:04:41 -0700 Subject: [PATCH] Bump to macOS 26 in runners, set deployment target to 11 --- .github/workflows/release.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8c80db0..45b29e1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,8 +128,8 @@ jobs: { cibuildwheel --print-build-identifiers --platform linux --archs x86_64 | jq -nRc '{"only": inputs, "os": "ubuntu-24.04"}' \ && cibuildwheel --print-build-identifiers --platform linux --archs aarch64 | jq -nRc '{"only": inputs, "os": "ubuntu-24.04-arm"}' \ - && cibuildwheel --print-build-identifiers --platform macos --archs x86_64 | jq -nRc '{"only": inputs, "os": "macos-15-intel"}' \ - && cibuildwheel --print-build-identifiers --platform macos --archs arm64 | jq -nRc '{"only": inputs, "os": "macos-15"}' \ + && cibuildwheel --print-build-identifiers --platform macos --archs x86_64 | jq -nRc '{"only": inputs, "os": "macos-26-intel"}' \ + && cibuildwheel --print-build-identifiers --platform macos --archs arm64 | jq -nRc '{"only": inputs, "os": "macos-26"}' \ && cibuildwheel --print-build-identifiers --platform windows --archs x86,AMD64 | jq -nRc '{"only": inputs, "os": "windows-2025"}' \ && cibuildwheel --print-build-identifiers --platform windows --archs ARM64 | jq -nRc '{"only": inputs, "os": "windows-11-arm"}' } | jq -sc diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aaff688c..01e44047 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -85,7 +85,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"] - os: [ubuntu-24.04, macos-15, windows-2025] + os: [ubuntu-24.04, macos-26, windows-2025] loop: [asyncio, uvloop] exclude: # uvloop does not support windows @@ -93,7 +93,7 @@ jobs: os: windows-2025 # github does not provide 3.9 cpython for arm64 runners - python-version: "3.9" - os: macos-15 + os: macos-26 runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index 9978f5ec..48d24588 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,7 @@ skip = "cp38-*" [tool.cibuildwheel.macos] before-all = ".github/workflows/install-postgres.sh" test-command = "python {project}/tests/__init__.py" +environment = {MACOSX_DEPLOYMENT_TARGET="11"} [tool.cibuildwheel.windows] test-command = "python {project}\\tests\\__init__.py"