Package: python3-pyscard
Version: 2.2.2-1
Severity: normal

Hi,

unfortunately the latest update of python3-pyscard from 2.2.1-2 to 2.2.2-1 
broke ykman (yubikey-manager).

$ ykman list
Traceback (most recent call last):
  File "/usr/bin/ykman", line 5, in <module>
    from ykman._cli.__main__ import main
  File "/usr/lib/python3/dist-packages/ykman/_cli/__main__.py", line 42, in 
<module>
    from ..pcsc import list_devices as list_ccid, list_readers
  File "/usr/lib/python3/dist-packages/ykman/pcsc/__init__.py", line 37, in 
<module>
    from smartcard.pcsc.PCSCContext import PCSCContext
ModuleNotFoundError: No module named 'smartcard.pcsc.PCSCContext'

$ ls -l  /usr/lib/python3/dist-packages/smartcard/pcsc/
total 72
-rw-r--r-- 1 root root     0 Apr 13 17:30 __init__.py
-rw-r--r-- 1 root root 12894 Apr 13 17:30 PCSCCardConnection.py
-rw-r--r-- 1 root root 17676 Apr 13 17:30 PCSCCardRequest.py
-rw-r--r-- 1 root root  4040 Apr 13 17:30 PCSCExceptions.py
-rw-r--r-- 1 root root  9263 Apr 13 17:30 PCSCPart10.py
-rw-r--r-- 1 root root  4129 Apr 13 17:30 PCSCReaderGroups.py
-rw-r--r-- 1 root root  5150 Apr 13 17:30 PCSCReader.py
drwxr-xr-x 2 root root  4096 Apr 14 00:31 __pycache__


Downgrading to 2.2.1-2 fixes the issue.

If the removal of PCSCContext is intentional and yubikey-manager should not 
have accessed PCSCContext in the first place,
please re-assign the bug-report.

Kind regards
Michael


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (504, 'unstable'), (503, 'testing'), (502, 'experimental'), (500, 
'unstable-debug'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.22-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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-pyscard depends on:
ii  libc6                            2.41-7
ii  python3 [python3-supported-min]  3.13.3-1
ii  python3-typing-extensions        4.13.2-1

Versions of packages python3-pyscard recommends:
ii  libpcsclite1  2.3.3-1

Versions of packages python3-pyscard suggests:
pn  python3-wxgtk4.0  <none>

-- no debconf information

Reply via email to