lp:~mvo/aptdaemon/use-glib-unix-signal-handling
- Get this branch:
- bzr branch lp:~mvo/aptdaemon/use-glib-unix-signal-handling
Branch merges
- Martin Pitt (community): Approve
-
Diff: 25 lines (+6/-3)1 file modifiedaptdaemon/core.py (+6/-3)
Branch information
Recent revisions
- 875. By Michael Vogt
-
aptdaemon/core.py: use GLib.unix_
signal_ add_full( ) to fix hang with latest python-gi. Its also conceptually cleaner - 874. By Michael Vogt
-
tests/test_
client. py: use the fake bus instead of the real one in test_tid_caching and fix kwargs parsing - 873. By Martin Pitt
-
Force debconf priority to high for test_debconf
This allows the test to work even if the system debconf priority is set to
critical.Thanks Colin Watson <email address hidden>!
- 872. By Martin Pitt
-
Fix deprecated GObject.* API
Call GLib API through GLib.*, not GObject.*. The latter has been deprecated for
some time and causes PyGIDeprecationWarnings with PyGObject >= 3.7.2. This gets rid of 247 of the 311 deprecation warnings during the tests. The
remaining ones will need bumping the minimum pygobject version, and will be
fixed later. - 871. By Martin Pitt
-
Drop MemoizedTransaction mixin.
This uses internal implementation details of PyGObject (GObject.
GObjectMeta)
which stopped working with PyGObject 3.7.2. Replace it with overriding __new__
which does the caching.Extend ClientTest.
test_tid_ caching to ensure that different TIDs actually
generate different transactions. - 867. By Martin Pitt
-
Add test for TID caching
aptdaemon.client has some metaclass magic to cache transactions with the same
transaction ID. Add a test case that this works properly.Suggested by Michael Vogt and spotted in
https://code.launchpad .net/~pitti/ aptdaemon/ pygobject- fixes/+ merge/134942
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:aptdaemon