Skip to content

Add a note about managing wheel ABI compatility #3806

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 2 commits into from
Aug 16, 2018
Merged
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
13 changes: 13 additions & 0 deletions warehouse/forklift/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ def namespace_stdlib_list(module_list):
}

# Wheel platform checking

# Note: defining new platform ABI compatibility tags that don't
# have a python.org binary release to anchor them is a
# complex task that needs more than just OS+architecture info.
# For Linux specifically, the platform ABI is defined by each
# individual distro version, so wheels built on one version may
# not even work on older versions of the same distro, let alone
# a completely different distro.
#
# That means new entries should only be added given an
# accompanying ABI spec that explains how to build a
# compatible binary (see the manylinux specs as examples).

# These platforms can be handled by a simple static list:
_allowed_platforms = {
"any",
Expand Down