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

2020-09-28 Thread Johannes Schauer
Hi,

On Mon, 07 Sep 2020 22:26:16 +0200 Johannes Schauer  wrote:
> I already have investigated the problem and filed a bug against networkx:
> 
> https://github.com/networkx/networkx/issues/4188
> 
> As you can see I also already filed a pull request fixing the issue and
> upstream accepted it in this commit:
> 
> https://github.com/networkx/networkx/commit/2bfdee687d0db533555384f92ce3670d47c45aec
> 
> So what has to happen next is either for the networkx 2.6 release to happen
> (probably not any time soon) or that the networkx Debian maintainers
> cherry-pick the commit into the Debian package.

there has been no maintainer activity on this RC bug for three weeks. I can
prepare an NMU for networkx with the patch from above commit if you like?

Thanks!

cheers, josch

signature.asc
Description: signature


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

2020-09-07 Thread Johannes Schauer
Hi,

On Mon, 7 Sep 2020 22:12:21 +0200 Paul Gevers  wrote:
> 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?

thank you for filing this bug!

> + botch-graph-difference tests/misc/tmp/acl_2.2.52-3_n20.xml
> /tmp/autopkgtest-lxc.hpqt4jni/downtmp/autopkgtest_tmp/tmp/acl_2.2.52-3_n20.xml
> Traceback (most recent call last):
>   File "/usr/bin/botch-graph-difference", line 159, in 
> 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)

I already have investigated the problem and filed a bug against networkx:

https://github.com/networkx/networkx/issues/4188

As you can see I also already filed a pull request fixing the issue and
upstream accepted it in this commit:

https://github.com/networkx/networkx/commit/2bfdee687d0db533555384f92ce3670d47c45aec

So what has to happen next is either for the networkx 2.6 release to happen
(probably not any time soon) or that the networkx Debian maintainers
cherry-pick the commit into the Debian package.

Thanks!

cheers, josch

signature.asc
Description: signature


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

2020-09-07 Thread Paul Gevers
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...@lists.debian.org
User: debian...@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:

   passfail
networkx   from testing2.5+ds-1
botch  from testing0.22-4
all others from testingfrom 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
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

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

https://ci.debian.net/data/autopkgtest/testing/amd64/b/botch/6937981/log.gz

checking acl_2.2.52-3_n20.xml
+ botch-graph-difference "tests/misc/tmp/acl_2.2.52-3_n20.xml"
"/tmp/autopkgtest-lxc.hpqt4jni/downtmp/autopkgtest_tmp/tmp/acl_2.2.52-3_n20.xml"
+ echo + botch-graph-difference "tests/misc/tmp/acl_2.2.52-3_n20.xml"
"/tmp/autopkgtest-lxc.hpqt4jni/downtmp/autopkgtest_tmp/tmp/acl_2.2.52-3_n20.xml"
+ :
+ botch-graph-difference tests/misc/tmp/acl_2.2.52-3_n20.xml
/tmp/autopkgtest-lxc.hpqt4jni/downtmp/autopkgtest_tmp/tmp/acl_2.2.52-3_n20.xml
Traceback (most recent call last):
  File "/usr/bin/botch-graph-difference", line 159, in 
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 "", 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'



signature.asc
Description: OpenPGP digital signature