Skip to content

Commit

Permalink
tweak abi3audit command
Browse files Browse the repository at this point in the history
abi3audit needs to be installed, use pipx
  • Loading branch information
minrk committed Dec 12, 2024
1 parent c760755 commit 6ad801b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ CXXFLAGS = "-Wl,-strip-all"

[tool.cibuildwheel.macos]
before-all = "bash tools/install_libzmq.sh"
repair-wheel-command = "delocate-wheel --sanitize-rpaths --require-archs {delocate_archs} -w {dest_dir} -v {wheel}; abi3audit -s {wheel}"
repair-wheel-command = "delocate-wheel --sanitize-rpaths --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"

[tool.cibuildwheel.macos.environment]
# note: everything here needs to also be duplicated in overrides below
Expand Down Expand Up @@ -211,7 +211,7 @@ select = "cp311-*"
inherit.config-settings = "append"
config-settings."wheel.py-api" = "cp311"
inherit.repair-wheel-command = "append"
repair-wheel-command = ["abi3audit", "--strict", "--report" , "{wheel}"]
repair-wheel-command = "pipx run abi3audit --strict --report {wheel}"

# for benchmarking, build limited cp312 as well
[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit 6ad801b

Please sign in to comment.