Skip to content

Commit c4f3251

Browse files
committed
Patch auditwheel.policy.get_arch_name instead of platform.machine
Otherwise i686 arch will still fallback to x86_64.
1 parent 3c52749 commit c4f3251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/audit_wheel_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def main(arch: str, wrapped_args: list[str]) -> None:
1212
with patch("sys.argv", [""] + wrapped_args), patch(
13-
"platform.machine", return_value=arch
13+
"auditwheel.policy.get_arch_name", return_value=arch
1414
):
1515
auditwheel_main()
1616

0 commit comments

Comments
 (0)