Package: python3-subnettree Version: 0.33-1+b3 Severity: grave Justification: renders package unusable
Documentation says: A simple example which associates CIDR prefixes with strings:: >>> import SubnetTree >>> t = SubnetTree.SubnetTree() >>> t["10.1.0.0/16"] = "Network 1" >>> t["10.1.42.0/24"] = "Network 1, Subnet 42" >>> print("10.1.42.1" in t) True But the version in bullseye (and 0.35 currently in unstable) produce: Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import SubnetTree >>> t = SubnetTree.SubnetTree() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/SubnetTree.py", line 82, in __init__ _SubnetTree.SubnetTree_swiginit(self, _SubnetTree.new_SubnetTree(binary_lookup_mode)) AttributeError: module '_SubnetTree' has no attribute 'SubnetTree_swiginit' >>> -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-10-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-subnettree depends on: ii libc6 2.31-13+deb11u2 ii libgcc-s1 10.2.1-6 ii libstdc++6 10.2.1-6 ii python3 3.9.2-3 python3-subnettree recommends no packages. python3-subnettree suggests no packages. -- no debconf information