File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,17 @@ def main():
55
55
assert len (files ) == 1 , files
56
56
file = files [0 ]
57
57
58
- # we need to handle macOS universal2 & arm64 here for now, let's use additional_platforms for this.
58
+ # we need to handle macOS x86_64 & arm64 here for now, let's use additional_platforms for this.
59
59
additional_platforms = []
60
60
if os_ == "macos" :
61
61
# first, get the target macOS deployment target from the wheel
62
62
match = re .match (r"^.*-macosx_(\d+)_(\d+)_.*\.whl$" , file .name )
63
63
assert match is not None , f"Couldn't match on { file .name } "
64
64
target = tuple (map (int , match .groups ()))
65
65
66
- # let's add universal2 platform for this wheel.
67
- additional_platforms = ["macosx_{}_{}_universal2" .format (* target )]
66
+ # given pip support for universal2 was added after x86_64 introduction
67
+ # let's also add x86_64 platform.
68
+ additional_platforms .append ("macosx_{}_{}_x86_64" .format (* target ))
68
69
69
70
# given pip support for universal2 was added after arm64 introduction
70
71
# let's also add arm64 platform.
You can’t perform that action at this time.
0 commit comments