Skip to content

Outdated details in the wheel spec overview (inherited from PEP 425) #1219

Open

Description

@ncoghlan

@brettcannon migrated the wheel spec from PEP 425 to the relevant spec page in https://github.com/pypa/packaging.python.org/pull/1206/files

Scanning that PR highlighted some original PEP 425 content that hasn't aged well:

Those were the two main points I noticed on a quick scan, but PEP 425 is old enough now that there are probably other inconsistencies we missed as the later wheel tagging PEPs adjusted the way things work.

Activity

  1. added
    type: bug
    on Nov 11, 2026
  2. shupandee commented on Nov 11, 2026

    @shupandee

    I'd like to work on this. I'd update the installer preference example to a current CPython with manylinux/musllinux tags, and add a note that sysconfig.get_platform() can differ from the tag wheel emits.

  3. rgommers commented on Nov 11, 2026

    @rgommers
    Contributor

    and add a note that sysconfig.get_platform() can differ from the tag wheel emits.

    That's not quite what we want here, we don't want handwaving in specs - this requires a bit of research. If you're interested, please look at https://packaging.pypa.io/en/stable/tags.html and figure out what the best way to phrase this would be, aiming for as much correctness and precision as possible. I'd suggest making a proposal for how to write this up here rather than in a PR.

    Those were the two main points I noticed on a quick scan, but PEP 425 is old enough now that there are probably other inconsistencies we missed

    This also needs more careful review. @shupandee this kind of issue isn't for making quick PRs, please only work on it if you're serious about contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: specificationstype: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions