File tree 3 files changed +17
-0
lines changed 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,11 @@ What's New in Pylint 2.13.9?
307
307
============================
308
308
Release date: TBA
309
309
310
+
311
+ * Fix false positives for ``no-name-in-module`` and ``import-error`` for ``numpy.distutils`` and ``pydantic``.
312
+
313
+ Closes #6497
314
+
310
315
* Fix ``IndexError`` crash in ``uninferable_final_decorators`` method.
311
316
312
317
Relates to #6531
Original file line number Diff line number Diff line change @@ -644,6 +644,12 @@ Other Changes
644
644
645
645
Closes #6414
646
646
647
+
648
+ * Fix false positives for ``no-name-in-module `` and ``import-error `` for ``numpy.distutils ``
649
+ and ``pydantic ``.
650
+
651
+ Closes #6497
652
+
647
653
* Fix ``IndexError `` crash in ``uninferable_final_decorators `` method.
648
654
649
655
Relates to #6531
Original file line number Diff line number Diff line change 78
78
79
79
# Check ignored-modules setting
80
80
from argparse import THIS_does_not_EXIST
81
+
82
+
83
+ # This captures the original failure in https://github.com/PyCQA/pylint/issues/6497
84
+ # only if numpy is installed. We are not installing numpy on CI (for now)
85
+ from numpy .distutils .misc_util import is_sequence
86
+ from pydantic import BaseModel
You can’t perform that action at this time.
0 commit comments