[Python-modules-team] Bug#917717: pylint-django: FTBFS: dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Dec 29 22:12:52 GMT 2018

Source: pylint-django
Version: 2.0.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster


During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. {interpreter} pylint_django/tests/test_func.py" dh_auto_test
> I: pybuild base:217: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python3.7 pylint_django/tests/test_func.py
> ============================= test session starts ==============================
> platform linux -- Python 3.7.2rc1, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
> rootdir: /<<PKGBUILDDIR>>, inifile:
> collected 0 items / 1 errors
> ==================================== ERRORS ====================================
> ______________ ERROR collecting pylint_django/tests/test_func.py _______________
> ImportError while importing test module '/<<PKGBUILDDIR>>/pylint_django/tests/test_func.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> pylint_django/__init__.py:6: in <module>
>     from pylint_django import plugin
> pylint_django/plugin.py:5: in <module>
>     from pylint_django.checkers import register_checkers
> pylint_django/checkers/__init__.py:3: in <module>
>     from pylint_django.checkers.models import ModelChecker
> pylint_django/checkers/models.py:11: in <module>
>     from pylint_django.utils import node_is_subclass, PY3
> pylint_django/utils.py:4: in <module>
>     from astroid.util import YES
> E   ImportError: cannot import name 'YES' from 'astroid.util' (/usr/lib/python3/dist-packages/astroid/util.py)
> !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
> =========================== 1 error in 0.07 seconds ============================
> E: pybuild pybuild:338: test: plugin custom failed with: exit code=2: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python3.7 pylint_django/tests/test_func.py
> dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned exit code 13

The full build log is available from:

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

More information about the Python-modules-team mailing list