retriever icon indicating copy to clipboard operation
retriever copied to clipboard

Replaced imp module with importlib.util

Open dikwickley opened this issue 9 months ago • 1 comments

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

dikwickley avatar Nov 07 '23 17:11 dikwickley