Your message dated Sun, 13 Jul 2025 14:04:04 +0100
with message-id <[email protected]>
and subject line Re: Bug#1061758: python-xmlrunner ftbfs with Python 3.12 as 
default
has caused the Debian Bug report #1061758,
regarding python-xmlrunner ftbfs with Python 3.12 as default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1061758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061758
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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>

--- End Message ---
--- Begin Message ---
On Mon, Jan 29, 2024 at 01:18:43PM +0100, Matthias Klose wrote:
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)
[...]
 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'.

I think this must have been fixed somewhere else in the meantime (although across a span of a year and a half I'm not exactly sure where; there were fixes in python-xmlrunner 3.2.0-3 for Python 3.12, but they don't seem to be relevant to this particular failure). The package builds fine now.

Thanks,

--
Colin Watson (he/him)                              [[email protected]]

--- End Message ---

Reply via email to