Closed TheKevJames closed 1 year ago
@leanaha when I opened this PR, py3.7 was still a non-EOL'd python version; if I'd have had the time to finish it up then, I'd have definitely wanted to leave py3.7 support in -- given this is an OSS library, it's worth supporting additional use-cases and dependencies that we ourselves don't rely on, where it's not a major problem.
That said, given I'm only coming back to this now and py3.7 is EOL... yeah, it'd probably be worth rebasing this after nuking py3.7, as it'll be simpler and we want to drop support for outdated pythons anyway.
Summary
Finally upgrade to PEP420 namespace packages and remove pkg_resources. Uses importlib-metadata as a py37 backport stepping-stone.