I have looked into whether there is an easy fix but I have found out that the functions PyString_FromStringAndSize() and Py_InitModule4() were both removed from the API in Python3. Probably the compiling step did not find these functions and did a so-called "implicit declaration" with integer return value leading to the warnings.
What we need is a Python3 replacement of these 2 functions. It seems that the pcard/pcardext/pcardext.c C extension was not correctly converted to Python3 but as it is only rarely ued (very old MF devices) it was not discovered. Unfortunately I did not find a quick workaround by somehow deactivating the old memory card support. Reopening for this missing part of the Python3 conversion. To the HPLIP developers at HP. Can you please fix this quickly and attach a patch here so that we can quickly release this HPLIP package? Thanks. ** Changed in: hplip Status: Fix Released => Confirmed ** Changed in: hplip (Ubuntu) Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1275353 Title: Make HPLIP working with Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/1275353/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs