Bug 2379002 - python-pyglet: FTBFS in Fedora Rawhide: AttributeError: module 'gi' has no attribute 'require_version'
Summary: python-pyglet: FTBFS in Fedora Rawhide: AttributeError: module 'gi' has no at...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pyglet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Viktorin
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F43FTBFS PYC3.14rc3
TreeView+ depends on / blocked
 
Reported: 2025-07-09 12:47 UTC by Miro Hrončok
Modified: 2025-08-23 02:17 UTC (History)
3 users (show)

Fixed In Version: python-pyglet-2.0.10-8.fc44 python-pyglet-2.0.10-8.fc43
Clone Of:
Environment:
Last Closed: 2025-08-23 02:14:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-09 12:47:14 UTC
Description of problem:
Package python-pyglet fails to build from source in Fedora Rawhide.


==================================== ERRORS ====================================
______________ ERROR collecting tests/unit/media/test_listener.py ______________
tests/unit/media/test_listener.py:7: in <module>
    from pyglet.media.drivers import pulse
pyglet/media/__init__.py:83: in <module>
    _add_default_codecs()
pyglet/media/codecs/__init__.py:53: in add_default_codecs
    from . import gstreamer
pyglet/media/codecs/gstreamer.py:16: in <module>
    gi.require_version('Gst', '1.0')
E   AttributeError: module 'gi' has no attribute 'require_version'


Version-Release number of selected component (if applicable):
2.0.10-5.fc43

Steps to Reproduce:
fedpkg build --scratch

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-pyglet

Comment 1 Fedora Update System 2025-08-23 02:09:56 UTC
FEDORA-2025-3570d2c7ad (python-pyglet-2.0.10-8.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3570d2c7ad

Comment 2 Fedora Update System 2025-08-23 02:13:51 UTC
FEDORA-2025-4c630aaafb (python-pyglet-2.0.10-8.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4c630aaafb

Comment 3 Fedora Update System 2025-08-23 02:14:25 UTC
FEDORA-2025-3570d2c7ad (python-pyglet-2.0.10-8.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2025-08-23 02:17:25 UTC
FEDORA-2025-4c630aaafb (python-pyglet-2.0.10-8.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.