]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-120831: Correct default minimum iOS version. (GH-122339) (#122341)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Jul 2024 02:18:34 +0000 (04:18 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2024 02:18:34 +0000 (02:18 +0000)
gh-120831: Correct default minimum iOS version. (GH-122339)

Correct default minimum iOS version.
(cherry picked from commit 4a2607c1807982a107445b5a35240f587a61eb0d)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Lib/sysconfig/__init__.py

index 83e057c177f8c0ecbbba3ab08650d22d8e596864..80aef3447117e5ec89061cb7d1bb6213a573f1e4 100644 (file)
@@ -642,7 +642,7 @@ def get_platform():
             release = m.group()
     elif osname[:6] == "darwin":
         if sys.platform == "ios":
-            release = get_config_vars().get("IPHONEOS_DEPLOYMENT_TARGET", "12.0")
+            release = get_config_vars().get("IPHONEOS_DEPLOYMENT_TARGET", "13.0")
             osname = sys.platform
             machine = sys.implementation._multiarch
         else: