Aptdaemon and Python 3

Sebastian Heinlein glatzor at ubuntu.com
Tue Jun 5 05:19:08 UTC 2012

Dear Ubuntu-Developers,

Finally the Python 3 port of aptdaemon is ready for testing! Thanks to
Barry, Colin and Martin for advice, support and code. So we are getting
a step closer to shipping Python 3.2 by default.

I uploaded the latest version to ppa:aptdameon-developers/python3

The packaging is currently hosted at
lp:~aptdaemon-developers/aptdaemon/ubuntu-py3 and the code is in trunk

It comes with a Python 2 and 3 based test suite which runs at build
time. Unfortunately we get test suite failures on some build daemons.
According to Pitti this could be related to older kernels running on
those and not working properly with the latest GIO based D-Bus bindings
used in the PackageKit client tests.

In the PPA you will also find a later version of software-properties
which will provide Python 3 modules. The plan is to remove this
dependency of aptdaemon by moving the relevant bits down the stack to

Furthermore the following highlights are worth mentioning:

* Runs with Python 3.2 by default (so all plugins have to be ported)

* Ships packagekit.enums as aptdaemon.pkenums (a Python3 port would have
been nice but it would require a large amount of work and we only need
the enums module in aptdaemon and the plugins)

* Provides the virtual package packagekit-system-interface. This allows
your clients to depend on packagekit-system-interface instead of adding
an ugly or dependency on python3-aptdaemon.pkcompat and packagekit.
Ximion, the Debian maintainer of PackageKit, will add the provides, too.
For the session interface we will soon get packagekit-session-interface.
This should then be used by session-installer, apper and

I am looking forward to your feedback.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20120605/9d05d886/attachment.pgp>

More information about the ubuntu-devel mailing list