@@ -34,7 +34,9 @@ testpaths = ["test"]
3434wheel.packages = [" python/basix" ]
3535
3636[tool .cibuildwheel ]
37- build-frontend = {name = " pip" , args = [" --config-settings=wheel.py-api=cp312" ] }
37+ build-frontend = { name = " pip" , args = [
38+ " --config-settings=wheel.py-api=cp312" ,
39+ ] }
3840build = [
3941 " cp3{10,11,12,13}-manylinux_x86_64" ,
4042 " cp3{10,11,12,13}-manylinux_aarch64" ,
@@ -51,17 +53,20 @@ test-command = [
5153test-requires = [" pytest-xdist" ]
5254test-extras = [" test" ]
5355test-skip = " *-*linux_aarch64"
54- manylinux-x86_64-image = " quay.io/pypa/manylinux_2_28_x86_64:2025.08.29-1"
55- manylinux-aarch64-image = " quay.io/pypa/manylinux_2_28_aarch64:2025.08.29-1"
5656
5757[tool .cibuildwheel .windows ]
58- build-frontend = {name = " pip" , args = [" --config-settings=wheel.py-api=cp312" , " --config-settings=cmake.args=-DINSTALL_RUNTIME_DEPENDENCIES=ON" , " --config-settings=cmake.args=-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ] }
59- test-command = [
60- " python -m pytest -n auto --durations 20 {project}/test/" ,
61- ]
58+ build-frontend = { name = " pip" , args = [
59+ " --config-settings=wheel.py-api=cp312" ,
60+ " --config-settings=cmake.args=-DINSTALL_RUNTIME_DEPENDENCIES=ON" ,
61+ " --config-settings=cmake.args=-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ,
62+ ] }
63+ test-command = [" python -m pytest -n auto --durations 20 {project}/test/" ]
64+
65+ [[tool .cibuildwheel .overrides ]]
66+ select = " cp3{12,13}-win_amd64"
6267repair-wheel-command = [
63- " copy {wheel} {dest_dir}" ,
64- " pipx run abi3audit --strict --report {wheel}" ,
68+ " copy {wheel} {dest_dir}" ,
69+ " pipx run abi3audit --verbose --strict --report {wheel}" ,
6570]
6671
6772[tool .cibuildwheel .linux ]
@@ -70,15 +75,12 @@ archs = [
7075 " aarch64" ,
7176] # Forces arm64 build on x86_64 runner using emulation (and vice-versa).
7277before-build = " yum -y update && yum install -y epel-release && yum install -y openblas-devel ninja-build"
73- test-command = [
74- " cmake -G Ninja -DPython3_EXECUTABLE=$(which python) -B build-dir -S {project}/test/test_cmake" ,
75- " cmake --build build-dir/" ,
76- " build-dir/a.out" ,
77- " python -m pytest -n auto --durations 20 {project}/test/" ,
78- ]
78+
79+ [[tool .cibuildwheel .overrides ]]
80+ select = " cp3{12,13}-manylinux*"
7981repair-wheel-command = [
80- " auditwheel repair -w {dest_dir} {wheel}" ,
81- " pipx run abi3audit --strict --report {wheel}" ,
82+ " auditwheel repair -w {dest_dir} {wheel}" ,
83+ " pipx run abi3audit --verbose --strict --report {wheel}" ,
8284]
8385
8486[tool .cibuildwheel .macos ]
@@ -88,15 +90,12 @@ archs = [
8890 " arm64" ,
8991] # Forces x86_64 build on arm64 runner using cross-compilation (and vice-versa).
9092before-build = " export HOMEBREW_AUTO_UPDATING=0 && brew update && brew install ninja"
91- test-command = [
92- " cmake -G Ninja -DPython3_EXECUTABLE=$(which python) -B build-dir -S {project}/test/test_cmake" ,
93- " cmake --build build-dir/" ,
94- " build-dir/a.out" ,
95- " python -m pytest -n auto --durations 20 {project}/test/" ,
96- ]
93+
94+ [[tool .cibuildwheel .overrides ]]
95+ select = " cp3{12,13}-macosx*"
9796repair-wheel-command = [
98- " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" ,
99- " pipx run abi3audit --strict --report {wheel}" ,
97+ " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" ,
98+ " pipx run abi3audit --verbose --strict --report {wheel}" ,
10099]
101100
102101[tool .mypy ]
0 commit comments