Skip to content

Commit 8559dc3

Browse files
[3.12] gh-129712: Document the wheels tags corresponding to each universal SDK. (GH-130389) (#130450)
Document the architectures supported by macOS universal SDK configuration flags, and add details on wheel tag naming. (cherry picked from commit 474c388) Co-authored-by: Russell Keith-Magee <[email protected]>
1 parent 35c3060 commit 8559dc3

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

Doc/using/configure.rst

+14-8
Original file line numberDiff line numberDiff line change
@@ -659,14 +659,20 @@ See ``Mac/README.rst``.
659659

660660
Options:
661661

662-
* ``universal2``;
663-
* ``32-bit``;
664-
* ``64-bit``;
665-
* ``3-way``;
666-
* ``intel``;
667-
* ``intel-32``;
668-
* ``intel-64``;
669-
* ``all``.
662+
* ``universal2`` (x86-64 and arm64);
663+
* ``32-bit`` (PPC and i386);
664+
* ``64-bit`` (PPC64 and x86-64);
665+
* ``3-way`` (i386, PPC and x86-64);
666+
* ``intel`` (i386 and x86-64);
667+
* ``intel-32`` (i386);
668+
* ``intel-64`` (x86-64);
669+
* ``all`` (PPC, i386, PPC64 and x86-64).
670+
671+
Note that values for this configuration item are *not* the same as the
672+
identifiers used for universal binary wheels on macOS. See the Python
673+
Packaging User Guide for details on the `packaging platform compatibility
674+
tags used on macOS
675+
<https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#macos>`_
670676

671677
.. option:: --with-framework-name=FRAMEWORK
672678

Mac/README.rst

+10
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,16 @@ a ``python3.x-32`` binary and use the value of ``sys.executable`` as the
200200
Likewise, use ``python3.x-intel64`` to force execution in ``x86_64`` mode
201201
with ``universal2`` binaries.
202202

203+
3. How do I specify binary universal wheels
204+
-------------------------------------------
205+
206+
Binary wheels can also be universal. The platform tag name used to identify
207+
universal binary wheels differs from the naming scheme used when configuring a
208+
universal build with ``--with-universal-archs``. See the Python Packaging User
209+
Guide for details on the `packaging platform compatibility tags used on macOS
210+
<https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#macos>`_.
211+
212+
203213
Building and using a framework-based Python on macOS
204214
====================================================
205215

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The wheel tags supported by each macOS universal SDK option are now
2+
documented.

0 commit comments

Comments
 (0)