@@ -38,13 +38,14 @@ version = {attr = "pyscipopt._version.__version__"}
3838
3939[tool .cibuildwheel ]
4040skip =" pp*" # currently doesn't work with PyPy
41+ manylinux-x86_64-image = " manylinux_2_28"
4142
4243
4344[tool .cibuildwheel .linux ]
4445skip =" pp* cp36* cp37* *musllinux*"
4546before-all = [
4647 " (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget" ,
47- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4 .0/libscip-linux.zip -O scip.zip" ,
48+ " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.5 .0/libscip-linux.zip -O scip.zip" ,
4849 " unzip scip.zip" ,
4950 " mv scip_install scip"
5051 ]
@@ -57,25 +58,36 @@ before-all = '''
5758#!/bin/bash
5859brew install wget zlib gcc
5960if [[ $CIBW_ARCHS == *"arm"* ]]; then
60- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4.0/libscip-macos-arm.zip -O scip.zip
61+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.5.0/libscip-macos-arm.zip -O scip.zip
62+ export MACOSX_DEPLOYMENT_TARGET=14.0
6163else
62- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4.0/libscip-macos.zip -O scip.zip
64+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.5.0/libscip-macos.zip -O scip.zip
65+ export MACOSX_DEPLOYMENT_TARGET=13.0
6366fi
6467unzip scip.zip
6568mv scip_install src/scip
6669'''
6770environment = {SCIPOPTDIR =" $(pwd)/src/scip" , LD_LIBRARY_PATH =" $(pwd)/src/scip/lib:LD_LIBRARY_PATH" , DYLD_LIBRARY_PATH =" $(pwd)/src/scip/lib:$DYLD_LIBRARY_PATH" , PATH =" $(pwd)/src/scip/bin:$PATH" , PKG_CONFIG_PATH =" $(pwd)/src/scip/lib/pkgconfig:$PKG_CONFIG_PATH" , RELEASE =" true" }
68- repair-wheel-command = [
69- " delocate-listdeps {wheel}" ,
70- " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}" ,
71- ]
71+ repair-wheel-command = '''
72+ bash -c '
73+ if [[ $CIBW_ARCHS == *"arm"* ]]; then
74+ export MACOSX_DEPLOYMENT_TARGET=14.0
75+ delocate-listdeps {wheel}
76+ delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}
77+ else
78+ export MACOSX_DEPLOYMENT_TARGET=13.0
79+ delocate-listdeps {wheel}
80+ delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}
81+ fi
82+ '
83+ '''
7284
7385
7486[tool .cibuildwheel .windows ]
7587skip =" pp* cp36* cp37*"
7688before-all = [
7789 " choco install 7zip wget" ,
78- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.4 .0/libscip-windows.zip -O scip.zip" ,
90+ " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.5 .0/libscip-windows.zip -O scip.zip" ,
7991 " \" C:\\ Program Files\\ 7-Zip\\ 7z.exe\" x \" scip.zip\" -o\" scip-test\" " ,
8092 " mv .\\ scip-test\\ scip_install .\\ test" ,
8193 " mv .\\ test .\\ scip"
0 commit comments