`powerprofilesctl version` crashes without daemon
For adjusting python-dbusmock to the recent API change, the tests need to figure out the installed version. This needs to happen in a container where the daemon isn't running. In older versions this worked fine, e.g. Fedora 38:
$ powerprofilesctl version
0.13
but with the current version in Fedora 39 it doesn't:
$ powerprofilesctl version
Failed to communicate with power-profiles-daemon: g-io-error-quark: Could not connect: No such file or directory (1)
The CLI should certainly be able to figure out its version by itself? Thanks!