Bug 2366247

Summary: libpeas fails to build with Python 3.14: test-extension-py TIMEOUT
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: libpeasAssignee: Kalev Lember <kalevlember>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amigadave, gnome-sig, kalevlember, ksurma, mhroncok, yaneti
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-05-14 14:15:21 UTC
libpeas fails to build with Python 3.14.0b1.

6/6 test-extension-py  TIMEOUT        30.04s   killed by signal 15 SIGTERM
>>> GSETTINGS_BACKEND=memory MALLOC_CHECK_=2 G_DEBUG=gc-friendly MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 LD_LIBRARY_PATH=/builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/tests/testing-util:/builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/tests/libpeas/plugins/embedded:/builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/tests/libpeas/introspection:/builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/libpeas:/builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/tests/libpeas/testing NO_AT_BRIDGE=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=230 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /builddir/build/BUILD/libpeas-2.0.7-build/libpeas-2.0.7/redhat-linux-build/tests/libpeas/extension-py
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stdout:
TAP version 14
# random seed: R02S631071b0bca4b3b85f85f732ed925605
1..20
# Start of extension tests
# Start of python tests
stderr:
/usr/lib64/python3.14/site-packages/gi/module.py:57: Warning: cannot register existing type 'GIRepository'
  repository = Repository.get_default()
/usr/lib64/python3.14/site-packages/gi/module.py:57: Warning: g_once_init_leave_pointer: assertion 'result != 0' failed
  repository = Repository.get_default()
/usr/lib64/python3.14/site-packages/gi/module.py:57: Warning: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
  repository = Repository.get_default()
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:

6/6 test-extension-py  TIMEOUT        30.04s   killed by signal 15 SIGTERM


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-b1/fedora-rawhide-x86_64/09037098-libpeas/

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

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-b1/

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.

Comment 1 Yanko Kaneti 2025-06-15 14:01:15 UTC
This might be more due to the pygobject3 update from 3.50... to 3.52.3 and not the python upgrade itself.
For me every single  pygobject update past 3.50  has broken liferea (which uses libpeas) the same way.