Skip to content

Allow customizing generation of tags #187

@pradyunsg

Description

@pradyunsg

Coming from pypa/pip#6908

pip's current get_supported function for generating PEP 425 tags, has the following signature:

def get_supported(
    versions=None,  # type: Optional[List[str]]
    noarch=False,  # type: bool
    platform=None,  # type: Optional[str]
    impl=None,  # type: Optional[str]
    abi=None  # type: Optional[str]
):

It takes details/strings about the specific platform, implementation, ABI and interpreter versions. It also has a flag to avoid generating architecture specific tags.

packaging.tags would need to have feature parity with this interface, to be used within pip.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions