Skip to content

Commit 3570860

Browse files
Merge maintenance 2.17.x in main following 2.17.1 release (#8483)
2 parents 25406f7 + e7351b9 commit 3570860

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

doc/whatsnew/2/2.17/index.rst

+52
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,58 @@ so we find problems before the actual release.
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.17.1?
33+
----------------------------
34+
Release date: 2023-03-22
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Adds ``asyncSetUp`` to the default ``defining-attr-methods`` list to silence
41+
``attribute-defined-outside-init`` warning when using
42+
``unittest.IsolatedAsyncioTestCase``.
43+
44+
Refs #8403 (`#8403 <https://github.com/PyCQA/pylint/issues/8403>`_)
45+
46+
47+
48+
Other Bug Fixes
49+
---------------
50+
51+
- ``--clear-cache-post-run`` now also clears LRU caches for pylint utilities
52+
holding references to AST nodes.
53+
54+
Closes #8361 (`#8361 <https://github.com/PyCQA/pylint/issues/8361>`_)
55+
56+
- Fix a crash when ``TYPE_CHECKING`` is used without importing it.
57+
58+
Closes #8434 (`#8434 <https://github.com/PyCQA/pylint/issues/8434>`_)
59+
60+
- Fix a regression of ``preferred-modules`` where a partial match was used
61+
instead of the required full match.
62+
63+
Closes #8453 (`#8453 <https://github.com/PyCQA/pylint/issues/8453>`_)
64+
65+
66+
67+
Internal Changes
68+
----------------
69+
70+
- The following utilities are deprecated in favor of the more robust
71+
``in_type_checking_block``
72+
and will be removed in pylint 3.0:
73+
74+
- ``is_node_in_guarded_import_block``
75+
- ``is_node_in_typing_guarded_import_block``
76+
- ``is_typing_guard``
77+
78+
``is_sys_guard`` is still available, which was part of
79+
``is_node_in_guarded_import_block``.
80+
81+
Refs #8433 (`#8433 <https://github.com/PyCQA/pylint/issues/8433>`_)
82+
83+
3284
What's new in Pylint 2.17.0?
3385
----------------------------
3486
Release date: 2023-03-08

towncrier.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.towncrier]
2-
version = "2.17.0"
2+
version = "2.17.1"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/2/2.17/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)