3176 Commits

Author SHA1 Message Date
Gregory P. Smith
e15de14c16
[3.9] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) (GH-105200) (#105205)
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)

Co-authored-by: Ned Deily <nad@python.org>
2023-06-05 17:41:51 +02:00
Steve Dower
bf99e19b99
[3.9] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101751)
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>
2023-03-07 18:01:22 -05:00
Benjamin Peterson
08210c62e9
[3.9] Update copyright years to 2023. (gh-100851)
* [3.9] Update copyright years to 2023. (gh-100848).
(cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

Co-authored-by: Benjamin Peterson <benjamin@python.org>

* Update additional copyright years to 2023.

Co-authored-by: Ned Deily <nad@python.org>
2023-01-08 17:00:10 -06:00
Christian Heimes
513911b359
[3.9] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (#31917)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>.
Co-authored-by: Christian Heimes <christian@python.org>.
Co-authored-by: Christian Heimes <christian@python.org>
2022-03-15 21:34:49 +01:00
Miss Islington (bot)
a22dd00f2d
bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-31057) (GH-31059)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
(cherry picked from commit 519eb6ad74f946a9aa7676e2d6579a3a765a8b50)
2022-02-01 12:12:59 -05:00
Miss Islington (bot)
50da397be4
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.
(cherry picked from commit 549e62827262264cda30455e10e315602129da72)

Co-authored-by: Ned Deily <nad@python.org>
2022-01-02 22:48:21 -08:00
Miss Islington (bot)
17c858e331
Update copyright year to 2022. (GH-30335)
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2022-01-02 12:34:36 -08:00
Ned Deily
5c4d11fe75
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30225)
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-12-21 23:25:09 -05:00
Ned Deily
7accb4fdb3
bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12. (GH-29933) 2021-12-06 02:39:56 -05:00
Miss Islington (bot)
9a4604bf03
Add generated artifacts in Mac/ to .gitignore; update copyright (GH-29408) (GH-29410)
(cherry picked from commit 3167df16212e27f8aac1e5f39c0644a97b593406)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-11-04 20:31:39 +01:00
Ned Deily
d53d9e7f4f
bpo-44828: Avoid leaving a zombie Save panel. (GH-29371)
Patch by Marc Culler of the Tk project.
2021-11-02 17:06:11 -04:00
Miss Islington (bot)
8e5e74e304
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.
(cherry picked from commit be8318be05e1a874215fa75b8845ede74b2c69b6)

Co-authored-by: Ned Deily <nad@python.org>
2021-10-28 11:47:53 -07:00
Christian Clauss
71d56a7231
[3.9] [Misc] [Mac] Fix typos found using codespell (GH-28756) (GH-28793)
(cherry picked from commit 470145f572b53fe73518cda1eeacc56fec78c1b2)

Automerge-Triggered-By: GH:JulienPalard
2021-10-07 06:42:07 -07:00
Ned Deily
f4a7ce70f9
Update macOS installer ReadMe for 3.9.8. (GH-28701)
The universal2 installer variant is now the default download from
python.org and the legacy Intel-64 variant is now deprecated.
2021-10-05 18:42:02 +02:00
Miss Islington (bot)
d0f94ab014
bpo 45007: Update macOS installer builds to use OpenSSL 1.1.1l. (GH-28051)
(cherry picked from commit 94b2639fad50d7ff8acd12c11e5fe5f9a6e1da5c)

Co-authored-by: Ned Deily <nad@python.org>
2021-08-30 00:36:02 -07:00
Łukasz Langa
168879e366
[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)
(cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c)

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2021-07-30 16:34:04 +02:00
Miss Islington (bot)
585e5b22fa
[3.9] Update macOS build-installer script comments for 3.10 and remove unused pre-10.5 vestiges. (GH-27253) (GH-27264)
(cherry picked from commit 42205ee512159de62c01e202ff799d78fac9ac26)


Co-authored-by: Ned Deily <nad@python.org>

Automerge-Triggered-By: GH:ned-deily
2021-07-20 10:34:49 -07:00
Ned Deily
7f7dc67354
[3.9] Update macOS installer readme for 3.9.5 (GH-25836) 2021-05-03 01:49:27 -04:00
Miss Islington (bot)
de0e3f8c16
[3.9] bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804) (GH-25807)
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.
(cherry picked from commit 0cb33da1cc9cebb9b2d67d446feb1cfd36fe7f55)


Co-authored-by: Ned Deily <nad@python.org>

Automerge-Triggered-By: GH:ned-deily
2021-05-02 02:10:21 -07:00
Miss Islington (bot)
c9767e564b
Fix generated file name for installer builds on macOS 11+. (GH-25661) (GH-25664)
(cherry picked from commit 8a37463989410a79f6d1131d08dc0165bcaa0f9d)

Co-authored-by: Ned Deily <nad@python.org>
2021-04-27 14:20:41 -04:00
Miss Islington (bot)
bf0736db45
[3.9] bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) (GH-25662)
(cherry picked from commit ce827816442613f982c356aa2f434c3c8a0c8917)


Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Automerge-Triggered-By: GH:ned-deily
2021-04-27 10:42:15 -07:00
Christian Heimes
cd82d59206
[3.9] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25088)
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>
2021-03-30 01:58:06 -07:00
Miss Islington (bot)
982e8ecbdf
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677)
(cherry picked from commit 0242494a156970186cbc4121ccf03aefbddea716)

