peps: Apply Nathaniel's latest changes

https://hg.python.org/peps/rev/faaba6f37298 changeset: 6218:faaba6f37298 user: Chris Angelico <rosuav@gmail.com> date: Sun Jan 31 07:51:23 2016 +1100 summary: Apply Nathaniel's latest changes files: pep-0513.txt | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pep-0513.txt b/pep-0513.txt --- a/pep-0513.txt +++ b/pep-0513.txt @@ -17,7 +17,7 @@ ======== This PEP proposes the creation of a new platform tag for Python package built -distributions, such as wheels, called ``manylinux1_{x86_64,i386}`` with +distributions, such as wheels, called ``manylinux1_{x86_64,i686}`` with external dependencies limited to a standardized, restricted subset of the Linux kernel and core userspace ABI. It proposes that PyPI support uploading and distributing wheels with this platform tag, and that ``pip`` @@ -40,7 +40,7 @@ Build tools using PEP 425 platform tags [3]_ do not track information about the particular Linux distribution or installed system libraries, and instead assign -all wheels the too-vague ``linux_i386`` or ``linux_x86_64`` tags. Because of +all wheels the too-vague ``linux_i686`` or ``linux_x86_64`` tags. Because of this ambiguity, there is no expectation that ``linux``-tagged built distributions compiled on one machine will work properly on another, and for this reason, PyPI has not permitted the uploading of wheels for Linux. @@ -159,7 +159,7 @@ built against a version of CPython compiled with 4-byte unicode support (i.e. one where ``sys.maxunicode > 0xFFFF``). -Because CentOS 5 is only available for x86_64 and i386 architectures, +Because CentOS 5 is only available for x86_64 and i686 architectures, these are the only architectures currently supported by the ``manylinux1`` policy. @@ -384,9 +384,9 @@ Specifically, the algorithm we propose is:: def is_manylinux1_compatible(): - # Only Linux, and only x86-64 / i386 + # Only Linux, and only x86-64 / i686 from distutils.util import get_platform - if get_platform() not in ["linux_x86_64", "linux_i386"]: + if get_platform() not in ["linux-x86_64", "linux-i686"]: return False # "wide" Unicode mode is mandatory (always true on CPython 3.3+) @@ -437,7 +437,7 @@ that a single filesystem might contain many different interpreter environments, each with their own ABI profile -- the ``manylinux1`` compatibility of a system-installed x86_64 CPython might not tell us -much about the ``manylinux1`` compatibility of a user-installed i386 +much about the ``manylinux1`` compatibility of a user-installed i686 PyPy. Locating this configuration information within the Python environment itself ensures that it remains attached to the correct binary, and dramatically simplifies lookup code. -- Repository URL: https://hg.python.org/peps
participants (1)
-
chris.angelico