[Python-modules-team] Bug#810329: pylint-django: FTBFS: ImportError: cannot import name 'YES'

Chris Lamb lamby at debian.org
Fri Jan 8 11:43:43 UTC 2016


Source: pylint-django
Version: 0.6-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

pylint-django fails to build from source in unstable/amd64:

  [..]

  
  ======================================================================
  ERROR: pylint_django (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: pylint_django
  Traceback (most recent call last):
    File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
      package = self._get_module_from_name(name)
    File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
      __import__(name)
    File "/home/lamby/temp/cdt.20160108114012.n6qebSTNBJ/pylint-django-0.6/.pybuild/pythonX.Y_3.5/build/pylint_django/__init__.py", line 3, in <module>
      from pylint_django import plugin
    File "/home/lamby/temp/cdt.20160108114012.n6qebSTNBJ/pylint-django-0.6/.pybuild/pythonX.Y_3.5/build/pylint_django/plugin.py", line 3, in <module>
      from pylint_django.augmentations import apply_augmentations
    File "/home/lamby/temp/cdt.20160108114012.n6qebSTNBJ/pylint-django-0.6/.pybuild/pythonX.Y_3.5/build/pylint_django/augmentations/__init__.py", line 11, in <module>
      from pylint_django.utils import node_is_subclass, PY3
    File "/home/lamby/temp/cdt.20160108114012.n6qebSTNBJ/pylint-django-0.6/.pybuild/pythonX.Y_3.5/build/pylint_django/utils.py", line 3, in <module>
      from astroid.bases import YES, Instance
  ImportError: cannot import name 'YES'
  
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.000s
  
  FAILED (errors=1)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160108114012.n6qebSTNBJ/pylint-django-0.6/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 3.5 3.4 --dir . returned exit code 13
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 25

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylint-django.0.6-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1545 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160108/816739c7/attachment.obj>


More information about the Python-modules-team mailing list