Commit Graph

235 Commits

Author SHA1 Message Date
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 378edcd000
Update macOS installer Welcome and ReadMe files for 3.7.0. (GH-7653) 2018-06-11 22:38:03 -04:00
Ned Deily 9d6d06e806
pypi.python.org -> pypi.org (GH-7613) 2018-06-11 00:45:50 -04:00
Ned Deily fc6aa28bfd
Mitigate macOS race condition in installer build (GH-6686) 2018-05-02 01:41:15 -04:00
Ned Deily 0dd80709b5
bpo-33290: Have macOS installer remove "pip" alias (GH-6683)
Currently, "pip3 install --upgrade pip" unconditionally installs a
"pip" alias even for Python 3.  If a user has an existing Python 3.x
installed from a python.org macOS installer and then subsequently
manually updates to a new version of pip, there may now be a stray
"pip" alias in the Python 3.x framework bin directory which can cause
confusion if the user has both a Python 2.7 and 3.x installed;
if the Python 3.x fw bin directory appears early on $PATH, "pip"
might invoke the pip3 for the Python 3.x rather than the pip for
Python 2.7.  To try to mitigate this, the macOS installer script
for the ensurepip option will unconditionally remove "pip" from
the 3.x framework bin directory being updated / installed.  (The
ambiguity can be avoided by using "pythonx.y -m pip".)
2018-05-02 01:30:33 -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 37ed6dfbbc Add macOS installer Conclusion file 2018-03-12 16:49:59 -04:00
Ned Deily cc5ac04c07 Update macOS installer resources 2018-02-27 17:39:50 -05: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 380c5fbc6f Update Mac installer Welcome and ReadMe files for 3.7.0a1 2017-09-18 22:22:58 -04: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 9a5549598a Update the Mac installer README file for 3.6.0. 2016-12-06 17:00:44 -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 e326a9172f Update OS X installer ReadMe for 360b2. 2016-10-10 15:34:00 -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 f39571ed64 Issue #26930: merge from 3.5 2016-06-04 17:24:01 -07: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 fc92e2c5fd Update Mac installer ReadMe file for 3.6.0a1 2016-05-16 16:03:12 -04:00
Martin Panter f0564164ba Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00: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
Ned Deily 203ce927f5 Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f. 2016-02-15 16:44:38 +11:00
Ned Deily 489bbfb817 Update copyrights for 2016. 2016-01-01 17:44:30 -05:00
Ned Deily c25784c089 Update copyrights for 2016. 2016-01-01 17:42:39 -05:00
Ned Deily 8d5d4664dc Issue #25798: merge from 3.4 2015-12-05 23:55:33 -05:00
Ned Deily 6364094f49 Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
2015-12-05 23:51:23 -05:00
Ned Deily bb1c079657 Issue #19450: Update OS X installer builds to use SQLite 3.8.11. 2015-07-28 23:22:23 -07:00
Ned Deily f05b79dbd2 Issue #24603: Update the OS X 32-bit installer build to use OpenSSL 1.0.2d. 2015-07-24 16:21:18 -07:00
Ned Deily e0374c7a03 Issue #19450: merge from 3.4 2015-07-28 23:25:41 -07:00
Ned Deily 71f70b8f1a Issue #24603: merge from 3.4 2015-07-24 16:24:47 -07:00
Ned Deily 1b7f6fedb3 Updates to the OS X installer for 3.5.0b3:
- update installer ReadMe file
- suppress installer per-file byte-compilation messages to system log
- speed up installer byte-compilation
- isolate ensurepip install from user site-packages
2015-07-03 23:53:51 -07:00
Ned Deily 704dde196c Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:43:22 -07:00
Ned Deily 0454d48e02 Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:35:00 -07:00
Serhiy Storchaka ba9ac5b5c4 Issue #16261: Converted some bare except statements to except statements
with specified exception type.  Original patch by Ramchandra Apte.
2015-05-20 10:33:40 +03:00
Ned Deily d924198268 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:46:53 -07:00
Ned Deily cd797f9191 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:42:32 -07:00
Serhiy Storchaka bfbfc8deb2 Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
Ned Deily b3aa2e7ba3 Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 2015-03-19 16:22:14 -07:00
Ned Deily f0c6cd3581 Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 2015-03-19 16:21:10 -07:00
Ned Deily 797d49682f Issue #23594: merge 3.4 2015-03-05 17:37:11 -08:00
Ned Deily ac677f3fed Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2. 2015-03-05 17:34:24 -08:00
Ned Deily d0a8f57ef9 Issue #23212: merge from 3.4 2015-02-06 14:16:29 +11:00
Ned Deily 9125fe2e50 Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)
2015-02-06 14:13:30 +11:00
Ned Deily 0e98b83f00 Issue #23212: merge from 3.4 2015-01-09 13:33:28 -08:00
Ned Deily 54362ca1da Issue #23212: 3.4-specific OS X installer updates 2015-01-09 13:30:11 -08:00
Ned Deily 97ad46b375 Issue #23212: Update OS X installer build OpenSSL to 1.0.1k.
(currently only used for builds with <= 10.5 deployment targets)
2015-01-09 13:29:54 -08:00
Ned Deily a2d86228d5 Update copyright dates in OS X installer. 2014-12-31 16:31:06 -08:00
Ned Deily 4705235022 Update copyright dates in OS X installer. 2014-12-31 16:30:26 -08:00
Ned Deily a4158a0408 Issue #17128: Merge / update from 3.4 2014-12-13 00:32:51 -08:00
Ned Deily 5d3febf0cf Issue #17128: Use private version of OpenSSL for 3.x OS X 10.5+ installers.
Among other issues, the Apple-supplied 0.9.7 libs for the 10.5 ABI cannot
verify newer SHA-256 certs as now used by python.org services.  Document
in the installer ReadMe some of the certificate management issues that
users now need to be more concerned with due to PEP 476's enabling cert
verification by default.  For now, continue to use the Apple-supplied
0.9.8 libs for the 10.6+ installer since they use Apple private APIs to
verify certificates using the system- and user-managed CA keychain stores.
2014-12-13 00:17:46 -08:00
Ned Deily 1bf472933b Really add downloads page link to OS X installer README screens. 2014-11-22 14:41:21 -08:00
Ned Deily 7aaa67eb0d Update OS X installer documentation files for 3.5.0 2014-11-14 18:41:56 -08:00
Ned Deily bbdacdc84f Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync. 2014-11-14 18:56:28 -08:00
Ned Deily ed73010319 Issue #22877: PEP 477 - keep 2.7 and 3.x installers in sync. 2014-11-14 18:55:05 -08:00
Ned Deily f8c3b69986 Add downloads page link to OS X installer README screens. 2014-11-22 14:20:30 -08:00
Ned Deily fc4ead2451 Issue #15661: Update OS X installer welcome and readme files for 3.4.2.
python.org OS X installers are now distributed as signed installer
packages compatible with the Gatekeeper security feature.
2014-09-19 21:03:45 -07:00
Ned Deily 1ff32a9169 Keep Mac/build-installer.py in sync across branches (affects 2.7 only). 2014-09-05 15:57:05 -07:00
Ned Deily 04cdfa1147 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
Ned Deily 729148b217 Issue #21383: OS X installer builds now use "make touch". 2014-05-22 15:28:06 -07:00
Ned Deily 0134a35bac Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1. 2014-04-09 16:16:08 -07:00
Ned Deily 9978a9357a Issue #20644: Keep build-installer.py in sync across active versions. 2014-04-09 16:15:20 -07:00
Ned Deily 7e60f51486 Issue #20644: OS X installer build support for documentation build changes
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.
2014-04-07 12:10:21 -07:00
Ned Deily c1195c7ae7 Issue #20465: Update OS X installer build to use SQLite 3.8.0.1. 2014-03-01 14:00:46 -08:00
Ned Deily 2aa15d8097 Issue #20465: Update SQLite shipped with OS X installer to 3.8.3. 2014-02-04 18:44:17 -08:00
Ned Deily b94efe6cef Fix typo in and reformat OS X Installer ReadMe 2013-11-23 18:40:41 -08:00
Ned Deily aa6a212a4e Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1. 2013-11-23 03:30:11 -08:00
Ned Deily 4a281a12f1 Issue #19551: Update installer Welcome file. 2013-11-23 00:24:15 -08:00
Ned Deily 9fa4ced804 Update third-party libraries for OS X installers:
XZ 5.0.3 -> 5.0.5
    SQLite 3.7.13 -> 3.8.1
2013-11-22 22:54:02 -08:00
Ned Deily 41ab6c3b1a Issue #19551: PEP 453 - OS X installer now installs or upgrades pip by default. 2013-11-22 22:25:43 -08:00
Ned Deily be47cffcb2 Issue #15663: merge build-installer.py changes 2013-11-05 02:50:49 -08:00
Ned Deily 6fc5f98480 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:44:17 -08:00
Ned Deily f20ee9391c Issue #19373: merge from 3.3 2013-10-27 19:50:34 -07:00
Ned Deily 94764b24aa Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
2013-10-27 19:49:29 -07:00
Ned Deily 050fcd51cc Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:16:44 -07:00
Ned Deily f87cfce450 Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:17:44 -07:00
Ned Deily a4f6b006e1 Sync 2.7.x, 3.3.x, and 3.4.x versions of OS X build-installer.py. 2013-10-25 00:47:38 -07:00
Ned Deily 4b7a023149 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-25 00:46:02 -07:00
Ned Deily 5b3582c919 Issue #15663: Tcl/Tk 8.5.15 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-10-25 00:41:46 -07:00
Ned Deily 29eec66711 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-18 21:16:05 -07:00