pypa / setuptools

Official project repository for the Setuptools build system
https://pypi.org/project/setuptools/
MIT License
2.34k stars 1.14k forks source link

Don't call `setuptools.extern.importlib_metadata.EntryPoints.names` for better backwards compatibility. #4339

Closed abravalheri closed 2 weeks ago

abravalheri commented 2 weeks ago

Summary of changes

Closes #4338

Pull Request Checklist

[PR docs]: https://setuptools.pypa.io/en/latest/development/developer-guide.html#making-a-pull-request

abravalheri commented 2 weeks ago

Merging based on this comment:

Ideally, I'd like for setuptools to be able to rely on whatever version of "importlib metadata" is available in the environment.

(As it implies that setuptools should be able to deal with older importlib_metadata installations.)