From c966a6898c65365340ea1f88f70b0ae4864f7422 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 31 Aug 2022 09:22:40 +0200 Subject: [PATCH] makepanda: Fix naming of wheels for macOS 12.0 --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index afff30627a..b44e6a72b0 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -451,7 +451,7 @@ elif target == 'darwin': else: maj, min = platform.mac_ver()[0].split('.')[:2] osxver = int(maj), int(min) - if osxver[0] == 11: + if osxver[0] >= 11: # I think Python pins minor version to 0 from macOS 11 onward osxver = (osxver[0], 0)