Bug 2350334

Summary: showtime fails to build with Python 3.14: ValueError: Namespace GIRepository not available for version 2.0
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: showtimeAssignee: GNOME SIG Unassigned <gnome-sig>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: farchord, gnome-sig, ksurma, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2322407    

Description Karolina Surma 2025-03-06 14:46:55 UTC
showtime fails to build with Python 3.14.0a5.

+ /usr/bin/meson compile -C redhat-linux-build -j 2 --verbose
ninja: Entering directory `/builddir/build/BUILD/showtime-48.0_20250201.beta.1-build/showtime-48.beta.1/redhat-linux-build'
[1/32] /usr/bin/blueprint-compiler batch-compile showtime/. ../showtime ../showtime/gtk/help-overlay.blp ../showtime/gtk/window.blp
FAILED: showtime 
/usr/bin/blueprint-compiler batch-compile showtime/. ../showtime ../showtime/gtk/help-overlay.blp ../showtime/gtk/window.blp
Traceback (most recent call last):
  File "/usr/bin/blueprint-compiler", line 38, in <module>
    from blueprintcompiler import main
  File "/usr/lib/python3.14/site-packages/blueprintcompiler/main.py", line 27, in <module>
    from . import formatter, interactive_port, parser, tokenizer
  File "/usr/lib/python3.14/site-packages/blueprintcompiler/interactive_port.py", line 25, in <module>
    from . import decompiler, parser, tokenizer
  File "/usr/lib/python3.14/site-packages/blueprintcompiler/decompiler.py", line 26, in <module>
    from .gir import *
  File "/usr/lib/python3.14/site-packages/blueprintcompiler/gir.py", line 27, in <module>
    gi.require_version("GIRepository", "2.0")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/site-packages/gi/__init__.py", line 132, in require_version
    raise ValueError('Namespace %s not available for version %s' %
                     (namespace, version))
ValueError: Namespace GIRepository not available for version 2.0
[2/32] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/org.gnome.Showtime.desktop.in data/org.gnome.Showtime.desktop desktop ../data/../po
ninja: build stopped: subcommand failed.

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08723849-showtime/

For all our attempts to build showtime with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/showtime/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.