Open kelle opened 6 days ago
possible gotcha: May need to use, e.g., str(importlib.resources.files('sedkit')/ 'data/sources.txt')
in some cases for a quick fix, since I see this path is sometimes treated and manipulated as a string. importlib_resources.files
returns a PosixPath
object while resource_filename
used to return a string
Getting lots of deprecation warnings in Python 3.11 due to the deprecation of
pkg_resources
. Please modify code to useimportlib_resources
instead.For example:
becomes