Skip to content

Commit c58d5a7

Browse files
committed
Merge branch 'dev' into 3.6
2 parents 64b25d4 + a0cbd67 commit c58d5a7

File tree

7 files changed

+28
-18
lines changed

7 files changed

+28
-18
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,6 @@ jobs:
6969
env:
7070
BUILD_NUMBER: ${{ env.BUILD_NUMBER }}
7171
run: |
72-
# 2020-05-29: The iOS 13.4 SDK changed the implementation of FD_SET
73-
# to use a weak linked symbol (__darwin_check_fd_set_overflow).
74-
# This means any support package built against that SDK is incompatible
75-
# with linking against an earlier SDK.
76-
# However, you can't get the iOS 13.4 SDK on macOS Mojave (10.14),
77-
# because the latest XCode supported on Mojave (11.3.1) only provided
78-
# SDK 13.2.
79-
# So: We force the use of XCode 11.3.1, which ships with the 13.2 SDK.
80-
# For a list of SDKs available on Github Actions, see:
81-
# https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md
82-
sudo xcode-select --switch /Applications/Xcode_11.3.1.app
83-
8472
# 2020-06-24: The Homebrew copy of gettext leaks into the macOS build
8573
# if it is present. Uninstall gettext to make sure that doesn't happen.
8674
# 2021-01-02: Uninstall curl as well. We need curl to download the

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ dist/Python-$(PYTHON_VER)-$1-support.$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-
344344
# Build a "full" tarball with all content for test purposes
345345
tar zcvf dist/Python-$(PYTHON_VER)-$1-support.test-$(BUILD_NUMBER).tar.gz -X patch/Python/test.exclude -C build/$1/Support `ls -A build/$1/Support`
346346
# Build a distributable tarball
347-
tar zcvf $$@ -X patch/Python/release.exclude -C build/$1/Support `ls -A build/$1/Support`
347+
tar zcvf $$@ -X patch/Python/release.common.exclude -X patch/Python/release.$1.exclude -C build/$1/Support `ls -A build/$1/Support`
348348

349349
# Build OpenSSL
350350
OpenSSL-$1: $$(OPENSSL_FRAMEWORK-$1)

patch/Python/release.exclude renamed to patch/Python/release.common.exclude

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# This is a list of Python standard library path patterns
2-
# we exclude from the embedded device Python-Apple-support tarballs.
1+
# This is a list of support package path patterns that we exclude
2+
# from all Python-Apple-support tarballs.
33
# It is used by `tar -X` during the Makefile build.
44
#
55
# Remove binaries; not needed for embedded builds
@@ -25,9 +25,6 @@ Python/Resources/lib/python*/lib-dynload/_xx*.so
2525
# Remove wsgiref web app module; it's unusual that mobile apps would
2626
# start a web app server with it.
2727
Python/Resources/lib/python*/wsgiref
28-
# Remove command-line curses toolkit.
29-
Python/Resources/lib/python*/curses
30-
Python/Resources/lib/python*/lib-dynload/_curses*.so
3128
# Remove config-* directory, which is used for compiling C extension modules.
3229
Python/Resources/lib/python*/config-*
3330
# Remove ensurepip. If user code needs pip, it can add it to

patch/Python/release.iOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from iOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.macOS.exclude

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from macOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#

patch/Python/release.tvOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from tvOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

patch/Python/release.watchOS.exclude

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This is a list of support package path patterns that we exclude
2+
# from watchOS Python-Apple-support tarballs.
3+
# It is used by `tar -X` during the Makefile build.
4+
#
5+
# Remove command-line curses toolkit.
6+
Python/Resources/lib/python*/curses
7+
Python/Resources/lib/python*/lib-dynload/_curses*.so

0 commit comments

Comments
 (0)