public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pylint] rawhide: 4.1.2
@ 2026-10-07 13:05 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-10-07 13:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pylint
Branch : rawhide
Commit : c8ecfcb0a1f391466426bc03db34b895438c29e2
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2026-10-07T08:04:55-05:00
Stats  : +10/-980 in 11 file(s)
URL    : https://src.fedoraproject.org/rpms/pylint/c/c8ecfcb0a1f391466426bc03db34b895438c29e2?branch=rawhide

Log:
4.1.2

---
diff --git a/.gitignore b/.gitignore
index a33c4a9..0c86147 100644
--- a/.gitignore
+++ b/.gitignore
@@ -90,3 +90,4 @@ pylint-0.21.1.tar.gz
 /pylint-4.0.8.tar.gz
 /pylint-4.0.9.tar.gz
 /pylint-4.0.10.tar.gz
+/pylint-4.1.2.tar.gz

diff --git a/0001-Bump-astroid-to-4.0.3.patch b/0001-Bump-astroid-to-4.0.3.patch
deleted file mode 100644
index 051ee10..0000000
--- a/0001-Bump-astroid-to-4.0.3.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 78c03a767daa45779af01090a2bc627ff1ab6194 Mon Sep 17 00:00:00 2001
-From: Jacob Walls <jacobtylerwalls@gmail.com>
-Date: Sat, 3 Jan 2026 17:38:09 -0500
-Subject: [PATCH 1/3] Bump astroid to 4.0.3
-
----
- pyproject.toml            | 6 +++---
- requirements_test_min.txt | 2 +-
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 1c3a8260b..9a856ac4f 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -37,10 +37,10 @@ dynamic = [ "version" ]
- # All the dependencies of the project will be configured here, once pip fully supports PEP735
- # TODO: Remove all requirements.txt files and use this section instead once pip supports PEP735
- dependencies = [
--  # Also upgrade requirements_test_min.txt.
-+  # Also upgrade test-min dependency group and requirements_test_min.txt.
-   # 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>=4.0.2,<=4.1.dev0",
-+  "astroid>=4.0.3,<=4.1.dev0",
-   "colorama>=0.4.5; sys_platform=='win32'",
-   "dill>=0.2; python_version<'3.11'",
-   "dill>=0.3.6; python_version>='3.11'",
-@@ -94,7 +94,7 @@ docs = [
- # Configuration for the build system
- test-min = [
-   # Base test dependencies
--  "astroid==4.0.2",                     # Pinned to a specific version for tests
-+  "astroid==4.0.3",                     # Pinned to a specific version for tests
-   "py~=1.11.0",
-   "pytest~=8.4",
-   "pytest-benchmark~=5.1",
-diff --git a/requirements_test_min.txt b/requirements_test_min.txt
-index 29e05b3c9..5a7884532 100644
---- a/requirements_test_min.txt
-+++ b/requirements_test_min.txt
-@@ -1,6 +1,6 @@
- .[testutils,spelling]
- # astroid dependency is also defined in pyproject.toml
--astroid==4.0.2  # Pinned to a specific version for tests
-+astroid==4.0.3  # Pinned to a specific version for tests
- typing-extensions~=4.15
- py~=1.11.0
- pytest~=8.4
--- 
-2.53.0
-

diff --git a/0002-Bump-astroid-to-4.1.1-10843.patch b/0002-Bump-astroid-to-4.1.1-10843.patch
deleted file mode 100644
index 2717c3b..0000000
--- a/0002-Bump-astroid-to-4.1.1-10843.patch
+++ /dev/null
@@ -1,215 +0,0 @@
-From dc2ea9e08156469f5a8a1e625040b4a5cd5ae2ec Mon Sep 17 00:00:00 2001
-From: Jacob Walls <jacobtylerwalls@gmail.com>
-Date: Mon, 23 Feb 2026 09:43:04 -0500
-Subject: [PATCH 2/3] Bump astroid to 4.1.1 (#10843)
-
----
- pyproject.toml                                 |  4 ++--
- requirements_test_min.txt                      |  2 +-
- .../d/deprecated/deprecated_decorators.txt     |  2 +-
- .../m/method_cache_max_size_none.txt           | 16 ++++++++--------
- .../non_ascii_name_decorator.txt               |  2 +-
- .../o/overridden_final_method_regression.txt   |  2 +-
- .../r/regression_02/regression_10334.txt       |  2 +-
- .../s/singledispatch/singledispatch_method.txt | 18 +++++++++---------
- .../singledispatchmethod_function.txt          |  6 +++---
- .../u/undefined/undefined_variable.314.txt     |  4 ++--
- .../u/undefined/undefined_variable.txt         |  4 ++--
- .../unsupported_version_for_final.txt          | 18 +++++++++---------
- .../unsupported_version_for_posonly_args.txt   |  2 +-
- tests/functional/u/unused/unused_argument.txt  |  4 ++--
- 14 files changed, 43 insertions(+), 43 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 9a856ac4f..dbbf6befd 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -40,7 +40,7 @@ dependencies = [
-   # Also upgrade test-min dependency group and requirements_test_min.txt.
-   # 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>=4.0.3,<=4.1.dev0",
-+  "astroid>=4.1.1,<=4.4.dev0",
-   "colorama>=0.4.5; sys_platform=='win32'",
-   "dill>=0.2; python_version<'3.11'",
-   "dill>=0.3.6; python_version>='3.11'",
-@@ -94,7 +94,7 @@ docs = [
- # Configuration for the build system
- test-min = [
-   # Base test dependencies
--  "astroid==4.0.3",                     # Pinned to a specific version for tests
-+  "astroid==4.1.1",                     # Pinned to a specific version for tests
-   "py~=1.11.0",
-   "pytest~=8.4",
-   "pytest-benchmark~=5.1",
-diff --git a/requirements_test_min.txt b/requirements_test_min.txt
-index 5a7884532..19c47617f 100644
---- a/requirements_test_min.txt
-+++ b/requirements_test_min.txt
-@@ -1,6 +1,6 @@
- .[testutils,spelling]
- # astroid dependency is also defined in pyproject.toml
--astroid==4.0.3  # Pinned to a specific version for tests
-+astroid==4.1.1   # Pinned to a specific version for tests
- typing-extensions~=4.15
- py~=1.11.0
- pytest~=8.4
-diff --git a/tests/functional/d/deprecated/deprecated_decorators.txt b/tests/functional/d/deprecated/deprecated_decorators.txt
-index 38bb50f32..e93f0aa32 100644
---- a/tests/functional/d/deprecated/deprecated_decorators.txt
-+++ b/tests/functional/d/deprecated/deprecated_decorators.txt
-@@ -1 +1 @@
--deprecated-decorator:7:4:7:28:MyClass.my_method:Using deprecated decorator abc.abstractclassmethod():UNDEFINED
-+deprecated-decorator:7:4:7:28:MyClass:Using deprecated decorator abc.abstractclassmethod():UNDEFINED
-diff --git a/tests/functional/m/method_cache_max_size_none.txt b/tests/functional/m/method_cache_max_size_none.txt
-index bd916c617..0b1604797 100644
---- a/tests/functional/m/method_cache_max_size_none.txt
-+++ b/tests/functional/m/method_cache_max_size_none.txt
-@@ -1,8 +1,8 @@
--method-cache-max-size-none:26:5:26:20:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:30:5:30:30:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:34:5:34:38:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:38:5:38:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:43:5:43:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:44:5:44:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:49:5:49:30:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
--method-cache-max-size-none:79:5:79:40:MyClassWithMethodsAndMaxSize.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:26:5:26:20:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:30:5:30:30:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:34:5:34:38:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:38:5:38:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:43:5:43:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:44:5:44:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:49:5:49:30:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-+method-cache-max-size-none:79:5:79:40:MyClassWithMethodsAndMaxSize:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE
-diff --git a/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt b/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt
-index 6c4944009..6ef1dfb9e 100644
---- a/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt
-+++ b/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt
-@@ -1 +1 @@
--non-ascii-name:16:4:16:13:a_function:"Argument name ""fåling"" contains a non-ASCII character, consider renaming it.":HIGH
-+non-ascii-name:16:4:16:13::"Argument name ""fåling"" contains a non-ASCII character, consider renaming it.":HIGH
-diff --git a/tests/functional/o/overridden_final_method_regression.txt b/tests/functional/o/overridden_final_method_regression.txt
-index a8cb23954..9e7d1185f 100644
---- a/tests/functional/o/overridden_final_method_regression.txt
-+++ b/tests/functional/o/overridden_final_method_regression.txt
-@@ -1 +1 @@
--undefined-variable:4:1:4:18:crash_test:Undefined variable 'unknown_decorator':UNDEFINED
-+undefined-variable:4:1:4:18::Undefined variable 'unknown_decorator':UNDEFINED
-diff --git a/tests/functional/r/regression_02/regression_10334.txt b/tests/functional/r/regression_02/regression_10334.txt
-index d2baba926..838c6d92a 100644
---- a/tests/functional/r/regression_02/regression_10334.txt
-+++ b/tests/functional/r/regression_02/regression_10334.txt
-@@ -1 +1 @@
--not-callable:4:1:4:4:A:s is not callable:UNDEFINED
-+not-callable:4:1:4:4::s is not callable:UNDEFINED
-diff --git a/tests/functional/s/singledispatch/singledispatch_method.txt b/tests/functional/s/singledispatch/singledispatch_method.txt
-index 794355121..b44df99d0 100644
---- a/tests/functional/s/singledispatch/singledispatch_method.txt
-+++ b/tests/functional/s/singledispatch/singledispatch_method.txt
-@@ -1,9 +1,9 @@
--singledispatch-method:9:5:9:19:Board1.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
--singledispatch-method:13:5:13:30:Board1._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
--singledispatch-method:18:5:18:30:Board1._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
--singledispatch-method:24:5:24:19:Board2.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
--singledispatch-method:29:5:29:30:Board2._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
--singledispatch-method:35:5:35:30:Board2._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
--singledispatch-method:43:5:43:19:Board3.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
--singledispatch-method:48:5:48:30:Board3._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
--singledispatch-method:54:5:54:30:Board3._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:9:5:9:19:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
-+singledispatch-method:13:5:13:30:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:18:5:18:30:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:24:5:24:19:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
-+singledispatch-method:29:5:29:30:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:35:5:35:30:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:43:5:43:19:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH
-+singledispatch-method:48:5:48:30:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-+singledispatch-method:54:5:54:30:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE
-diff --git a/tests/functional/s/singledispatch/singledispatchmethod_function.txt b/tests/functional/s/singledispatch/singledispatchmethod_function.txt
-index c25f70cf5..6884f3868 100644
---- a/tests/functional/s/singledispatch/singledispatchmethod_function.txt
-+++ b/tests/functional/s/singledispatch/singledispatchmethod_function.txt
-@@ -1,3 +1,3 @@
--singledispatchmethod-function:9:1:9:21:convert_position2:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:HIGH
--singledispatchmethod-function:13:1:13:27:_:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE
--singledispatchmethod-function:18:1:18:27:_:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE
-+singledispatchmethod-function:9:1:9:21::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:HIGH
-+singledispatchmethod-function:13:1:13:27::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE
-+singledispatchmethod-function:18:1:18:27::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE
-diff --git a/tests/functional/u/undefined/undefined_variable.314.txt b/tests/functional/u/undefined/undefined_variable.314.txt
-index de83d8336..6c0f81aee 100644
---- a/tests/functional/u/undefined/undefined_variable.314.txt
-+++ b/tests/functional/u/undefined/undefined_variable.314.txt
-@@ -30,6 +30,6 @@ undefined-variable:234:25:234:37:LambdaClass5.<lambda>:Undefined variable 'Lambd
- undefined-variable:291:18:291:24:not_using_loop_variable_accordingly:Undefined variable 'iteree':UNDEFINED
- undefined-variable:308:27:308:28:undefined_annotation:Undefined variable 'x':UNDEFINED
- used-before-assignment:309:7:309:8:undefined_annotation:Using variable 'x' before assignment:HIGH
--undefined-variable:339:11:339:12:decorated3:Undefined variable 'x':UNDEFINED
--undefined-variable:344:19:344:20:decorated4:Undefined variable 'y':UNDEFINED
-+undefined-variable:339:11:339:12::Undefined variable 'x':UNDEFINED
-+undefined-variable:344:19:344:20::Undefined variable 'y':UNDEFINED
- undefined-variable:365:10:365:20:global_var_mixed_assignment:Undefined variable 'GLOBAL_VAR':HIGH
-diff --git a/tests/functional/u/undefined/undefined_variable.txt b/tests/functional/u/undefined/undefined_variable.txt
-index c527c76d9..b85ad8a89 100644
---- a/tests/functional/u/undefined/undefined_variable.txt
-+++ b/tests/functional/u/undefined/undefined_variable.txt
-@@ -31,8 +31,8 @@ used-before-assignment:255:26:255:34:func_should_fail:Using variable 'datetime'
- undefined-variable:291:18:291:24:not_using_loop_variable_accordingly:Undefined variable 'iteree':UNDEFINED
- undefined-variable:308:27:308:28:undefined_annotation:Undefined variable 'x':UNDEFINED
- used-before-assignment:309:7:309:8:undefined_annotation:Using variable 'x' before assignment:HIGH
--undefined-variable:339:11:339:12:decorated3:Undefined variable 'x':UNDEFINED
--undefined-variable:344:19:344:20:decorated4:Undefined variable 'y':UNDEFINED
-+undefined-variable:339:11:339:12::Undefined variable 'x':UNDEFINED
-+undefined-variable:344:19:344:20::Undefined variable 'y':UNDEFINED
- undefined-variable:365:10:365:20:global_var_mixed_assignment:Undefined variable 'GLOBAL_VAR':HIGH
- undefined-variable:377:19:377:44:RepeatedReturnAnnotations.x:Undefined variable 'RepeatedReturnAnnotations':UNDEFINED
- undefined-variable:379:19:379:44:RepeatedReturnAnnotations.y:Undefined variable 'RepeatedReturnAnnotations':UNDEFINED
-diff --git a/tests/functional/u/unsupported/unsupported_version_for_final.txt b/tests/functional/u/unsupported/unsupported_version_for_final.txt
-index 326bffd4c..99558dc02 100644
---- a/tests/functional/u/unsupported/unsupported_version_for_final.txt
-+++ b/tests/functional/u/unsupported/unsupported_version_for_final.txt
-@@ -1,9 +1,9 @@
--using-final-decorator-in-unsupported-version:10:1:10:6:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:12:5:12:10:MyClass1.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:13:5:13:10:MyClass1.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:18:1:18:8:MyClass2:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:20:5:20:12:MyClass2.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:25:1:25:13:MyClass3:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:27:5:27:17:MyClass3.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:32:1:32:15:MyClass4:typing.final is not supported by all versions included in the py-version setting:HIGH
--using-final-decorator-in-unsupported-version:34:5:34:19:MyClass4.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:10:1:10:6::typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:12:5:12:10:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:13:5:13:10:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:18:1:18:8::typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:20:5:20:12:MyClass2:typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:25:1:25:13::typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:27:5:27:17:MyClass3:typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:32:1:32:15::typing.final is not supported by all versions included in the py-version setting:HIGH
-+using-final-decorator-in-unsupported-version:34:5:34:19:MyClass4:typing.final is not supported by all versions included in the py-version setting:HIGH
-diff --git a/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt b/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt
-index 4ae1b2756..fa7661536 100644
---- a/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt
-+++ b/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt
-@@ -1 +1 @@
--using-positional-only-args-in-unsupported-version:2:0:None:None:add:Positional-only arguments are not supported by all versions included in the py-version setting:HIGH
-+using-positional-only-args-in-unsupported-version:2:0:2:None:add:Positional-only arguments are not supported by all versions included in the py-version setting:HIGH
-diff --git a/tests/functional/u/unused/unused_argument.txt b/tests/functional/u/unused/unused_argument.txt
-index bca2700ac..50f6c6694 100644
---- a/tests/functional/u/unused/unused_argument.txt
-+++ b/tests/functional/u/unused/unused_argument.txt
-@@ -3,8 +3,8 @@ unused-argument:3:23:3:29:test_unused:Unused argument 'second':HIGH
- unused-argument:32:29:32:32:Sub.newmethod:Unused argument 'aay':INFERENCE
- unused-argument:59:13:59:16:function:Unused argument 'arg':HIGH
- unused-argument:66:21:66:24:AAAA.method:Unused argument 'arg':INFERENCE
--unused-argument:73:0:None:None:AAAA.selected:Unused argument 'args':INFERENCE
--unused-argument:73:0:None:None:AAAA.selected:Unused argument 'kwargs':INFERENCE
-+unused-argument:73:0:73:None:AAAA.selected:Unused argument 'args':INFERENCE
-+unused-argument:73:0:73:None:AAAA.selected:Unused argument 'kwargs':INFERENCE
- unused-argument:92:23:92:26:BBBB.__init__:Unused argument 'arg':INFERENCE
- unused-argument:103:34:103:39:Ancestor.set_thing:Unused argument 'other':INFERENCE
- unused-argument:129:21:129:25:TestClassWithOnlyNew.__new__:Unused argument 'argA':INFERENCE
--- 
-2.53.0
-

diff --git a/0003-Bump-astroid-from-4.1.1-to-4.3.1.patch b/0003-Bump-astroid-from-4.1.1-to-4.3.1.patch
deleted file mode 100644
index 383c20f..0000000
--- a/0003-Bump-astroid-from-4.1.1-to-4.3.1.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 1836a6491cee9eaf0d5ca6fba5c1c5179764a746 Mon Sep 17 00:00:00 2001
-From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
-Date: Mon, 23 Mar 2026 14:05:59 +0000
-Subject: [PATCH 3/3] Bump astroid from 4.1.1 to 4.1.2
-
-Bumps [astroid](https://github.com/pylint-dev/astroid) from 4.1.1 to 4.1.2.
-- [Release notes](https://github.com/pylint-dev/astroid/releases)
-- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
-- [Commits](https://github.com/pylint-dev/astroid/compare/v4.1.1...v4.1.2)
-
----
-updated-dependencies:
-- dependency-name: astroid
-  dependency-version: 4.1.2
-  dependency-type: direct:production
-  update-type: version-update:semver-patch
-...
-
-Signed-off-by: dependabot[bot] <support@github.com>
----
- pyproject.toml            | 2 +-
- requirements_test_min.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index dbbf6befd..3f5bf9086 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -94,7 +94,7 @@ docs = [
- # Configuration for the build system
- test-min = [
-   # Base test dependencies
--  "astroid==4.1.1",                     # Pinned to a specific version for tests
-+  "astroid==4.3.1",                     # Pinned to a specific version for tests
-   "py~=1.11.0",
-   "pytest~=8.4",
-   "pytest-benchmark~=5.1",
-diff --git a/requirements_test_min.txt b/requirements_test_min.txt
-index 19c47617f..b958fdfb5 100644
---- a/requirements_test_min.txt
-+++ b/requirements_test_min.txt
-@@ -1,6 +1,6 @@
- .[testutils,spelling]
- # astroid dependency is also defined in pyproject.toml
--astroid==4.1.1   # Pinned to a specific version for tests
-+astroid==4.3.1   # Pinned to a specific version for tests
- typing-extensions~=4.15
- py~=1.11.0
- pytest~=8.4
--- 
-2.53.0
-

diff --git a/7829.patch b/7829.patch
deleted file mode 100644
index c0a374d..0000000
--- a/7829.patch
+++ /dev/null
@@ -1,469 +0,0 @@
-From 452e6f36ec6bbb77369555dfe9957cf3907129b3 Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Wed, 23 Nov 2022 13:26:48 +0100
-Subject: [PATCH 1/2] pytest 7.2 no longer depends on py so it's better to drop
- it.
-
-`tmp_path` fixture is newer and uses `pathlib.Path` from stdlib
-instead of `LocalPath` from `py._path`.
----
- tests/config/test_per_directory_config.py    |  7 +-
- tests/lint/test_pylinter.py                  | 15 ++--
- tests/pyreverse/test_pyreverse_functional.py |  7 +-
- tests/test_pylint_runners.py                 | 26 +++----
- tests/test_self.py                           | 77 ++++++++++----------
- 5 files changed, 65 insertions(+), 67 deletions(-)
-
-diff --git a/tests/config/test_per_directory_config.py b/tests/config/test_per_directory_config.py
-index 4fb656c60c..e0bf75e706 100644
---- a/tests/config/test_per_directory_config.py
-+++ b/tests/config/test_per_directory_config.py
-@@ -2,17 +2,16 @@
- # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
- # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
- 
--
--from py._path.local import LocalPath
-+from pathlib import Path
- 
- from pylint.lint import Run
- 
- 
--def test_fall_back_on_base_config(tmpdir: LocalPath) -> None:
-+def test_fall_back_on_base_config(tmp_path: Path) -> None:
-     """Test that we correctly fall back on the base config."""
-     # A file under the current dir should fall back to the highest level
-     # For pylint this is ./pylintrc
--    test_file = tmpdir / "test.py"
-+    test_file = tmp_path / "test.py"
-     runner = Run([__name__], exit=False)
-     assert id(runner.linter.config) == id(runner.linter._base_config)
- 
-diff --git a/tests/lint/test_pylinter.py b/tests/lint/test_pylinter.py
-index 153c05065e..1d0f438194 100644
---- a/tests/lint/test_pylinter.py
-+++ b/tests/lint/test_pylinter.py
-@@ -2,13 +2,14 @@
- # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
- # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
- 
-+import os
-+from pathlib import Path
- from typing import Any, NoReturn
- from unittest import mock
- from unittest.mock import patch
- 
- import pytest
- from _pytest.recwarn import WarningsRecorder
--from py._path.local import LocalPath
- from pytest import CaptureFixture
- 
- from pylint.lint.pylinter import PyLinter
-@@ -21,16 +22,16 @@ def raise_exception(*args: Any, **kwargs: Any) -> NoReturn:
- 
- @patch.object(FileState, "iter_spurious_suppression_messages", raise_exception)
- def test_crash_in_file(
--    linter: PyLinter, capsys: CaptureFixture[str], tmpdir: LocalPath
-+    linter: PyLinter, capsys: CaptureFixture[str], tmp_path: Path
- ) -> None:
-     with pytest.warns(DeprecationWarning):
-         args = linter.load_command_line_configuration([__file__])
--    linter.crash_file_path = str(tmpdir / "pylint-crash-%Y")
-+    linter.crash_file_path = str(tmp_path / "pylint-crash-%Y")
-     linter.check(args)
-     out, err = capsys.readouterr()
-     assert not out
-     assert not err
--    files = tmpdir.listdir()  # type: ignore[no-untyped-call]
-+    files = os.listdir(tmp_path)
-     assert len(files) == 1
-     assert "pylint-crash-20" in str(files[0])
-     assert any(m.symbol == "fatal" for m in linter.reporter.messages)
-@@ -43,17 +44,17 @@ def test_check_deprecation(linter: PyLinter, recwarn: WarningsRecorder) -> None:
- 
- 
- def test_crash_during_linting(
--    linter: PyLinter, capsys: CaptureFixture[str], tmpdir: LocalPath
-+    linter: PyLinter, capsys: CaptureFixture[str], tmp_path: Path
- ) -> None:
-     with mock.patch(
-         "pylint.lint.PyLinter.check_astroid_module", side_effect=RuntimeError
-     ):
--        linter.crash_file_path = str(tmpdir / "pylint-crash-%Y")
-+        linter.crash_file_path = str(tmp_path / "pylint-crash-%Y")
-         linter.check([__file__])
-         out, err = capsys.readouterr()
-         assert not out
-         assert not err
--        files = tmpdir.listdir()  # type: ignore[no-untyped-call]
-+        files = os.listdir(tmp_path)
-         assert len(files) == 1
-         assert "pylint-crash-20" in str(files[0])
-         assert any(m.symbol == "astroid-error" for m in linter.reporter.messages)
-diff --git a/tests/pyreverse/test_pyreverse_functional.py b/tests/pyreverse/test_pyreverse_functional.py
-index ce45d40879..0dc4fcb8cd 100644
---- a/tests/pyreverse/test_pyreverse_functional.py
-+++ b/tests/pyreverse/test_pyreverse_functional.py
-@@ -5,7 +5,6 @@
- from pathlib import Path
- 
- import pytest
--from py._path.local import LocalPath
- 
- from pylint.pyreverse.main import Run
- from pylint.testutils.pyreverse import (
-@@ -24,16 +23,16 @@
-     ids=CLASS_DIAGRAM_TEST_IDS,
- )
- def test_class_diagrams(
--    testfile: FunctionalPyreverseTestfile, tmpdir: LocalPath
-+    testfile: FunctionalPyreverseTestfile, tmp_path: Path
- ) -> None:
-     input_file = testfile.source
-     for output_format in testfile.options["output_formats"]:
-         with pytest.raises(SystemExit) as sys_exit:
--            args = ["-o", f"{output_format}", "-d", str(tmpdir)]
-+            args = ["-o", f"{output_format}", "-d", str(tmp_path)]
-             args.extend(testfile.options["command_line_args"])
-             args += [str(input_file)]
-             Run(args)
-         assert sys_exit.value.code == 0
-         assert testfile.source.with_suffix(f".{output_format}").read_text(
-             encoding="utf8"
--        ) == Path(tmpdir / f"classes.{output_format}").read_text(encoding="utf8")
-+        ) == (tmp_path / f"classes.{output_format}").read_text(encoding="utf8")
-diff --git a/tests/test_pylint_runners.py b/tests/test_pylint_runners.py
-index 8d69305353..06a16c3a57 100644
---- a/tests/test_pylint_runners.py
-+++ b/tests/test_pylint_runners.py
-@@ -16,11 +16,11 @@
- from unittest.mock import MagicMock, mock_open, patch
- 
- import pytest
--from py._path.local import LocalPath
- 
- from pylint import run_epylint, run_pylint, run_pyreverse, run_symilar
- from pylint.lint import Run
- from pylint.testutils import GenericTestReporter as Reporter
-+from pylint.testutils.utils import _test_cwd
- 
- if sys.version_info >= (3, 8):
-     from typing import Protocol
-@@ -34,20 +34,20 @@ def __call__(self, argv: Sequence[str] | None = None) -> NoReturn | None:
- 
- 
- @pytest.mark.parametrize("runner", [run_pylint, run_pyreverse, run_symilar])
--def test_runner(runner: _RunCallable, tmpdir: LocalPath) -> None:
-+def test_runner(runner: _RunCallable, tmp_path: pathlib.Path) -> None:
-     filepath = os.path.abspath(__file__)
-     testargs = ["", filepath]
--    with tmpdir.as_cwd():
-+    with _test_cwd(tmp_path):
-         with patch.object(sys, "argv", testargs):
-             with pytest.raises(SystemExit) as err:
-                 runner()
-             assert err.value.code == 0
- 
- 
--def test_epylint(tmpdir: LocalPath) -> None:
-+def test_epylint(tmp_path: pathlib.Path) -> None:
-     """TODO: 3.0 delete with epylint."""
-     filepath = os.path.abspath(__file__)
--    with tmpdir.as_cwd():
-+    with _test_cwd(tmp_path):
-         with patch.object(sys, "argv", ["", filepath]):
-             with pytest.raises(SystemExit) as err:
-                 with pytest.warns(DeprecationWarning):
-@@ -56,21 +56,21 @@ def test_epylint(tmpdir: LocalPath) -> None:
- 
- 
- @pytest.mark.parametrize("runner", [run_pylint, run_pyreverse, run_symilar])
--def test_runner_with_arguments(runner: _RunCallable, tmpdir: LocalPath) -> None:
-+def test_runner_with_arguments(runner: _RunCallable, tmp_path: pathlib.Path) -> None:
-     """Check the runners with arguments as parameter instead of sys.argv."""
-     filepath = os.path.abspath(__file__)
-     testargs = [filepath]
--    with tmpdir.as_cwd():
-+    with _test_cwd(tmp_path):
-         with pytest.raises(SystemExit) as err:
-             runner(testargs)
-         assert err.value.code == 0
- 
- 
--def test_epylint_with_arguments(tmpdir: LocalPath) -> None:
-+def test_epylint_with_arguments(tmp_path: pathlib.Path) -> None:
-     """TODO: 3.0 delete with epylint."""
-     filepath = os.path.abspath(__file__)
-     testargs = [filepath]
--    with tmpdir.as_cwd():
-+    with _test_cwd(tmp_path):
-         with pytest.raises(SystemExit) as err:
-             with pytest.warns(DeprecationWarning):
-                 run_epylint(testargs)
-@@ -78,7 +78,7 @@ def test_epylint_with_arguments(tmpdir: LocalPath) -> None:
- 
- 
- def test_pylint_argument_deduplication(
--    tmpdir: LocalPath, tests_directory: pathlib.Path
-+    tmp_path: pathlib.Path, tests_directory: pathlib.Path
- ) -> None:
-     """Check that the Pylint runner does not over-report on duplicate
-     arguments.
-@@ -90,7 +90,7 @@ def test_pylint_argument_deduplication(
-     testargs = shlex.split("--report n --score n --max-branches 13")
-     testargs.extend([filepath] * 4)
-     exit_stack = contextlib.ExitStack()
--    exit_stack.enter_context(tmpdir.as_cwd())
-+    exit_stack.enter_context(_test_cwd(tmp_path))
-     exit_stack.enter_context(patch.object(sys, "argv", testargs))
-     err = exit_stack.enter_context(pytest.raises(SystemExit))
-     with exit_stack:
-@@ -99,7 +99,7 @@ def test_pylint_argument_deduplication(
- 
- 
- def test_pylint_run_jobs_equal_zero_dont_crash_with_cpu_fraction(
--    tmpdir: LocalPath,
-+    tmp_path: pathlib.Path,
- ) -> None:
-     """Check that the pylint runner does not crash if `pylint.lint.run._query_cpu`
-     determines only a fraction of a CPU core to be available.
-@@ -122,7 +122,7 @@ def _mock_path(*args: str, **kwargs: Any) -> pathlib.Path:
- 
-     filepath = os.path.abspath(__file__)
-     testargs = [filepath, "--jobs=0"]
--    with tmpdir.as_cwd():
-+    with _test_cwd(tmp_path):
-         with pytest.raises(SystemExit) as err:
-             with patch("builtins.open", _mock_open):
-                 with patch("pylint.lint.run.Path", _mock_path):
-diff --git a/tests/test_self.py b/tests/test_self.py
-index f2e99bf754..587b8bb589 100644
---- a/tests/test_self.py
-+++ b/tests/test_self.py
-@@ -27,7 +27,6 @@
- from unittest.mock import patch
- 
- import pytest
--from py._path.local import LocalPath
- 
- from pylint import extensions, modify_sys_path
- from pylint.constants import MAIN_CHECKER_NAME, MSG_TYPES_STATUS
-@@ -162,7 +161,7 @@ def _test_output(
-             assert unexpected_output.strip() not in actual_output.strip()
- 
-     def _test_output_file(
--        self, args: list[str], filename: LocalPath, expected_output: str
-+        self, args: list[str], filename: Path, expected_output: str
-     ) -> None:
-         """Run Pylint with the ``output`` option set (must be included in
-         the ``args`` passed to this method!) and check the file content afterwards.
-@@ -555,8 +554,8 @@ def test_stdin_missing_modulename(self) -> None:
-         self._runtest(["--from-stdin"], code=32)
- 
-     @pytest.mark.parametrize("write_bpy_to_disk", [False, True])
--    def test_relative_imports(self, write_bpy_to_disk: bool, tmpdir: LocalPath) -> None:
--        a = tmpdir.join("a")  # type: ignore[no-untyped-call]
-+    def test_relative_imports(self, write_bpy_to_disk: bool, tmp_path: Path) -> None:
-+        a = tmp_path / "a"
- 
-         b_code = textwrap.dedent(
-             """
-@@ -576,12 +575,12 @@ def foobar(arg):
-         )
- 
-         a.mkdir()
--        a.join("__init__.py").write("")
-+        (a / "__init__.py").write_text("")
-         if write_bpy_to_disk:
--            a.join("b.py").write(b_code)
--        a.join("c.py").write(c_code)
-+            (a / "b.py").write_text(b_code)
-+        (a / "c.py").write_text(c_code)
- 
--        with tmpdir.as_cwd():
-+        with _test_cwd(tmp_path):
-             # why don't we start pylint in a sub-process?
-             expected = (
-                 "************* Module a.b\n"
-@@ -880,34 +879,34 @@ def test_modify_sys_path() -> None:
-         ],
-     )
-     def test_do_not_import_files_from_local_directory(
--        self, tmpdir: LocalPath, args: list[str]
-+        self, tmp_path: Path, args: list[str]
-     ) -> None:
-         for path in ("astroid.py", "hmac.py"):
--            file_path = tmpdir / path
--            file_path.write("'Docstring'\nimport completely_unknown\n")
-+            file_path = tmp_path / path
-+            file_path.write_text("'Docstring'\nimport completely_unknown\n")
-             pylint_call = [sys.executable, "-m", "pylint"] + args + [path]
--            with tmpdir.as_cwd():
--                subprocess.check_output(pylint_call, cwd=str(tmpdir))
-+            with _test_cwd(tmp_path):
-+                subprocess.check_output(pylint_call, cwd=str(tmp_path))
-             new_python_path = os.environ.get("PYTHONPATH", "").strip(":")
--            with tmpdir.as_cwd(), _test_environ_pythonpath(f"{new_python_path}:"):
-+            with _test_cwd(tmp_path), _test_environ_pythonpath(f"{new_python_path}:"):
-                 # Appending a colon to PYTHONPATH should not break path stripping
-                 # https://github.com/PyCQA/pylint/issues/3636
--                subprocess.check_output(pylint_call, cwd=str(tmpdir))
-+                subprocess.check_output(pylint_call, cwd=str(tmp_path))
- 
-     @staticmethod
-     def test_import_plugin_from_local_directory_if_pythonpath_cwd(
--        tmpdir: LocalPath,
-+        tmp_path: Path,
-     ) -> None:
--        p_plugin = tmpdir / "plugin.py"
--        p_plugin.write("# Some plugin content")
-+        p_plugin = tmp_path / "plugin.py"
-+        p_plugin.write_text("# Some plugin content")
-         if sys.platform == "win32":
-             python_path = "."
-         else:
-             python_path = f"{os.environ.get('PYTHONPATH', '').strip(':')}:."
--        with tmpdir.as_cwd(), _test_environ_pythonpath(python_path):
-+        with _test_cwd(tmp_path), _test_environ_pythonpath(python_path):
-             args = [sys.executable, "-m", "pylint", "--load-plugins", "plugin"]
-             process = subprocess.run(
--                args, cwd=str(tmpdir), stderr=subprocess.PIPE, check=False
-+                args, cwd=str(tmp_path), stderr=subprocess.PIPE, check=False
-             )
-             assert (
-                 "AttributeError: module 'plugin' has no attribute 'register'"
-@@ -915,18 +914,18 @@ def test_import_plugin_from_local_directory_if_pythonpath_cwd(
-             )
- 
-     def test_allow_import_of_files_found_in_modules_during_parallel_check(
--        self, tmpdir: LocalPath
-+        self, tmp_path: Path
-     ) -> None:
--        test_directory = tmpdir / "test_directory"
-+        test_directory = tmp_path / "test_directory"
-         test_directory.mkdir()
-         spam_module = test_directory / "spam.py"
--        spam_module.write("'Empty'")
-+        spam_module.write_text("'Empty'")
- 
-         init_module = test_directory / "__init__.py"
--        init_module.write("'Empty'")
-+        init_module.write_text("'Empty'")
- 
-         # For multiple jobs we could not find the `spam.py` file.
--        with tmpdir.as_cwd():
-+        with _test_cwd(tmp_path):
-             args = [
-                 "-j2",
-                 "--disable=missing-docstring, missing-final-newline",
-@@ -935,7 +934,7 @@ def test_allow_import_of_files_found_in_modules_during_parallel_check(
-             self._runtest(args, code=0)
- 
-         # A single job should be fine as well
--        with tmpdir.as_cwd():
-+        with _test_cwd(tmp_path):
-             args = [
-                 "-j1",
-                 "--disable=missing-docstring, missing-final-newline",
-@@ -944,11 +943,11 @@ def test_allow_import_of_files_found_in_modules_during_parallel_check(
-             self._runtest(args, code=0)
- 
-     @staticmethod
--    def test_can_list_directories_without_dunder_init(tmpdir: LocalPath) -> None:
--        test_directory = tmpdir / "test_directory"
-+    def test_can_list_directories_without_dunder_init(tmp_path: Path) -> None:
-+        test_directory = tmp_path / "test_directory"
-         test_directory.mkdir()
-         spam_module = test_directory / "spam.py"
--        spam_module.write("'Empty'")
-+        spam_module.write_text("'Empty'")
- 
-         subprocess.check_output(
-             [
-@@ -958,7 +957,7 @@ def test_can_list_directories_without_dunder_init(tmpdir: LocalPath) -> None:
-                 "--disable=missing-docstring, missing-final-newline",
-                 "test_directory",
-             ],
--            cwd=str(tmpdir),
-+            cwd=str(tmp_path),
-             stderr=subprocess.PIPE,
-         )
- 
-@@ -976,9 +975,9 @@ def test_regression_parallel_mode_without_filepath(self) -> None:
-         )
-         self._test_output([path, "-j2"], expected_output="")
- 
--    def test_output_file_valid_path(self, tmpdir: LocalPath) -> None:
-+    def test_output_file_valid_path(self, tmp_path: Path) -> None:
-         path = join(HERE, "regrtest_data", "unused_variable.py")
--        output_file = tmpdir / "output.txt"
-+        output_file = tmp_path / "output.txt"
-         expected = "Your code has been rated at 7.50/10"
-         self._test_output_file(
-             [path, f"--output={output_file}"],
-@@ -1058,10 +1057,10 @@ def test_fail_on_info_only_exit_code(self, args: list[str], expected: int) -> No
-         ],
-     )
-     def test_output_file_can_be_combined_with_output_format_option(
--        self, tmpdir: LocalPath, output_format: str, expected_output: str
-+        self, tmp_path: Path, output_format: str, expected_output: str
-     ) -> None:
-         path = join(HERE, "regrtest_data", "unused_variable.py")
--        output_file = tmpdir / "output.txt"
-+        output_file = tmp_path / "output.txt"
-         self._test_output_file(
-             [path, f"--output={output_file}", f"--output-format={output_format}"],
-             output_file,
-@@ -1069,10 +1068,10 @@ def test_output_file_can_be_combined_with_output_format_option(
-         )
- 
-     def test_output_file_can_be_combined_with_custom_reporter(
--        self, tmpdir: LocalPath
-+        self, tmp_path: Path
-     ) -> None:
-         path = join(HERE, "regrtest_data", "unused_variable.py")
--        output_file = tmpdir / "output.txt"
-+        output_file = tmp_path / "output.txt"
-         # It does not really have to be a truly custom reporter.
-         # It is only important that it is being passed explicitly to ``Run``.
-         myreporter = TextReporter()
-@@ -1083,9 +1082,9 @@ def test_output_file_can_be_combined_with_custom_reporter(
-         )
-         assert output_file.exists()
- 
--    def test_output_file_specified_in_rcfile(self, tmpdir: LocalPath) -> None:
--        output_file = tmpdir / "output.txt"
--        rcfile = tmpdir / "pylintrc"
-+    def test_output_file_specified_in_rcfile(self, tmp_path: Path) -> None:
-+        output_file = tmp_path / "output.txt"
-+        rcfile = tmp_path / "pylintrc"
-         rcfile_contents = textwrap.dedent(
-             f"""
-         [MAIN]
-
-From a17ad569973b5a8e3e0a88f43c4d7544e7c6fb0a Mon Sep 17 00:00:00 2001
-From: "pre-commit-ci[bot]"
- <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-Date: Wed, 23 Nov 2022 12:28:23 +0000
-Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks
-
-for more information, see https://pre-commit.ci
----
- tests/pyreverse/test_pyreverse_functional.py | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/tests/pyreverse/test_pyreverse_functional.py b/tests/pyreverse/test_pyreverse_functional.py
-index 0dc4fcb8cd..15fd1978b6 100644
---- a/tests/pyreverse/test_pyreverse_functional.py
-+++ b/tests/pyreverse/test_pyreverse_functional.py
-@@ -22,9 +22,7 @@
-     CLASS_DIAGRAM_TESTS,
-     ids=CLASS_DIAGRAM_TEST_IDS,
- )
--def test_class_diagrams(
--    testfile: FunctionalPyreverseTestfile, tmp_path: Path
--) -> None:
-+def test_class_diagrams(testfile: FunctionalPyreverseTestfile, tmp_path: Path) -> None:
-     input_file = testfile.source
-     for output_format in testfile.options["output_formats"]:
-         with pytest.raises(SystemExit) as sys_exit:

diff --git a/fix-astroid-4.3-compatibility.patch b/fix-astroid-4.3-compatibility.patch
deleted file mode 100644
index a2f8fd8..0000000
--- a/fix-astroid-4.3-compatibility.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- pylint-4.0.7/pylint/checkers/variables.py	2026-08-09 16:11:28.000000000 -0300
-+++ pylint-4.0.7-build/pylint-4.0.7/pylint/checkers/variables.py	2026-08-18 12:49:07.141826576 -0300
-@@ -217,7 +217,7 @@ def _detect_global_scope(
- def _infer_name_module(node: nodes.Import, name: str) -> Generator[InferenceResult]:
-     context = astroid.context.InferenceContext()
-     context.lookupname = name
--    return node.infer(context, asname=False)  # type: ignore[no-any-return]
-+    return node.infer(context)  # type: ignore[no-any-return]
- 
- 
- def _fix_dot_imports(
---- pylint-4.0.7/tests/functional/u/ungrouped_imports_isort_compatible.py	2026-08-09 16:11:28.000000000 -0300
-+++ pylint-4.0.7-build/pylint-4.0.7/tests/functional/u/ungrouped_imports_isort_compatible.py	2026-08-18 12:49:10.699902385 -0300
-@@ -3,4 +3,4 @@
- import astroid
- import isort
- from astroid import are_exclusive, decorators
--from astroid.modutils import get_module_part, is_standard_module
-+from astroid.modutils import get_module_part, is_stdlib_module

diff --git a/fix-pytest-9.1-parametrize.patch b/fix-pytest-9.1-parametrize.patch
deleted file mode 100644
index ba58976..0000000
--- a/fix-pytest-9.1-parametrize.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Pierre-Sassoulas <pierre.sassoulas@gmail.com>
-Subject: Fix test compatibility with pytest >= 9.1
-
-Pytest 9.1 deprecated non-Collection iterables in parametrize
-(pytest-dev/pytest#13409). Convert the generator expression to a list
-comprehension so the argvalues are a proper Collection.
-
-Extracted from upstream merge commit 50cd472.
-
-diff --git a/tests/checkers/unittest_unicode/unittest_invalid_encoding.py b/tests/checkers/unittest_unicode/unittest_invalid_encoding.py
---- a/tests/checkers/unittest_unicode/unittest_invalid_encoding.py
-+++ b/tests/checkers/unittest_unicode/unittest_invalid_encoding.py
-@@ -139,7 +139,7 @@
- 
-     @pytest.mark.parametrize(
-         "codec, msg",
--        (pytest.param(codec, msg, id=codec) for codec, msg in CODEC_AND_MSG),
-+        [pytest.param(codec, msg, id=codec) for codec, msg in CODEC_AND_MSG],
-     )
-     def test___check_codec(
-         self, codec: str, msg: tuple[pylint.testutils.MessageTest]

diff --git a/pep639.patch b/pep639.patch
index 826383b..d39b9fa 100644
--- a/pep639.patch
+++ b/pep639.patch
@@ -1,10 +1,10 @@
---- pylint-3.3.6/pyproject.toml~	2025-03-20 10:21:05.597486341 -0500
-+++ pylint-3.3.6/pyproject.toml	2025-03-20 10:23:55.768622830 -0500
-@@ -8,8 +8,6 @@
+--- pylint-4.1.1/pyproject.toml~	2026-09-29 16:07:37.000000000 -0500
++++ pylint-4.1.1/pyproject.toml	2026-09-30 08:06:29.693149303 -0500
+@@ -7,8 +7,6 @@
  description = "python code static checker"
  readme = "README.rst"
  keywords = [ "lint", "linter", "python", "static code analysis" ]
--license = "GPL-2.0-or-later"
+-license = "GPL-2.0-OR-later"
 -license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
  authors = [
    { name = "Python Code Quality Authority", email = "code-quality@python.org" },

diff --git a/pylint.spec b/pylint.spec
index 2960716..d0dc06b 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -3,9 +3,9 @@
 %undefine _py3_shebang_s
 
 %global forgeurl https://github.com/PyCQA/pylint
-%global basever 4.0.10
+%global basever 4.1.2
 #%%global prever b0
-Version:        4.0.10
+Version:        4.1.2
 %forgemeta
 
 Name:           pylint
@@ -16,22 +16,6 @@ URL:            https://github.com/pylint-dev/pylint
 Source0:        %{forgeurl}/archive/v%{basever}/pylint-%{basever}.tar.gz
 #Patch0:         7829.patch apply when rebased then re-enable tests
 Patch:          pep639.patch
-# Astroid version dep bumps, backported to 4.0.5
-# Upstream 83741dd1d6344924088e7a81652f35988fc364f2
-Patch:          0001-Bump-astroid-to-4.0.3.patch
-# Upstream 40817ce1a1b62a41486d81eff5b2db3bd9c23755
-Patch:          0002-Bump-astroid-to-4.1.1-10843.patch
-# Upstream e525835b22b36f95d209d73a16341b35846cf9db
-Patch:          0003-Bump-astroid-from-4.1.1-to-4.3.1.patch
-# Fix test failures with Python 3.15
-# https://github.com/pylint-dev/pylint/issues/10982
-Patch:          python315.patch
-# Fix test compatibility with pytest >= 9.1 (non-Collection parametrize)
-# Extracted from upstream merge commit 50cd472
-Patch:          fix-pytest-9.1-parametrize.patch
-# Fix compatibility with astroid >= 4.3.0 (removal of asname parameter from infer)
-# Opened upstream PR for review https://github.com/pylint-dev/pylint/pull/11298
-Patch:          fix-astroid-4.3-compatibility.patch
 
 BuildArch:      noarch
 
@@ -100,7 +84,8 @@ done
   --deselect=tests/test_functional.py::test_functional[unspecified_encoding_py38] \
   --deselect=tests/test_functional.py::test_functional[bad_open_mode] \
   --deselect=tests/lint/unittest_lint.py::test_enable_message_block \
-  --deselect=tests/test_functional.py::test_functional[unused_argument]
+  --deselect=tests/test_functional.py::test_functional[unused_argument] \
+  --deselect=tests/test_functional.py::test_functional[no_name_in_module]
 
 %files
 %doc CONTRIBUTORS.txt

diff --git a/python315.patch b/python315.patch
deleted file mode 100644
index c832e73..0000000
--- a/python315.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-diff --git a/tests/functional/d/deprecated/deprecated_methods_py36.rc b/tests/functional/d/deprecated/deprecated_methods_py36.rc
-new file mode 100644
-index 0000000..e91017c
---- /dev/null
-+++ b/tests/functional/d/deprecated/deprecated_methods_py36.rc
-@@ -0,0 +1,2 @@
-+[testoptions]
-+max_pyver=3.14
-diff --git a/tests/functional/n/no/no_name_in_module.315.txt b/tests/functional/n/no/no_name_in_module.315.txt
-new file mode 100644
-index 0000000..421094f
---- /dev/null
-+++ b/tests/functional/n/no/no_name_in_module.315.txt
-@@ -0,0 +1,12 @@
-+no-name-in-module:5:0:5:23::No name 'tutu' in module 'collections':UNDEFINED
-+no-name-in-module:6:0:6:28::No name 'toto' in module 'collections':UNDEFINED
-+no-member:16:6:16:17::Module 'sys' has no 'stdoout' member; maybe 'stdout'?:INFERENCE
-+no-name-in-module:23:0:23:34::No name 'compiile' in module 're':UNDEFINED
-+no-name-in-module:23:0:23:34::No name 'findiiter' in module 're':UNDEFINED
-+pointless-statement:26:0:26:23::Statement seems to have no effect:UNDEFINED
-+no-name-in-module:34:4:34:36::No name 'anything' in module 'collections':UNDEFINED
-+no-name-in-module:49:4:49:37::No name 'indeed_missing' in module 'collections':UNDEFINED
-+no-name-in-module:54:4:54:27::No name 'emit' in module 'collections':UNDEFINED
-+no-name-in-module:71:8:71:32::No name 'emit2' in module 'collections':UNDEFINED
-+no-name-in-module:76:0:76:34::No name 'lala' in module 'functional.n.no.no_self_argument':UNDEFINED
-+no-name-in-module:77:0:77:39::No name 'bla' in module 'functional.n.no.no_self_argument':UNDEFINED
-diff --git a/tests/functional/n/no/no_name_in_module.py b/tests/functional/n/no/no_name_in_module.py
-index 6d34245..99099f9 100644
---- a/tests/functional/n/no/no_name_in_module.py
-+++ b/tests/functional/n/no/no_name_in_module.py
-@@ -7,8 +7,8 @@ from collections import toto  # [no-name-in-module]
- toto.yo()
- 
- from xml.etree import ElementTree
--ElementTree.nonexistent_function()  # [no-member]
--ElementTree.another.nonexistent.function()  # [no-member]
-+ElementTree.nonexistent_function()  # <3.15: [no-member]
-+ElementTree.another.nonexistent.function()  # <3.15: [no-member]
- 
- 
- import sys
-diff --git a/tests/functional/u/unspecified_encoding_py38.315.txt b/tests/functional/u/unspecified_encoding_py38.315.txt
-new file mode 100644
-index 0000000..6b687c7
---- /dev/null
-+++ b/tests/functional/u/unspecified_encoding_py38.315.txt
-@@ -0,0 +1,41 @@
-+unspecified-encoding:13:0:13:14::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:14:0:14:20::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:15:0:15:20::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:16:0:16:34::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:17:0:17:19::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:26:5:26:19::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:29:5:29:34::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:33:5:33:45::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:38:0:38:17::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:39:0:39:23::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:40:0:40:23::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:41:0:41:37::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:50:5:50:22::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:53:5:53:37::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:57:5:57:48::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:66:0:66:26::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:67:0:67:39::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:68:0:68:50::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:75:0:75:35::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:76:0:76:50::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:77:0:77:61::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:81:0:81:21::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:82:0:82:25::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:83:0:83:25::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:84:0:84:39::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:149:0:149:23::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:152:0:152:28::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:155:0:155:26::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:158:0:158:35::Using open without explicitly specifying an encoding:HIGH
-+bad-open-mode:161:0:161:25::"""None"" is not a valid mode for open.":HIGH
-+unspecified-encoding:161:0:161:25::Using open without explicitly specifying an encoding:HIGH
-+bad-open-mode:164:0:164:19::"""2"" is not a valid mode for open.":HIGH
-+unspecified-encoding:164:0:164:19::Using open without explicitly specifying an encoding:HIGH
-+bad-open-mode:176:0:176:24::"""5"" is not a valid mode for open.":INFERENCE
-+unspecified-encoding:176:0:176:24::Using open without explicitly specifying an encoding:HIGH
-+bad-open-mode:177:0:177:27::"""5"" is not a valid mode for open.":INFERENCE
-+unspecified-encoding:177:0:177:27::Using open without explicitly specifying an encoding:HIGH
-+unspecified-encoding:180:5:180:29::Using open without explicitly specifying an encoding:INFERENCE
-+unspecified-encoding:183:0:183:29::Using open without explicitly specifying an encoding:INFERENCE
-+unspecified-encoding:186:0:186:44::Using open without explicitly specifying an encoding:INFERENCE
-+unspecified-encoding:193:0:193:34::Using open without explicitly specifying an encoding:INFERENCE
-diff --git a/tests/testutils/test_functional_testutils.py b/tests/testutils/test_functional_testutils.py
-index 2b1574e..6691e17 100644
---- a/tests/testutils/test_functional_testutils.py
-+++ b/tests/testutils/test_functional_testutils.py
-@@ -7,6 +7,7 @@
- import contextlib
- import os
- import os.path
-+import sys
- import shutil
- import tempfile
- from collections.abc import Iterator
-@@ -135,17 +136,19 @@ def test_minimal_messages_config_enabled(pytest_config: MagicMock) -> None:
-         str(DATA_DIRECTORY / "m"), "minimal_messages_config.py"
-     )
-     mod_test = testutils.LintModuleTest(test_file, pytest_config)
-+    expected_enabled = [
-+        "consider-using-with",
-+        "consider-using-f-string",
-+        # Always enable fatal errors: important not to have false negatives
-+        "astroid-error",
-+        "fatal",
-+        "syntax-error",
-+    ]
-+    if sys.version_info < (3, 15):
-+        expected_enabled.append("unspecified-encoding")
-     assert all(
-         mod_test._linter.is_message_enabled(msgid)
--        for msgid in (
--            "consider-using-with",
--            "unspecified-encoding",
--            "consider-using-f-string",
--            # Always enable fatal errors: important not to have false negatives
--            "astroid-error",
--            "fatal",
--            "syntax-error",
--        )
-+        for msgid in expected_enabled
-     )
-     assert not mod_test._linter.is_message_enabled("unused-import")
- 

diff --git a/sources b/sources
index 8df0ca1..a5cd779 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pylint-4.0.10.tar.gz) = 655c410a8753b5d0581c9d5fc94bd3f798a9c0d903e558933bba1dd708387e7efdf94b969cee599a55e73baecf4f32c23459bee063f8eab26cb55a3fd1306ec3
+SHA512 (pylint-4.1.2.tar.gz) = 89d95154337dc0236ca88e77631149f112cb8d7c087374266ac7b91e3504ee21fb547a66e1d685c11a00792c70a1d05534eae6837aba9a4664ae7656603234c6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 13:05 [rpms/pylint] rawhide: 4.1.2 Gwyn Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox