[Python-modules-team] Bug#836053: python-dbusmock: please invoke dbus-daemon directly, not dbus-launch

Martin Pitt mpitt at debian.org
Mon Jun 19 14:35:56 UTC 2017


Control: tag -1 fixed-upstream pending

Hello Simon,

Simon McVittie [2016-08-30 11:22 +0100]:
> This package currently has code that depends on dbus-x11 and explicitly
> runs dbus-launch. I would prefer this to invoke dbus-daemon directly, similar
> to this Flatpak commit:
> https://github.com/flatpak/flatpak/commit/6cc8062cfb3f9410d54a27e7ccca77c103e441e8

Thanks! I stole the concept for dbusmock:

  https://github.com/martinpitt/python-dbusmock/commit/9470c54a28367

> After that has been done, the build-dependency and runtime dependency on
> dbus-x11 can be changed to just dbus.

Done locally in my packaging tree for the next upload.

> It would also be great if documentation that suggested wrapping tests in
> dbus-launch was changed to suggest wrapping them in dbus-run-session(1),
> which is better-designed for that mode of operation (the canonical
> example is "dbus-run-session -- make check").

The above commit does that as well.

Pitti



More information about the Python-modules-team mailing list