Files
poky/meta/recipes-devtools
Yi Zhao 6c8bf0fcf2 python3-pygobject: RDEPENDS on gobject-introspection
Since 3.51.0, python3-pygobject depends on libgirepository 2.0 provided
by glib-2.0 instead of libgirepository 1.0 provided by
gobject-introspection[1]. It still needs the typelib files from
libgirepository-1.0 package. Add gobject-introspection as a runtime
dependency.

Fixes:
$ python3
Python 3.13.2 (main, Feb  4 2025, 14:51:09) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> from gi.repository import Gtk
Traceback (most recent call last):
  File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 139, in create_module
    introspection_module = get_introspection_module(namespace)
  File "/usr/lib64/python3.13/site-packages/gi/module.py", line 243, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib64/python3.13/site-packages/gi/module.py", line 111, in __init__
    repository.require(namespace, version)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
gi.RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    from gi.repository import Gtk
  File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 141, in create_module
    raise ImportError(e) from e
ImportError: Typelib file for namespace 'xlib', version '2.0' not found

[1] https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320

(From OE-Core rev: 6f9e02292c9305e795f2651c3bb6ef5b671e1c74)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
..
2024-11-25 22:23:25 +00:00
2025-04-03 11:06:19 +01:00
2024-11-27 14:58:48 +00:00
2025-05-09 07:10:11 +01:00
2024-09-03 10:21:38 +01:00
2024-11-27 14:58:48 +00:00
2024-05-28 09:38:23 +01:00
2024-04-16 08:07:01 +01:00
2025-01-04 12:34:04 +00:00
2025-05-01 14:33:26 +01:00
2025-05-01 14:33:26 +01:00
2025-04-10 11:05:34 +01:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-09-30 17:00:50 +01:00
2025-04-08 15:49:17 +01:00
2024-11-18 22:09:02 +00:00
2024-08-23 09:12:37 +01:00
2024-08-28 09:14:26 +01:00
2025-05-08 10:28:18 +01:00
2025-03-27 11:19:03 +00:00
2025-03-06 11:16:47 +00:00
2024-06-04 12:04:52 +01:00
2024-05-28 09:38:24 +01:00
2024-08-29 21:58:19 +01:00
2025-03-06 11:16:47 +00:00
2025-04-17 11:03:22 +01:00
2025-05-06 17:50:14 +01:00
2025-05-05 17:22:11 +01:00
2025-04-03 11:06:20 +01:00
2025-01-20 13:38:59 +00:00
2025-04-20 10:11:16 +01:00
2024-11-22 16:53:37 +00:00
2024-12-05 17:07:10 +00:00
2025-02-05 12:49:55 +00:00
2025-03-27 11:19:04 +00:00
2025-03-17 17:09:22 +00:00