Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1251869

Bug#1108779: pylint-django: autopkgtest regression: cannot import name 'check_messages' from 'pylint.checkers.utils'

From Paul Gevers <elbrus@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1108779: pylint-django: autopkgtest regression: cannot import name 'check_messages' from 'pylint.checkers.utils'
Date 2025-07-05 09:00 +0200
Message-ID <L552p-flK2-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: pylint-django
Version: 2.0.13-4
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since January 
2024. Can you please investigate the situation and fix it? I copied some 
of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

With my Release Team member hat on I allow you to tag this bug as 
trixie-ignore if this is nearly completely a test issue as it's so late 
in the freeze and it's not worth removing the package from trixie 
because of a failing test at this moment unless it exposes a much bigger 
issue. Having said that, if this is a test only issue and a fix is 
possible without fully removing the autopkgtest and without making the 
test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/p/pylint-django/61848348/log.gz

  21s Running “pylint -E --load-plugins=pylint_django testapp/”
  21s Traceback (most recent call last):
  21s   File "/usr/bin/pylint", line 8, in <module>
  21s     sys.exit(run_pylint())
  21s              ~~~~~~~~~~^^
  21s   File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 
34, in run_pylint
  21s     PylintRun(argv or sys.argv[1:])
  21s     ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  21s   File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 
180, in __init__
  21s     linter.load_plugin_modules(self._plugins)
  21s     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  21s   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", 
line 378, in load_plugin_modules
  21s     module = astroid.modutils.load_module_from_name(modname)
  21s   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 
182, in load_module_from_name
  21s     module = importlib.import_module(dotted_name)
  21s   File "/usr/lib/python3.13/importlib/__init__.py", line 88, in 
import_module
  21s     return _bootstrap._gcd_import(name[level:], package, level)
  21s            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21s   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  21s   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  21s   File "<frozen importlib._bootstrap>", line 1331, in 
_find_and_load_unlocked
  21s   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  21s   File "<frozen importlib._bootstrap_external>", line 1026, in 
exec_module
  21s   File "<frozen importlib._bootstrap>", line 488, in 
_call_with_frames_removed
  21s   File "/usr/lib/python3/dist-packages/pylint_django/__init__.py", 
line 6, in <module>
  21s     from pylint_django import plugin
  21s   File "/usr/lib/python3/dist-packages/pylint_django/plugin.py", 
line 5, in <module>
  21s     from pylint_django.checkers import register_checkers
  21s   File 
"/usr/lib/python3/dist-packages/pylint_django/checkers/__init__.py", 
line 2, in <module>
  21s     from pylint_django.checkers.django_installed import 
DjangoInstalledChecker
  21s   File 
"/usr/lib/python3/dist-packages/pylint_django/checkers/django_installed.py", 
line 3, in <module>
  21s     from pylint.checkers.utils import check_messages
  21s ImportError: cannot import name 'check_messages' from 
'pylint.checkers.utils' 
(/usr/lib/python3/dist-packages/pylint/checkers/utils.py)

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1108779: pylint-django: autopkgtest regression: cannot import name 'check_messages' from 'pylint.checkers.utils' Paul Gevers <elbrus@debian.org> - 2025-07-05 09:00 +0200

csiph-web