-
-
Notifications
You must be signed in to change notification settings - Fork 59
Convert applications that use gbulb to use native asyncio on pygobject >= 3.50 #9809
Copy link
Copy link
Closed
Closed
Copy link
Labels
C: FedoraThis issue pertains to Fedora Linux templates or standalones.This issue pertains to Fedora Linux templates or standalones.C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.This issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.
Metadata
Metadata
Assignees
Labels
C: FedoraThis issue pertains to Fedora Linux templates or standalones.This issue pertains to Fedora Linux templates or standalones.C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.This issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.
Type
Fields
Give feedbackNo fields configured for Feature.
The problem you're addressing (if any)
https://github.com/beeware/gbulb is deprecated as asyncio is supported natively in pygobject 3.50+. And gbulb doesn't work with pygobject 3.50+ anymore (complains about missing
GLibEventLoop.runningattribute).Fedora 42 has pygobject 3.50.
The solution you'd like
While fixing gbulb may work as a short term solution (not sure how complex the fix would - it isn't obvious if the
runningattribute is the only problem), it isn't a long term solution. Migration to native glib support is a better idea long term. But also, for the time being we need to support older pygobject too. The change look to be rather simple: https://github.com/QubesOS/qubes-core-qrexec/pull/191/files, and it should be possible to wrap in some condition based on the pygobject version, or maybe even via try/except ImportError on GlibEventLoopPolicy.The value to a user and who that user might be
Less dependencies (especially deprecated ones). Necessary for #9807
Completion criteria checklist
The following repositories need to be adjusted: