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.
This commit is contained in:
Matthias Koefferlein 2024-07-07 01:00:14 +02:00
parent 1cac6bfc4b
commit 7356ebe6de
2 changed files with 2 additions and 0 deletions

View File

@ -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' }}

1
cibw_constraints.txt Normal file
View File

@ -0,0 +1 @@
delocate<=0.10.7