flake8-eradicate icon indicating copy to clipboard operation
flake8-eradicate copied to clipboard

Switch from pkg_resources to importlib.metadata

Open wwuck opened this issue 2 years ago • 1 comments

Is there any interest in switching the pkg_resources dependency to the stdlib importlib.mtetadata? This would allow removing the dependency on setuptools.

Since this is only available on python3.8+ it would require a new dependency on the backport package importlib_metadata for python3.7. It would also mean dropping support for python3.6 but that is already EOL since 2021-12-23.

I am happy to submit a PR for this.

wwuck avatar May 04 '22 05:05 wwuck

PR is welcome!

sobolevn avatar May 04 '22 09:05 sobolevn