Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks
marmarek opened this issue Feb 25, 2025 · 0 comments
Open
3 tasks
Labels
C: Fedora C: manager/widget P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@marmarek
Copy link
Member

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:

  • core-qrexec (see PR linked above)
  • desktop-linux-menu
  • desktop-linux-manager
@marmarek marmarek added C: Fedora C: manager/widget P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels Feb 25, 2025
@marmarek marmarek changed the title Convert applications that use gbulb to use native asyncio io pygobject >= 3.50 Convert applications that use gbulb to use native asyncio on pygobject >= 3.50 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Fedora C: manager/widget P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

1 participant