Skip to content

Commit

Permalink
Fixing MacOS builds after upgrading cibuildwheels
Browse files Browse the repository at this point in the history
(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.
  • Loading branch information
Matthias Koefferlein committed Jul 6, 2024
1 parent 1cac6bf commit 7356ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
1 change: 1 addition & 0 deletions cibw_constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
delocate<=0.10.7

0 comments on commit 7356ebe

Please sign in to comment.