Open hutch3232 opened 1 month ago
As of yesterday, python 3.8 is now end of life. If this project wants to be consistent with that, I could revise this PR to drop support for 3.8 and update this code to use the new function instead of the deprecated version. Would that be preferred?
We currently support python 3.6 and above.
Sounds good, I'll leave it as is unless you suggest otherwise
Avoid requiring
setuptools
at runtime. Usingimportlib
from the python standard library.importlib.resources.path
is actually deprecated: https://docs.python.org/3.12/library/importlib.resources.html#importlib.resources.path however, the replacement was new in python 3.9. Can switch to the newfiles
function once support is dropped for python < 3.9.