• Bug#1060768: pdudaemon: Missing dependency on python3-aiohttp

    From Mark Brown@21:1/5 to All on Sat Jan 13 23:40:01 2024
    Package: pdudaemon
    Version: 0.0.8.58.g597052b-1
    Severity: serious

    Attempting to use pdudaemon without python3-aiohttp installed results in
    a traceback:

    # pdudaemon
    Traceback (most recent call last):
    File "/usr/sbin/pdudaemon", line 33, in <module>
    sys.exit(load_entry_point('pdudaemon==0.1', 'console_scripts', 'pdudaemon')())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/sbin/pdudaemon", line 25, in importlib_load_entry_point
    return next(matches).load()
    ^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 940, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File "/usr/lib/python3/dist-packages/pdudaemon/__init__.py", line 32, in <module>
    from pdudaemon.httplistener import HTTPListener
    File "/usr/lib/python3/dist-packages/pdudaemon/httplistener.py", line 24, in <module>
    from aiohttp import web
    ModuleNotFoundError: No module named 'aiohttp'

    but there is no dependency declared in the package. Installing the python3-aiohttp resolves this issue.

    -- System Information:
    Debian Release: 12.1
    APT prefers stable-security
    APT policy: (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: arm64

    Kernel: Linux 6.1.0-10-amd64 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_WARN
    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

    Versions of packages pdudaemon depends on:
    ii python3 3.11.2-1+b1
    pn python3-hid <none>
    pn python3-paramiko <none>
    ii python3-pexpect 4.8.0-4
    ii python3-pyasn1 0.4.8-3
    ii python3-pysnmp4 4.4.12-2
    ii python3-requests 2.28.1+dfsg-1
    ii python3-serial 3.5-1.1
    pn python3-systemd <none>
    pn python3-usb <none>

    Versions of packages pdudaemon recommends:
    ii inetutils-telnet [telnet] 2:2.4-2
    ii openssh-client 1:9.2p1-2

    pdudaemon suggests no packages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Apr 22 19:10:05 2024
    This is a multi-part message in MIME format...

    Your message dated Mon, 22 Apr 2024 17:02:11 +0000
    with message-id <E1ryx3T-0052XK-PW@fasolo.debian.org>
    and subject line Bug#1060768: fixed in pdudaemon 0.0.8.58.g597052b-1+deb12u1 has caused the Debian Bug report #1060768,
    regarding pdudaemon: Missing dependency on python3-aiohttp
    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 owner@bugs.debian.org
    immediately.)


    --
    1060768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060768
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Jan 2024 22:33:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-17.6 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,
    T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 144; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--H*M:reportbug,
    0.000-+--H*MI:reportbug, 0.000-+--stablesecurity,
    0.000-+--stable-security
    Return-path: <SRS0=UO6y=IX=debian.org=broonie@kernel.org>
    Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]:47510)
    by buxteh