Skip to content

Commit 9d5273e

Browse files
Prevent appending "universal" for unknown arch
Co-authored-by: Matthieu Darbois <[email protected]>
1 parent aef930c commit 9d5273e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def _mac_binary_formats(version, cpu_arch):
410410
elif cpu_arch == "arm64":
411411
formats.append("universal2")
412412

413-
if cpu_arch != "arm64":
413+
if cpu_arch in {"x86_64", "i386", "ppc64", "ppc"}:
414414
formats.append("universal")
415415

416416
return formats

0 commit comments

Comments
 (0)