Control: tags -1 + confirmed

On Wed, 2025-11-26 at 11:02 +0100, Andrej Shadura wrote:
> The runtime dependency of pylint-django, astroid, has been updated in
> trixie in a way that broke pylint-django, but because of a deficient
> error-handling code, this was never caught:
> 
>     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 no longer correct import in
> pylint_django/augmentations/__init__.py.

Please go ahead.

Regards,

Adam

Reply via email to