Package: src:aioquic
Version: 0.9.21-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
aioquic's autopkg tests fail with Python 3.12, all of the form:
[...]
191s I: pybuild base:310: cd
/tmp/autopkgtest.wk6Tp4/autopkgtest_tmp/build; python3.12 -m unittest
discover -v
192s test_change_connection_id
(tests.test_asyncio.HighLevelTest.test_change_connection_id) ...
/usr/lib/python3/dist-packages/aioquic/tls.py:211: DeprecationWarning:
datetime.datetime.utcnow() is deprecated and scheduled for removal in a
future version. Use timezone-aware objects to represent datetimes in
UTC: datetime.datetime.now(datetime.UTC).
192s now = utcnow()
192s Exception in callback _SelectorDatagramTransport._read_ready()
192s handle: <Handle _SelectorDatagramTransport._read_ready()>
192s Traceback (most recent call last):
192s File "/usr/lib/python3.12/asyncio/events.py", line 84, in _run
192s self._context.run(self._callback, *self._args)
192s File "/usr/lib/python3.12/asyncio/selector_events.py", line 1244,
in _read_ready
192s self._protocol.datagram_received(data, addr)
192s File
"/usr/lib/python3/dist-packages/aioquic/asyncio/protocol.py", line 135,
in datagram_received
192s self._quic.receive_datagram(cast(bytes, data), addr,
now=self._loop.time())
192s File "/usr/lib/python3/dist-packages/aioquic/quic/connection.py",
line 1001, in receive_datagram
192s is_ack_eliciting, is_probing = self._payload_received(
192s ^^^^^^^^^^^^^^^^^^^^^^^
192s File "/usr/lib/python3/dist-packages/aioquic/quic/connection.py",
line 2295, in _payload_received
192s frame_handler(context, frame_type, buf)
192s File "/usr/lib/python3/dist-packages/aioquic/quic/connection.py",
line 1519, in _handle_crypto_frame
192s self.tls.handle_message(event.data, self._crypto_buffers)
192s File "/usr/lib/python3/dist-packages/aioquic/tls.py", line 1249,
in handle_message
192s self._client_handle_certificate_verify(input_buf)
192s File "/usr/lib/python3/dist-packages/aioquic/tls.py", line 1514,
in _client_handle_certificate_verify
192s verify_certificate(
192s File "/usr/lib/python3/dist-packages/aioquic/tls.py", line 231,
in verify_certificate
192s ssl.match_hostname(
192s ^^^^^^^^^^^^^^^^^^
192s AttributeError: module 'ssl' has no attribute 'match_hostname'
252s ERROR