]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] Backport macOS universal build and installer fixes from 3.6. (GH-6469)
authorNed Deily <nad@python.org>
Sat, 14 Apr 2018 14:37:28 +0000 (10:37 -0400)
committerGitHub <noreply@github.com>
Sat, 14 Apr 2018 14:37:28 +0000 (10:37 -0400)
commitee8e4b61d6181f5bfadf6ee3d229f0ebda8a6ae9
tree525154fe97b72b68d70f9f320bf3aeee3dbd2393
parenta61f5da54772b0ea6a7eccf21df08e61585ef712
[2.7] Backport macOS universal build and installer fixes from 3.6. (GH-6469)

These include:

- bpo-32726: Provide an additional, more modern macOS installer variant that
  supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied
  third-party libraries to OpenSSL 1.0.2n and SQLite 3.22.0. The 10.9+
  installer now supplies its own private copy of Tcl/Tk 8.6.8.

- bpo-24414: Default macOS deployment target is now set by ``configure`` to
  the build system's OS version (as is done by Python 3), not ``10.4``;
  override with, for example, ``./configure MACOSX_DEPLOYMENT_TARGET=10.4``.

- bpo-19019: All 2.7 macOS installer variants now supply their own version
  of ``OpenSSL 1.0.2``; the Apple-supplied SSL libraries and root
  certificates are not longer used.  The ``Installer Certificate`` command
  in ``/Applications/Python 2.7`` may be used to download and install a
  default set of root certificates from the third-party ``certifi`` package.

- bpo-11485: python.org macOS Pythons no longer supply a default SDK value
  (e.g. ``-isysroot /``) or specific compiler version default (e.g.
  ``gcc-4.2``) when building extension modules.  Use ``CC``, ``SDKROOT``,
  and ``DEVELOPER_DIR`` environment variables to override compilers or to
  use an SDK.  See Apple's ``xcrun`` man page for more info.

- prepare for pending Apple removal of 32-bit support in future macOS release
18 files changed:
Mac/BuildScript/README.txt
Mac/BuildScript/build-installer.py
Mac/BuildScript/issue19373_tk_8_5_15_source.patch [deleted file]
Mac/BuildScript/openssl_sdk_makedepend.patch [deleted file]
Mac/BuildScript/resources/Conclusion.rtf [new file with mode: 0644]
Mac/BuildScript/resources/ReadMe.rtf
Mac/BuildScript/resources/Welcome.rtf
Mac/BuildScript/resources/install_certificates.command [new file with mode: 0755]
Mac/BuildScript/scripts/postflight.documentation
Mac/BuildScript/tk868_on_10_8_10_9.patch [new file with mode: 0644]
Mac/IDLE/Makefile.in
Mac/README
Misc/NEWS.d/next/macOS/2018-04-14-08-49-40.bpo-11485.oALntE.rst [new file with mode: 0644]
Misc/NEWS.d/next/macOS/2018-04-14-08-54-31.bpo-19019.mRkb0w.rst [new file with mode: 0644]
Misc/NEWS.d/next/macOS/2018-04-14-08-55-36.bpo-24414.Z5A1cS.rst [new file with mode: 0644]
Misc/NEWS.d/next/macOS/2018-04-14-08-56-20.bpo-32726.Mticyn.rst [new file with mode: 0644]
configure
configure.ac