From a5a1bc3a9602d08f15ac90ad12f5b25bde375613 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 1 Dec 2024 19:37:20 +0100 Subject: [PATCH] Bump pylint to 3.3.2, update changelog (#10088) --- doc/whatsnew/3/3.3/index.rst | 24 +++++++++++++++++++++ doc/whatsnew/fragments/10026.bugfix | 3 --- doc/whatsnew/fragments/10076.false_positive | 4 ---- examples/pylintrc | 2 +- examples/pyproject.toml | 2 +- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 8 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 doc/whatsnew/fragments/10026.bugfix delete mode 100644 doc/whatsnew/fragments/10076.false_positive diff --git a/doc/whatsnew/3/3.3/index.rst b/doc/whatsnew/3/3.3/index.rst index 9b47c852ab..179f6e8d9c 100644 --- a/doc/whatsnew/3/3.3/index.rst +++ b/doc/whatsnew/3/3.3/index.rst @@ -14,6 +14,30 @@ Summary -- Release highlights .. towncrier release notes start +What's new in Pylint 3.3.2? +--------------------------- +Release date: 2024-12-01 + + +False Positives Fixed +--------------------- + +- Fix a false positive for `potential-index-error` when an indexed iterable + contains a starred element that evaluates to more than one item. + + Closes #10076 (`#10076 `_) + + + +Other Bug Fixes +--------------- + +- Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout). + + Closes #10026 (`#10026 `_) + + + What's new in Pylint 3.3.1? --------------------------- Release date: 2024-09-24 diff --git a/doc/whatsnew/fragments/10026.bugfix b/doc/whatsnew/fragments/10026.bugfix deleted file mode 100644 index 3a80c19309..0000000000 --- a/doc/whatsnew/fragments/10026.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixes the issue with --source-root option not working when the source files are in a subdirectory of the source root (e.g. when using a /src layout). - -Closes #10026 diff --git a/doc/whatsnew/fragments/10076.false_positive b/doc/whatsnew/fragments/10076.false_positive deleted file mode 100644 index 298f448873..0000000000 --- a/doc/whatsnew/fragments/10076.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fix a false positive for `potential-index-error` when an indexed iterable -contains a starred element that evaluates to more than one item. - -Closes #10076 diff --git a/examples/pylintrc b/examples/pylintrc index a26254c199..97064b3e95 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -93,7 +93,7 @@ prefer-stubs=no # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.10 +py-version=3.12 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/examples/pyproject.toml b/examples/pyproject.toml index a647cbb577..ec4790b26f 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -83,7 +83,7 @@ persistent = true # Minimum Python version to use for version dependent checks. Will default to the # version used to run pylint. -py-version = "3.10" +py-version = "3.12" # Discover python modules and packages in the file system subtree. # recursive = diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 1e68b60ea4..9ed79f3d4a 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "3.3.1" +__version__ = "3.3.2" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 35de0dbe91..a07de7ba04 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "3.3.1" +current = "3.3.2" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index 9908fbeb0c..e289bc8ffc 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "3.3.1" +version = "3.3.2" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/3/3.3/index.rst" template = "doc/whatsnew/fragments/_template.rst"