From 744a241545858d054f7bbc9ee2962464b4e40452 Mon Sep 17 00:00:00 2001 From: Ben Tucker Date: Fri, 7 Nov 2025 15:49:46 +0000 Subject: [PATCH] allow uploads of wheels targeting macOS 26 --- tests/unit/forklift/test_legacy.py | 2 ++ warehouse/forklift/legacy.py | 1 + 2 files changed, 3 insertions(+) diff --git a/tests/unit/forklift/test_legacy.py b/tests/unit/forklift/test_legacy.py index 08f56f94c4d4..a84ff25cbe36 100644 --- a/tests/unit/forklift/test_legacy.py +++ b/tests/unit/forklift/test_legacy.py @@ -2844,6 +2844,7 @@ def test_upload_attestation_fails_without_oidc_publisher( "macosx_11_0_x86_64", "macosx_10_15_arm64", "macosx_11_10_universal2", + "macosx_26_0_arm64", "ios_13_0_arm64_iphoneos", "ios_13_0_arm64_iphonesimulator", "ios_13_0_x86_64_iphonesimulator", @@ -3410,6 +3411,7 @@ def test_upload_fails_with_invalid_filename( "macosx_9_2_x86_64", "macosx_16_2_arm64", "macosx_10_15_amd64", + "macosx_27_0_arm64", ], ) def test_upload_fails_with_unsupported_wheel_plat( diff --git a/warehouse/forklift/legacy.py b/warehouse/forklift/legacy.py index a21ccab42195..2c5f740c9b0e 100644 --- a/warehouse/forklift/legacy.py +++ b/warehouse/forklift/legacy.py @@ -140,6 +140,7 @@ "13", "14", "15", + "26", } _ios_platform_re = re.compile(