Convert away from pkg_resources
I was working on converting pipenv away from pkg_resources to use instead distributions from https://docs.python.org/3/library/importlib.metadata.htmland in the past hour it became problematic because we rely on pipdeptree which is expecting we are working with pkg_resources Distriubtions. The problem as I see it is the pkg_resources documentation https://setuptools.pypa.io/en/latest/pkg_resources.html has this attention marker:
Attention
Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata, and their backports (importlib_resources, importlib_metadata). Please consider using those libraries instead of pkg_resources
I started working on this in the first place because of some edge case where some users cannot import pkg_resources. Are there any plans to convert away from pkg_resources in this project?