pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/7e91e0dcfe2faab1e1a4630e6f745aa30ca87b3d

9241e157469407.css" /> gh-120831: Increase the default minimum supported iOS version to 13.0… · python/cpython@7e91e0d · GitHub
Skip to content

Commit 7e91e0d

Browse files
gh-120831: Increase the default minimum supported iOS version to 13.0 (#121250)
Increases the default minimum iOS version to 13.0. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
1 parent 2bac2b8 commit 7e91e0d

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

Doc/using/ios.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ running, so you only need to deal with the Python code itself.
3333
Python at runtime on iOS
3434
========================
3535

36+
iOS version compatibility
37+
-------------------------
38+
39+
The minimum supported iOS version is specified at compile time, using the
40+
:option:`--host` option to ``configure``. By default, when compiled for iOS,
41+
Python will be compiled with a minimum supported iOS version of 13.0. To use a
42+
different miniumum iOS version, provide the version number as part of the
43+
:option:`!--host` argument - for example,
44+
``--host=arm64-apple-ios15.4-simulator`` would compile an ARM64 simulator build
45+
with a deployment target of 15.4.
46+
3647
Platform identification
3748
-----------------------
3849

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The default minimum iOS version was increased to 13.0.

configure

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ AC_MSG_RESULT(["$MACHDEP"])
382382
# On cross-compile builds, configure will look for a host-specific compiler by
383383
# prepending the user-provided host triple to the required binary name.
384384
#
385-
# On iOS, this results in binaries like "arm64-apple-ios12.0-simulator-gcc",
385+
# On iOS, this results in binaries like "arm64-apple-ios13.0-simulator-gcc",
386386
# which isn't a binary that exists, and isn't very convenient, as it contains the
387387
# iOS version. As the default cross-compiler name won't exist, configure falls
388388
# back to gcc, which *definitely* won't work. We're providing wrapper scripts for
@@ -774,8 +774,10 @@ if test "$cross_compiling" = yes; then
774774
_host_device=${_host_device:=os}
775775

776776
# IPHONEOS_DEPLOYMENT_TARGET is the minimum supported iOS version
777+
AC_MSG_CHECKING([iOS deployment target])
777778
IPHONEOS_DEPLOYMENT_TARGET=${_host_os:3}
778-
IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:=12.0}
779+
IPHONEOS_DEPLOYMENT_TARGET=${IPHONEOS_DEPLOYMENT_TARGET:=13.0}
780+
AC_MSG_RESULT([$IPHONEOS_DEPLOYMENT_TARGET])
779781

780782
case "$host_cpu" in
781783
aarch64)

iOS/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ especially important, as many parts of the standard library (including the
188188
``ctypes`` module at runtime.
189189

190190
By default, Python will be compiled with an iOS deployment target (i.e., the
191-
minimum supported iOS version) of 12.0. To specify a different deployment
191+
minimum supported iOS version) of 13.0. To specify a different deployment
192192
target, provide the version number as part of the ``--host`` argument - for
193193
example, ``--host=arm64-apple-ios15.4-simulator`` would compile an ARM64
194194
simulator build with a deployment target of 15.4.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy