Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update macOS x86_64 wheel build CI runner to 10.13 Github actions has deprecated their macOS 10.12 CI runner and will be removing it in December, 2024. We were using this macOS runner because our target OS version for intel mac is 10.12. However, with this enviornment being removed by Github we must upgrade to continue running the jobs. This commit does not bump the MACOSX_DEPLOYMENT_TARGET environment variable (which is used to set the target OS version for intel macs) though, because we should test if we can build it compatibility mode from a newer version of macOS. If this fails then we can bump this to 10.13 in a subsequent commit on this PR and add an upgrade release note to document the change. * Fix macOS deployment target config in cibuildwheel Looking at the 1.3.0 release build the build failed during the audit stage checking the shared object file that was built. This was failing because the macOS target version in the binary was 10.12 but the environment variable to override the default target of 10.9 was not getting set properly. We set this in the pyproject.toml but it is getting overridden by the PGO settings via CIBW_ENVIRONMENT in the github actions config. If you look at the recent builds we were publishing 10.9 target wheels on pypi despite documenting we target 10.12. The CI job logs also show that env variable is never being set during the cibuildwheel process. The release of rust 1.83 in the last 24 hrs probably is what changed the output here causing the failure, although rust was supposed to raise it's minimum target to 10.12 in 1.74 [1] something probably changed in the release today which is tripping up the audit now. This PR updates the CI configuration as was done to hotfix the deployment job temporarily during the 1.3.0 release process [2] to ensure we're setting our macOS deployment target correctly on x86_64 macOS builds to 10.12. [1] https://blog.rust-lang.org/2023/09/25/Increasing-Apple-Version-Requirements.html [2] https://github.com/Qiskit/qiskit/actions/runs/12075613320 --------- Co-authored-by: Julien Gacon <jules.gacon@googlemail.com> (cherry picked from commit 17648eb) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
- Loading branch information