[e-users] econnman python-efl with python 3.12
daniel antoine <[email protected]> Mon, 5 Aug 2024 12:22:29 +0200
| Newsgroups | gmane.comp.window-managers.enlightenment.user |
|---|---|
| Message-ID | <CA+iibzB+cV94AqHabAo-2WwDb4p4b0a2kv5Lbk7T=FCYSJn4bQ@mail.gmail.com> |
Hi
Since an upgrade of python to the version 3.12 I can compile
python-efl but just by using the tarball provided by the enlightenment
site. With the last commit concerning cython it's impossible to
compile with my version of cython 3.10. I can compile econnman but it
fails in error when I try to use it
antoine@grat-os1:~$ econnman-bin
Traceback (most recent call last):
File "/usr/bin/econnman-bin", line 77, in <module>
from configparser import SafeConfigParser
ImportError: cannot import name 'SafeConfigParser' from 'configparser'
(/usr/lib/python3.12/configparser.py). Did you mean:
'RawConfigParser'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/econnman-bin", line 79, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
configparser is deprecated and has been removed from python 3.12 list.
There is some patches to include again configparser to python 3.12 but
I don't think it's a good solution
So I think it's the end for econnman
Best regards
Daniel