Skip to content

Using setuptools.extern.importlib_metadata.EntryPoints.names is incompatible with older versions of importlib_metadata and/or importlib.metadata #4338

@abravalheri

Description

@abravalheri

importlib_metadata.EntryPoints.names was introduced in 3.6.0 and it is currently being used in

return metadata.distribution('setuptools').entry_points.names

This potentially cause problems when MetaPathFinders in Python 3.8 that use importlib.metadata APIs to implement find_distributions.

This problem was identified in pypa/pyproject-hooks#195 (comment).

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