dmwm / CRABServer

16 stars 38 forks source link

Python3.12 support: Use importlib instead of deprecated imp module #8804

Open belforte opened 21 hours ago

belforte commented 21 hours ago

In view of deprecated imp being removed we need to make sure that server code does not use it.

Maybe also a good time to look into replacing use of __import__() with importlib.import_module().

Better yet, try to run e.g. TW in a python3.12 container

reference: https://github.com/dmwm/CRABClient/pull/5350