Skip to content

Should the output from packaging.tags.sys_tags() take precedence over distlib.wheel.compatible_tags()? #219

@tm-jdelapuente

Description

@tm-jdelapuente

Problem
I'm not downloading all the packages that I'm expecting. This is due to distlib.wheel.compatible_tags() returning a smaller set of tag combinations than packaging.tags.sys_tags().

Context
I can see that they're different implementations and from reading online packaging.tags.sys_tags() seems to be the reference implementation for PEP 425 (please correct me if I'm wrong).

Questions
Does this mean that the output that I get from packaging.tags.sys_tags() should take precedence than the one from distlib.wheel.compatible_tags()?

If so, why doesn't distlib import and use packaging.tags.sys_tags() to maintain consistency with packaging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions