Replace deprecated module to support python 3.12
The imp
module is deprecated in Python 3.12, and as a consequence, legion_python
throws an error. This fix replaces imp
with importlib
.
The imp
module is deprecated in Python 3.12, and as a consequence, legion_python
throws an error. This fix replaces imp
with importlib
.