Skip to content

Commit

Permalink
Merge branch 'dev' into 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Mar 6, 2021
2 parents a07993d + a0cbd67 commit a30a9b4
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 18 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@ jobs:
env:
BUILD_NUMBER: ${{ env.BUILD_NUMBER }}
run: |
# 2020-05-29: The iOS 13.4 SDK changed the implementation of FD_SET
# to use a weak linked symbol (__darwin_check_fd_set_overflow).
# This means any support package built against that SDK is incompatible
# with linking against an earlier SDK.
# However, you can't get the iOS 13.4 SDK on macOS Mojave (10.14),
# because the latest XCode supported on Mojave (11.3.1) only provided
# SDK 13.2.
# So: We force the use of XCode 11.3.1, which ships with the 13.2 SDK.
# For a list of SDKs available on Github Actions, see:
# https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md
sudo xcode-select --switch /Applications/Xcode_11.3.1.app
# 2020-06-24: The Homebrew copy of gettext leaks into the macOS build
# if it is present. Uninstall gettext to make sure that doesn't happen.
# 2021-01-02: Uninstall curl as well. We need curl to download the
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ dist/Python-$(PYTHON_VER)-$1-support.$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-
# Build a "full" tarball with all content for test purposes
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`
# Build a distributable tarball
tar zcvf $$@ -X patch/Python/release.exclude -C build/$1/Support `ls -A build/$1/Support`
tar zcvf $$@ -X patch/Python/release.common.exclude -X patch/Python/release.$1.exclude -C build/$1/Support `ls -A build/$1/Support`

# Build OpenSSL
OpenSSL-$1: $$(OPENSSL_FRAMEWORK-$1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a list of Python standard library path patterns
# we exclude from the embedded device Python-Apple-support tarballs.
# This is a list of support package path patterns that we exclude
# from all Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove binaries; not needed for embedded builds
Expand All @@ -25,9 +25,6 @@ Python/Resources/lib/python*/lib-dynload/_xx*.so
# Remove wsgiref web app module; it's unusual that mobile apps would
# start a web app server with it.
Python/Resources/lib/python*/wsgiref
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
# Remove config-* directory, which is used for compiling C extension modules.
Python/Resources/lib/python*/config-*
# Remove ensurepip. If user code needs pip, it can add it to
Expand Down
7 changes: 7 additions & 0 deletions patch/Python/release.iOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from iOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
4 changes: 4 additions & 0 deletions patch/Python/release.macOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a list of support package path patterns that we exclude
# from macOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
7 changes: 7 additions & 0 deletions patch/Python/release.tvOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from tvOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so
7 changes: 7 additions & 0 deletions patch/Python/release.watchOS.exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a list of support package path patterns that we exclude
# from watchOS Python-Apple-support tarballs.
# It is used by `tar -X` during the Makefile build.
#
# Remove command-line curses toolkit.
Python/Resources/lib/python*/curses
Python/Resources/lib/python*/lib-dynload/_curses*.so

0 comments on commit a30a9b4

Please sign in to comment.