From fb8fa6e29289ce0b9b9c64231474aec3e01f83cc Mon Sep 17 00:00:00 2001 From: Alex Lancaster Date: Mon, 13 May 2024 22:20:18 -0400 Subject: [PATCH] overrides were out of order --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 531f53552..ff0d35039 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,15 +64,16 @@ inherit.environment="append" environment = { CPATH="/opt/homebrew/include", LIBRARY_PATH="/opt/homebrew/lib" } [[tool.cibuildwheel.overrides]] -select = "*-macosx_arm64" +select = "*-macosx_x86_64" inherit.environment="append" -environment = { MACOSX_DEPLOYMENT_TARGET="10.15" } # catalina the minimum version of gsl supported by 'brew' +environment = { MACOSX_DEPLOYMENT_TARGET="10.15" } # 10.15 is Catalina the minimum version of gsl supported by 'brew' inherit.before-all="append" +before-all = "brew install gsl" # since Big Sur x86_64 version exists, it should install that version # install the catalina version of `gsl` # before-all = "brew fetch --force --bottle-tag=catalina gsl; brew reinstall $(brew --cache --bottle-tag=catalina gsl)" [[tool.cibuildwheel.overrides]] -select = "*-macosx_x86_64" +select = "*-macosx_arm64" inherit.before-all="append" # need to force the Big Sur (MacOS 11.0) version of `gsl` to match the wheel tag, otherwise it will attempt to install MacOS 14 version before-all = "brew fetch --force --bottle-tag=arm64_big_sur gsl; brew reinstall $(brew --cache --bottle-tag=arm64_big_sur gsl)"