Skip to content

Update macOS installer screens and README for 3.13.0b1 #118685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 6 additions & 40 deletions Mac/BuildScript/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gatekeeper download quarantine, the final package must be signed
with a valid Apple Developer ID certificate using productsign.
Starting with macOS 10.15 Catalina, Gatekeeper now also requires
that installer packages are submitted to and pass Apple's automated
notarization service using the altool command. To pass notarization,
notarization service using the ``notarytool`` command. To pass notarization,
the binaries included in the package must be built with at least
the macOS 10.9 SDK, must now be signed with the codesign utility,
and executables must opt in to the hardened run time option with
Expand All @@ -27,7 +27,7 @@ available in the on-line Apple Developer Documentation and man pages.
A goal of PSF-provided (python.org) Python binaries for macOS is to
support a wide-range of operating system releases with one set of
binaries. Currently, the oldest release supported by python.org
binaries is macOS 10.9; it is still possible to build Python and
binaries is macOS 10.9; it should still be possible to build Python and
Python installers on older versions of macOS but we not regularly
test on those systems nor provide binaries for them.

Expand All @@ -49,20 +49,17 @@ Starting with 3.9.1, Python fully supports macOS "weaklinking",
meaning it is now possible to build a Python on a current macOS version
with a deployment target of an earlier macOS system. For 3.9.1 and
later systems, we provide a "macOS 64-bit universal2 installer"
variant, currently build on macOS 11 Big Sur with fat binaries
variant, currently built on macOS 11 Big Sur with fat binaries
natively supporting both Apple Silicon (arm64) and Intel-64
(x86_64) Macs running macOS 10.9 or later.

The legacy "macOS 64-bit Intel installer" variant is expected to
be retired prior to the end of 3.9.x support.

build-installer.py requires Apple Developer tools, either from the
Command Line Tools package or from a full Xcode installation.
You should use the most recent version of either for the operating
system version in use. (One notable exception: on macOS 10.6,
Snow Leopard, use Xcode 3, not Xcode 4 which was released later
in the 10.6 support cycle.) build-installer.py also must be run
with recent versions of Python 3.x or 2.7. On older systems,
with recent versions of Python 3.x. On older systems,
due to changes in TLS practices, it may be easier to manually
download and cache third-party source distributions used by
build-installer.py rather than have it attempt to automatically
Expand All @@ -76,12 +73,11 @@ download them.

- builds the following third-party libraries

* OpenSSL 1.1.1
* Tcl/Tk 8.6
* OpenSSL 3.0.x
* Tcl/Tk 8.6.x
* NCurses
* SQLite
* XZ
* libffi
* mpdecimal

- uses system-supplied versions of third-party libraries
Expand All @@ -98,36 +94,6 @@ download them.
* ``MACOSX_DEPLOYMENT_TARGET=10.9``
* Apple ``clang``

2. legacy Intel 64-bit, x86_64, for OS X 10.9 (and later)::

/path/to/bootstrap/python3 build-installer.py \
--universal-archs=intel-64 \
--dep-target=10.9

- builds the following third-party libraries

* OpenSSL 1.1.1
* Tcl/Tk 8.6
* NCurses
* SQLite
* XZ
* libffi
* mpdecimal

- uses system-supplied versions of third-party libraries

* readline module links with Apple BSD editline (libedit)
* zlib
* bz2

- recommended build environment:

* Mac OS X 10.9.5
* Xcode Command Line Tools 6.2
* ``MacOSX10.9`` SDK
* ``MACOSX_DEPLOYMENT_TARGET=10.9``
* Apple ``clang``


General Prerequisites
---------------------
Expand Down
6 changes: 3 additions & 3 deletions Mac/BuildScript/resources/ReadMe.rtf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf2709
{\rtf1\ansi\ansicpg1252\cocoartf2761
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fswiss\fcharset0 Helvetica-Oblique;
\f3\fmodern\fcharset0 CourierNewPSMT;\f4\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;}
Expand All @@ -11,7 +11,7 @@
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0

\f1\b \cf0 NOTE:
\f0\b0 This is an alpha preview of Python 3.13.0, the next feature release of Python 3. It is not intended for production use.\
\f0\b0 This is a beta preview of Python 3.13.0, the next feature release of Python 3. It is not intended for production use.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\cf0 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
Expand Down Expand Up @@ -69,7 +69,7 @@ Due to new security checks on macOS 10.15 Catalina, when launching IDLE macOS ma
\f1\b \ul Apple Silicon Mac support\

\f0\b0 \ulnone \
On Apple Silicon Macs, it is possible to run Python either with native ARM64 code or under Intel 64 emulation using Rosetta2. This option might be useful for testing or if binary wheels are not yet available with native ARM64 binaries. To easily force Python to run in emulation mode, invoke it from a command line shell with the
On Apple Silicon Macs, it is possible to run Python either with native ARM64 code or under Intel 64 emulation using Rosetta2. This option might be useful for testing or if binary wheels are not yet available with native ARM64 binaries. To easily force Python to run in emulation mode, invoke it from a command line shell with the
\f4 python3-intel64
\f0 command instead of just
\f4 python3
Expand Down
4 changes: 2 additions & 2 deletions Mac/BuildScript/resources/Welcome.rtf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\rtf1\ansi\ansicpg1252\cocoartf2709
{\rtf1\ansi\ansicpg1252\cocoartf2761
\cocoascreenfonts1\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fmodern\fcharset0 CourierNewPSMT;
}
{\colortbl;\red255\green255\blue255;}
Expand Down Expand Up @@ -26,5 +26,5 @@ At the end of this install, click on
\

\f1\b NOTE:
\f0\b0 This is an alpha test preview of Python 3.13.0, the next feature release of Python 3. It is not intended for production use.\
\f0\b0 This is a beta test preview of Python 3.13.0, the next feature release of Python 3. It is not intended for production use.\
}
Loading