`importlib_metadata.EntryPoints.names` was introduced in 3.6.0 and it is currently being used in https://github.com/pypa/setuptools/blob/963dbd25cb64898b6f3ee247440db0421f16ca18/setuptools/dist.py#L538 This potentially cause problems when `MetaPathFinder`s in Python 3.8 that use `importlib.metadata` APIs to implement [`find_distributions`](https://docs.python.org/3.8/library/importlib.metadata.html#extending-the-search-algorithm). This problem was identified in https://github.com/pypa/pyproject-hooks/pull/195#issuecomment-2088695300.