the imp module has been depreciated since 3.4 and is now removed from python. importlib is the replacement.
I found it being used in the following:
labscript_utils/device_registry/_device_registry.py
labscript_utils/double_import_denier.py
labscript_utils/modulewatcher.py
At this instant I am doing feature development for lyse which uses modulewatcher.py. In this case imp is being used to get a global import lock, but importlib does not support this functionality.
I am looking into this right now, but this is a hight priority issue because it blocks labscript from being used in current python releases.
the
impmodule has been depreciated since 3.4 and is now removed from python.importlibis the replacement.I found it being used in the following:
At this instant I am doing feature development for
lysewhich usesmodulewatcher.py. In this caseimpis being used to get a global import lock, butimportlibdoes not support this functionality.I am looking into this right now, but this is a hight priority issue because it blocks labscript from being used in current python releases.