PEP 817: Wheel Variants: Beyond Platform Tags (Overview PEP)

After initially proposing all of wheel variants in one PEP, we’ve split it up into a series of PEPs. We rewrote PEP 817 into an informational overview PEP, to discuss the broader story of wheel variants, while discussing the technical details and anything normative in individual PEPs.

Here is our updated roadmap to the variant PEPs:

  • PEP 825: Package Format: changes to the wheel format, the initial definition of variant metadata, the index-level metadata file, variant wheel ordering rules, environment markers and pylock.toml integration. Provisionally accepted
  • PEP 850: Providers: how the variant properties a system supports are determined; binding every variant namespace to the one provider that governs it (such as nvidia for CUDA capabilities, x86_64 for CPU instruction-set levels, blas_lapack for the choice of BLAS implementation); extending variant metadata with provider information; introducing providers that supply compatible properties statically via variant metadata or dynamically via opt-in Python packages, along with the security considerations for their use; defining the relevant plugin API; introducing a special provider concerned with ABI compatibility. Discuss this PEP at PEP 850: Wheel Variants: Providers and its security story at Security of wheel variants.
  • Building: integration with build backends and the pyproject.toml file; extending variant metadata and the plugin API to support verifying the validity of variant properties and embedding static properties via plugins at build time. In early draft status (https://github.com/wheelnext/peps/pull/44)
  • UX, maintainability, security and governance: the introduction strategy, and a community maintained repository of trusted variant providers that can be integrated with installers for opt-out behavior.

This thread is for discussing the PEP sequence, the larger story of wheel variants and technical aspects that span across more than one PEP. For discussing aspects of individual PEPs and technical details, please refer to the relevant discussion thread for that PEP.

7 Likes

Thank you to all involved for putting the overview together!

4 Likes