summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-22 21:35:55 +0100
committerGitHub <noreply@github.com>2023-03-22 21:35:55 +0100
commit35708606b4f663358a4f1bf042c942323518c1ca (patch)
treee833fc619d4ec8d440456909eb624cb1822c7d37
parent25406f7963769c658119b66d7dd7c966cf2f14db (diff)
parente7351b99dc489c235386583f15aad0247b502aca (diff)
downloadpylint-git-35708606b4f663358a4f1bf042c942323518c1ca.tar.gz
Merge maintenance 2.17.x in main following 2.17.1 release (#8483)
-rw-r--r--doc/whatsnew/2/2.17/index.rst52
-rw-r--r--towncrier.toml2
2 files changed, 53 insertions, 1 deletions
diff --git a/doc/whatsnew/2/2.17/index.rst b/doc/whatsnew/2/2.17/index.rst
index 36b443386..b3f4b6175 100644
--- a/doc/whatsnew/2/2.17/index.rst
+++ b/doc/whatsnew/2/2.17/index.rst
@@ -29,6 +29,58 @@ so we find problems before the actual release.
.. towncrier release notes start
+What's new in Pylint 2.17.1?
+----------------------------
+Release date: 2023-03-22
+
+
+False Positives Fixed
+---------------------
+
+- Adds ``asyncSetUp`` to the default ``defining-attr-methods`` list to silence
+ ``attribute-defined-outside-init`` warning when using
+ ``unittest.IsolatedAsyncioTestCase``.
+
+ Refs #8403 (`#8403 <https://github.com/PyCQA/pylint/issues/8403>`_)
+
+
+
+Other Bug Fixes
+---------------
+
+- ``--clear-cache-post-run`` now also clears LRU caches for pylint utilities
+ holding references to AST nodes.
+
+ Closes #8361 (`#8361 <https://github.com/PyCQA/pylint/issues/8361>`_)
+
+- Fix a crash when ``TYPE_CHECKING`` is used without importing it.
+
+ Closes #8434 (`#8434 <https://github.com/PyCQA/pylint/issues/8434>`_)
+
+- Fix a regression of ``preferred-modules`` where a partial match was used
+ instead of the required full match.
+
+ Closes #8453 (`#8453 <https://github.com/PyCQA/pylint/issues/8453>`_)
+
+
+
+Internal Changes
+----------------
+
+- The following utilities are deprecated in favor of the more robust
+ ``in_type_checking_block``
+ and will be removed in pylint 3.0:
+
+ - ``is_node_in_guarded_import_block``
+ - ``is_node_in_typing_guarded_import_block``
+ - ``is_typing_guard``
+
+ ``is_sys_guard`` is still available, which was part of
+ ``is_node_in_guarded_import_block``.
+
+ Refs #8433 (`#8433 <https://github.com/PyCQA/pylint/issues/8433>`_)
+
+
What's new in Pylint 2.17.0?
----------------------------
Release date: 2023-03-08
diff --git a/towncrier.toml b/towncrier.toml
index a029888f7..b8c00a8ff 100644
--- a/towncrier.toml
+++ b/towncrier.toml
@@ -1,5 +1,5 @@
[tool.towncrier]
-version = "2.17.0"
+version = "2.17.1"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/2/2.17/index.rst"
template = "doc/whatsnew/fragments/_template.rst"