Package: python3-tabulate
Version: 0.8.7-0.1
Severity: important

tabulate can't be imported anymore, starting with python3.10

$ python3.10
>>> import tabulate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' 
(/usr/lib/python3.10/collections/__init__.py)


The cause seems to be a bugged test  "if python_version_tuple() >= ("3", "3", 
"0"):"
comparing strings instead of numbers.

Seems to be fixed in recent tabulate.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-1-amd64 (SMP w/4 CPU threads)
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-tabulate depends on:
ii  python3  3.9.8-1

python3-tabulate recommends no packages.

python3-tabulate suggests no packages.

-- no debconf information

-- 
Félix

Attachment: signature.asc
Description: PGP signature

Reply via email to