Use importlib instead of imp for Python >= 3.5
The imp module is deprecated and disappears in Python 3.12. In slapos.recipe.cmmi, importlib/imp is used to run scripts loaded directly from files. The importlib version is the now recommanded way for Python 3.5+.
Showing
Please register or sign in to comment