You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Qubitium notes (#1):
Python 3.12 no longer support the imp module (fully deprecated) with note to use importlib as replacement.
Please support python 3.12 by migrating from imp code to importlib. Thanks.
and indeed, even trying to build pygolang fails on py3.12:
(py312.venv) kirr@deca:~/src/tools/go/pygolang-master$ python setup.py build_ext -i
Traceback (most recent call last):
File "/home/kirr/src/tools/go/pygolang-master/setup.py", line 40, in <module>
exec(readfile('trun'), trun)
File "<string>", line 41, in <module>
ModuleNotFoundError: No module named 'imp'
-> Rework the code to use importlib instead, but keep using imp on py2
where there is practically no importlib functionality.
/reported-by @Qubitium (github)
/reviewed-by @jerome
/reviewed-on https://lab.nexedi.com/nexedi/pygolang/-/merge_requests/23
0 commit comments