python-dbusmock:main

Last commit made on 2024-04-18
Get this branch:
git clone -b main https://git.launchpad.net/python-dbusmock

Branch merges

Branch information

Name:
main
Repository:
lp:python-dbusmock

Recent commits

b699b35... by Martin Pitt

tests: Adjust for python-build output tar name change

The tarball is now named "python_dbusmock-VERSION".

fcb351f... by Martin Pitt

workflows: Bump action-release to get github-script@v7

This gets rid of the obsolete node.js 16. See
https://github.com/cockpit-project/action-release/commit/7d2e2657382e8

0d453db... by Martin Pitt

Adjust to ruff 0.3.0

That doesn't like the `# fmt off` annotations:

> RUF028 This suppression comment is invalid because it cannot be in an expression, pattern, argument list, or other non-statement

So throw beauty out of the door and concede to the battling tools.

47829f0... by Martin Pitt

test: Robustify powerprofilesctl version parsing

https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/167
will change the output of `powerprofilesctl version`. Take the
first version number from the ouput instead of assuming that the output
starts with it.

b24f7b7... by Martin Pitt

Add upower_power_profiles_daemon template

This works like the existing power_profiles_daemon template, but for the
new D-Bus name/object path introduced in
https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/releases/0.20

Enable integration test on Ubuntu, which has version 0.13 in 22.04 LTS.

9e46a1f... by Martin Pitt

Revert "power_profiles_daemon: Move to org.freedesktop.UPower.PowerProfiles"

This was too quick: Except for `powerprofilesctl`, all "actual"
consumers are currently still using the old name.

This reverts commit 8cec9a17261e36daaba107ba8b581cdc57c3744b.

825fd7a... by Martin Pitt

workflows: Add workaround for actions/checkout tag breakage

See https://github.com/actions/checkout/pull/697

a6c257a... by Martin Pitt

workflows: Drop obsolete git safe.directory configuration

`actions/checkout@v4` does this by default.

254bd55... by Martin Pitt

tests: Run power-profiles-daemon on Debian

8cec9a1... by Martin Pitt

power_profiles_daemon: Move to org.freedesktop.UPower.PowerProfiles

Version 0.20 moved to D-Bus name `org.freedesktop.UPower.PowerProfiles`,
and corresponding changes to the object path/interface:
https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/releases/0.20

The real daemon also still listens to the old name, but we can't do that
in dbusmock: BUS_NAME and friends cannot be parameterized, as their
loading and instantiation happens before calling the `load()` function.

`powerprofilesctl` now only looks at the new name, so we need to adjust
the template. The new version is in Fedora 39 to rawhide and also in
Debian testing, so for ongoing development it's more useful to present
the current API.