Commit Graph

3177 Commits

Author SHA1 Message Date
Ned Deily 514328480a
Add note to Mac installer ReadMe about macOS 10.15 Gatekeeper changes. (GH-18648) 2020-02-24 08:00:58 -05:00
@RandyMcMillan 029e8401b7
docs: macos - change "versiona" to "versions" (GH-18467) 2020-02-11 20:20:05 -05:00
Ned Deily 32f1443aa9
Update copyright year in macOS installer license copy (GH-17806) 2020-01-02 22:28:37 -05:00
Benjamin Peterson 946b29ea0b
Bring Python into the next decade. (GH-17801) 2020-01-02 18:56:34 -08:00
Ned Deily 01659ca62c
Update URL in macOS installer copy of license (GH-16905) 2019-10-23 16:04:59 -04:00
Julien Palard c987090c73
Bump Sphinx to 2.2.0. (GH-16532) 2019-10-22 18:13:41 +02:00
Ned Deily 19d6842c15
Update build docs for macOS (GH-16771) 2019-10-14 08:16:10 -04:00
Ned Deily 9cb51f4e20
Update macOS installer display files for 3.9.0a1 (GH-16765) 2019-10-14 04:26:45 -04: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
Greg Price 9ece4a5057 Unmark files as executable that can't actually be executed. (GH-15353)
There are plenty of legitimate scripts in the tree that begin with a
`#!`, but also a few that seem to be marked executable by mistake.

Found them with this command -- it gets executable files known to Git,
filters to the ones that don't start with a `#!`, and then unmarks
them as executable:

    $ git ls-files --stage \
      | perl -lane 'print $F[3] if (!/^100644/)' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          || chmod a-x "$f"; \
        done

Looking at the list by hand confirms that we didn't sweep up any
files that should have the executable bit after all.  In particular

 * The `.psd` files are images from Photoshop.

 * The `.bat` files sure look like things that can be run.
   But we have lots of other `.bat` files, and they don't have
   this bit set, so it must not be needed for them.



Automerge-Triggered-By: @benjaminp
2019-08-20 21:53:59 -07:00
Ned Deily fc1fbe6099
Minor updates to the macOS installer screens for 3.8.0b2 (GH-14501) 2019-07-01 05:53:42 -04: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
Jon Janzen c981ad16b0 bpo-26707: Enable plistlib to read UID keys. (GH-12153)
Plistlib currently throws an exception when asked to decode a valid
.plist file that was generated by Apple's NSKeyedArchiver. Specifically,
this is caused by a byte 0x80 (signifying a UID) not being understood.

This fixes the problem by enabling the binary plist reader and writer
to read and write plistlib.UID objects.
2019-05-15 23:14:38 +03: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 2c2ba05a6b
Update macOS installer Welcome and ReadMe for 3.8 (GH-11748) 2019-02-03 00:41:20 -05:00
Benjamin Peterson 9a69ae8a78
Bump copyright years to 2019. (GH-11404) 2019-01-02 07:46:53 -08: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 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
Thomas Jones 74fc9c0c09 Update Python Folder.icns icon file to match new macOS look (GH-1780)
Patch by Thomas Jones.
2018-05-17 05:14:30 -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
Brett Cannon a8c342465b
bpo-25427: Remove pyvenv (GH-5962) 2018-04-20 14:15:40 -07: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 df532ab752
bpo-32726: Do not force IDLE.app to launch in 32-bit mode. (GH-6279)
Forcing the macOS IDLE.app gui process to launch in 32-mode was
a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4
and early versions of 8.5); it is not needed for current versions
of Tk.  Since 32-bit launching will no longer be supported on
future releases of macOS, allow IDLE.app to launch in 64-bit mode.
2018-03-28 03:44:48 -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
Benjamin Peterson 65f2a6dcc2
advance copyright years to 2018 (#5094) 2018-01-04 22:34:19 -08: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
Serhiy Storchaka 598ceae876
bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
Ned Deily 380c5fbc6f Update Mac installer Welcome and ReadMe files for 3.7.0a1 2017-09-18 22:22:58 -04:00
Lisa Hewus Fresh 384899dfae bpo-30737: Update DevGuide links to new URL (GH-3228)
Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
2017-08-30 09:37:43 -07: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 2eb97231b8 merge 3.5 2017-01-02 02:50:33 -05:00
Ned Deily e8134afd8e merge 3.4 2017-01-02 02:48:26 -05:00
Ned Deily 0717564746 merge 3.3 2017-01-02 02:47:35 -05:00
Ned Deily c276ffa0a9 ring IDLE.app into 2017, too 2017-01-02 02:46:09 -05:00
Benjamin Peterson 5848e72ee1 merge 3.5 2017-01-01 22:08:44 -06:00
Benjamin Peterson 4365833d11 merge 3.4 2017-01-01 22:08:33 -06:00
Benjamin Peterson b6e2142b0c merge 3.3 2017-01-01 22:07:37 -06:00
Benjamin Peterson e527dd34bc ring in 2017 for Python 2017-01-01 22:04:13 -06: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
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00: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
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -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 e371599004 Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import. 2016-06-13 20:27:57 -04:00
Ned Deily 19e21e4948 Issue #27310: remove vestigial import in IDLE.app 2016-06-13 20:22:53 -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 622b2f6ec9 Issue #24225: Fix additional renamed module references. 2016-06-03 17:50:44 -07:00
Martin Panter 3e04d5b306 Issue #27076: Merge spelling from 3.5 2016-05-26 06:03:19 +00:00
Martin Panter 46f50726a0 Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Ned Deily fc92e2c5fd Update Mac installer ReadMe file for 3.6.0a1 2016-05-16 16:03:12 -04:00
Martin Panter 4c35964b76 Corrections for a/an in code comments and documentation 2016-05-08 13:53:41 +00:00
Martin Panter f0564164ba Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00:00
Ned Deily c25784c089 Update copyrights for 2016. 2016-01-01 17:42:39 -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 0454d48e02 Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:35:00 -07:00
Ned Deily cd797f9191 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:42:32 -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 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 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 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 4705235022 Update copyright dates in OS X installer. 2014-12-31 16:30:26 -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 f8c3b69986 Add downloads page link to OS X installer README screens. 2014-11-22 14:20:30 -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 b1f4ec6b8c Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
2014-09-23 12:48:54 -07: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