Bug#1034399: python3-pyocd: not compatible with Python version in Debian
Package: python3-pyocd
Version: 0.13.1+dfsg-2
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: adi@koalatux.ch
Dear Maintainer,
pyOCD does not run with Python version 3.10 or greater.
The last few output lines of simply calling pyocd-gdbserver:
| File "/usr/lib/python3/dist-packages/pyocd/utility/sequencer.py", line 17, in <module>
| from collections import (OrderedDict, Callable)
| ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.11/collections/__init__.py)
While this specific error should be easy to fix (Callable needs to be
imported from collections.abc instead of collections), I wonder if it
makes sense to release Debian 12 with such an old version of pyOCD.
Regards,
Adi
-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 python3-pyocd depends on:
ii python3 3.11.2-1+b1
ii python3-colorama 0.4.6-2
ii python3-future 0.18.2-6
ii python3-intelhex 2.3.0-2
ii python3-intervaltree 3.0.2-1.1
ii python3-pkg-resources 66.1.1-1
ii python3-pyelftools 0.29-1
ii python3-six 1.16.0-4
ii python3-usb 1.2.1-2
ii python3-websocket 1.2.3-1
ii python3-yaml 6.0-3+b2
python3-pyocd recommends no packages.
python3-pyocd suggests no packages.
-- no debconf information
Reply to: