Note that this introduces a dependency on the backport of importlib-resources, which could technically be a version gated dependency, but decided not to bother with that.
I also expired the (related) importlib-metadata python version gating, as that was only in python < 3.8, which is no longer supported anyway, and thus is unreachable
Motivation and Context
Setuptools is removing pkg_resources
How Has This Been Tested?
Standard pytest passes, no longer imports pkg_resources
Description
replace
pkg_resources
withimportlib.resources
Note that this introduces a dependency on the backport of importlib-resources, which could technically be a version gated dependency, but decided not to bother with that.
I also expired the (related) importlib-metadata python version gating, as that was only in python < 3.8, which is no longer supported anyway, and thus is unreachable
Motivation and Context
Setuptools is removing
pkg_resources
How Has This Been Tested?
Standard pytest passes, no longer imports pkg_resources