diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index d885f555b6..7d5e04835a 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -483,6 +483,7 @@ contributors: - Eisuke Kawashima - Edward K. Ream - Edgemaster +- Drummond Ogilvie - Drew Risinger - Dr. Nick - Don Jayamanne diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index 7132e70564..b70ca4dba3 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -30,10 +30,18 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start -What's new in Pylint 2.15.1? +What's new in Pylint 2.15.2? ---------------------------- -Release date: 2022-09-06 +Release date: 2022-09-07 + +- Fixed a case where custom plugins specified by command line could silently fail. + Specifically, if a plugin relies on the ``init-hook`` option changing ``sys.path`` before + it can be imported, this will now emit a ``bad-plugin-value`` message. Before this + change, it would silently fail to register the plugin for use, but would load + any configuration, which could have unintended effects. + + Fixes part of #7264. (`#7264 `_) - Fix ``used-before-assignment`` for functions/classes defined in type checking guard. Closes #7368 (`#7368 `_) @@ -70,6 +78,12 @@ Release date: 2022-09-06 Closes #7380 (`#7380 `_) +What's new in Pylint 2.15.1? +---------------------------- +Release date: 2022-09-06 + +This is a "github only release", it was mistakenly released as ``2.16.0-dev`` on pypi. Replaced by ``2.15.2``. + What's new in Pylint 2.15.0? ---------------------------- diff --git a/doc/whatsnew/fragments/7264.bugfix b/doc/whatsnew/fragments/7264.bugfix deleted file mode 100644 index dc2aa5d401..0000000000 --- a/doc/whatsnew/fragments/7264.bugfix +++ /dev/null @@ -1,8 +0,0 @@ -Fixed a case where custom plugins specified by command line could silently fail. - -Specifically, if a plugin relies on the ``init-hook`` option changing ``sys.path`` before -it can be imported, this will now emit a ``bad-plugin-value`` message. Before this -change, it would silently fail to register the plugin for use, but would load -any configuration, which could have unintended effects. - -Fixes part of #7264. diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 7d767f3a15..fe000c1ada 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.16.0-dev" +__version__ = "2.15.2" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index d5c0fc8a82..5c34271ce2 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.16.0-dev" +current = "2.15.2" regex = ''' ^(?P0|[1-9]\d*) \.