Your message dated Wed, 20 Dec 2023 17:11:13 +0000
with message-id <e1rg06d-0035up...@fasolo.debian.org>
and subject line Bug#1057654: fixed in zope.testrunner 6.2-2
has caused the Debian Bug report #1057654,
regarding zope.testrunner fails tests with Python 3.12
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 ow...@bugs.debian.org
immediately.)


-- 
1057654: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057654
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:zope.testrunner
Version: 6.2-1
Severity: serious
Tags: sid trixie
Forwarded: https://github.com/zopefoundation/zope.testrunner/issues/157
User: debian-pyt...@lists.debian.org
Usertags: python3.12

zope.testrunner fails tests with Python 3.12:

[...]
Failure in test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-colors.rst
Failed doctest test for testrunner-colors.rst
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-colors.rst", line 0

----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-colors.rst", line 165, in testrunner-colors.rst
Failed example:
    _ = testrunner.run_internal(defaults_skip)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.12/doctest.py", line 1359, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest testrunner-colors.rst[14]>", line 1, in <module>
        _ = testrunner.run_internal(defaults_skip)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/__init__.py", line 55, in run_internal
        runner.run()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 191, in run
        self.run_tests()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 292, in run_tests
        self.ran += run_layer(self.options, layer_name, layer, tests,
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 473, in run_layer return run_tests(options, tests, layer_name, failures, errors, skipped, File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 399, in run_tests
        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>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 1023, in stopTest
        test.__dict__.update(self._test_state)
    AttributeError: 'TestResult' object has no attribute '_test_state'



/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-simple.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-nestedcode.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-test-selection.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-verbose.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-repeat.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-knit.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-shuffle.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-stops-when-stop-on-error.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-new-threads.rst
 TestTrace (zope.testrunner.coverage)
 normalize_package (zope.testrunner.options)
 StartUpFailure (zope.testrunner.find)

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-gc.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-wo-source.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-profiling.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-profiling-cprofiler.rst

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-report-skipped.rst

Failure in test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-report-skipped.rst
Failed doctest test for testrunner-report-skipped.rst
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-report-skipped.rst", line 0

----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-report-skipped.rst", line 26, in testrunner-report-skipped.rst
Failed example:
    testrunner.run_internal(defaults + ["-t", "TestSkipppedNoLayer"])
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.12/doctest.py", line 1359, in __run
        exec(compile(example.source, filename, "single",
File "<doctest testrunner-report-skipped.rst[5]>", line 1, in <module>
        testrunner.run_internal(defaults + ["-t", "TestSkipppedNoLayer"])
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/__init__.py", line 55, in run_internal
        runner.run()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 191, in run
        self.run_tests()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 292, in run_tests
        self.ran += run_layer(self.options, layer_name, layer, tests,
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 473, in run_layer return run_tests(options, tests, layer_name, failures, errors, skipped, File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 399, in run_tests
        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>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 1023, in stopTest
        test.__dict__.update(self._test_state)
    AttributeError: 'TestResult' object has no attribute '_test_state'
----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/tests/testrunner-report-skipped.rst", line 37, in testrunner-report-skipped.rst
Failed example:
    testrunner.run_internal(defaults)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python3.12/doctest.py", line 1359, in __run
        exec(compile(example.source, filename, "single",
File "<doctest testrunner-report-skipped.rst[6]>", line 1, in <module>
        testrunner.run_internal(defaults)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/__init__.py", line 55, in run_internal
        runner.run()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 191, in run
        self.run_tests()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 292, in run_tests
        self.ran += run_layer(self.options, layer_name, layer, tests,
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 473, in run_layer return run_tests(options, tests, layer_name, failures, errors, skipped, File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 399, in run_tests
        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>>/.pybuild/cpython3_3.12/build/zope/testrunner/runner.py", line 1023, in stopTest
        test.__dict__.update(self._test_state)
    AttributeError: 'TestResult' object has no attribute '_test_state'

--- End Message ---
--- Begin Message ---
Source: zope.testrunner
Source-Version: 6.2-2
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
zope.testrunner, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated zope.testrunner package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Dec 2023 17:37:35 +0100
Source: zope.testrunner
Architecture: source
Version: 6.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1057654 1058382
Changes:
 zope.testrunner (6.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Work around Python 3.12 no longer calling ``startTest`` for skipped tests,
     taken from upstream. Closes: #1057654, #1058382.
Checksums-Sha1:
 c2d4dd1d32796afd100221f95fdb969463eebc16 2205 zope.testrunner_6.2-2.dsc
 b3299a930911ee94033df515f59487c922d2cf3c 7436 
zope.testrunner_6.2-2.debian.tar.xz
 6355f8ceb0b26fb39ad7900826260d70fddc091e 6866 
zope.testrunner_6.2-2_source.buildinfo
Checksums-Sha256:
 80d1734b3a18148e2778ce4ff2e6f0e0090842b0dc6f1dd845b45ef665bdec43 2205 
zope.testrunner_6.2-2.dsc
 8d409c51aa4f60f1ddb59efaad660282007a5d6fe40c779f9e0768d4c0d930da 7436 
zope.testrunner_6.2-2.debian.tar.xz
 719c0a7d3db70e08fd18af51fb8b20eb7d8b5d95de0c6f45b67e419220fc9745 6866 
zope.testrunner_6.2-2_source.buildinfo
Files:
 f12aff1ebce0eb13b39f22da3878d252 2205 zope optional zope.testrunner_6.2-2.dsc
 5e675c8ba5710b85ac6ae3b2a69784b4 7436 zope optional 
zope.testrunner_6.2-2.debian.tar.xz
 1f9bacbd9b8700c5c71f8ad7a00be786 6866 zope optional 
zope.testrunner_6.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmWDGOoQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9ZR5EACiWVqDO0cRn9WE2C47j+QFvvQM7utT1uGx
KYXQykxF2+Guoq00BdjTY8V8tVHaYTj4abr0tjn/3+U5L5/sL7wUiR4jDUUEc2hU
gAu9omFBHpVBv7/OpbU5IB5FOuNMMPG0W9PWOBrVn4gXHNjGhWsHE6hzu19UYbe9
wr8NsfUMvs4Y+OgpDnro1sJaT8NbOnS/2kFmyYm86AUqAQySITEfxIf9TlanUb5+
fn2uZQ7f5d08Z3dxAVTjhRBhqYDN56pUNRZd6EWmeg6imtBf3ulx6HWxsddfFX7g
0ERNKwExTkSLIHOstUqUojow3HpzvUTZV7+S8s10RWnzwwosSi1ZK7G4UHq/WOHQ
le50NTrJlIfkb+SG9OR54yDoeyNnAVnfxhA/+KPcPsjXV50OcODNG5pczAXrpMhO
H6dmY8PMOqEzchQT1tFxlWpSivlt9wQTyT645TkRejxGv4gO3WwqiYv61iu8K/k1
9lZTbkli2o5fA6mwKb5HZn+8QAN8e7zmzlVbXyp3ZIE0ZREHsW5odO+mtHmmAs7F
Q/nb0IO4LNlynhgaBSDhnbkehYaGA+55/EJ7XKW2FEnjMOlPrvSX+pREKyco+q3S
fQFBE5AF9e6viZtUpmspZID+7QaEK2S5KjCUUw8QeHeVwgUziOYXsBv/bm32dN1i
FBhjEtgORQ==
=Niii
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to