| On 04/12/2018 07:20 AM, Josef Ridky wrote: | > Hi, | > | > I would like to ask, how is it with Python 3 support in OpenIPMI? | > Is there any plan to support it in near future? | | I hadn't though much about it. In fact, I haven't done any research on | what is required. So I guess there's no plan. | | Is there some need for this? SWIG says it generates python3 compatible | wrappers. I'm not sure if there are issues with the other code, but I | doubt it would be too hard to fix.
In near future Fedora will set Python 2 as deprecated and Python 2 will be removed from the system. So if I want to keep OpenIPMI fully supported in future in Fedora, I would have to transfer Python2 support to Python3. Otherwise I will have to drop the package from the system. So that's the reason, why I have asked for it. I have tried to transform OpenIPMI-2.0.24 to Python3, but now I have stuck at swig error with undefined symbol. ------ make[4]: Entering directory '/home/jridky/rpmbuild/BUILD/OpenIPMI-2.0.24/swig/python' PYTHONPATH=../../swig/python:../../swig/python/.libs:./openipmigui /usr/bin/python3 -c 'import OpenIPMI.py' Traceback (most recent call last): File "~/rpmbuild/BUILD/OpenIPMI-2.0.24/swig/python/OpenIPMI.py", line 14, in swig_import_helper return importlib.import_module(mname) File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 658, in _load_unlocked File "<frozen importlib._bootstrap>", line 571, in module_from_spec File "<frozen importlib._bootstrap_external>", line 922, in create_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed ImportError: ~/rpmbuild/BUILD/OpenIPMI-2.0.24/swig/python/.libs/_OpenIPMI.so: undefined symbol: ipmi_entity_remove_fru_update_werr_handler ------ Regards Josef | | -corey | | > Best regards, | > | > Josef Ridky | > Associate Software Engineer | > Core Services Team | > Red Hat Czech, s.r.o. | > | > ------------------------------------------------------------------------------ | > Check out the vibrant tech community on one of the world's most | > engaging tech sites, Slashdot.org! http://sdm.link/slashdot | > _______________________________________________ | > Openipmi-developer mailing list | > Openipmi-developer@lists.sourceforge.net | > https://lists.sourceforge.net/lists/listinfo/openipmi-developer | | | ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openipmi-developer mailing list Openipmi-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openipmi-developer