That's an issue caused by Python 3.10. A lot of projects have been running into it. In Chirp's case, the errors are coming out of a generated source file (pyPEG.py). That file says it was "written by VB", but I've no idea how (or when). As such, it's unclear as to whether editing the file manually is the right solution. I suspect only Dan can answer that.
Replying to my own email here and it seems this has already been
done *but* it seems that new effort in "Sid" (not Testing") is
having an issue of it's own. I wonder if there could be an updated
version submitted for both branches so some form of working Chirp
can be provided from Debian's standard repos?
--David
KI6ZHD
-------- Forwarded Message --------
Subject:
Bug#1012538: knocked out usability - module
'collections' has no attribute 'Callable'
Version: 1:20200227+py3+20200213-3
Severity: grave
X-Debbugs-Cc: it9exm@gmail.com
Just tried using this software to program my radio and found out it stopped
working. I remember it was everything fine a few months ago. Probably this is
caused by changes in Python 3.10.5
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.17.13-xanmod1 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.10.4-1+b1
ii python3-future 0.18.2-6
ii python3-serial 3.5-1
ii python3-six 1.16.0-3
ii python3-wxgtk4.0 4.0.7+dfsg-13
chirp recommends no packages.
chirp suggests no packages.
-- no debconf information
On 06/08/2022 10:05 AM, David Ranch via
chirp_devel wrote:
I saw the following deprecation come in from the Debian packaging
system. I'm curious if any of the Python3 efforts might be stable
enough (even if they just have CLI support for now) to be
submitted to replace this original source code?