Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pylint for openSUSE:Factory 
checked in at 2026-08-27 18:51:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylint (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylint.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylint"

Thu Aug 27 18:51:07 2026 rev:56 rq:1373747 version:4.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes      
2026-05-12 19:27:03.256046947 +0200
+++ /work/SRC/openSUSE:Factory/.python-pylint.new.1265/python-pylint.changes    
2026-08-27 18:54:41.643529957 +0200
@@ -1,0 +2,95 @@
+Wed Aug 26 06:31:36 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 4.0.7:
+  ## False Positives Fixed
+  * Fix a false positive for invalid-name when a module-level variable is
+    assigned an instance of a TypedDict subclass.
+  * implicit-str-concat is no longer emitted for an implicit concatenation of
+    a raw string with a non-raw one (e.g. r"\d" "\n").
+  * Fix a false positive for invalid-name (C0103) where the default
+    typevar-rgx rejected TypeVar names containing digits, such as Ec2T.
+  * Fix a false positive for too-many-arguments in (non-static) methods and
+    classmethods.
+  * Fix a false positive for no-member when a value is inferred to several
+    possible types and at least one of them defines a dynamic __getattr__.
+  * Fix a false positive for function-redefined (E0102) when reusing names
+    that match dummy-variables-rgx (such as _), which is common for
+    pytest-bdd step definitions.
+  * Fix undefined-variable false positive when a name used as a metaclass
+    argument in a nested class is referenced again later in the module.
+  * Fix a false positive for unused-variable where global variables matching
+    dummy-variables-rgx were still reported as unused when
+    allow-global-unused-variables was disabled.
+  * Fix a false positive for bad-dunder-name when there is a user-defined
+    __suppress_context__ attribute on exception subclasses.
+  * Fix used-before-assignment false positive for names bound by from X
+    import * in every branch of an if/elif/else chain.
+  * Check for metaclass call signature when evaluating arguments of a class
+    call.
+  * Fix false positive method-hidden when cached_property is imported
+    directly with from functools import cached_property.
+  ## Other Bug Fixes
+  * Fix a crash in the bad-open-mode check when the mode argument of open is
+    the NotImplemented constant (Python >= 3.14).
+  * Fix a crash in the not-context-manager and not-async-context-manager
+    checks when the context manager infers to a value without a name, such as
+    the slice returned by with slice(...) / async with slice(...).
+  * Fix a false positive for nested-min-max (W3301) when the inner min/max
+    call carries a keyword argument such as key=.
+  * Fix a false suggestion from nested-min-max (W3301): when rewriting a
+    nested min/max into a splat call, arguments positioned after the splatted
+    call were silently dropped, so the suggested code changed the result.
+  * Fix a false positive for too-many-locals (R0914): PEP 695 type
+    parameters, i.e. the T1 and T2 in a generic def f[T1, T2] signature, were
+    counted as local variables.
+  * Fix literal-comparison (R0123) emitting a corrupted suggestion for
+    identifiers that contain is (e.g. axis is 5 was rendered ax== == 5).
+  * Fix false positives in bad-string-format-type (E1307) for valid %
+    formatting: %i/%u applied to a float (both truncate like %d) and %a
+    applied to any non-int type (%a is type-agnostic like %s/%r).
+  * Fix a false positive for :ref:useless-parent-delegation when an override
+    changes the default value of a positional-only parameter.
+  * Fixed a crash in comparison-with-callable when comparing a lambda
+    assigned as a class attribute.
+  * too-many-lines could be reported at the line of a # pylint:
+    disable=too-many-lines pragma found in a previously linted module.
+  * Fix a crash when a call unpacks a dictionary whose keys are not string
+    constants, e.g. copy.copy(**{-1: 1}).
+  * Fix the suggestion of unnecessary-comprehension for a dict comprehension
+    that iterates a dict directly, e.g. {a: b for a, b in d}.
+  * Fix a crash in consider-using-enumerate when the for loop target is an
+    attribute (e.g. for self.idx in range(len(x))) rather than a simple
+    variable name.
+  * Fix crash when checking attribute-defined-outside-init on classes that
+    inherit from a base class pylint cannot fully analyze.
+  * Fix add_message silently overwriting an explicit col_offset=0 (or any
+    other zero-valued line/end_lineno/end_col_offset) with the AST node's
+    value.
+  * Fix a crash in the name checker when a non-constant value is passed as
+    the covariant or contravariant argument of a TypeVar.
+  * Fix a crash in the variable checker when a name resolves to a
+    dataclass-synthesized __init__, which has no line number.
+  * Fix a crash in the variables checker when NotImplemented is used as the
+    test of an if statement, which raised a TypeError in a boolean context on
+    Python 3.14.
+  * Avoided a crash from the implicit booleaness checker for len() calls
+    without arguments.
+  * Fix a crash in the variables checker when a class declares a metaclass
+    whose attribute-access chain does not bottom out at a name.
+  * Fix a crash in the name checker when a chained assignment of a TypeAlias
+    value has a non-name target such as a Subscript (for example a[0] = b =
+    TypeAlias).
+  * Fix a crash in the deprecated checker when __import__ is called with a
+    non-string constant argument (for example __import__(1)).
+  * Avoid crashing when enum member inference fails while checking enum
+    subclasses.
+  * Prevent a crash in unexpected-keyword-arg analysis when
+    infer_call_result() raises InferenceError while inspecting decorator
+    return signatures.
+  * Fix a crash in the typecheck checker when a class uses a non-class object
+    (for example a function) as its metaclass= argument.
+  * Allow digits in ParamSpec and TypeVarTuple names for invalid-name check.
+- Add patch support-astroid-4.3.patch:
+  * Support changes required by astroid 4.3.0 and above.
+
+-------------------------------------------------------------------

Old:
----
  pylint-4.0.5-gh.tar.gz

New:
----
  pylint-4.0.7-gh.tar.gz
  support-astroid-4.3.patch

----------(New B)----------
  New:  * Allow digits in ParamSpec and TypeVarTuple names for invalid-name 
check.
- Add patch support-astroid-4.3.patch:
  * Support changes required by astroid 4.3.0 and above.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pylint.spec ++++++
--- /var/tmp/diff_new_pack.QenR9z/_old  2026-08-27 18:54:42.558561903 +0200
+++ /var/tmp/diff_new_pack.QenR9z/_new  2026-08-27 18:54:42.560561973 +0200
@@ -24,13 +24,15 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pylint
-Version:        4.0.5
+Version:        4.0.7
 Release:        0
 Summary:        Syntax and style checker for Python code
 License:        GPL-2.0-or-later
 URL:            https://github.com/pylint-dev/pylint
 # Tests are no longer packaged in the PyPI sdist, use GitHub archive
 Source:         
https://github.com/pylint-dev/pylint/archive/refs/tags/v%{version}.tar.gz#/pylint-%{version}-gh.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#pylint-dev/pylint#11153
+Patch0:         support-astroid-4.3.patch
 BuildRequires:  %{python_module base >= 3.10}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -40,7 +42,7 @@
 Requires:       python-dill >= 0.3.7
 Requires:       python-platformdirs >= 2.2
 Requires:       python-tomlkit >= 0.10.1
-Requires:       (python-astroid >= 4.2.0 with python-astroid < 4.3.0)
+Requires:       (python-astroid >= 4.3.0 with python-astroid < 4.4.0)
 Requires:       (python-isort >= 5 with python-isort < 9)
 Requires:       (python-mccabe >= 0.6 with python-mccabe < 0.8)
 Requires:       (python-tomli >= 1.1.0 if python-base < 3.11)
@@ -48,7 +50,7 @@
 BuildArch:      noarch
 %if %{with tests}
 # SECTION pylint deps
-BuildRequires:  %{python_module astroid >= 4.2.0 with %python-astroid < 4.3.0}
+BuildRequires:  %{python_module astroid >= 4.3.0 with %python-astroid < 4.4.0}
 BuildRequires:  %{python_module dill >= 0.3.7}
 BuildRequires:  %{python_module enchant}
 BuildRequires:  %{python_module isort >= 5 with %python-isort < 9}

++++++ pylint-4.0.5-gh.tar.gz -> pylint-4.0.7-gh.tar.gz ++++++
++++ 3036 lines of diff (skipped)

++++++ support-astroid-4.3.patch ++++++
>From c88f2bec24f8aaf678d5ae1e0bfd9eb2ca403aad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?=
 <[email protected]>
Date: Sat, 4 Jul 2026 19:13:22 +0200
Subject: [PATCH 1/2] Bump `astroid` to `4.2.0b4`

---
 pylint/checkers/variables.py | 2 +-
 pyproject.toml               | 4 ++--
 requirements_test_min.txt    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Index: pylint-4.0.7/pylint/checkers/variables.py
===================================================================
--- pylint-4.0.7.orig/pylint/checkers/variables.py
+++ pylint-4.0.7/pylint/checkers/variables.py
@@ -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(
Index: pylint-4.0.7/pyproject.toml
===================================================================
--- pylint-4.0.7.orig/pyproject.toml
+++ pylint-4.0.7/pyproject.toml
@@ -40,7 +40,7 @@ dependencies = [
   # Also upgrade 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.3.0,<=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.2",                     # 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",
Index: pylint-4.0.7/requirements_test_min.txt
===================================================================
--- pylint-4.0.7.orig/requirements_test_min.txt
+++ pylint-4.0.7/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.3.1  # Pinned to a specific version for tests
 typing-extensions~=4.15
 py~=1.11.0
 pytest~=8.4

Reply via email to