← Back to team overview

desktop-packages team mailing list archive

[Bug 1275353] Re: Make HPLIP working with Python 3

 

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 Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1275353

Title:
  Make HPLIP working with Python 3

Status in HP Linux Imaging and Printing:
  Confirmed
Status in hplip package in Ubuntu:
  Confirmed
Status in hplip source package in Trusty:
  Confirmed
Status in hplip package in Fedora:
  New

Bug description:
  In Ubuntu Linux we want to switch over completely to Python 3 and are
  on the way to eliminate everything which needs Python 2.

  Therefore I want to know whether HPLIP is already tested with Python 3
  at HP and whether there was already effort on adapting HPLIP to Python
  3.

  As Python 3 will also get standard in the other distros I would
  appreciate very much if HPLIP could be switched over to using Python
  3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1275353/+subscriptions