Commit Graph

3178 Commits

Author SHA1 Message Date
Ned Deily 549e628272
bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348)
This change solves two problems encountered by users of the macOS Python Launcher app on recent macOS releases (10.14+):

- The launcher app was no longer able to launch the macOS Terminal.app to run a script.

- Even if Terminal.app was already launched, the launcher app was unable to send an Apple Event to Terminal.app to open and run Python with the desired .py file.
2022-01-03 01:19:59 -05:00
Benjamin Peterson ba00f0d93a
Update copyright year to 2022. (GH-30335)
Automerge-Triggered-By: GH:benjaminp
2022-01-02 12:08:48 -08:00
Erlend Egeberg Aasland bc87ac6d0b
bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30278) 2021-12-29 20:39:49 +01:00
Kumar Aditya fc54e722a2
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)
Co-authored-by: Ned Deily <nad@python.org>
2021-12-21 21:20:16 -05:00
Ned Deily f34d181fa1
bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12. (GH-29931) 2021-12-06 02:44:09 -05:00
Łukasz Langa 3167df1621
Add generated artifacts in Mac/ to .gitignore; update copyright (GH-29408) 2021-11-04 20:09:46 +01:00
Ned Deily 4a8b405173
bpo-44828: macOS installer: avoid leaving a zombie Save panel in Tk 8.6.12rc1 (GH-29367) 2021-11-02 17:01:37 -04:00
Ned Deily e2063d6a1e
Update macOS installer to use Tk 8.6.12rc1 pre-release. (GH-29354) 2021-11-01 11:53:05 -04:00
Ned Deily be8318be05
bpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey (GH-29276)
when using the Tk 8.6.11 provided by python.org macOS installers.
Patch by Marc Culler of the Tk project.
2021-10-28 14:22:05 -04:00
Christian Clauss 470145f572
[Misc] [Mac] Fix typos found using codespell (GH-28756) 2021-10-06 19:40:09 +02:00
Erlend Egeberg Aasland 5024dc1c6e
bpo-44848: Update macOS installer to use SQLite 3.36.0 (GH-27621) 2021-09-05 15:54:39 -04:00
Ned Deily 94b2639fad
bpo 45007: Update macOS installer builds to use OpenSSL 1.1.1l. (GH-28051) 2021-08-30 03:10:21 -04:00
Noah Kantrowitz be42c06bb0
Update URLs in comments and metadata to use HTTPS (GH-27458) 2021-07-30 15:54:46 +02:00
Mariusz Felisiak 11749e2dc2
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-27 00:11:55 +02:00
Ned Deily 42205ee512
Update macOS build-installer script comments for 3.10 and remove unused pre-10.5 vestiges. (GH-27253) 2021-07-20 19:09:30 +02:00
Clemens Brunner 6252670732
Fix typos in Mac/README.rst (#27108) 2021-07-13 18:25:12 +02:00
Ned Deily c59baa02b0
Update macOS installer welcome and readme for 3.10b1 (GH-25835) 2021-05-03 01:02:13 -04:00
Ned Deily c3bfa76221
bpo-42362: use clang name on 10.9 builds as well (GH-25834) 2021-05-03 00:23:54 -04:00
Ronald Oussoren e08059edef
bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough compilers (GH-23079)
With recent enough compilers we can build binaries with
LTO/PGO on macOS. This patch enables this when building on
macOS 10.15 or later (Xcode 11 or later).
2021-05-02 23:43:52 -04:00
Ronald Oussoren 90d523910a
bpo-42362: Switch to clang/clang++ as the default compiler in build-installer.py (GH-23298)
This change is cosmetic only, the "gcc" command in Apple's compiler tools is an alias for "clang" (and using non-system tooling for building the installer is not supported by this script).

Automerge-Triggered-By: GH:ned-deily
2021-05-02 18:29:03 -07:00
Erlend Egeberg Aasland 555cbbe7c1
bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413) 2021-05-02 20:37:35 -04:00
Ned Deily 0cb33da1cc
bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804)
This allows reliably forcing macOS universal2 framework builds
to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs
if needed for testing or when universal2 wheels are not yet
available.
2021-05-02 04:48:29 -04:00
Ned Deily 8a37463989
Fix generated file name for installer builds on macOS 11+. (GH-25661) 2021-04-27 13:23:39 -04:00
Erlend Egeberg Aasland ce82781644
bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) 2021-04-27 13:19:14 -04:00
Christian Heimes a54fc683f2
bpo-43631: Update to OpenSSL 1.1.1k (GH-25024)
- [x] Build OpenSSL 1.1.1k for macOS
- [x] Build OpenSSL 1.1.1k for Windows

I have also updated multissl tester and various CI configurations to use latest OpenSSL. The versions were all over the place.

Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: GH:tiran
2021-03-29 17:00:34 -07:00
Ikko Ashimine 8c9453b575
Fix typo in Mac/README.rst (#24682)
targetting -> targeting
2021-03-01 08:11:23 -08:00
Ned Deily 0242494a15
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677) 2021-03-01 02:39:08 -05:00
Ned Deily 0f3b96b368
Update Sphinx version for macOS installer build. (GH-24082) 2021-01-04 04:43:53 -05:00
Ned Deily a38e04b566
bpo-42361: Update macOS installer build to use Tcl/Tk 8.6.11 (GH-24081)
As of 2021-01-03, Tcl/Tk 8.6.11rc2 is expected to be the final release.
2021-01-04 04:43:11 -05:00
Ned Deily 14097a2785
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) 2021-01-04 04:39:47 -05:00
Erlend Egeberg Aasland c94ee13ad5
bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674) 2021-01-03 23:48:19 -05:00
Dong-hee Na de6f20a6de
Bring Python into the new year. (GH-24036) 2021-01-02 00:37:23 +09:00
Erlend Egeberg Aasland 7f162e867c
bpo-29076: Add fish support to macOS installer (GH-23302) 2020-12-25 03:01:30 -08:00
Ned Deily 212337369a
Update macos installer ReadMe for 3.10.0a3 (GH-23671) 2020-12-06 22:55:12 -05:00
Ned Deily 936533ca04
bpo-41100: minor build installer fixes (GH-23480) 2020-11-23 19:04:40 -05:00
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
Ned Deily 7dbbea75ce
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) 2020-09-14 01:18:01 -04: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
Rick Heil 5f190d2cc6
bpo-39580: add check for CLI installation on macOS (GH-20271)
Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs.
2020-06-25 06:37:40 -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 951ab58024
Revert "bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176)" (GH-20182)
This reverts commit 0da5466650.

The commit is causing make failures on a FreeBSD buildbot.
Due to the imminent 3.9.0b1 cutoff, revert this commit for
now pending further investigation.
2020-05-18 11:31:21 -04:00
Ned Deily 0da5466650
bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176)
Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-party compilers, like GNU gcc, to be used to build the rest of the project since some of the Objective C system header files are not compilable by GNU gcc.

Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-05-18 09:17:22 -04: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
Ronald Oussoren 044cf94f61
bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516)
* bpo-22490: Remove "__PYVENV_LAUNCHER__" from the shell environment on macOS

This changeset removes the environment varialbe "__PYVENV_LAUNCHER__"
during interpreter launch as it is only needed to communicate between
the stub executable in framework installs and the actual interpreter.

Leaving the environment variable present may lead to misbehaviour when
launching other scripts.

* Actually commit the changes for issue 22490...

* Correct typo

Co-Authored-By: Nicola Soranzo <nicola.soranzo@gmail.com>

* Run make patchcheck

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2020-03-22 14:31:46 -04:00