Skip to content

Commit dd7c242

Browse files
committed
run abi3audit on the wheel to scan for abi3 violations
1 parent de3931f commit dd7c242

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ archs = ["x86_64", "universal2", "arm64"]
2424
[tool.cibuildwheel.linux]
2525
archs = ["native"]
2626

27+
# Run abi3audit after the default repair commands to scan for abi3 violations
28+
# https://github.com/pypa/abi3audit
29+
[[tool.cibuildwheel.overrides]]
30+
select = "cp*" # Only CPython, not PyPy
31+
inherit.repair-wheel-command = "append"
32+
repair-wheel-command = "pipx run abi3audit --strict --report {wheel}"
33+
2734
# Disable Limited API for PyPy as the build currently fails, see:
2835
# https://github.com/harfbuzz/uharfbuzz/issues/262#issuecomment-3415144557
2936
# https://cibuildwheel.pypa.io/en/stable/configuration/#overrides

0 commit comments

Comments
 (0)