Bug 2279549
| Summary: | python-ZConfig fails to build with Python 3.13: test_filehandler_reopen_thread_safety: AssertionError: Lists differ: [] != ['acquire', 'acquire', 'release', 'release'] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-ZConfig | Assignee: | Ben Beasley <code> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, e, ksurma, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-ZConfig-4.1-2.fc41 python-ZConfig-4.1-3.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-11 16:19:06 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: | 2279981 | ||
| Bug Blocks: | 2244836 | ||
I reported this upstream in https://github.com/zopefoundation/ZConfig/issues/96 with some analysis. Because I believe the problem is in the instrumentation of locking operations for testing rather than in the library’s functionality, I intend to skip the test on Python 3.13 until upstream addresses the issue. (In reply to Ben Beasley from comment #1) > Because I believe the problem is in the instrumentation of locking > operations for testing rather than in the library’s functionality, I intend > to skip the test on Python 3.13 until upstream addresses the issue. This issue will be closed by Bodhi when I do a build with the test skipped, but please note that this package will continue to FTBFS on Python 3.13 until bug 2279981 is fixed. FEDORA-2024-2f8fa19b92 (python-ZConfig-4.1-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2f8fa19b92 FEDORA-2024-2f8fa19b92 (python-ZConfig-4.1-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-81415cb496 (python-ZConfig-4.1-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-81415cb496 FEDORA-2024-81415cb496 (python-ZConfig-4.1-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
python-ZConfig fails to build with Python 3.13.0a6. + /usr/bin/python3 -m zope.testrunner --test-path=src -v Running tests at level 1 Running zope.testrunner.layer.UnitTests tests: Set up zope.testrunner.layer.UnitTests in 0.000 seconds. Running: ................................................................................................................. Failure in test test_filehandler_reopen_thread_safety (ZConfig.components.logger.tests.test_logger.TestReopeningLogfiles.test_filehandler_reopen_thread_safety) Traceback (most recent call last): File "/usr/lib64/python3.13/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.13/unittest/case.py", line 651, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.13/unittest/case.py", line 606, in _callTestMethod if method() is not None: File "/builddir/build/BUILD/zconfig-4.1/src/ZConfig/components/logger/tests/test_logger.py", line 714, in test_filehandler_reopen_thread_safety self.assertEqual(calls, ["acquire", "acquire", "release", "release"]) File "/usr/lib64/python3.13/unittest/case.py", line 907, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.13/unittest/case.py", line 1113, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python3.13/unittest/case.py", line 1095, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python3.13/unittest/case.py", line 732, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != ['acquire', 'acquire', 'release', 'release'] Second list contains 4 additional elements. First extra element 0: 'acquire' - [] + ['acquire', 'acquire', 'release', 'release'] 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/07402364-python-ZConfig/ For all our attempts to build python-ZConfig with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-ZConfig/ 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.