[Python-modules-team] Bug#909664: pylint-django: CI failure
Mattia Rizzolo
mattia at debian.org
Wed Sep 26 14:47:25 BST 2018
Source: pylint-django
Version: 0.11-1
Severity: serious
autopkgtest [02:50:57]: test django-sample: [-----------------------
Running “django-admin startproject testproject”
Running “django-admin startapp testapp”
Running “pylint3 --version”
pylint3 2.1.1
astroid 2.0.4
Python 3.6.6+ (default, Sep 1 2018, 01:05:25)
[GCC 8.2.0]
Running “pylint3 -E --load-plugins=pylint_django testapp/”
Traceback (most recent call last):
File "/usr/bin/pylint3", line 11, in <module>
load_entry_point('pylint==2.1.1', 'console_scripts', 'pylint')()
File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 19, in run_pylint
Run(sys.argv[1:])
File "/usr/lib/python3/dist-packages/pylint/lint.py", line 1315, in __init__
linter.load_plugin_modules(self._plugins)
File "/usr/lib/python3/dist-packages/pylint/lint.py", line 519, in load_plugin_modules
module = modutils.load_module_from_name(modname)
File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 196, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 239, in load_module_from_modpath
module = imp.load_module(curname, mp_file, mp_filename, mp_desc)
File "/usr/lib/python3.6/imp.py", line 245, in load_module
return load_package(name, filename)
File "/usr/lib/python3.6/imp.py", line 217, in load_package
return _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/pylint_django/__init__.py", line 7, in <module>
from pylint_django import plugin
File "/usr/lib/python3/dist-packages/pylint_django/plugin.py", line 9, in <module>
from pylint_django import transforms # noqa, pylint: disable=unused-import
File "/usr/lib/python3/dist-packages/pylint_django/transforms/__init__.py", line 12, in <module>
foreignkey.add_transform(MANAGER)
File "/usr/lib/python3/dist-packages/pylint_django/transforms/foreignkey.py", line 59, in add_transform
manager.register_transform(nodes.CallFunc, inference_tip(infer_key_classes),
AttributeError: module 'astroid.nodes' has no attribute 'CallFunc'
autopkgtest [02:50:59]: test django-sample: -----------------------]
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180926/8adf4656/attachment-0001.sig>
More information about the Python-modules-team
mailing list