]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295)
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 22 Nov 2020 10:18:40 +0000 (11:18 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 10:18:40 +0000 (11:18 +0100)
commite8b1c038b14b5fc8120aab62c9bf5fb840274cb6
treee4b3ac9e3a17883c78d284c2f1552820ae098106
parent0aab3522b259c40abf1f070c71aa7b914c1239b5
[3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295)

* [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855)

Co-authored-by: Lawrence D’Anna <lawrence_danna@apple.com>
* Add support for macOS 11 and Apple Silicon (aka arm64)

  As a side effect of this work use the system copy of libffi on macOS, and remove the vendored copy

* Support building on recent versions of macOS while deploying to older versions

  This allows building installers on macOS 11 while still supporting macOS 10.9..
(cherry picked from commit 41761933c1c30bb6003b65eef1ba23a83db4eae4)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* Back port of changes to _decimal to support arm64

* temp_dir is in test.support in 3.9
28 files changed:
Lib/_osx_support.py
Lib/ctypes/macholib/dyld.py
Lib/ctypes/test/test_macholib.py
Lib/distutils/tests/test_build_ext.py
Lib/test/test_bytes.py
Lib/test/test_platform.py
Lib/test/test_posix.py
Lib/test/test_time.py
Lib/test/test_unicode.py
Mac/BuildScript/build-installer.py
Mac/BuildScript/openssl-mac-arm64.patch [new file with mode: 0644]
Mac/README.rst
Mac/Tools/pythonw.c
Misc/NEWS.d/next/macOS/2020-11-01-16-40-23.bpo-41100.BApztP.rst [new file with mode: 0644]
Modules/_ctypes/callbacks.c
Modules/_ctypes/callproc.c
Modules/_ctypes/ctypes.h
Modules/_ctypes/malloc_closure.c
Modules/_decimal/libmpdec/mpdecimal.h
Modules/getpath.c
Modules/posixmodule.c
Modules/timemodule.c
Python/bootstrap_hash.c
Python/pytime.c
configure
configure.ac
pyconfig.h.in
setup.py