Skip to content

Convert applications that use gbulb to use native asyncio on pygobject >= 3.50 #9809

@marmarek

Description

@marmarek

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.running attribute).
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 running attribute 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: FedoraThis 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.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions