fizwit / easy_update

Update EasyBuild package configuration files for R and Python bundles
19 stars 9 forks source link

Fix deprecated imp (since 3.4) #18

Closed ccoulombe closed 5 years ago

ccoulombe commented 5 years ago

According to the docs : Deprecated since version 3.4: Use importlib.util.module_from_spec() instead..

Using importlib.util.module_from_spec(None) is not possible, therefore using types.ModuleType() is the solution.

fizwit commented 5 years ago

looks good, thanks