Source: python-requirements-detector
Version: 0.4-2
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]

Dear Maintainer,

The package fails to build:

======================================================================
ERROR: test_subscript_assign (tests.test_detection.DependencyDetectionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/python-requirements-detector-0.4/tests/test_detection.py", line 81, in 
test_subscript_assign
    self._test_setup_py('subscript_assign.py', 'Django==1.5.0', 
'django-gubbins==1.1.2')
  File "/python-requirements-detector-0.4/tests/test_detection.py", line 63, in 
_test_setup_py
    dependencies = from_setup_py(filepath)
  File "/python-requirements-detector-0.4/requirements_detector/detect.py", 
line 201, in from_setup_py
    ast = AstroidBuilder(MANAGER).string_build(contents)
  File "/usr/lib/python3/dist-packages/astroid/builder.py", line 139, in 
string_build
    module = self._data_build(data, modname, path)
  File "/usr/lib/python3/dist-packages/astroid/builder.py", line 177, in 
_data_build
    module = rebuilder.visit_module(node, modname, node_file, package)
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 148, in 
visit_module
    newnode.body = [self.visit(child, newnode) for child in node.body]
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 148, in 
<listcomp>
    newnode.body = [self.visit(child, newnode) for child in node.body]
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 161, in visit
    return self._transform(visit_method(node, parent))
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 238, in 
visit_assign
    newnode.value = self.visit(node.value, newnode)
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 161, in visit
    return self._transform(visit_method(node, parent))
  File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 331, in 
visit_callfunc
    if node.starargs is not None:
AttributeError: 'Call' object has no attribute 'starargs'

...

----------------------------------------------------------------------
Ran 26 tests in 0.083s

FAILED (errors=8)
E: pybuild pybuild:262: test: plugin custom failed with: exit code=1: 
LC_ALL=C.UTF-8 python3.5 -m nose --verbose
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.5 3.4 --dir . 
returned exit code 13

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-requirements-detector.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to