Bug 12346

Summary: Python 3.8/GObject on 2019-11rc2
Product: buildroot Reporter: HiFiBerry (Daniel) <info>
Component: OtherAssignee: unassigned
Status: RESOLVED DUPLICATE    
Severity: major CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description HiFiBerry (Daniel) 2019-11-23 16:47:20 UTC
The 201911 release have been upgraded to Python 3.8. However, the included python-gobject is incompatible with Python 3.8:

Python 3.8.0 (default, Nov 23 2019, 09:12:01) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/gobject/__init__.py", line 26, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/lib/python3.8/site-packages/glib/__init__.py", line 22, in <module>
    from glib._glib import *
SystemError: initialization of _glib raised unreported exception

An alternative to python gobject would be python GI, but this requires introspection. As far as I understand this is not yet working.
Comment 1 Thomas Petazzoni 2019-11-27 14:05:09 UTC

*** This bug has been marked as a duplicate of bug 12286 ***