Skip to content

Commit

Permalink
DNM: Manually retrigger ci with pinned abi3audit
Browse files Browse the repository at this point in the history
The latest release of abi3audit is incorrectly flagging certain symbols
during the release build. To workaround this in the short term we'll
need to pin abi3audit to avoid this. However for the 1.2.0rc1 release we
are blocked from publishing the package on pypi until this is resolved.
This commit manually updates the pyproject.toml to pin abi3audit and
also adjusts the job config to push from a branch instead of the tag.
  • Loading branch information
mtreinish committed Aug 1, 2024
1 parent 57bf058 commit dd3e901
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Wheel Builds
on:
push:
tags:
- '*'
branches: ['retrigger-ci']

jobs:
build_wheels:
name: Build wheels
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ environment = 'RUSTUP_TOOLCHAIN="stable"'
[tool.cibuildwheel.linux]
before-all = "yum install -y wget && {package}/tools/install_rust.sh"
environment = 'PATH="$PATH:$HOME/.cargo/bin" CARGO_NET_GIT_FETCH_WITH_CLI="true" RUSTUP_TOOLCHAIN="stable"'
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} && pipx run abi3audit --strict --report {wheel}"
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} && pip install 'abi3audit==0.0.10' && abi3audit --strict --report {wheel}"

[tool.cibuildwheel.macos]
environment = "MACOSX_DEPLOYMENT_TARGET=10.12"
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} && pipx run abi3audit --strict --report {wheel}"
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} && pip install 'abi3audit==0.0.10' && abi3audit --strict --report {wheel}"

[tool.cibuildwheel.windows]
repair-wheel-command = "cp {wheel} {dest_dir}/. && pipx run abi3audit --strict --report {wheel}"
repair-wheel-command = "cp {wheel} {dest_dir}/. && pip install abi3audit==0.0.10 && abi3audit --strict --report {wheel}"

[tool.ruff]
select = [
Expand Down

0 comments on commit dd3e901

Please sign in to comment.