Fedora Account System
Red Hat Associate
Red Hat Customer
lasso fails to build with Python 3.14.0b1. Unfortunately, build log of lasso doesn't show meaningful traceback. 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/09023735-lasso/ For all our attempts to build lasso with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/lasso/ 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.
I'd like to try and replicate this but ss there a convenient way to build against python 3.14 beta 1 ? Maybe a side tag ?
Sorry for the noise, I failed to read properly ;-( There are no instructions at https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/ but there are at https://copr.fedorainfracloud.org/coprs/g/python/python3.14/ so I was able to sort this out. Now let's see if I can help with a fix.
From /build/BUILD/lasso-2.8.2-build/lasso-2.8.2/bindings/python/tests/test-suite.log: ``` FAIL: test07 (__main__.BindingTestCase.test07) Check reference counting ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/lasso-2.8.2-build/lasso-2.8.2/bindings/python/tests/./binding_tests.py", line 260, in test07 self.assertEqual(b, a-1) ~~~~~~~~~~~~~~~~^^^^^^^^ AssertionError: 1 != 2 ```
The path for the test suite log above is wrong, it should read /buildir/build/BUILD/lasso-2.8.2-build/lasso-2.8.2/bindings/python/tests/test-suite.log The failing test from /builddir/build/BUILD/lasso-2.8.2-build/lasso-2.8.2/bindings/python/tests/binding_tests.py is ``` def test07(self): '''Check reference counting''' s = lasso.Samlp2AuthnRequest() cptr = s._cptr a = sys.getrefcount(s._cptr) del(s) b = sys.getrefcount(cptr) self.assertEqual(b, a-1) ```
upstream issue: https://dev.entrouvert.org/issues/105622
FEDORA-2025-1bc39c03d8 (lasso-2.8.2-17.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-1bc39c03d8
upstream fix: https://git.entrouvert.org/entrouvert/lasso/pulls/29 downstream commit: https://src.fedoraproject.org/rpms/lasso/raw/5241e53a32c829c7bfbaa214c92d45403fde500c
FEDORA-2025-1bc39c03d8 (lasso-2.8.2-17.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
Bodhi automatically closed this bug, although the rawhide build is not using python 3.14, so re-opening in order to be able to close once the python 3.14 build has actually happened.
(In reply to Xavier Bachelot from comment #2) > Sorry for the noise, I failed to read properly ;-( > There are no instructions at > https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/ but there > are at https://copr.fedorainfracloud.org/coprs/g/python/python3.14/ so I was > able to sort this out. Apologies for that and thank you for pointing this out - I added the instructions and updated template.
Feel free to close the bug though: lasso has built successfully in Python 3.14 copr (https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/build/9038285/) so I expect a success later in Koji (the rebuild is planned for the week around ~Jun 2nd).
Thanks for the update Karolina !