Skip to content

New sysconfig API: Build information - Compatibility #103483

Open
@FFY00

Description

@FFY00

Feature or enhancement

sysconfig should provide the core compatibility information for interpreter.

Pitch

The new API would provide:

  • PEP 425 compatibility tags
    • currently: Need to be manually calculated by users (eg. packaging.extensions)
  • Supported module extensions
    • currently: importlib.machinery.*_EXTENSIONS
  • what else? please comment...

Considerations

IMO we probably should only provide the general platform tag (eg. linux-x86_64), and leave standardized environment tags (eg. manylinux) for 3rd party tooling.

Previous discussion

Issue asking for PEP 425 tags: GH-99560

New sysconfig API meta-issue: GH-103480

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions