File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,17 @@ def main():
5555 assert len (files ) == 1 , files
5656 file = files [0 ]
5757
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.
5959 additional_platforms = []
6060 if os_ == "macos" :
6161 # first, get the target macOS deployment target from the wheel
6262 match = re .match (r"^.*-macosx_(\d+)_(\d+)_.*\.whl$" , file .name )
6363 assert match is not None , f"Couldn't match on { file .name } "
6464 target = tuple (map (int , match .groups ()))
6565
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 ))
6869
6970 # given pip support for universal2 was added after arm64 introduction
7071 # let's also add arm64 platform.
You can’t perform that action at this time.
0 commit comments