Bug 12346 - Python 3.8/GObject on 2019-11rc2
Summary: Python 3.8/GObject on 2019-11rc2
Status: RESOLVED DUPLICATE of bug 12286
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 16:47 UTC by HiFiBerry (Daniel)
Modified: 2019-11-27 14:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***