From 7356ebe6dee5d5ef78a393ead67574cc93929ae0 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 7 Jul 2024 01:00:14 +0200 Subject: [PATCH] Fixing MacOS builds after upgrading cibuildwheels (cibuildwheels needed upgrade because of CentOS 7 mirror EOL). Fix was done by pinning delocate to 0.10.7. The proposed version 0.11 had trouble with libpng on MacOS 13 Github runners. cibuildwheels does builds for the minimal platform - 10.9 - and libpng was detected to need 13.0. delocate 0.10.7 ignores library version requirements, hence did not have this trouble. --- .github/workflows/build.yml | 1 + cibw_constraints.txt | 1 + 2 files changed, 2 insertions(+) create mode 100644 cibw_constraints.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05c9bebc3..878de20c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,7 @@ jobs: env: CIBW_BUILD: ${{ matrix.cibuild }} CIBW_ARCHS_MACOS: ${{ matrix.macos-arch }} + CIBW_DEPENDENCY_VERSIONS_MACOS: cibw_constraints.txt - name: Download Cache from Docker (linux only) if: ${{ runner.os == 'Linux' }} diff --git a/cibw_constraints.txt b/cibw_constraints.txt new file mode 100644 index 000000000..51891d642 --- /dev/null +++ b/cibw_constraints.txt @@ -0,0 +1 @@ +delocate<=0.10.7