Open
Description
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.