CobayaSampler/cobaya

Replace deprecated pkg_resources

cmbant opened this issue · 1 comments

But this does not seem to work in get_associated_file_content:

            ref = importlib_resources.files(cls.__module__).joinpath(
                (file_root or cls.get_file_base_name()) + ext)
            string = ref.read_bytes()

(not a module error)