FS#74625 - [libibus] missing python-gobject dependency
Attached to Project:
Community Packages
Opened by Michel (xantares) - Tuesday, 03 May 2022, 07:35 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Opened by Michel (xantares) - Tuesday, 03 May 2022, 07:35 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
|
Details
(EDIT: this was originally filed against python-pyglet)
gstreamer codec needs the full gi module from python-gobject: $ python -c "import pyglet.info; pyglet.info.dump_ffmpeg() Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.10/site-packages/pyglet/info.py", line 180, in dump_ffmpeg import pyglet.media File "/usr/lib/python3.10/site-packages/pyglet/media/__init__.py", line 145, in <module> add_default_media_codecs() File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/__init__.py", line 87, in add_default_media_codecs from . import gstreamer File "/usr/lib/python3.10/site-packages/pyglet/media/codecs/gstreamer.py", line 51, in <module> gi.require_version('Gst', '1.0') AttributeError: module 'gi' has no attribute 'require_version' libibus provides only an empty gi module, that's why it can still be imported but in the end it throws |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/ibus/issues/1
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/ibus/issues/1
$ python -c "import pyglet.info; pyglet.info.dump_ffmpeg()"
FFmpeg version: n5.0.1
To reproduce in a clean chroot:
# pacman -S python-pyglet libibus
$ python -c "import pyglet.info; pyglet.info.dump_ffmpeg()"
Moving the python-gobject dep from ibus to libibus is one possible way to solve this. I'll reassign this bug to ibus if there are no objections?
Packages that actually need ibus python bindings can instead depend on both libibus and python-gobject.
Please consider reverting.