@@ -26,6 +26,21 @@ dynamic = ["version"]
2626[project .urls ]
2727Homepage = " https://github.com/SCIP-Interfaces/PySCIPOpt"
2828
29+ [dependency-groups ]
30+ test = [
31+ " pytest" ,
32+ " pytest-xdist" ,
33+ ]
34+ test-full = [
35+ {"include-group" = " test" },
36+ " networkx" , # only needed for a few tests
37+ ]
38+ coverage = [
39+ { "include-group" = " test-full" },
40+ " coverage" ,
41+ " cython" ,
42+ ]
43+
2944[tool .pytest .ini_options ]
3045norecursedirs = [" check" ]
3146testpaths = [" tests" ]
@@ -39,16 +54,25 @@ version = {attr = "pyscipopt._version.__version__"}
3954[tool .cibuildwheel ]
4055skip =" pp*" # currently doesn't work with PyPy
4156manylinux-x86_64-image = " manylinux_2_28"
57+ manylinux-aarch64-image = " manylinux_2_28"
4258
4359
4460[tool .cibuildwheel .linux ]
4561skip =" pp* cp36* cp37* *musllinux*"
46- before-all = [
47- " (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget" ,
48- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-linux.zip -O scip.zip" ,
49- " unzip scip.zip" ,
50- " mv scip_install scip"
51- ]
62+ before-all = '''
63+ #!/bin/bash
64+ (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget
65+ AARCH=$(uname -m)
66+ echo "------"
67+ echo $AARCH
68+ if [[ $AARCH == "aarch64" ]]; then
69+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux-arm.zip -O scip.zip
70+ else
71+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux.zip -O scip.zip
72+ fi
73+ unzip scip.zip
74+ mv scip_install scip
75+ '''
5276environment = { SCIPOPTDIR =" $(pwd)/scip" , LD_LIBRARY_PATH =" $(pwd)/scip/lib:$LD_LIBRARY_PATH" , DYLD_LIBRARY_PATH =" $(pwd)/scip/lib:$DYLD_LIBRARY_PATH" , PATH =" $(pwd)/scip/bin:$PATH" , PKG_CONFIG_PATH =" $(pwd)/scip/lib/pkgconfig:$PKG_CONFIG_PATH" , RELEASE =" true" }
5377
5478
@@ -58,10 +82,10 @@ before-all = '''
5882#!/bin/bash
5983brew install wget zlib gcc
6084if [[ $CIBW_ARCHS == *"arm"* ]]; then
61- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-macos-arm.zip -O scip.zip
85+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-macos-arm.zip -O scip.zip
6286 export MACOSX_DEPLOYMENT_TARGET=14.0
6387else
64- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-macos-intel.zip -O scip.zip
88+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-macos-intel.zip -O scip.zip
6589 export MACOSX_DEPLOYMENT_TARGET=13.0
6690fi
6791unzip scip.zip
@@ -87,7 +111,7 @@ repair-wheel-command = '''
87111skip =" pp* cp36* cp37*"
88112before-all = [
89113 " choco install 7zip wget" ,
90- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-windows.zip -O scip.zip" ,
114+ " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-windows.zip -O scip.zip" ,
91115 " \" C:\\ Program Files\\ 7-Zip\\ 7z.exe\" x \" scip.zip\" -o\" scip-test\" " ,
92116 " mv .\\ scip-test\\ scip_install .\\ test" ,
93117 " mv .\\ test .\\ scip"
0 commit comments