Dear Mr Pommereau and all other contributors,
thank you for creating and maintaining this library. I stumbled across fundamental problems with python 3.12:
import snakes.plugins fails with
Exception has occurred: ModuleNotFoundError
No module named 'imp'
It seems to me that for the call imp.new_module in the function build() in plugins/init.py there is no direct equivalent in the importlib function, so this could be a starting point. Disclaimer: I've never used neither of the libraries.
Dear Mr Pommereau and all other contributors, thank you for creating and maintaining this library. I stumbled across fundamental problems with python 3.12:
import snakes.plugins
fails withIndeed the imp library has been marked as obsolete. Quoting from the python 3.10 documentation on the imp library: Deprecated since version 3.4: The imp module is deprecated in favor of importlib.
It seems to me that for the call
imp.new_module
in the function build() in plugins/init.py there is no direct equivalent in the importlib function, so this could be a starting point. Disclaimer: I've never used neither of the libraries.Thank you