From ad020c08e8c55412e5ff477027b4cea761eb8c1e Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 28 Jan 2025 13:35:37 +0100 Subject: [PATCH 1/2] [isort] Permit to use isort 6 (#10204) Closes #10203 --- doc/whatsnew/fragments/10203.bugfix | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 doc/whatsnew/fragments/10203.bugfix diff --git a/doc/whatsnew/fragments/10203.bugfix b/doc/whatsnew/fragments/10203.bugfix new file mode 100644 index 0000000000..ac2bdab5f3 --- /dev/null +++ b/doc/whatsnew/fragments/10203.bugfix @@ -0,0 +1,3 @@ +Relaxed the requirements for isort so pylint can benefit from isort 6. + +Closes #10203 diff --git a/pyproject.toml b/pyproject.toml index 8d56ce3a7b..a97139dd43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ # Pinned to dev of second minor update to allow editable installs and fix primer issues, # see https://github.com/pylint-dev/astroid/issues/1341 "astroid>=3.3.8,<=3.4.0-dev0", - "isort>=4.2.5,<6,!=5.13.0", + "isort>=4.2.5,<7,!=5.13.0", "mccabe>=0.6,<0.8", "tomli>=1.1.0;python_version<'3.11'", "tomlkit>=0.10.1", From d2aabb0df2feecc6c5ef71d8dd17385029fd1399 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 28 Jan 2025 13:39:35 +0100 Subject: [PATCH 2/2] Bump pylint to 3.3.4, update changelog --- .pre-commit-config.yaml | 2 +- CONTRIBUTORS.txt | 1 + doc/whatsnew/3/3.3/index.rst | 23 +++++++++++++++++++++++ doc/whatsnew/fragments/10073.bugfix | 3 --- doc/whatsnew/fragments/10103.bugfix | 3 --- doc/whatsnew/fragments/10203.bugfix | 3 --- examples/pylintrc | 2 +- examples/pyproject.toml | 2 +- pylint/__pkginfo__.py | 2 +- tbump.toml | 2 +- towncrier.toml | 2 +- 11 files changed, 30 insertions(+), 15 deletions(-) delete mode 100644 doc/whatsnew/fragments/10073.bugfix delete mode 100644 doc/whatsnew/fragments/10103.bugfix delete mode 100644 doc/whatsnew/fragments/10203.bugfix diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ceee345834..9b79d406a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -109,7 +109,7 @@ repos: entry: make -C doc/ html pass_filenames: false language: system - stages: [push] + stages: [pre-push] - id: check-newsfragments name: Check newsfragments entry: python3 -m script.check_newsfragments diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 4e238428ed..c8b7d27fda 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -334,6 +334,7 @@ contributors: - syutbai - sur.la.route <17788706+christopherpickering@users.noreply.github.com> - sdet_liang +- purajit <7026198+purajit@users.noreply.github.com> - paschich - oittaa <8972248+oittaa@users.noreply.github.com> - nyabkun <75878387+nyabkun@users.noreply.github.com> diff --git a/doc/whatsnew/3/3.3/index.rst b/doc/whatsnew/3/3.3/index.rst index 775afd7065..f0993e8d0d 100644 --- a/doc/whatsnew/3/3.3/index.rst +++ b/doc/whatsnew/3/3.3/index.rst @@ -14,6 +14,29 @@ Summary -- Release highlights .. towncrier release notes start + +What's new in Pylint 3.3.4? +--------------------------- +Release date: 2025-01-28 + + +Other Bug Fixes +--------------- + +- Fixes "skipped files" count calculation; the previous method was displaying an arbitrary number. + + Closes #10073 (`#10073 `_) + +- Fixes a crash that occurred when pylint was run in a container on a host with cgroupsv2 and restrictions on CPU usage. + + Closes #10103 (`#10103 `_) + +- Relaxed the requirements for isort so pylint can benefit from isort 6. + + Closes #10203 (`#10203 `_) + + + What's new in Pylint 3.3.3? --------------------------- Release date: 2024-12-23 diff --git a/doc/whatsnew/fragments/10073.bugfix b/doc/whatsnew/fragments/10073.bugfix deleted file mode 100644 index 9bc9ec4c5d..0000000000 --- a/doc/whatsnew/fragments/10073.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixes "skipped files" count calculation; the previous method was displaying an arbitrary number. - -Closes #10073 diff --git a/doc/whatsnew/fragments/10103.bugfix b/doc/whatsnew/fragments/10103.bugfix deleted file mode 100644 index cf72ce8240..0000000000 --- a/doc/whatsnew/fragments/10103.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fixes a crash that occurred when pylint was run in a container on a host with cgroupsv2 and restrictions on CPU usage. - -Closes #10103 diff --git a/doc/whatsnew/fragments/10203.bugfix b/doc/whatsnew/fragments/10203.bugfix deleted file mode 100644 index ac2bdab5f3..0000000000 --- a/doc/whatsnew/fragments/10203.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Relaxed the requirements for isort so pylint can benefit from isort 6. - -Closes #10203 diff --git a/examples/pylintrc b/examples/pylintrc index 97064b3e95..c9f2fd56e6 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.12 +py-version=3.13 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/examples/pyproject.toml b/examples/pyproject.toml index ec4790b26f..d98a413f8e 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.12" +py-version = "3.13" # Discover python modules and packages in the file system subtree. # recursive = diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 625eeee1b0..fa7f2d1167 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "3.3.3" +__version__ = "3.3.4" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index 05075f6e2e..08adfec01c 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/pylint" [version] -current = "3.3.3" +current = "3.3.4" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/towncrier.toml b/towncrier.toml index 7975e71f3c..9e440049d3 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] -version = "3.3.3" +version = "3.3.4" directory = "doc/whatsnew/fragments" filename = "doc/whatsnew/3/3.3/index.rst" template = "doc/whatsnew/fragments/_template.rst"