From 76650297a7fdbddc1ec0d8632c72c12ce4509140 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Mon, 13 May 2024 10:34:26 -0400 Subject: [PATCH] Set MACOSX_DEPLOYMENT_TARGET for arm64 --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 880a22c..871c676 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,3 +87,9 @@ config-settings.setup-args = "-Dpython.allow_limited_api=false" # See https://github.com/scipy/scipy/issues/17974 test-extras = [] test-command = ["python -c 'import hpx._core'"] + +[[tool.cibuildwheel.overrides]] +# macOS arm64 wheels are built on GitHub on macOS 14; set deployment target accordingly +select = "*macosx_arm64" +inherit.environment = "append" +environment.MACOSX_DEPLOYMENT_TARGET = "14"