From 288f96f373ca68bf13a7886c211cd3a99720b1c1 Mon Sep 17 00:00:00 2001 From: Mirko Galimberti Date: Sun, 12 May 2024 11:30:32 +0200 Subject: [PATCH] Set MACOSX_DEPLOYMENT_TARGET in CIBW_ENVIRONMENT to correctly tag the wheel compatibility --- .github/workflows/osx_wheels_app.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/osx_wheels_app.yml b/.github/workflows/osx_wheels_app.yml index 263d0abf34..6be6025a04 100644 --- a/.github/workflows/osx_wheels_app.yml +++ b/.github/workflows/osx_wheels_app.yml @@ -40,6 +40,7 @@ jobs: osx_wheels_create: if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel osx]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel osx]') env: + CIBW_ENVIRONMENT: "MACOSX_DEPLOYMENT_TARGET=10.15" CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_universal2 cp39-macosx_universal2 cp310-macosx_universal2 cp311-macosx_universal2 cp312-macosx_universal2" CIBW_ARCHS_MACOS: "x86_64 universal2" CIBW_REPAIR_WHEEL_COMMAND_MACOS: >