Source: python-aioxmpp
Version: 0.13.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> CI=true pybuild --test --test-pytest
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build; python3.11 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>
> collected 4530 items
> 
> tests/test_cache.py ..............                                       [  
> 0%]
> tests/test_callbacks.py ................................................ [  
> 1%]
> ..........................................                               [  
> 2%]
> tests/test_connector.py ...............                                  [  
> 2%]
> tests/test_custom_queue.py ..........                                    [  
> 2%]
> tests/test_dispatcher.py ............................................... [  
> 3%]
> ...                                                                      [  
> 3%]
> tests/test_e2e.py sssssss                                                [  
> 4%]
> tests/test_errors.py ......................                              [  
> 4%]
> tests/test_hashes.py ..................................................  [  
> 5%]
> tests/test_highlevel.py .......                                          [  
> 5%]
> tests/test_i18n.py ...F...............................................   [  
> 6%]
> tests/test_network.py ...........................................        [  
> 7%]
> tests/test_node.py ..................................................... [  
> 9%]
> .................................................                        [ 
> 10%]
> tests/test_nonza.py .................................................... [ 
> 11%]
> ..........................................................               [ 
> 12%]
> tests/test_protocol.py ................................................. [ 
> 13%]
> .................................................                        [ 
> 14%]
> tests/test_rfc3921.py .............                                      [ 
> 15%]
> tests/test_rfc6120.py ........                                           [ 
> 15%]
> tests/test_sasl.py ..........                                            [ 
> 15%]
> tests/test_security_layer.py ........................................... [ 
> 16%]
> .......................................                                  [ 
> 17%]
> tests/test_service.py .................................................. [ 
> 18%]
> ........................................................................ [ 
> 19%]
> ........................                                                 [ 
> 20%]
> tests/test_stanza.py ................................................... [ 
> 21%]
> .................................................                        [ 
> 22%]
> tests/test_statemachine.py .............                                 [ 
> 22%]
> tests/test_stream.py ................................................... [ 
> 24%]
> ........................................................................ [ 
> 25%]
> ........................................................................ [ 
> 27%]
> ........................................................................ [ 
> 28%]
> .                                                                        [ 
> 28%]
> tests/test_stringprep.py .................                               [ 
> 29%]
> tests/test_structs.py ..s............................................... [ 
> 30%]
> ........................................................................ [ 
> 31%]
> ....                                                                     [ 
> 32%]
> tests/test_tasks.py ..........                                           [ 
> 32%]
> tests/test_testutils.py ................................................ [ 
> 33%]
> ......................                                                   [ 
> 33%]
> tests/test_tracking.py ......................................            [ 
> 34%]
> tests/test_utils.py .................................................... [ 
> 35%]
> .........                                                                [ 
> 36%]
> tests/test_xml.py ...................................................... [ 
> 37%]
> .......................................................................  [ 
> 38%]
> tests/test_xmltestutils.py .................                             [ 
> 39%]
> tests/adhoc/test_e2e.py ssssssss                                         [ 
> 39%]
> tests/adhoc/test_service.py ...........................................  [ 
> 40%]
> tests/adhoc/test_xso.py .................................                [ 
> 40%]
> tests/avatar/test_e2e.py ss                                              [ 
> 41%]
> tests/avatar/test_service.py ........................................... [ 
> 41%]
>                                                                          [ 
> 41%]
> tests/avatar/test_xso.py ....................................            [ 
> 42%]
> tests/blocking/test_e2e.py s                                             [ 
> 42%]
> tests/blocking/test_service.py ..................                        [ 
> 43%]
> tests/blocking/test_xso.py .........                                     [ 
> 43%]
> tests/bookmarks/test_e2e.py ssssss                                       [ 
> 43%]
> tests/bookmarks/test_service.py ..............................           [ 
> 44%]
> tests/bookmarks/test_xso.py .............                                [ 
> 44%]
> tests/carbons/test_service.py ........                                   [ 
> 44%]
> tests/carbons/test_xso.py ....................                           [ 
> 45%]
> tests/chatstates/test_utils.py .......                                   [ 
> 45%]
> tests/chatstates/test_xso.py ....                                        [ 
> 45%]
> tests/disco/test___init__.py .....                                       [ 
> 45%]
> tests/disco/test_service.py ............................................ [ 
> 46%]
> ................................................................         [ 
> 47%]
> tests/disco/test_xso.py ...........................................      [ 
> 48%]
> tests/entitycaps/test___init__.py .                                      [ 
> 48%]
> tests/entitycaps/test_caps115.py ....................................    [ 
> 49%]
> tests/entitycaps/test_caps390.py .............................           [ 
> 50%]
> tests/entitycaps/test_e2e.py sss                                         [ 
> 50%]
> tests/entitycaps/test_service.py ....................................... [ 
> 51%]
> ..........                                                               [ 
> 51%]
> tests/entitycaps/test_xso.py ..............                              [ 
> 51%]
> tests/forms/test___init__.py .                                           [ 
> 51%]
> tests/forms/test_fields.py ............................................. [ 
> 52%]
> ........................................................................ [ 
> 54%]
> ................                                                         [ 
> 54%]
> tests/forms/test_form.py ..........................................      [ 
> 55%]
> tests/forms/test_xso.py ................................................ [ 
> 56%]
> ...............................                                          [ 
> 57%]
> tests/httpupload/test___init__.py .                                      [ 
> 57%]
> tests/httpupload/test_e2e.py s                                           [ 
> 57%]
> tests/httpupload/test_xso.py ....................................        [ 
> 58%]
> tests/ibb/test_e2e.py sss                                                [ 
> 58%]
> tests/ibb/test_service.py .......................................        [ 
> 59%]
> tests/ibb/test_xso.py ......                                             [ 
> 59%]
> tests/ibr/test_service.py .....                                          [ 
> 59%]
> tests/ibr/test_xso.py .......................                            [ 
> 59%]
> tests/im/test_conversation.py .....                                      [ 
> 59%]
> tests/im/test_dispatcher.py ..................                           [ 
> 60%]
> tests/im/test_p2p.py .................................ss                 [ 
> 61%]
> tests/im/test_service.py ...........                                     [ 
> 61%]
> tests/mdr/test_e2e.py s                                                  [ 
> 61%]
> tests/mdr/test_service.py .....................                          [ 
> 61%]
> tests/mdr/test_xso.py .........                                          [ 
> 62%]
> tests/misc/test_delay.py ....                                            [ 
> 62%]
> tests/misc/test_forwarding.py ...                                        [ 
> 62%]
> tests/misc/test_json.py .............                                    [ 
> 62%]
> tests/misc/test_markers.py ..........                                    [ 
> 62%]
> tests/misc/test_oob.py .....                                             [ 
> 62%]
> tests/misc/test_openpgp_legacy.py ..........                             [ 
> 63%]
> tests/misc/test_pars.py .....                                            [ 
> 63%]
> tests/misc/test_replace.py ....                                          [ 
> 63%]
> tests/misc/test_stanzaid.py ...........                                  [ 
> 63%]
> tests/muc/test_e2e.py sssssssssssssssss                                  [ 
> 63%]
> tests/muc/test_self_ping.py ............................................ [ 
> 64%]
> .......................                                                  [ 
> 65%]
> tests/muc/test_service.py .............................................. [ 
> 66%]
> ........................................................................ [ 
> 67%]
> ........................................................................ [ 
> 69%]
> ....                                                                     [ 
> 69%]
> tests/muc/test_xso.py .................................................. [ 
> 70%]
> ................................................................         [ 
> 72%]
> tests/pep/test_e2e.py sssss                                              [ 
> 72%]
> tests/pep/test_service.py ......................                         [ 
> 72%]
> tests/ping/test_e2e.py sssss                                             [ 
> 72%]
> tests/ping/test_service.py ...........                                   [ 
> 73%]
> tests/ping/test_xso.py ....                                              [ 
> 73%]
> tests/presence/test___init__.py ..                                       [ 
> 73%]
> tests/presence/test_e2e.py ss                                            [ 
> 73%]
> tests/presence/test_service.py ....................................      [ 
> 74%]
> tests/private_xml/test_e2e.py ss                                         [ 
> 74%]
> tests/private_xml/test_service.py ...                                    [ 
> 74%]
> tests/private_xml/test_xso.py ......                                     [ 
> 74%]
> tests/pubsub/test_e2e.py ss                                              [ 
> 74%]
> tests/pubsub/test_service.py ........................................... [ 
> 75%]
> ...................                                                      [ 
> 75%]
> tests/pubsub/test_xso.py ............................................... [ 
> 76%]
> ........................................................................ [ 
> 78%]
> ........................................................................ [ 
> 79%]
> ...............................                                          [ 
> 80%]
> tests/roster/test___init__.py ....                                       [ 
> 80%]
> tests/roster/test_service.py ........................................... [ 
> 81%]
> .................                                                        [ 
> 82%]
> tests/roster/test_xso.py ......................                          [ 
> 82%]
> tests/rsm/test_xso.py ...................................                [ 
> 83%]
> tests/shim/test_service.py .....                                         [ 
> 83%]
> tests/shim/test_xso.py ...............                                   [ 
> 83%]
> tests/vcard/test_service.py ......                                       [ 
> 83%]
> tests/vcard/test_xso.py ........                                         [ 
> 84%]
> tests/version/test_e2e.py sss                                            [ 
> 84%]
> tests/version/test_service.py ..............s....                        [ 
> 84%]
> tests/version/test_xso.py .......                                        [ 
> 84%]
> tests/xso/test___init__.py ................                              [ 
> 85%]
> tests/xso/test_model.py ................................................ [ 
> 86%]
> ........................................................................ [ 
> 87%]
> ........................................................................ [ 
> 89%]
> ........................................................................ [ 
> 90%]
> ........................................................................ [ 
> 92%]
> ...................................................                      [ 
> 93%]
> tests/xso/test_query.py ................................................ [ 
> 94%]
> ...................................                                      [ 
> 95%]
> tests/xso/test_types.py ................................................ [ 
> 96%]
> ........................................................................ [ 
> 98%]
> ........................................................................ [ 
> 99%]
> ................                                                         
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ______ TestLocalizingFormatter.test_convert_field_datetime_default_locale 
> ______
> 
> self = <tests.test_i18n.TestLocalizingFormatter 
> testMethod=test_convert_field_datetime_default_locale>
> 
>     def test_convert_field_datetime_default_locale(self):
>         formatter = i18n.LocalizingFormatter()
>     
>         dt = datetime.now(tz=pytz.utc)
>         with unittest.mock.patch(
>                 "babel.dates.format_datetime") as format_datetime:
> >           s = formatter.convert_field(dt, "s")
> 
> tests/test_i18n.py:96: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <aioxmpp.i18n.LocalizingFormatter object at 0x7fe08f8545d0>
> value = datetime.datetime(2023, 7, 26, 19, 14, 55, 961194, tzinfo=<UTC>)
> conversion = 's', locale = 'en_US_POSIX'
> tzinfo = zoneinfo.ZoneInfo(key='Etc/UTC')
> 
>     def convert_field(self, value, conversion, locale=None, tzinfo=None):
>         if conversion != "s":
>             return super().convert_field(value, conversion)
>     
>         if locale is None:
>             locale = self.locale
>     
>         if tzinfo is None:
>             tzinfo = self.tzinfo
>     
>         if isinstance(value, datetime):
>             return babel.dates.format_datetime(
> >               tzinfo.normalize(value),
> E               AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 
> 'normalize'
> 
> aioxmpp/i18n.py:173: AttributeError
> =============================== warnings summary 
> ===============================
> aioxmpp/security_layer.py:22
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/security_layer.py:22:
>  DeprecationWarning: invalid escape sequence '\ '
>     """
> 
> tests/test_service.py:91
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_service.py:91:
>  DeprecationWarning: invalid escape sequence '\.'
>     "PATCHED_ORDER_AFTER must not be defined manually\. "
> 
> tests/test_service.py:92
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_service.py:92:
>  DeprecationWarning: invalid escape sequence '\.'
>     "it is supplied automatically by the metaclass\."):
> 
> tests/test_service.py:103
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_service.py:103:
>  DeprecationWarning: invalid escape sequence '\.'
>     "^_DEPGRAPH_NODE should not be defined manually\."):
> 
> tests/test_stanza.py:42
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stanza.py:42:
>  PytestCollectionWarning: cannot collect test class 'TestPayload' because it 
> has a __init__ constructor (from: 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stanza.py)
>     @stanza.IQ.as_payload_class
> 
> tests/avatar/test_service.py:237
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py:237:
>  DeprecationWarning: invalid escape sequence '\.'
>     "^The image bytes can only be given for image/png data\.$"):
> 
> tests/avatar/test_service.py:247
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py:247:
>  DeprecationWarning: invalid escape sequence '\.'
>     "^Only one avatar image may be published directly\.$"):
> 
> tests/avatar/test_service.py:257
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py:257:
>  DeprecationWarning: invalid escape sequence '\.'
>     "^The given id does not match the SHA1 of the image data\.$"):
> 
> tests/avatar/test_service.py:267
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py:267:
>  DeprecationWarning: invalid escape sequence '\.'
>     "of the image data\.$"):
> 
> tests/ibb/test_e2e.py:36
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/ibb/test_e2e.py:36:
>  PytestCollectionWarning: cannot collect test class 'TestProtocol' because it 
> has a __init__ constructor (from: 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/ibb/test_e2e.py)
>     class TestProtocol(asyncio.Protocol):
> 
> tests/ibb/test_service.py:297
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/ibb/test_service.py:297:
>  PytestCollectionWarning: cannot collect test class 'TestProtocol' because it 
> has a __init__ constructor (from: 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/ibb/test_service.py)
>     class TestProtocol(asyncio.Protocol):
> 
> tests/xso/test_model.py:3074
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/xso/test_model.py:3074:
>  DeprecationWarning: invalid escape sequence '\.'
>     "<class '.+\.SubChild'> object is not a valid value"):
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_node.py::TestUseConnected::test_aenter_sets_presence_if_not_unavailable
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_node.py::TestUseConnected::test_aenter_sets_presence_on_established_stream
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/node.py:1582: 
> DeprecationWarning: using an available presence state for UseConnected is 
> deprecated and will raise ValueError as of 1.0
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_service.py::TestServiceMeta::test_support_pre_0_3_attributes_on_class
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/service.py:458: 
> DeprecationWarning: SERVICE_BEFORE/AFTER used on class; use ORDER_BEFORE/AFTER
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stanza.py::TestPresence::test_init_compat
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stanza.py:524:
>  DeprecationWarning: assignment of non-enum values to this descriptor is 
> deprecated
>     s = stanza.Presence(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_app_inbound_message_filter
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_service_inbound_message_filter
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:2235:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_app_inbound_presence_filter
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_service_inbound_presence_filter
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:2133:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_ignore_unexpected_iq_error
>   /usr/lib/python3.11/unittest/mock.py:2130: RuntimeWarning: coroutine 
> 'OrderedStateMachine.wait_for' was never awaited
>     setattr(_type, entry, MagicProxy(entry, self))
>   Enable tracemalloc to get traceback where the object was allocated.
>   See 
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
>  for more info.
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_message_callback_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1176:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_message_callback_rejects_duplicate_registration
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1210:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_message_callback_rejects_duplicate_registration
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1219:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_presence_callback_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1417:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_presence_callback_rejects_duplicate_registration
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1452:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_register_presence_callback_rejects_duplicate_registration
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1461:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1123:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_message_callback_for_message_without_from
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1141:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_message_callback_from_wildcard
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1297:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_message_callback_full_wildcard
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1315:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_message_callback_to_bare_jid
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1333:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_run_presence_callback_from_wildcard
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1382:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_send_and_wait_for_sent_awaits_token
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/stream.py:2580: 
> DeprecationWarning: send_and_wait_for_sent is deprecated and will be removed 
> in 1.0
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_send_iq_and_wait_for_reply_uses_send
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/stream.py:2564: 
> DeprecationWarning: send_iq_and_wait_for_reply is deprecated and will be 
> removed in 1.0
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1350:
>  DeprecationWarning: unregister_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.unregister_message_callback(None, None)
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1352:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1356:
>  DeprecationWarning: unregister_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.unregister_message_callback(None, None)
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1358:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1362:
>  DeprecationWarning: unregister_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.unregister_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback_coro_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1228:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback_coro_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1250:
>  DeprecationWarning: unregister_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.unregister_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback_does_not_warn_on_enum
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1274:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_message_callback_raises_on_string_type
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1256:
>  DeprecationWarning: register_message_callback is deprecated; use 
> aioxmpp.dispatcher.SimpleMessageDispatcher instead
>     self.stream.register_message_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1539:
>  DeprecationWarning: unregister_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.unregister_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1544:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1549:
>  DeprecationWarning: unregister_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.unregister_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1554:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1559:
>  DeprecationWarning: unregister_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.unregister_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback_coro_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1470:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback_coro_casts_enum_and_warn
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1492:
>  DeprecationWarning: unregister_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.unregister_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback_does_not_warn_on_enum
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1516:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py::TestStanzaStream::test_unregister_presence_callback_raises_on_string_type
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/tests/test_stream.py:1498:
>  DeprecationWarning: register_presence_callback is deprecated; use 
> aioxmpp.dispatcher.SimplePresenceDispatcher or aioxmpp.PresenceClient instead
>     self.stream.register_presence_callback(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_utils.py::Testbackground_task::test_logs_debug_when_coroutine_cancelled
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_utils.py::Testbackground_task::test_logs_info_when_coroutine_returns_value
>   /usr/lib/python3/dist-packages/_pytest/unittest.py:211: RuntimeWarning: 
> coroutine 'CoroutineMock.__call__' was never awaited
>     self._obj = None
>   Enable tracemalloc to get traceback where the object was allocated.
>   See 
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
>  for more info.
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_utils.py::Testmagicmethod::test_invoke_on_object
>   /usr/lib/python3.11/unittest/mock.py:427: RuntimeWarning: coroutine 
> 'CoroutineMock.__call__' was never awaited
>     bound_args = _MOCK_SIG.bind_partial(cls, *args, **kw).arguments
>   Enable tracemalloc to get traceback where the object was allocated.
>   See 
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
>  for more info.
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_utils.py::TestLazyTask::test_add_done_callback_works
>   /usr/lib/python3.11/unittest/mock.py:1050: RuntimeWarning: coroutine 
> 'CoroutineMock.__call__' was never awaited
>     return klass(**kw)
>   Enable tracemalloc to get traceback where the object was allocated.
>   See 
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
>  for more info.
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/test_utils.py::TestAlivenessMonitor::test_notify_received_resets_hard_limit_timer
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/callbacks.py:260:
>  RuntimeWarning: coroutine 'CoroutineMock.__call__' was never awaited
>     super().__init__()
>   Enable tracemalloc to get traceback where the object was allocated.
>   See 
> https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
>  for more info.
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py::TestAvatarDescriptors::test_HttpAvatarDescriptor
> .pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py::TestAvatarDescriptors::test_attributes_defined_by_AbstractAvatarDescriptor
> .pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py::TestAvatarDescriptors::test_pep_get_image_bytes
> .pybuild/cpython3_3.11_aioxmpp/build/tests/avatar/test_service.py::TestAvatarDescriptors::test_vcard_get_image_bytes
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build/aioxmpp/avatar/service.py:287:
>  DeprecationWarning: the has_image_data_in_pubsub attribute is deprecated and 
> will be removed in 1.0
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/xso/test_model.py::TestXSOEnumMixin::test_mixes_well_with_the_compatibility_mixin
>   /usr/lib/python3.11/unittest/case.py:863: DeprecationWarning: as of aioxmpp 
> 1.0, Mixed members will not compare equal to their values
>     if not first == second:
> 
> .pybuild/cpython3_3.11_aioxmpp/build/tests/xso/test_types.py::TestIntegerType::test_coerce_passes_integral_numbers
>   /usr/lib/python3.11/random.py:362: DeprecationWarning: non-integer 
> arguments to randrange() have been deprecated since Python 3.10 and will be 
> removed in a subsequent version
>     return self.randrange(a, b+1)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_i18n.py::TestLocalizingFormatter::test_convert_field_datetime_default_locale
>  - AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize'
> ====== 1 failed, 4457 passed, 72 skipped, 64 warnings in 64.02s (0:01:04) 
> ======
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmpp/build; python3.11 -m pytest 
> tests
> make[1]: *** [debian/rules:8: override_dh_auto_test] Error 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-aioxmpp_0.13.3-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to