From d82c3f5108dfae0bde9dc31754153600d4063133 Mon Sep 17 00:00:00 2001 From: Tom Vander Aa Date: Mon, 10 Jun 2024 09:48:30 +0200 Subject: [PATCH] CI: test move MACOS_DEPLOYMENT_VERSION to wheels.yml --- .github/workflows/wheels.yml | 2 ++ pyproject.toml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 81b64b72..f1bcb2a8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -26,6 +26,8 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=${{ (matrix.os == 'macos-14') && '14.0' || '13.0' }} - uses: actions/upload-artifact@v4 with: diff --git a/pyproject.toml b/pyproject.toml index e7988ab2..bc96cbac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,6 @@ build-verbosity = 1 [tool.cibuildwheel.macos.environment] CMAKE_PREFIX_PATH = "$(brew --prefix)/opt/openblas" -MACOSX_DEPLOYMENT_TARGET = "14.0" [tool.cibuildwheel.macos] before-all = [