@@ -38,13 +38,14 @@ version = {attr = "pyscipopt._version.__version__"}
38
38
39
39
[tool .cibuildwheel ]
40
40
skip =" pp*" # currently doesn't work with PyPy
41
+ manylinux-x86_64-image = " manylinux_2_28"
41
42
42
43
43
44
[tool .cibuildwheel .linux ]
44
45
skip =" pp* cp36* cp37* *musllinux*"
45
46
before-all = [
46
47
" (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" ,
48
49
" unzip scip.zip" ,
49
50
" mv scip_install scip"
50
51
]
@@ -57,25 +58,36 @@ before-all = '''
57
58
#!/bin/bash
58
59
brew install wget zlib gcc
59
60
if [[ $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
61
63
else
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
63
66
fi
64
67
unzip scip.zip
65
68
mv scip_install src/scip
66
69
'''
67
70
environment = {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
+ '''
72
84
73
85
74
86
[tool .cibuildwheel .windows ]
75
87
skip =" pp* cp36* cp37*"
76
88
before-all = [
77
89
" 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" ,
79
91
" \" C:\\ Program Files\\ 7-Zip\\ 7z.exe\" x \" scip.zip\" -o\" scip-test\" " ,
80
92
" mv .\\ scip-test\\ scip_install .\\ test" ,
81
93
" mv .\\ test .\\ scip"
0 commit comments