PEP 850: Wheel Variants: Providers

We’d like to share the next step of wheel variants: Variant Providers. In short, PEP 850: Wheel Variants: Providers defines how to query the system for compatible variant properties:

This PEP extends PEP 825 by defining how variant properties are governed and how their compatibility is determined. This is done either via static feature and feature value compatibility lists specified in the variant metadata, or by querying opt-in plugins that are Python packages but can also be vendored or reimplemented by the tools. A static list can also be provided in place of querying the plugins. Additionally, an ABI Dependency Variant Provider is defined to facilitate builds of the same package against different dependency versions.

Please see the updated PEP 817 and its discussion for an overview of the wheel variants project.

To keep the discussion focused, we’ve split out the discussion about security to Security of wheel variants. Please discuss all security related matters there and let this thread focus on the other aspects of the PEP.

We’re especially interested in whether the provided model works for all relevant use cases, while being as simple as possible. If you have hardware or similar requirements not covered by this PEP, or a tool with which this model would not work, please let us know.

4 Likes