Skip to content

Commit 6a363be

Browse files
committed
Correctly enforce minimum macOS version.
2 parents 0812d63 + dd3e00c commit 6a363be

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CURL_FLAGS=--disable --fail --location --create-dirs --progress-bar
6565

6666
# macOS targets
6767
TARGETS-macOS=macosx.x86_64 macosx.arm64
68-
VERSION_MIN-macOS=10.15
68+
VERSION_MIN-macOS=11.0
6969
CFLAGS-macOS=-mmacosx-version-min=$(VERSION_MIN-macOS)
7070

7171
# iOS targets
@@ -846,6 +846,7 @@ $$(PYTHON_SRCDIR-$(sdk))/Makefile: \
846846
LIBLZMA_LIBS="-L$$(XZ_MERGE-$(sdk))/lib -llzma" \
847847
BZIP2_CFLAGS="-I$$(BZIP2_MERGE-$(sdk))/include" \
848848
BZIP2_LIBS="-L$$(BZIP2_MERGE-$(sdk))/lib -lbz2" \
849+
MACOSX_DEPLOYMENT_TARGET="$$(VERSION_MIN-$(os))" \
849850
--prefix="$$(PYTHON_INSTALL-$(sdk))" \
850851
--enable-ipv6 \
851852
--enable-universalsdk \

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ Python Apple Support
44
This is a meta-package for building a version of Python that can be embedded
55
into a macOS, iOS, tvOS or watchOS project.
66

7-
**This branch builds a packaged version of Python 3.12.0**.
7+
**This branch builds a packaged version of Python 3.13.0**.
88
Other Python versions are available by cloning other branches of the main
99
repository:
1010

1111
* `Python 3.8 <https://github.com/beeware/Python-Apple-support/tree/3.8>`__
1212
* `Python 3.9 <https://github.com/beeware/Python-Apple-support/tree/3.9>`__
1313
* `Python 3.10 <https://github.com/beeware/Python-Apple-support/tree/3.10>`__
1414
* `Python 3.11 <https://github.com/beeware/Python-Apple-support/tree/3.11>`__
15+
* `Python 3.12 <https://github.com/beeware/Python-Apple-support/tree/3.12>`__
1516

1617
It works by downloading, patching, and building a fat binary of Python and selected
1718
pre-requisites, and packaging them as static libraries that can be incorporated into an
@@ -41,10 +42,10 @@ The binaries support x86_64 and arm64 for macOS; arm64 for iOS and appleTV
4142
devices; and arm64_32 for watchOS. It also supports device simulators on both
4243
x86_64 and M1 hardware. This should enable the code to run on:
4344

44-
* macOS 10.15 (Catalina) or later, on:
45+
* macOS 11 (Big Sur) or later, on:
4546
* MacBook (including MacBooks using Apple Silicon)
4647
* iMac (including iMacs using Apple Silicon)
47-
* Mac Mini (including M1 Apple Silicon Mac minis)
48+
* Mac Mini (including Apple Silicon Mac minis)
4849
* Mac Studio (all models)
4950
* Mac Pro (all models)
5051
* iOS 12.0 or later, on:

0 commit comments

Comments
 (0)