[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969756: networkx breaks botch autopkgtest: KeyError: 'long'

Source: networkx, botch
Control: found -1 networkx/2.5+ds-1
Control: found -1 botch/0.22-4
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of networkx the autopkgtest of botch fails in
testing when that autopkgtest is run with the binary packages of
networkx from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
networkx               from testing    2.5+ds-1
botch                  from testing    0.22-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of networkx to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=networkx


checking acl_2.2.52-3_n20.xml
+ botch-graph-difference "tests/misc/tmp/acl_2.2.52-3_n20.xml"
+ echo + botch-graph-difference "tests/misc/tmp/acl_2.2.52-3_n20.xml"
+ :
+ botch-graph-difference tests/misc/tmp/acl_2.2.52-3_n20.xml
Traceback (most recent call last):
  File "/usr/bin/botch-graph-difference", line 159, in <module>
    args = parser.parse_args()
  File "/usr/lib/python3.8/argparse.py", line 1780, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.8/argparse.py", line 1812, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.8/argparse.py", line 2021, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/usr/lib/python3.8/argparse.py", line 1977, in consume_positionals
    take_action(action, args)
  File "/usr/lib/python3.8/argparse.py", line 1870, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib/python3.8/argparse.py", line 2401, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib/python3.8/argparse.py", line 2434, in _get_value
    result = type_func(arg_string)
  File "/usr/share/botch/util.py", line 103, in read_graph
    g = nx.read_graphml(path)
  File "<decorator-gen-692>", line 2, in read_graphml
  File "/usr/lib/python3/dist-packages/networkx/utils/decorators.py",
line 239, in _open_file
    result = func_to_be_decorated(*new_args, **kwargs)
  File "/usr/lib/python3/dist-packages/networkx/readwrite/graphml.py",
line 258, in read_graphml
    glist = list(reader(path=path))
  File "/usr/lib/python3/dist-packages/networkx/readwrite/graphml.py",
line 775, in __call__
    (keys, defaults) = self.find_graphml_keys(self.xml)
  File "/usr/lib/python3/dist-packages/networkx/readwrite/graphml.py",
line 951, in find_graphml_keys
    "type": self.python_type[attr_type],
KeyError: 'long'

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: