• Bug#1080387: python3-suds not really optional

    From Yuri D'Elia@1:229/2 to All on Tue Sep 3 12:20:01 2024
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Package: chirp
    Version: 1:20240901-1
    Severity: normal

    Looks like the "suds" module is required:

    % chirpw
    Traceback (most recent call last):
    File "/usr/bin/chirpw", line 33, in <module>
    sys.exit(load_entry_point('chirp==20240901', 'console_scripts', 'chirpw')())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/chirp/wxui/__init__.py", line 189, in chirpmain
    from chirp.wxui import main
    File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 49, in <module>
    from chirp.wxui import query_sources
    File "/usr/lib/python3/dist-packages/chirp/wxui/query_sources.py", line 28, in <module>
    from chirp.sources import radioreference
    File "/usr/lib/python3/dist-packages/chirp/sources/radioreference.py", line 23, in <module>
    from suds.client import Client
    ModuleNotFoundError: No module named 'suds'

    Also in this release (and unrelated to packaging), CLI help broken:

    % chirpw -h
    Traceback (most recent call last):
    .....

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug') Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.11-rc5-amd64 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_WARN
    Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages chirp depends on:
    ii python3 3.12.5-1
    ii python3-requests 2.32.3+dfsg-1
    ii python3-serial 3.5-2
    ii python3-six 1.16.0-7
    ii python3-yattag 1.15.2-1
    ii wxpython-tools 4.2.1+dfsg-4

    Versions of packages chirp recommends:
    pn python3-suds <none>

    chirp suggests no packages.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Hibby@1:229/2 to Yuri D'Elia on Tue Sep 3 12:40:01 2024
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Thanks for this, I had it in and out last night and didn't see any testing different on my system, but that's relatively consistent with this warning I saw https://salsa.debian.org/debian-hamradio-team/chirp/-/jobs/6219962#L2658 and it's likely I have
    suds installed already

    I'll get it added as a runtime dep tonight and uploaded.

    Regarding the help issue, it might be tied to packaging, what's the full trace?

    I can see it being possible that either:
    a) it's looking for a chirp.help module which doesn't exist in debian currently and I need to add to d/chirp.pyinstall
    b) it's related to a the decision to patch out the command line binary which might not be a good idea...

    Cheers
    H
    --
    Hibby
    Debian Developer
    Packet Radioist
    MM0RFN

    On Tue, 3 Sep 2024, at 10:32 AM, Yuri D'Elia wrote:
    Package: chirp
    Version: 1:20240901-1
    Severity: normal

    Looks like the "suds" module is required:

    % chirpw
    Traceback (most recent call last):
    File "/usr/bin/chirpw", line 33, in <module>
    sys.exit(load_entry_point('chirp==20240901', 'console_scripts', 'chirpw')())

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/chirp/wxui/__init__.py", line
    189, in chirpmain
    from chirp.wxui import main
    File "/usr/lib/python3/dist-packages/chirp/wxui/main.py", line 49, in <module>
    from chirp.wxui import query_sources
    File "/usr/lib/python3/dist-packages/chirp/wxui/query_sources.py",
    line 28, in <module>
    from chirp.sources import radioreference
    File
    "/usr/lib/python3/dist-packages/chirp/sources/radioreference.py", line
    23, in <module>
    from suds.client import Client
    ModuleNotFoundError: No module named 'suds'

    Also in this release (and unrelated to packaging), CLI help broken:

    % chirpw -h
    Traceback (most recent call last):
    .....

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.11-rc5-amd64 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_WARN
    Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages chirp depends on:
    ii python3 3.12.5-1
    ii python3-requests 2.32.3+dfsg-1
    ii python3-serial 3.5-2
    ii python3-six 1.16.0-7
    ii python3-yattag 1.15.2-1
    ii wxpython-tools 4.2.1+dfsg-4

    Versions of packages chirp recommends:
    pn python3-suds <none>

    chirp suggests no packages.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)