From e9adc1640b2401b14dda18eca59a7b532b2921f0 Mon Sep 17 00:00:00 2001 From: geisserml Date: Mon, 5 Sep 2022 12:40:22 +0200 Subject: [PATCH] wheel tags: adjust minimum required macOS version see https://github.com/bblanchon/pdfium-binaries/commit/f1430eafa89540849eb19c7b1b777241c0d067fc --- setupsrc/pl_setup/setup_base.py | 4 ++-- tests/test_setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setupsrc/pl_setup/setup_base.py b/setupsrc/pl_setup/setup_base.py index f5242ed6d..5ca1a48aa 100644 --- a/setupsrc/pl_setup/setup_base.py +++ b/setupsrc/pl_setup/setup_base.py @@ -57,8 +57,8 @@ def _get_tag(pl_name): # pip>=20.3 now accepts macOS wheels tagged as 10_x on 11_x. Not sure what applies to 12_x. # Let's retain multi-version tagging for broader compatibility all the same. if pl_name == PlatformNames.darwin_x64: - # pdfium-binaries/steps/05-configure.sh defines `mac_deployment_target = "10.11.0"` - return _get_mac_tag("x86_64", "10_11", "11_0", "12_0") + # pdfium-binaries/steps/05-configure.sh defines `mac_deployment_target = "10.13.0"` + return _get_mac_tag("x86_64", "10_13", "11_0", "12_0") elif pl_name == PlatformNames.darwin_arm64: return _get_mac_tag("arm64", "11_0", "12_0") elif pl_name == PlatformNames.linux_x64: diff --git a/tests/test_setup.py b/tests/test_setup.py index da2b54f13..5f8f4b9a0 100644 --- a/tests/test_setup.py +++ b/tests/test_setup.py @@ -48,7 +48,7 @@ def test_entrypoint(): # setup_base ExpectedTags = ( - (PlatformNames.darwin_x64, "macosx_10_11_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64"), + (PlatformNames.darwin_x64, "macosx_10_13_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64"), (PlatformNames.darwin_arm64, "macosx_11_0_arm64.macosx_12_0_arm64"), (PlatformNames.linux_x64, "manylinux_2_17_x86_64.manylinux2014_x86_64"), (PlatformNames.linux_x86, "manylinux_2_17_i686.manylinux2014_i686"),