From 8de823b7003bd49545af938a3054eabfb5342dd5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 21:00:46 +0000 Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.17.1 → v0.17.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.17.1...v0.17.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44e28f9..fdecbc1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: hooks: - id: black-jupyter - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 00616c4183aa299b5b7c5fc7534886cc3cb10e85 Mon Sep 17 00:00:00 2001 From: Dan Foreman-Mackey Date: Wed, 11 Nov 2026 21:40:36 -0500 Subject: [PATCH 2/4] macos label --- .github/workflows/release.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ed7200..798be36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: matrix: os: - "ubuntu-latest" - - "macos-14" + - "macos-latest" steps: - uses: actions/checkout@v7 with: @@ -35,7 +35,7 @@ jobs: fetch-depth: 0 - name: Set up macOS run: echo "FC=gfortran-13" >> "$GITHUB_ENV" - if: ${{ matrix.os == 'macos-14' }} + if: ${{ matrix.os == 'macos-latest' }} - uses: pypa/cibuildwheel@v4.2.1 env: MACOSX_DEPLOYMENT_TARGET: "14.0" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d5a857f..9a8e375 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: os: [ubuntu-latest] with-options: [false] include: - - os: macos-14 + - os: macos-latest python-version: "3.13" with-options: false - os: ubuntu-latest @@ -39,9 +39,9 @@ jobs: sudo apt-get update sudo apt-get install -y gcc g++ gfortran if: ${{ runner.os == 'Linux' }} - - name: Set up macOS-14 + - name: Set up macOS run: echo "FC=gfortran-13" >> "$GITHUB_ENV" - if: ${{ matrix.os == 'macos-14' }} + if: ${{ matrix.os == 'macos-latest' }} - name: Run simple test run: uv run --extra test --python ${{ matrix.python-version }} tests/simple.py env: From dabc9151f4b1f2c4cb7bd23e80199ec7edfcbd1d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 02:47:03 +0000 Subject: [PATCH 3/4] Build macOS wheels with conda-forge gfortran Homebrew's libgfortran on macos-latest targets the runner's macOS version, so delocate rejects it for MACOSX_DEPLOYMENT_TARGET=14.0. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014daL8TuhVNiQzDexn2rAj3 --- .github/workflows/release.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4594c8..7dd4a7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,9 +33,23 @@ jobs: with: submodules: true fetch-depth: 0 + # Homebrew's gfortran on the current macOS runners links against a + # libgfortran built for the runner's OS version, which delocate rejects + # for our deployment target. conda-forge's gfortran targets older macOS. + - name: Install gfortran from conda-forge + uses: mamba-org/setup-micromamba@v3 + with: + environment-name: gfortran + create-args: gfortran + condarc: | + channels: + - conda-forge + if: ${{ runner.os == 'macOS' }} - name: Set up macOS - run: echo "FC=gfortran-13" >> "$GITHUB_ENV" - if: ${{ matrix.os == 'macos-latest' }} + run: | + echo "FC=${MAMBA_ROOT_PREFIX}/envs/gfortran/bin/gfortran" >> "$GITHUB_ENV" + echo "DYLD_FALLBACK_LIBRARY_PATH=${MAMBA_ROOT_PREFIX}/envs/gfortran/lib" >> "$GITHUB_ENV" + if: ${{ runner.os == 'macOS' }} - uses: pypa/cibuildwheel@v4.3.5 env: MACOSX_DEPLOYMENT_TARGET: "14.0" From 13676a716c8c58ad866c3b1696bfcd2c86bb4cc8 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 02:47:18 +0000 Subject: [PATCH 4/4] Target macOS 16.0 for wheels on macos-latest Homebrew's libgfortran on the macos-latest runners is built for macOS 16.0, so delocate rejects it for a 14.0 deployment target. This replaces the conda-forge gfortran attempt with a simpler target bump. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014daL8TuhVNiQzDexn2rAj3 --- .github/workflows/release.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dd4a7f..9c6ede1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,26 +33,12 @@ jobs: with: submodules: true fetch-depth: 0 - # Homebrew's gfortran on the current macOS runners links against a - # libgfortran built for the runner's OS version, which delocate rejects - # for our deployment target. conda-forge's gfortran targets older macOS. - - name: Install gfortran from conda-forge - uses: mamba-org/setup-micromamba@v3 - with: - environment-name: gfortran - create-args: gfortran - condarc: | - channels: - - conda-forge - if: ${{ runner.os == 'macOS' }} - name: Set up macOS - run: | - echo "FC=${MAMBA_ROOT_PREFIX}/envs/gfortran/bin/gfortran" >> "$GITHUB_ENV" - echo "DYLD_FALLBACK_LIBRARY_PATH=${MAMBA_ROOT_PREFIX}/envs/gfortran/lib" >> "$GITHUB_ENV" - if: ${{ runner.os == 'macOS' }} + run: echo "FC=gfortran-13" >> "$GITHUB_ENV" + if: ${{ matrix.os == 'macos-latest' }} - uses: pypa/cibuildwheel@v4.3.5 env: - MACOSX_DEPLOYMENT_TARGET: "14.0" + MACOSX_DEPLOYMENT_TARGET: "16.0" - uses: actions/upload-artifact@v7 with: name: binary-${{ matrix.os }}