[Help] graphlan: Python2 removal in sid/bullseye
Hi,
I started an attempt to port graphlan to Python3 in Git[1] but its
autopkgtest throws errors:
Running test script ./IBD_biogeography/run.sh .
Traceback (most recent call last):
File "/usr/bin/graphlan_annotate", line 26, in <module>
from src.graphlan_lib import CircTree as CTree
File "/usr/share/graphlan/src/graphlan_lib.py", line 99, in <module>
legal_options = set(zip(*clade_attr+ext_attr+int_attr+structural_attr+global_graphical_attr+branch_attr+leg_attr)[0]) | set(['class'])
TypeError: 'zip' object is not subscriptable
Traceback (most recent call last):
File "/usr/bin/graphlan", line 29, in <module>
from src.graphlan_lib import CircTree as CTree
File "/usr/share/graphlan/src/graphlan_lib.py", line 99, in <module>
legal_options = set(zip(*clade_attr+ext_attr+int_attr+structural_attr+global_graphical_attr+branch_attr+leg_attr)[0]) | set(['class'])
TypeError: 'zip' object is not subscriptable
Any hint how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/graphlan
--
http://fam-tille.de
Reply to: