retriever
retriever copied to clipboard
Replaced imp module with importlib.util
As imp module was deprecated in favour of importlib, it was breaking for python3.12
I tested it out and had to replace
imp.find_module
with importlib.util.spec_from_file_location
and
imp.load_module
with importlib.util.module_from_spec
Fixes #1673
@ethanwhite can you review this