Dropping libdbus (dbus-python) support #32
fohrloop
announced in
Announcements
Replies: 2 comments
-
I think this might be the installation instructions for dbus-python
From: linuxfromscratch.org |
Beta Was this translation helpful? Give feedback.
0 replies
-
Even if I'll get the installation working easily, this needs a bit of thinking. I think the correct place for that thinking process is #33 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the midst of writing wakepy 1.0.0 release, and with the goal of giving user possibility to select the used method. Currently, on linux there are options: dbus (with jeepney), libdbus (uses dbus-python) and systemd (requires sudo).
I just finished writing the dbus version with jeepney and got tests working. Tests will run in isolated containers using virtual environments, and for that I would need to install dbus-python. Running
pip install dbus-python
will fail:pip install dbus-python output
pip install dbus-python output
(Running on Ubuntu 22.04)
I assume that the installation process is a bit more complicated than that. It says it is missing "dbus-1". Unfortunately the pypi.org page and dbus-python docs do not have installation instructions. This is slightly unmotivating. In addition the docs say: "..it uses libdbus (which has known problems with multi-threaded use)" (not sure if that will cause problems, or not).
The only real motivation for using dbus-python + libdbus would be that it is in many times installed on the system by default ( like on my Ubuntu machine ), so users would not need jeepney, but if I'm not mistaken also jeepney is included in many distributions. The functionality should be pretty much same, and wakepy only uses a tiny subset of that.
In the 1.0.0 release, I'm planning to have the "jeepney" method with name "dbus", and dropping the dbus-python + libdbus version. I'm still open for discussion about taking dbus-python + libdbus as supported alternative. Happy to hear any thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions