From a7056f83264f4f4918342fbaf67fd66e32dcc76e Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:02:19 -0800 Subject: [PATCH] explain --- .github/workflows/build-wheels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index efa56f4bd..f7bdc312b 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -262,6 +262,9 @@ jobs: uses: pypa/cibuildwheel@v2.21.3 env: CIBW_ENVIRONMENT_PASS_LINUX: ${{ inputs.unoptimized && 'UNOPTIMIZED' || '' }} + # We use delocate to repair the wheel because it verifies that the macOS version tag in the wheel name is correct + # Linking the static libraries produces a warning that the library version is newer than the wheel's macOS version tag + # but it doesn't throw an error. # macOS wheel is only backwards compatible with the macOS major version it is built from # Use single dash for backwards compatibility with older sw_vers CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d"." -f 1).0