-
Notifications
You must be signed in to change notification settings - Fork 63
imp module removed from new python #100
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working