Debian Bug report logs - #1061758
python-xmlrunner ftbfs with Python 3.12 as default

version graph

Package: src:python-xmlrunner; Maintainer for src:python-xmlrunner is Debian Python Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 29 Jan 2024 12:21:04 UTC

Severity: serious

Tags: ftbfs, sid, trixie

Found in version python-xmlrunner/3.2.0-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Python Team <[email protected]>:
Bug#1061758; Package src:python-xmlrunner. (Mon, 29 Jan 2024 12:21:06 GMT) (full text, mbox, link).


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).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
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>



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:08:43 2025; Machine Name: bembo

Debian Bug tracking system

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

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.