Bug 2251905

Summary: libucl fails to build with Python 3.13: Test: generate.res output mismatch
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: libuclAssignee: Timothée Floure <timothee.floure>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: ksurma, mhroncok, timothee.floure
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libucl-0.8.2-6.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-04 15:58:31 UTC 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: 2244836    

Description Karolina Surma 2023-11-28 11:46:06 UTC
libucl fails to build with Python 3.13.0a2.

This report is automated and not very verbose, but we'll try to get back here with details.

   libucl 0.8.2: tests/test-suite.log

FAIL: generate
==============

--- ../tests/generate.out	2023-11-24 17:40:59.397282544 +0000
+++ ../tests/generate.res	2023-01-08 10:03:32.000000000 +0000
@@ -20,8 +20,8 @@
 "k=3" = true;
 key14 [
     10,
-    10.100000,
     9.999000,
+    10.100000,
     "abc",
     "cde",
     "😎",
@@ -34,8 +34,8 @@
 key17 [
     "test",
     10,
-    10.100000,
     9.999000,
+    10.100000,
     "abc",
     "cde",
     "😎",
Test: generate.res output mismatch
FAIL generate.test (exit status: 1)

============================================================================
Testsuite summary for libucl 0.8.2
============================================================================
# TOTAL: 6
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://github.com/vstakhov/libucl
============================================================================
make[3]: Leaving directory '/builddir/build/BUILD/libucl-0.8.2/tests'
make[3]: *** [Makefile:878: test-suite.log] Error 1
make[2]: *** [Makefile:986: check-TESTS] Error 2
make[1]: *** [Makefile:1052: check-am] Error 2
make: *** [Makefile:494: check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.5jbjxP (%check)

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06692123-libucl/

For all our attempts to build libucl with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/libucl/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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 Aoife Moloney 2024-02-15 23:05:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.