Open rahulporuri opened 3 years ago
With the current version of #1000, we can drop the importlib_metadata
requirement at Python 3.8 rather than 3.10. We still need to wait for 3.10 before being able to drop the select
interface compatibility code.
At the moment, the codebase relies on the external package
importlib_metadata
but starting Python 3.10, we will be able to rely onimportlib.metadata
in the standard library. When we can drop support for Python < 3.10, we can remove the compatibility layer which tries to import the externalimportlib_metadata
and falls back to standard libraryimportlib.metadata
if it doesn't exist.Additionally, compatibility code around the presence of the
select
interface on entry point objects can also be removed when we drop support for Python < 3.10.