Package: python3-typeshed
Version: 0.0~git20231111.6764465-3
Severity: normal

While typechecking a file using paramiko.pkey.PKey I'm getting the
following error from MyPy:

> error: "type[PKey]" has no attribute "from_type_string"  [attr-defined]

This is incorrect, the (static) method exists and works with
python3-paramiko as available in Sid (currently 3.4.1-2). The method
(and a few more) was added upstream a while ago, so updating typeshed
should be sufficient to fix the issue:
https://github.com/python/typeshed/commit/d27426488ed48fd54290db765702685ca596c0c5

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

Kernel: Linux 6.10.7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 python3-typeshed depends on:
ii  python3  3.12.5-1

python3-typeshed recommends no packages.

python3-typeshed suggests no packages.

-- debconf-show failed

Reply via email to