See title, apparently pkg_resources is deprecated. There are two alternatives:
Replacing it with importlib.resources. This would require bumping the minimum Python version up to 3.11.
Loading resources from a path relative to __file__. This would not work in some specific cases, such as when the package is imported from a zip file. I'm not sure if we need to support that situation though.
See title, apparently
pkg_resources
is deprecated. There are two alternatives:importlib.resources
. This would require bumping the minimum Python version up to 3.11.__file__
. This would not work in some specific cases, such as when the package is imported from a zip file. I'm not sure if we need to support that situation though.Any thoughts?