[Python-modules-team] Bug#968399: pyxdg ftbfs, test failure

Matthias Klose doko at debian.org
Fri Aug 14 15:41:47 BST 2020


Package: src:pyxdg
Version: 0.26-3
Severity: serious
Tags: sid bullseye

seen in unstable, in the build, and in the autopkg tests:

[...]
======================================================================
ERROR: test_rule_from_node (test-menu-rules.RulesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/test/test-menu-rules.py",
line 166, in test_rule_from_node
    rule = parser.parse_rule(root)
  File "/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py",
line 768, in parse_rule
    return Rule(type, tree)
  File "/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py",
line 421, in __init__
    self.code = compile(self.expression, '<compiled-menu-rule>', 'eval')
ValueError: Name node can't be used with 'False' constant

----------------------------------------------------------------------
Ran 55 tests in 2.178s

FAILED (errors=1)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build; python3.8 -m nose -v test
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8
returned exit code 13
make: *** [debian/rules:7: build] Error 25



More information about the Python-modules-team mailing list