Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
abravalheri opened this issue May 1, 2024 · 0 comments · Fixed by #4339

Comments

@abravalheri
Copy link
Contributor

abravalheri commented May 1, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant