Your message dated Tue, 03 Mar 2026 07:54:20 +0000
with message-id <[email protected]>
and subject line Bug#1123055: fixed in aiocoap 0.4.17-1
has caused the Debian Bug report #1123055,
regarding aiocoap: autopkgtests fail with Python 3.14
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.)


-- 
1123055: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: aiocoap
Version: 0.4.14-1
Severity: serious
User: [email protected]
Usertags: python3.14

aiocoap's autopkgtests fail with Python 3.14 as a supported Python 
version, as is the case in unstable.  Here are some relevant bits of the 
test log:

============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0
rootdir: /tmp/autopkgtest.W5aGg2/autopkgtest_tmp
collected 260 items

tests/test_blockwise.py FFsF                                             [  1%]
tests/test_client.py FFFFFFFF                                            [  4%]
tests/test_commandline.py FFFFF.                                         [  6%]
tests/test_credentials.py ..s                                            [  8%]
tests/test_doctest.py ................F.................                 [ 21%]
tests/test_dtls.py ssssssssssssss                                        [ 26%]
tests/test_edhoc.py sssss                                                [ 28%]
tests/test_encoding.py ...........                                       [ 32%]
tests/test_fileserver.py F                                               [ 33%]
tests/test_group_oscore.py ssssssssssssssssssssssssssssss                [ 44%]
tests/test_noncoap_client.py FFFFFFFFss                                  [ 48%]
tests/test_noncoap_tcp_client.py FFFFFFFFFFF                             [ 52%]
tests/test_observe.py FFFFFFFFFFFF                                       [ 57%]
tests/test_oscore.py sssssssssssssssssssssss                             [ 66%]
tests/test_oscore_plugtest.py ssssssssssssssssssssssssssssssss           [ 78%]
tests/test_protocol.py FFF                                               [ 79%]
tests/test_rd_examples.py FF                                             [ 80%]
tests/test_reverseproxy.py FF                                            [ 81%]
tests/test_server.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFssssssssssssss          [ 97%]
tests/test_timeoutdict.py F                                              [ 97%]
tests/test_tls.py F                                                      [ 98%]
tests/test_uri_handling.py ....                                          [ 99%]
tests/test_util_cryptography.py s                                        [100%]

=================================== FAILURES ===================================
_______________________ TestBlockwise.test_client_hints ________________________

self = <tests.test_blockwise.TestBlockwise testMethod=test_client_hints>

    def setUp(self):
        super(WithAsyncLoop, self).setUp()

>       self.loop = asyncio.get_event_loop()
                    ^^^^^^^^^^^^^^^^^^^^^^^^

tests/fixtures.py:208:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7fa26578f0e0>

    def get_event_loop(self):
        """Get the event loop for the current context.

        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
[...]
___________________________________ test_017 ___________________________________

t = Sentinel (aiocoap.util)

    def test(t=t):
        result = t.run()
        for f in result.failures:
            print(f[1])
>           raise RuntimeError("Doctest failed (see above)")
E           RuntimeError: Doctest failed (see above)

tests/test_doctest.py:65: RuntimeError
----------------------------- Captured stdout call -----------------------------
AssertionError: Failed doctest test for aiocoap.util.Sentinel
  File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 168, in 
Sentinel

----------------------------------------------------------------------
File "/usr/lib/python3/dist-packages/aiocoap/util/__init__.py", line 177, in 
aiocoap.util.Sentinel
Failed example:
    json.dumps([1, FIXME, 3])
Expected:
    Traceback (most recent call last):
    TypeError: Object of type Sentinel is not JSON serializable
Got:
    Traceback (most recent call last):
      File "<doctest aiocoap.util.Sentinel[2]>", line 1, in <module>
        json.dumps([1, FIXME, 3])
        ~~~~~~~~~~^^^^^^^^^^^^^^^
      File "/usr/lib/python3.14/json/__init__.py", line 235, in dumps
        return _default_encoder.encode(obj)
               ~~~~~~~~~~~~~~~~~~~~~~~^^^^^
      File "/usr/lib/python3.14/json/encoder.py", line 202, in encode
        chunks = self.iterencode(o, _one_shot=True)
      File "/usr/lib/python3.14/json/encoder.py", line 263, in iterencode
        return _iterencode(o, 0)
      File "/usr/lib/python3.14/json/encoder.py", line 182, in default
        raise TypeError(f'Object of type {o.__class__.__name__} '
                        f'is not JSON serializable')
    TypeError: Object of type Sentinel is not JSON serializable
    when serializing list item 1

There are many other instances of the first of these two failures, but 
they all look like basically the same thing.  Judging from 
https://github.com/chrysn/aiocoap/compare/0.4.14...0.4.17, I think this 
has likely been fixed in the latest upstream version, so I'd recommend 
trying to upgrade to that as the first step.

Thanks,

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

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: aiocoap
Source-Version: 0.4.17-1
Done: Mazen Neifer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aiocoap, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mazen Neifer <[email protected]> (supplier of updated aiocoap 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 [email protected])


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

Format: 1.8
Date: Tue, 03 Mar 2026 08:35:27 +0100
Source: aiocoap
Architecture: source
Version: 0.4.17-1
Distribution: unstable
Urgency: medium
Maintainer: Mazen Neifer <[email protected]>
Changed-By: Mazen Neifer <[email protected]>
Closes: 1123055
Changes:
 aiocoap (0.4.17-1) unstable; urgency=medium
 .
   * New upstream version 0.4.17
   * Updated patches for use with new upstream version.
   * Disabled jupyterlite_sphinx extension as not packaged in Debian.
   * Fixed Python 3.14 compatibility (asyncio.get_event_loop removal).
     (Closes: Bug#1123055)
Checksums-Sha1:
 70b0ced60ac8e1c13c459d15498bebc99130d7d0 1537 aiocoap_0.4.17-1.dsc
 efb35563a81ee19eb350a4dc3fb08cd593949ff7 329415 aiocoap_0.4.17.orig.tar.gz
 c4a8ef5ee444fcacc9572844ec02f328a0bed9bc 8816 aiocoap_0.4.17-1.debian.tar.xz
 71e6b19b746b8d4ba89198e27995d264c005474f 7524 aiocoap_0.4.17-1_amd64.buildinfo
Checksums-Sha256:
 7a0c9a91225809903a8576d38db7c2c1b4619bcc5ac789a09c3060e33c27e880 1537 
aiocoap_0.4.17-1.dsc
 aca02bbc16ff3db1ac7b27a4b6650622178cb385afaeb06f2c19be5f5c6f3a02 329415 
aiocoap_0.4.17.orig.tar.gz
 b3fb4d6b258302cf77f13d5b63bf92fd791c44b5fa9fbc1bbab374df287d1851 8816 
aiocoap_0.4.17-1.debian.tar.xz
 8fe6cb74504a08e92798ca2e3a22f4a9ea8136b01ab4f50363246e6dd9275372 7524 
aiocoap_0.4.17-1_amd64.buildinfo
Files:
 575dd3eb32e13b477df9f12dab73cd62 1537 python optional aiocoap_0.4.17-1.dsc
 c301880e09df3b0728ea3c282f99fdb0 329415 python optional 
aiocoap_0.4.17.orig.tar.gz
 bd9e747b195c6a727135130eada78c4a 8816 python optional 
aiocoap_0.4.17-1.debian.tar.xz
 b008bb9b3f02995488d91c0a86dc0d59 7524 python optional 
aiocoap_0.4.17-1_amd64.buildinfo

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

iIcEAREKAC8WIQS69sZENhB4UNQicQazJVxtVYeNjAUCaaaPeBEcbWF6ZW5AZGVi
aWFuLm9yZwAKCRCzJVxtVYeNjMOiAP0Q4W3qcVuvO5nQG2Hcp7rtkZPstIzXMxwI
03No/wJafgD/dDSp6/rtA7D3ssazPlnVEfux0MRgm1/1Mp5nTE8bw7k=
=FNDc
-----END PGP SIGNATURE-----

Attachment: pgptjemuCwcW5.pgp
Description: PGP signature


--- End Message ---

Reply via email to