Co-authored-by: Ned Deily <nad@python.org>
2021-03-01 00:01:43 -08:00
Miss Islington (bot)
e9c6c26aff
bpo-29076: Add fish support to macOS installer (GH-23302) (GH-23937)
(cherry picked from commit 7f162e867c674f57c308a87fffcdcca3540c8933)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-01-28 09:54:03 -05:00
Erlend Egeberg Aasland
e9a71dab09
[3.9] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674) (GH-24130)
(cherry picked from commit c94ee13ad596d26d1859078bc09806aa59bb0000)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Automerge-Triggered-By: GH:ned-deily
2021-01-05 14:52:55 -08:00
Miss Islington (bot)
76489dd299
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) (GH-24083)
(cherry picked from commit 14097a2785414c728d41d8d730a469a8c46ecdb9)

Co-authored-by: Ned Deily <nad@python.org>
2021-01-04 05:28:29 -05:00
Miss Islington (bot)
fd235de6d3
Update Sphinx version for macOS installer build. (GH-24082) (GH-24087)
(cherry picked from commit 0f3b96b368dd7ebb5dcd3759a30322dbd027f292)

Co-authored-by: Ned Deily <nad@python.org>
2021-01-04 05:22:07 -05:00
Miss Islington (bot)
cb882f97bc
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.
(cherry picked from commit a38e04b566879a5040ea97428d7ee4331d76513f)

Co-authored-by: Ned Deily <nad@python.org>
2021-01-04 02:17:30 -08:00
Miss Islington (bot)
fa12749bcd
Bring Python into the new year. (GH-24036)
(cherry picked from commit de6f20a6de48d63066b2cf5b317f50629f01d74a)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2021-01-01 09:27:48 -08:00
Miss Islington (bot)
3266991e72
bpo-41100: minor build installer fixes (GH-23480)
(cherry picked from commit 936533ca0415c40dc64ccb5f8857720f32b3fcb4)

Co-authored-by: Ned Deily <nad@python.org>
2020-11-23 16:26:31 -08:00
Ned Deily
5aa6c99da1
bpo-41100: Update Whatsnew and installer ReadME for 3.9.1 (GH-23472) 2020-11-22 23:43:04 -05:00
Miss Islington (bot)
85720596f1
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.
(cherry picked from commit 690a5fa3ddc675a434730b057ddb5c33f44fd0b7)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
2020-11-22 10:22:21 -08:00
Ronald Oussoren
e8b1c038b1
[3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295)
* [3.9] 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..
(cherry picked from commit 41761933c1c30bb6003b65eef1ba23a83db4eae4)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>

* Back port of changes to _decimal to support arm64

* temp_dir is in test.support in 3.9
2020-11-22 11:18:40 +01:00
Miss Skeleton (bot)
b6d37e15cf
bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) (GH-22560)
(cherry picked from commit 9a7642667a71a27b38b96eb63df45f17f48b3467)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2020-10-05 05:01:51 -04:00
Miss Islington (bot)
bf7d4d039c
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) (GH-22236)
(cherry picked from commit 7dbbea75cec27a48b68cc07c23f3f317cacf4a16)

Co-authored-by: Ned Deily <nad@python.org>
2020-09-14 01:59:58 -04:00
Ned Deily
b0a2705532
Update macOS installer welcome files for 3.9.0rc. (GH-21804) 2020-08-10 03:04:13 -04:00
Miss Islington (bot)
2fbb0d8da9
bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)
(cherry picked from commit 7cf1cb36ecafabff363790d245f809d3894fbbaf)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2020-07-19 23:37:50 -07:00
Miss Islington (bot)
bdc55eb55f
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.
(cherry picked from commit 5f190d2cc60cd82a604cbffb58b6ca8f40350a7a)

Co-authored-by: Rick Heil <rickheil@partnersandsimons.com>
2020-06-25 03:56:52 -07:00
Ned Deily
e9dafe7c93
Forward port macOS installer updates from 3.7/3.8 (GH-21132) (GH-21135)
- 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
2020-06-25 05:23:30 -04:00
Ned Deily
60edee8adb
Update macOS installer welcome files for 3.9.0 beta (GH-20719) 2020-06-08 08:47:27 -04:00
Miss Islington (bot)
66605d1572
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`.
(cherry picked from commit 63fc55b2eab0331465605a49bfd28a1bcb997f92)

Co-authored-by: Ned Deily <nad@python.org>
2020-06-08 01:11:43 -07:00
Miss Islington (bot)
1e72fb2b78
bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705)
(cherry picked from commit 37eed5a9ee7c802e7151ee9939ed604032886639)

Co-authored-by: Ned Deily <nad@python.org>
2020-06-07 19:43:11 -07:00
Miss Islington (bot)
43fccb1875
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>
(cherry picked from commit 7da46b676aed7111de34b57c8b942a7f3bb80327)

Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com>
2020-05-27 03:32:25 -07:00
Ned Deily
951ab58024
Revert "bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176)" (GH-20182)
This reverts commit 0da546665075aefbb476e192ed64122d340164f4.

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
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
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