Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): replace deprecated pkgutil.get_loader (#4)
pkgutil.get_loader is deprecated in python 3.12 and will be removed in python 3.14. Replace it with importlib.util.find_spec and retrieve the module path with the origin field of the found spec. Update the exception to catch in case the module is not found.
- Loading branch information