summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript/build-installer.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) ↵Łukasz Langa2023-06-061-3/+3
| | | | | | | | | | | | | | | | | (GH-105200) (GH-105205) (#105370) Upgrade builds to OpenSSL 1.1.1u. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). (cherry picked from commit ede89af) (cherry picked from commit e15de14c16ce98e773c31607bd70ee911e4ac073) Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Ned Deily <nad@python.org>
* [3.8] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101752)Steve Dower2023-03-071-3/+3
| | | | | | | Fixes CVE-2023-0286 (High) and a couple of Medium security issues. https://www.openssl.org/news/secadv/20230207.txt Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Ned Deily <nad@python.org>
* [3.8] bpo-47024: Update Windows builds and macOS installer build to use ↵Ned Deily2022-03-151-4/+3
| | | | | | | OpenSSL 1.1.1n. (GH-31912) * bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n. * Revert inadvertent sqlite downgrade
* bpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey (GH-29276) ↵Miss Islington (bot)2021-10-281-1/+1
| | | | | | | | | (GH-29279) when using the Tk 8.6.11 provided by python.org macOS installers. Patch by Marc Culler of the Tk project. (cherry picked from commit be8318be05e1a874215fa75b8845ede74b2c69b6) Co-authored-by: Ned Deily <nad@python.org>
* bpo-45007: Update macOS installer builds to use OpenSSL 1.1.1l (GH-28051) ↵Miss Islington (bot)2021-08-301-3/+4
| | | | | | | (GH-28059) (cherry picked from commit 94b2639fad50d7ff8acd12c11e5fe5f9a6e1da5c) Co-authored-by: Ned Deily <nad@python.org>
* [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806)Ned Deily2021-05-021-16/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-41100: Support macOS 11 and Apple Silicon on Python 3.8 This is a partial backport of bpo-41100 changes `e8b1c038b14b5fc8120aab62c9bf5fb840274cb6` and `96d906b144e6e6aa96c5ffebecbcc5d38034bbda` for Python 3.8. We introduce the ability to build Python from source for `arm64` on macOS, but we do not make a promise of support. This allows us to omit support for Universal2 binaries as well as weak-linking of symbols from the macOS SDK based on the deployment target, which are larger changes much more difficult to merge. This also includes a backport of subsequent bpo-42688 change `7e729978fa08a360cbf936dc215ba7dd25a06a08` to fix build errors with external `libffi`. * bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH-23301) (GH-23455) On macOS system provided libraries are in a shared library cache and not at their usual location. This PR teaches distutils to search in the SDK, even if there was no "-sysroot" argument in the compiler flags. (cherry picked from commit 404a719b5127602c1a948f8e189ab61cd3f147d8) * bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556) macOS releases numbering has changed as of macOS 11 Big Sur. Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert. (cherry picked from commit 5291639e611dc3f55a34666036f2c3424648ba50) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (GH-24341) (GH-24410) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (cherry picked from commit 49926cf2bcc8b44d9b8f148d81979ada191dd9d5) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: FX Coudert <fxcoudert@gmail.com> Co-authored-by: Max Bélanger <aeromax@gmail.com>
* bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640)Miss Islington (bot)2021-04-271-3/+3
| | | | | (cherry picked from commit ce827816442613f982c356aa2f434c3c8a0c8917) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089)Christian Heimes2021-03-301-3/+3
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran. (cherry picked from commit a54fc683f237d8f0b6e999a63aa9b8c0a45b7fef) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677)Miss Islington (bot)2021-03-011-3/+3
| | | | | (cherry picked from commit 0242494a156970186cbc4121ccf03aefbddea716) Co-authored-by: Ned Deily <nad@python.org>
* [3.8] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674). ↵Erlend Egeberg Aasland2021-01-051-3/+3
| | | | | | | | | (GH-24129) (cherry picked from commit c94ee13ad596d26d1859078bc09806aa59bb0000) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:ned-deily
* bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) ↵Miss Islington (bot)2021-01-041-3/+3
| | | | | | | | (#24084) (cherry picked from commit 14097a2785414c728d41d8d730a469a8c46ecdb9) Co-authored-by: Ned Deily <nad@python.org>
* Update Sphinx version for macOS installer build. (GH-24082) (GH-24088)Miss Islington (bot)2021-01-041-1/+0
| | | | | | (cherry picked from commit 0f3b96b368dd7ebb5dcd3759a30322dbd027f292) Co-authored-by: Ned Deily <nad@python.org>
* bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959)Miss Skeleton (bot)2020-10-051-3/+3
| | | | | | https://sqlite.org/releaselog/3_33_0.html (cherry picked from commit 9a7642667a71a27b38b96eb63df45f17f48b3467) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)Miss Islington (bot)2020-07-201-3/+3
| | | | | (cherry picked from commit 7cf1cb36ecafabff363790d245f809d3894fbbaf) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Forward port macOS installer updates from 3.7 (GH-21132) (GH-21137)Ned Deily2020-06-251-57/+100
| | | | | | - fix installer builds when using latest versions of Python 3 - fix installer builds on newer macOS releases with SIP - Python Launcher app factory defaults now use python3 - 3.x installer now updates the Current symlink in framework
* bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705)Miss Islington (bot)2020-06-081-3/+3
| | | | | (cherry picked from commit 37eed5a9ee7c802e7151ee9939ed604032886639) Co-authored-by: Ned Deily <nad@python.org>
* Fix the link to ncurses patch download in macos installer build script ↵Miss Islington (bot)2020-05-271-1/+1
| | | | | | | | | | (GH-20421) Reason: the link `ftp://invisible-island.net/ncurses//5.9/ncurses-5.9-20120616-patch.sh.bz2` is dead, which prevents `Mac/BuildScript/build-installer.py` from completing. Looks like the host of the FTP server was changed to `ftp.invisible-island.net`, thus this proposal. Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> (cherry picked from commit 7da46b676aed7111de34b57c8b942a7f3bb80327) Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com>
* bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-19642)Miss Islington (bot)2020-04-221-3/+3
| | | | | (cherry picked from commit 783a673f23c5e9ffafe12fe172e119dc0fa2abda) Co-authored-by: Ned Deily <nad@python.org>
* bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)Miss Islington (bot)2020-03-021-3/+3
| | | | | | Automerge-Triggered-By: @zooba (cherry picked from commit 1382c3289bcfd34ac6811fdf9aa5bc09ca8c320e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-38117: Updated OpenSSL to 1.1.1d in macOS installer. (GH-16170)Miss Islington (bot)2019-09-161-3/+3
| | | | | (cherry picked from commit 24d1597e430498ebe2d3d18fba2cacb3957b494d) Co-authored-by: Ned Deily <nad@python.org>
* bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180)Miss Islington (bot)2019-06-181-3/+3
| | | | | (cherry picked from commit d8f336fdc10decdd82d3bc81a63aea8be149c0c8) Co-authored-by: animalize <animalize@users.noreply.github.com>
* bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187)Miss Islington (bot)2019-06-181-3/+13
| | | | | (cherry picked from commit f3fb8393e3cbbdc0ec79e0fdefaadec6977e1491) Co-authored-by: Ned Deily <nad@python.org>
* Pin macOS installer Sphinx to v2.0.1 (GH-13774)Ned Deily2019-06-031-0/+1
|
* Fix variable name copy/paste error in build-installer.py (GH-13038)cclauss2019-06-031-1/+1
|
* Prevent macOS installer build failure if ABIFLAGS is empty. (GH-13012)Ned Deily2019-04-291-2/+4
|
* macOS installer build: mitigate hdiutil resource busy bug (GH-11333)Ned Deily2018-12-271-6/+17
|
* Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 ↵Ned Deily2018-12-271-9/+9
| | | | | | | | | | | (GH-11101)" (GH-11332) This reverts commit 7cf3d8e25174c8871883e42f3240fd7f01efd3a8. Due to regressions found with using Tk 8.6.9.1, build the python.org macOS installers with Tcl/Tk 8.6.8 as used in previous releases. https://bugs.python.org/issue35402
* bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)Ned Deily2018-12-111-9/+9
|
* bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094)Ned Deily2018-12-111-3/+3
| | | https://bugs.python.org/issue35401
* bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166)Ned Deily2018-09-111-3/+3
|
* Mitigate macOS race condition in installer build (GH-6686)Ned Deily2018-05-021-0/+4
|
* bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407)Ned Deily2018-04-071-3/+3
|
* bpo-32726: macOS 10.6+ installer now builds Tcl/TK 8.6 (GH-6307)Ned Deily2018-03-291-4/+6
| | | | | | | Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+ installer. The 10.9+ installer variant already does this. This means that the Python 3.7 provided by the python.org macOS installers no longer need or use any external versions of Tcl/Tk, either system-provided or user- installed, such as ActiveTcl.
* bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8Ned Deily2018-02-271-6/+9
|
* bpo-32931: fix macOS 10.9+ installer c++ compiler name (#5855)Ned Deily2018-02-241-1/+1
|
* bpo-32726: Build macOS 10.9+ installer with private copy of Tcl/Tk 8.6Ned Deily2018-01-311-49/+67
|
* bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 ↵Ned Deily2018-01-301-120/+74
| | | | | | | | | | | | | | (GH-5448) This issue covers various changes for the macOS installers provided via python.org for 3.7.0. - Provide a provisional new installer variant for macOS 10.9 and later systems with 64-bit (x86_64) architecture only. Apple has made it known that future versions of macOS will only fully support 64-bit executables and some other third-party software suppliers have chosen 10.9 as their oldest supported system. - Support **Tcl/Tk 8.6** with the 10.9 installer variant. - Upgrade **OpenSSL** to 1.1.0g and **SQLite** to 3.22.0. - The compiler name used for the interpreter build and for modules built with **Distutils / pip** is now _gcc_ rather than _gcc-4.2_. And extension module builds will no longer try to force use of an old SDK if present.
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* Update macOS installer to XZ 5.2.3 (#4718)Ned Deily2017-12-051-3/+3
|
* bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (#4715)Ned Deily2017-12-051-4/+3
|
* Enable SQLite JSON functions for macOS installer build (#4712)Ned Deily2017-12-051-0/+1
|
* bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245)Mariatta2017-12-051-3/+3
|
* More Mac installer fixes for git-based workflow (#2839)Ned Deily2017-07-241-7/+23
|
* Mac installer build now needs venv for docs build (#2828)Ned Deily2017-07-231-3/+3
|
* bpo-23404: make touch becomes make regen-all (#1405)Victor Stinner2017-05-031-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
* bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457)Ned Deily2017-03-041-3/+3
|
* bpo-29550: Temporarily skip "make touch" in Mac installer build. (#456)Ned Deily2017-03-041-6/+7
|
* Issue #28248: merge from 3.5Ned Deily2016-10-311-3/+3
|\
| * Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.Ned Deily2016-10-311-3/+3
| | | | | | | | Original patch by Mariatta Wijaya.
* | Issue #28028: Update OS X installers to use SQLite 3.14.2.Ned Deily2016-10-311-3/+3
| | | | | | | | Patch by Mariatta Wijaya.