Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Python Team <[email protected]>.
(Mon, 29 Jan 2024 12:21:07 GMT) (full text, mbox, link).
Subject: python-xmlrunner ftbfs with Python 3.12 as default
Date: Mon, 29 Jan 2024 13:18:43 +0100
Package: src:python-xmlrunner
Version: 3.2.0-2
Severity: serious
Tags: sid trixie ftbfs
User: [email protected]
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
ERROR: test_xmlrunner_non_ascii
(tests.testsuite.XMLTestRunnerTestCase.test_xmlrunner_non_ascii)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/testsuite.py", line 314, in
test_xmlrunner_non_ascii
runner.run(suite)
File "/<<PKGBUILDDIR>>/xmlrunner/runner.py", line 67, in run
test(result)
File "/usr/lib/python3.12/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/suite.py", line 122, in run
test(result)
File "/usr/lib/python3.12/unittest/case.py", line 692, in __call__
return self.run(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/case.py", line 662, in run
result.stopTest(self)
File "/<<PKGBUILDDIR>>/xmlrunner/result.py", line 330, in stopTest
self.callback()
File "/<<PKGBUILDDIR>>/xmlrunner/result.py", line 238, in callback
test_info.test_finished()
File "/<<PKGBUILDDIR>>/xmlrunner/result.py", line 180, in test_finished
self.test_result.stop_time - self.test_result.start_time
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: '_XMLTestResult' object has no attribute 'start_time'.
Did you mean: 'stop_time'?
----------------------------------------------------------------------
Ran 82 tests in 0.076s
FAILED (errors=1, skipped=7, expected failures=1)
Test failed: <unittest.runner.TextTestResult run=82 errors=1 failures=0>
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.