Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins.handlers: use stdlib for
EntryPointPlugin.get_version()
`importlib.metadata` officially starts existing in Python 3.8, and we are removing support for Python 3.7 before Sopel 8's stable release. That means we can use the stdlib approach here to get the version string for an entry-point plugin, and drop another `import importlib_metadata`. I can't wait for Python 3.9's EOL... We can remove `importlib_metadata` completely then.
- Loading branch information