Public bug reported:

system-config-printer-common is the last package keeping Python 2 on the
default desktop image.  Even though s-c-p has been ported to Python 3,
it has a transitive dependency on Python 2 through python3-smbc ->
libsmbclient -> samba-libs -> libpython2.7

The problem is that upstream Samba is lagging behind in porting to
Python 3, and that clearly won't happen before 16.04.  Therefore, in
order to drop Python 2 from the images, we need to demote python3-smbc
from a Depends to a Suggests.

This has implications for users who want to connect to Windows printers
out of the box.  They clearly won't be able to after this.  They would
have to install python3-smbc in order to do this.

You might take a look at deja-dup which hands this by showing a button
that installs the necessary package via PackageKit (in vala, but it also
shouldn't be hard to do it in Python).  It's not ideal, but it makes it
obvious that there's some extra stuff needed in order to install a
Windows printer.  You could display this button only if `import smbc`
fails.  I don't know how prominent Windows printers are for Ubuntu
users, but ISTM that most network printers should expose IPP or other
non-Windows specific protocols these days.

https://blueprints.launchpad.net/ubuntu/+spec/foundations-x-python3-only

** Affects: system-config-printer (Ubuntu)
     Importance: High
     Assignee: Till Kamppeter (till-kamppeter)
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552868

Title:
  Demote python3-smbc to a Suggests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1552868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to