Your message dated Sat, 20 Dec 2025 14:11:34 +0000
with message-id <[email protected]>
and subject line Bug#1121404: fixed in pylint-django 2.0.13-5+deb13u1
has caused the Debian Bug report #1121404,
regarding pylint-django in trixie is broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1121404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121404
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pylint-django
Version: 2.0.13-5
Severity: grave
Tags: patch, trixie
Justification: renders package unusable
X-Debbugs-Cc: [email protected]
Hi,
Because of a new astroid package, pylint-django is completely broken on
trixie. See pylint_django/plugin.py:
try:
# pylint: disable=import-outside-toplevel
from pylint_django.augmentations import apply_augmentations
apply_augmentations(linter)
except ImportError:
# probably trying to execute pylint_django when Django isn't installed
# in this case the django-not-installed checker will kick-in
pass
This code is supposed to catch the absence of Django, but also catches
and silences the incorrect import in pylint_django/augmentations/__init__.py:
from astroid.scoped_nodes import ClassDef as ScopedClass, Module
In the astroid version shipped in trixie, this import is supposed to
look like:
from astroid.nodes.scoped_nodes import ClassDef as ScopedClass, Module
This can be tested by running the following:
$ python3 -m pylint_django.augmentations
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File
"/usr/lib/python3/dist-packages/pylint_django/augmentations/__init__.py", line
9, in <module>
from astroid.scoped_nodes import ClassDef as ScopedClass, Module
ModuleNotFoundError: No module named 'astroid.scoped_nodes'
The expected output in the absence of Django:
$ python3 -m pylint_django.augmentations
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File
"/usr/lib/python3/dist-packages/pylint_django/augmentations/__init__.py", line
12, in <module>
from django import VERSION as django_version
ModuleNotFoundError: No module named 'django'
I’m pushing a patch fixing this to the debian/trixie branch in the Git
repository.
--
Cheers,
Andrej
--- End Message ---
--- Begin Message ---
Source: pylint-django
Source-Version: 2.0.13-5+deb13u1
Done: Andrej Shadura <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pylint-django, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <[email protected]> (supplier of updated pylint-django package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 26 Nov 2025 10:45:39 +0100
Source: pylint-django
Architecture: source
Version: 2.0.13-5+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 1121404
Changes:
pylint-django (2.0.13-5+deb13u1) trixie; urgency=medium
.
* Add salsa-ci.yml.
* Add smoke autopkgtest.
* Delete unused broken unit-tests-p3 autopkgtest.
* Fix scoped_nodes import (Closes: #1121404).
Checksums-Sha1:
7ec2b0fbd51d7c7b345443709d10991bb8a09265 1790
pylint-django_2.0.13-5+deb13u1.dsc
52d84f5d05cef5f84ff8cea87604af9756e14b7d 7144
pylint-django_2.0.13-5+deb13u1.debian.tar.xz
Checksums-Sha256:
5d07d5a9c2f95f1f419b29994092dc7441f13ff734affd23eed605e07594c40c 1790
pylint-django_2.0.13-5+deb13u1.dsc
aa4fd7ade93dd984c18e48131111953a100600aa5b7c951b8a13adb975c9ed1d 7144
pylint-django_2.0.13-5+deb13u1.debian.tar.xz
Files:
fbc9e3327aa8ae922652b98f10518b47 1790 python optional
pylint-django_2.0.13-5+deb13u1.dsc
bede01dd3470e6cc62fe68a1666deb5d 7144 python optional
pylint-django_2.0.13-5+deb13u1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaTWrhwAKCRDoRGtKyMdy
YRwoAP9KvpKgjDqM0dK51VVHbt1tOXm3somDFaT9FBBPDws2rwD/e7vi4W/InjBo
m1BTfmaaeWLZ/5gdcNhhhq6dyi2kGQg=
=tNsV
-----END PGP SIGNATURE-----
pgpT94OleKuzH.pgp
Description: PGP signature
--- End Message ---