Skip to content

Commit 6d536c4

Browse files
committed
Merge branch 'dev' into 3.8
2 parents ebdfb65 + 5561d94 commit 6d536c4

File tree

8 files changed

+12
-232
lines changed

8 files changed

+12
-232
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
upload_url: ${{ steps.create_release.outputs.upload_url }}
4545

4646
build:
47-
runs-on: macOS-latest
47+
runs-on: macOS-11.0
4848
needs: make-release
4949
strategy:
5050
max-parallel: 4

Makefile

+1-7
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BZIP2_VERSION=1.0.8
4848

4949
XZ_VERSION=5.2.5
5050

51-
LIBFFI_VERSION=3.3
51+
LIBFFI_VERSION=3.4.2
5252

5353
# Supported OS
5454
OS=macOS iOS tvOS watchOS
@@ -492,12 +492,6 @@ $$(LIBFFI_DIR-$1)/darwin_common: downloads/libffi-$(LIBFFI_VERSION).tgz
492492
# Unpack sources
493493
mkdir -p $$(LIBFFI_DIR-$1)
494494
tar zxf downloads/libffi-$(LIBFFI_VERSION).tgz --strip-components 1 -C $$(LIBFFI_DIR-$1)
495-
# Apply libffi patches. Apple builds of libffi use a utility script; that
496-
# script doesn't work with Python3 using the out-of-the-box version in
497-
# libffi 3.3. This patch adds some changes that will be included in libFFI
498-
# 3.4 (whenever that is released), plus some extra targets to support
499-
# tvOS and watchOS.
500-
cd $$(LIBFFI_DIR-$1) && patch -p1 < $(PROJECT_DIR)/patch/libffi/libffi.patch
501495
# Configure the build
502496
cd $$(LIBFFI_DIR-$1) && python generate-darwin-source-and-headers.py --only-$(shell echo $1 | tr '[:upper:]' '[:lower:]')
503497

README.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Apple Support
22
====================
33

4-
**This repository branch builds a packaged version of Python 3.8.9**.
4+
**This repository branch builds a packaged version of Python 3.8.11**.
55
Other Python versions are available by cloning other branches of the main
66
repository.
77

@@ -12,11 +12,11 @@ It works by downloading, patching, and building a fat binary of Python and
1212
selected pre-requisites, and packaging them as static libraries that can be
1313
incorporated into an XCode project.
1414

15-
The binaries support x86_64 for macOS; arm64 for iOS and appleTV devices;
16-
and armv7k for watchOS. This should enable the code to run on:
15+
The binaries support x86_64 and arm64 for macOS; arm64 for iOS and appleTV
16+
devices; and armv7k for watchOS. This should enable the code to run on:
1717

18-
* MacBook
19-
* iMac
18+
* MacBook (including MacBooks using Apple Silicon)
19+
* iMac (including iMacs using Apple Silicon)
2020
* Mac Pro
2121
* iPhone (5s or later)
2222
* iPad (5th gen or later)
@@ -71,7 +71,7 @@ to build a specific package; or, to build all supported packages::
7171
For details on how to add these binary packages to your project, see the
7272
package-specific documentation linked above.
7373

74-
.. _for macOS: https://briefcase-support.org/python?platform=macOS&version=3.9
75-
.. _for iOS: https://briefcase-support.org/python?platform=iOS&version=3.9
76-
.. _for tvOS: https://briefcase-support.org/python?platform=tvOS&version=3.9
77-
.. _for watchOS: https://briefcase-support.org/python?platform=watchOS&version=3.9
74+
.. _for macOS: https://briefcase-support.org/python?platform=macOS&version=3.8
75+
.. _for iOS: https://briefcase-support.org/python?platform=iOS&version=3.8
76+
.. _for tvOS: https://briefcase-support.org/python?platform=tvOS&version=3.8
77+
.. _for watchOS: https://briefcase-support.org/python?platform=watchOS&version=3.8

patch/Python/release.common.exclude

+1-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ Python/Resources/lib/python*/lib2to3/tests
1818
Python/Resources/lib/python*/sqlite3/test
1919
Python/Resources/lib/python*/test
2020
# Remove compiled test and example modules.
21-
Python/Resources/lib/python*/lib-dynload/_test*.so
22-
Python/Resources/lib/python*/lib-dynload/_ctypes_test*.so
23-
Python/Resources/lib/python*/lib-dynload/xxlimited*.so
24-
Python/Resources/lib/python*/lib-dynload/_xx*.so
25-
# Remove wsgiref web app module; it's unusual that mobile apps would
26-
# start a web app server with it.
27-
Python/Resources/lib/python*/wsgiref
21+
Python/Resources/lib/python*/lib-dynload/*.so
2822
# Remove config-* directory, which is used for compiling C extension modules.
2923
Python/Resources/lib/python*/config-*
3024
# Remove ensurepip. If user code needs pip, it can add it to

patch/Python/release.iOS.exclude

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
#
55
# Remove command-line curses toolkit.
66
Python/Resources/lib/python*/curses
7-
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.tvOS.exclude

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
#
55
# Remove command-line curses toolkit.
66
Python/Resources/lib/python*/curses
7-
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.watchOS.exclude

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
#
55
# Remove command-line curses toolkit.
66
Python/Resources/lib/python*/curses
7-
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/libffi/libffi.patch

-205
This file was deleted.

0 commit comments

Comments
 (0)