Source: pylint, pylint-django Control: found -1 pylint/2.1.1-1 Control: found -1 pylint-django/0.11-1 X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update
Dear maintainers, With a recent upload of pylint the autopkgtest of pylint-django fails in testing when that autopkgtest is run with the binary packages of pylint from unstable. It passes when run with only packages from testing. In tabular form: pass fail pylint from testing 2.1.1-1 pylint-django from testing 0.11-1 versioned deps [0] from testing from unstable all others from testing from testing I copied some of the output at the bottom of this report. Because of the versioned deps that need installing, it is possible that that triggers the failure. I have scheduled a test with only astroid from unstable. Currently this regression is contributing to the delay of the migration of pylint to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package? If needed, please change the bug's severity. More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] You can see what packages were added from the second line of the log file quoted below. The migration software adds source package from unstable to the list if they are needed to install packages from pylint/2.1.1-1. I.e. due to versioned dependencies or breaks/conflicts. In this case it added src:astroid. [1] https://qa.debian.org/excuses.php?package=pylint https://ci.debian.net/data/autopkgtest/testing/amd64/p/pylint-django/1055531/log.gz autopkgtest [05:25:38]: test unit-tests-p3: [----------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pylint_django/tests/test_func.py", line 9, in <module> import test_functional # noqa: E402 ModuleNotFoundError: No module named 'test_functional' autopkgtest [05:25:38]: test unit-tests-p3: -----------------------] autopkgtest [05:26:16]: 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, Jun 27 2018, 14:44:17) [GCC 8.1.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 [05:26:18]: test django-sample: -----------------------]
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team