Commit Graph

126 Commits

Author SHA1 Message Date
Ronald Oussoren 690a5fa3dd
bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS (GH-23293)
Building on older versions, and in particular macOS 10.9 still use
Tk 8.6.8 because of build problems on that version of macOS.
2020-11-21 18:05:34 -08:00
Ronald Oussoren 41761933c1
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.
2020-11-08 10:05:27 +01:00
Erlend Egeberg Aasland 9a7642667a
bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959)
https://sqlite.org/releaselog/3_33_0.html
2020-10-05 01:09:16 -07:00
Erlend Egeberg Aasland 7cf1cb36ec
bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979) 2020-07-20 02:19:18 -04:00
Ned Deily 1931e64de1
Forward port macOS installer updates from 3.7/3.8/3.9 (GH-21132) 2020-06-25 04:51:46 -04:00
Ned Deily 63fc55b2ea
allow macOS installer builds to package pre-built html docs (GH-20715)
build-installer now looks in its directory of source tarballs
for a suitable html tarball of the same version.  If so, it
will unpack and use it rather than rebuilding the html format
documentation set from the source repo.  This is intended as
a speedup for test builds of the installer.  Files names must
be in the same format as produced by the docs build for download,
for example, `python-3.9.0b1-docs-html.tar.bz2`.
2020-06-08 03:52:43 -04:00
Ned Deily 37eed5a9ee
bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705) 2020-06-07 22:24:33 -04:00
Oleg Höfling 7da46b676a
Fix the link to ncurses patch download in macos installer build script (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>
2020-05-27 03:07:15 -07:00
Ned Deily bcc136ba89
bpo-38329: python.org macOS installers now update Current symlink (GH-19650)
Previously, python.org macOS installers did not alter the Current version
symlink in /Library/Frameworks/Python.framework/Versions when installing
a version of Python 3.x, only when installing 2.x.  Now that Python 2 is
retired, it's time to change that.  This should make it a bit easier
to embed Python 3 into other macOS applications.
2020-04-22 04:27:13 -04:00
Ned Deily 783a673f23
bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-19642) 2020-04-21 22:41:33 -04:00
Erlend Egeberg Aasland 1382c3289b
bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)
Automerge-Triggered-By: @zooba
2020-03-02 04:25:10 -08:00
Julien Palard c987090c73
Bump Sphinx to 2.2.0. (GH-16532) 2019-10-22 18:13:41 +02:00
Ned Deily 24d1597e43
bpo-38117: Updated OpenSSL to 1.1.1d in macOS installer. (GH-16170) 2019-09-16 03:38:27 +01:00
animalize d8f336fdc1 bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180) 2019-06-18 05:25:19 -04:00
Ned Deily f3fb8393e3
bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187) 2019-06-18 04:17:33 -04:00
Ned Deily 29ec422810
Pin macOS installer Sphinx to v2.0.1 (GH-13774) 2019-06-03 08:00:25 -04:00
cclauss d337169156 Fix variable name copy/paste error in build-installer.py (GH-13038) 2019-06-02 23:19:44 -04:00
Ned Deily 9bdd6d1c2a
Prevent macOS installer build failure if ABIFLAGS is empty. (GH-13012) 2019-04-29 15:11:53 -04:00
Ned Deily 0133f9fc9e macOS installer build: mitigate hdiutil resource busy bug (GH-11333) 2018-12-27 13:38:41 -08:00
Ned Deily a936639b22 Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" (GH-11332)
This reverts commit 7cf3d8e251.

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
2018-12-27 13:13:30 -08:00
Ned Deily 7cf3d8e251
bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101) 2018-12-11 01:06:57 -05:00
Ned Deily 3ec982640f bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094)
https://bugs.python.org/issue35401
2018-12-10 21:24:06 -08:00
Ned Deily 3102e24d83
bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) 2018-09-11 08:52:40 -07:00
Ned Deily fc6aa28bfd
Mitigate macOS race condition in installer build (GH-6686) 2018-05-02 01:41:15 -04:00
Ned Deily b405752dab
bpo-33184: Update macOS installer build to use OpenSSL 1.1.0h. (GH-6407) 2018-04-07 02:36:02 -04:00
Ned Deily b9e7fe38a0
bpo-32726: macOS 10.6+ installer now builds Tcl/TK 8.6 (GH-6307)
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.
2018-03-29 08:47:27 -04:00
Ned Deily 9189e95d9c bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8 2018-02-27 17:36:12 -05:00
Ned Deily acd7163c0a
bpo-32931: fix macOS 10.9+ installer c++ compiler name (#5855) 2018-02-24 14:30:44 -05:00
Ned Deily 1ca2ffdc53 bpo-32726: Build macOS 10.9+ installer with private copy of Tcl/Tk 8.6 2018-01-31 17:14:12 -05:00
Ned Deily 8c9bb72e8b
bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 (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.
2018-01-30 07:42:14 -05:00
Mike 53f7a7c281 bpo-32297: Few misspellings found in Python source code comments. (#4803)
* 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
2017-12-14 13:04:53 +02:00
Ned Deily e6f8a7378d
Update macOS installer to XZ 5.2.3 (#4718) 2017-12-04 22:55:20 -05:00
Ned Deily 24e046987b
bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (#4715) 2017-12-04 22:24:41 -05:00
Ned Deily 9625bf520e
Enable SQLite JSON functions for macOS installer build (#4712) 2017-12-04 21:50:29 -05:00
Mariatta ca7562a7fe bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245) 2017-12-04 21:04:49 -05:00
Ned Deily b364d9f9c6 More Mac installer fixes for git-based workflow (#2839) 2017-07-24 04:58:43 -04:00
Ned Deily 4c7532e96d Mac installer build now needs venv for docs build (#2828) 2017-07-23 16:39:54 -04:00
Victor Stinner a5c62a8e9f bpo-23404: make touch becomes make regen-all (#1405)
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.
2017-05-03 18:21:48 +02:00
Ned Deily cfcd76777e bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) 2017-03-04 02:33:25 -05:00
Ned Deily 7cd9b22e98 bpo-29550: Temporarily skip "make touch" in Mac installer build. (#456) 2017-03-04 02:16:13 -05:00
Ned Deily 1194234e66 Issue #28248: merge from 3.5 2016-10-31 19:54:17 -04:00
Ned Deily 38adbfa710 Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Original patch by Mariatta Wijaya.
2016-10-31 19:51:58 -04:00
Ned Deily 473ce1d3e3 Issue #28028: Update OS X installers to use SQLite 3.14.2.
Patch by Mariatta Wijaya.
2016-10-31 19:32:48 -04:00
Ned Deily dde4f63a54 Issue #17128: Build OS X installer for 3.6 with private copy of OpenSSL.
Also provide a sample Install Certificates command script to install a
set of root certificates from the third-party certifi module.
2016-09-12 09:39:23 -04:00
Zachary Ware c4b53afce4 Issue #28046: Remove platform-specific directories from sys.path 2016-09-09 17:59:49 -07:00
Ned Deily b3b0767861 Update OS X installer to use SQlite 3.14.1 and XZ 5.2.2. 2016-09-05 17:31:14 -07:00
Ned Deily 652bad4f4a Issue #23968: Make OS X installer build script aware of renamed platform
directory and sysconfigdata file name.  This is a workaround for 3.6.0a4
pending resolution of other #23968 items.
2016-08-15 14:37:14 -04:00
Ned Deily 92b4b5a863 Issue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h. 2016-06-04 17:21:21 -07:00
Ned Deily f4d97ce100 Issue #26465: Update OS X installer build to use OpenSSL 1.0.2g. 2016-03-08 01:09:08 -05:00
Ned Deily 59884989f7 Change OS X installer builds targeted for 10.10 and above to build
and link with a private copy of OpenSSL, like installers targeted
for 10.5 already do, since Apple has deprecated use of the system
OpenSSL and removed its header files from the Xcode 7 SDK.  Note
that this configuration is not currently used to build any
python.org-supplied installers and that the private copy of
OpenSSL requires its own root certificates.
2016-02-25 01:01:48 +11:00