From d685326d16b54a47575ca8497bd50ccba1ab1c20 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Thu, 5 Oct 2023 21:43:45 +0200 Subject: [PATCH] Bump pylint to 3.0.1, update changelog --- doc/exts/pylint_extensions.py | 4 ++-- doc/whatsnew/3/3.0/index.rst | 22 ++++++++++++++++++++++ doc/whatsnew/fragments/9100.other | 3 --- doc/whatsnew/fragments/9106.false_positive | 3 --- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 7 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 doc/whatsnew/fragments/9100.other delete mode 100644 doc/whatsnew/fragments/9106.false_positive diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py index cadcbdcba0..936b341989 100755 --- a/doc/exts/pylint_extensions.py +++ b/doc/exts/pylint_extensions.py @@ -145,9 +145,9 @@ def get_plugins_info( return by_checker -def setup(app: Sphinx) -> dict[str, str]: +def setup(app: Sphinx) -> dict[str, str | bool]: app.connect("builder-inited", builder_inited) - return {"version": sphinx.__display_version__} + return {"version": sphinx.__display_version__, "parallel_read_safe": True} if __name__ == "__main__": diff --git a/doc/whatsnew/3/3.0/index.rst b/doc/whatsnew/3/3.0/index.rst index 22222d73c7..0690002fc5 100644 --- a/doc/whatsnew/3/3.0/index.rst +++ b/doc/whatsnew/3/3.0/index.rst @@ -65,6 +65,28 @@ easier to parse and provides more info, here's a sample output. .. towncrier release notes start +What's new in Pylint 3.0.1? +--------------------------- +Release date: 2023-10-05 + + +False Positives Fixed +--------------------- + +- Fixed false positive for ``inherit-non-class`` for generic Protocols. + + Closes #9106 (`#9106 `_) + + + +Other Changes +------------- + +- Fix a crash when an enum class which is also decorated with a ``dataclasses.dataclass`` decorator is defined. + + Closes #9100 (`#9100 `_) + + What's new in Pylint 3.0.0? --------------------------- Release date: 2023-10-02 diff --git a/doc/whatsnew/fragments/9100.other b/doc/whatsnew/fragments/9100.other deleted file mode 100644 index 75e19175b9..0000000000 --- a/doc/whatsnew/fragments/9100.other +++ /dev/null @@ -1,3 +0,0 @@ -Fix a crash when an enum class which is also decorated with a ``dataclasses.dataclass`` decorator is defined. - -Closes #9100 diff --git a/doc/whatsnew/fragments/9106.false_positive b/doc/whatsnew/fragments/9106.false_positive deleted file mode 100644 index 58edbc0bfa..0000000000 --- a/doc/whatsnew/fragments/9106.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fixed false positive for ``inherit-non-class`` for generic Protocols. - -Closes #9106 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 770c4710b2..95d97c2da6 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "3.0.0" +__version__ = "3.0.1" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 20083fcdb6..86a1431932 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "3.0.0" +current = "3.0.1" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index 3ef3d18f6c..d26a9e4b4e 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "3.0.0" +version = "3.0.1" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/3/3.0/index.rst" template = "doc/whatsnew/fragments/_template.rst"