Skip to content

Use sys.implementation.name if available #193

@pradyunsg

Description

@pradyunsg

From https://www.python.org/dev/peps/pep-0425/#python-tag

Other Python implementations should use sys.implementation.name.


We should probably use sys.implementation.name in packaging.tags, instead of platform.python_implementation().lower(), if it exists.

name = platform.python_implementation().lower()


Relevant discussion about platform.python_implementation() vs sys.implementation: https://www.python.org/dev/peps/pep-0421/#platform-python-implementation

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