Skip to content

Commit 3d66add

Browse files
committed
Correctly enforce min macOS version, and use dotted path for frameworks.
2 parents 51c4fa7 + dd3e00c commit 3d66add

File tree

4 files changed

+206
-338
lines changed

4 files changed

+206
-338
lines changed

.github/workflows/release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
4040
Includes:
4141
* Python ${{ env.PY_VERSION }}.?
42-
* OpenSSL 3.0.5
42+
* OpenSSL 3.1.2
4343
* BZip2 1.0.8
44-
* XZ 5.2.6
45-
* LibFFI 3.4.2
44+
* XZ 5.4.4
45+
* LibFFI 3.4.4
4646
outputs:
4747
upload_url: ${{ steps.create_release.outputs.upload_url }}
4848

4949
build:
50-
runs-on: macOS-12
50+
runs-on: macOS-latest
5151
needs: make-release
5252
strategy:
5353
max-parallel: 4

Makefile

+2-1
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
@@ -842,6 +842,7 @@ $$(PYTHON_SRCDIR-$(sdk))/Makefile: \
842842
CPP=$$(TARGET_TRIPLE-$(sdk))-cpp \
843843
CFLAGS="$$(CFLAGS-$(sdk)) -I$$(BZIP2_MERGE-$(sdk))/include -I$$(XZ_MERGE-$(sdk))/include" \
844844
LDFLAGS="$$(LDFLAGS-$(sdk)) -L$$(XZ_MERGE-$(sdk))/lib -L$$(BZIP2_MERGE-$(sdk))/lib" \
845+
MACOSX_DEPLOYMENT_TARGET="$$(VERSION_MIN-$(os))" \
845846
--prefix="$$(PYTHON_INSTALL-$(sdk))" \
846847
--enable-ipv6 \
847848
--enable-universalsdk \

README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repository:
1212
* `Python 3.10 <https://github.com/beeware/Python-Apple-support/tree/3.10>`__
1313
* `Python 3.11 <https://github.com/beeware/Python-Apple-support/tree/3.11>`__
1414
* `Python 3.12 <https://github.com/beeware/Python-Apple-support/tree/3.12>`__
15+
* `Python 3.13 <https://github.com/beeware/Python-Apple-support/tree/3.13>`__
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)