For loading resources, use importlib.resources.files() instead of pkgutil.get_data(). This works across project boundaries with Bazel 7, as well as through the embossc driver.
Also packaged resource loading into a utility function, so that further changes can be more easily accomodated.
For loading resources, use
importlib.resources.files()
instead ofpkgutil.get_data()
. This works across project boundaries with Bazel 7, as well as through theembossc
driver.Also packaged resource loading into a utility function, so that further changes can be more easily accomodated.