Your message dated Wed, 6 Nov 2024 09:29:05 -0800
with message-id 
<5nnu2csqcjs2jgmpgt3r2inphpcb2hj72jrru2wgrqkaa5pifb@4yexp6o2f6lr>
and subject line Re: Bug#1082273: python-testtools FTBFS with Python 3.13
has caused the Debian Bug report #1082273,
regarding python-testtools FTBFS with Python 3.13
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.)


-- 
1082273: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082273
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-testtools
Version: 2.7.2-1
Severity: normal
User: [email protected]
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
set -ex ; for pyvers in 3.13 3.12; do \
        PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python$pyvers python$pyvers -m 
testtools.run testtools.tests.test_suite ; \
done
+ PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python3.13 python3.13 -m testtools.run 
testtools.tests.test_suite
Tests running...
======================================================================
FAIL: 
testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_in_details
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 
743, in test_log_in_details
    self.assertThat(
    ~~~~~~~~~~~~~~~^
        result._events,
        ^^^^^^^^^^^^^^^
    ...<11 lines>...
        ),
        ^^
    )
    ^
  File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Differences: [
Differences: [
Differences: {
  'twisted-log': '''\
2024-09-19 08:49:38+0000 [-] foo
2024-09-19 08:49:38+0000 [-] Main loop terminated.
''' does not end with '''\
 foo
'''.: after <function <lambda>> on <Content type=text/plain; charset="utf8", 
value=b'2024-09-19 08:49:38+0000 [-] foo\n2024-09-19 08:49:38+0000 [-] Main 
loop terminated.\n'>,
}
]
]
======================================================================
FAIL: 
testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_to_twisted
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 
792, in test_log_to_twisted
    self.assertThat(
    ~~~~~~~~~~~~~~~^
        messages, MatchesListwise([ContainsDict({"message": Equals(("foo",))})])
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Differences: [
len([{'system': '-', 'message': ('foo',), 'time': 1726735778.9094028, 
'isError': 0, 'log_time': 1726735778.9094028, 'log_text': 'foo', 'log_format': 
'{log_text}', 'log_level': <LogLevel=info>, 'log_namespace': 'log_legacy', 
'log_system': '-', 'format': '%(log_legacy)s', 'log_legacy': 
<twisted.logger._stdlib.StringifiableFromEvent object at 0xffff854cec10>}, 
{'log_logger': <Logger 'twisted.internet.base'>, 'log_level': <LogLevel=info>, 
'log_namespace': 'twisted.internet.base', 'log_source': None, 'log_format': 
'Main loop terminated.', 'log_time': 1726735778.909665, 'message': (), 'time': 
1726735778.909665, 'system': '-', 'format': '%(log_legacy)s', 'log_legacy': 
<twisted.logger._stdlib.StringifiableFromEvent object at 0xffff854ced50>, 
'isError': 0}]) != 1: Length mismatch
]

Ran 2627 tests in 1.530s
FAILED (failures=2)
make[1]: *** [debian/rules:30: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T08:49:40Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/789634/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Version: 2.7.2-2

Looks like this was fixed via #1082697, and it was not really a Python
3.13 regression.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

--- End Message ---

Reply via email to