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 2025-11-18 15:33:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pylint (Old) and /work/SRC/openSUSE:Factory/.python-pylint.new.2061 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pylint" Tue Nov 18 15:33:38 2025 rev:51 rq:1318121 version:4.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pylint/python-pylint.changes 2025-09-15 19:55:57.562793702 +0200 +++ /work/SRC/openSUSE:Factory/.python-pylint.new.2061/python-pylint.changes 2025-11-18 15:35:43.725039478 +0100 @@ -1,0 +2,118 @@ +Mon Nov 17 04:33:49 UTC 2025 - Steve Kowalik <[email protected]> + +- Update to 4.0.3: + * Add Enum dunder methods _generate_next_value_, _missing_, _numeric_repr_, + _add_alias_, and _add_value_alias_ to the list passed to + --good-dunder-names. + * Fixed false positive for invalid-name with typing.Annotated. + * Fix false positive for f-string-without-interpolation with template + strings when using format spec. + * Fix a false positive when an UPPER_CASED class attribute was raising an + invalid-name when typed with Final. + * Fix a false positive for unbalanced-tuple-unpacking when a tuple is + assigned to a function call and the structure of the function's return + value is ambiguous. + * Make 'ignore' option work as expected again. + * Fix crash for consider-using-assignment-expr when a variable annotation + without assignment is used as the if test expression. + * Fix crash for prefer-typing-namedtuple and consider-math-not-float when + a slice object is called. + * Fix false positive for invalid-name on a partially uninferable + module-level constant. + * Fix a false positive for invalid-name on exclusive module-level + assignments composed of three or more branches. + * Fix false positive for invalid-name for TypedDict instances. + * Fix false-positive for bare-name-capture-pattern if a case guard is used. + * Check enums created with the Enum() functional syntax to pass against the + --class-rgx for the invalid-name check, like other enums. + * Pylint now supports Python 3.14. + * Pylint's inference engine (astroid) is now much more precise, + understanding implicit booleanness and ternary expressions. The required + astroid version is now 4.0.0. + * Handling of invalid-name at the module level was patchy. Now, + module-level constants that are reassigned are treated as variables and + checked against --variable-rgx rather than --const-rgx. Module-level + lists, sets, and objects can pass against either regex. + * invalid-name now distinguishes module-level constants that are assigned + only once from those that are reassigned and now applies --variable-rgx + to the latter. + * The unused pylintrc argument to PyLinter.__init__() is deprecated and + will be removed. + * pyreverse Run was changed to no longer call sys.exit() in its __init__. + * The suggestion-mode option was removed, as pylint now always emits + user-friendly hints instead of false-positive error messages. + * The async.py checker module has been renamed to async_checker.py since + async is a Python keyword and cannot be imported directly. This allows + for better testing and extensibility of the async checker functionality. + * The message-id of continue-in-finally was changed from E0116 to W0136. + The warning is now emitted for every Python version since it will raise a + syntax warning in Python 3.14. + * Removed support for nmp.NaN alias for numpy.NaN being recognized in + nan-comparison. + * Version requirement for isort has been bumped to >=5.0.0. + * comparison-of-constants now uses the unicode from the ast instead of + reformatting from the node's values preventing some bad formatting due to + utf-8 limitation. + * The use-implicit-booleaness-not-x checks now distinguish between + comparisons used in boolean contexts and those that are not, enabling + them to provide more accurate refactoring suggestions. + * The verbose option now outputs the filenames of the files that have been + checked. + * colorized reporter now colorizes messages/categories that have been + configured as fail-on in red inverse. + * Enhanced support for @property decorator in pyreverse to correctly + display return types of annotated properties when generating class + diagrams. + * Handle deferred evaluation of annotations in Python 3.14. + * pyreverse: add support for colorized output when using output format mmd + (MermaidJS) and html. + * pypy 3.11 is now officially supported. + * Add support for Python 3.14. + * Add naming styles for ParamSpec and TypeVarTuple that align with the + TypeVar style. + * Add match-statements checker and the following message: + bare-name-capture-pattern. + * Add new check async-context-manager-with-regular-with to detect async + context managers used with regular with statements instead of async with. + * Add break-in-finally warning. Using break inside the finally clause will + raise a syntax warning in Python 3.14. + * Add new checks for invalid uses of class patterns in match. + * Add additional checks for suboptimal uses of class patterns in match. + * Add a consider-math-not-float message. float("nan") and float("inf") are + slower than their counterpart math.inf and math.nan by a factor of 4 + (notwithstanding the initial import of math) and they are also not well + typed when using mypy. + * Fix a false positive for used-before-assignment when a variable defined + under an if and via a named expression (walrus operator) is used later + when guarded under the same if test. + * Fix no-name-in-module for members of concurrent.futures with Python 3.14. + * Fix false negative for used-before-assignment when a TYPE_CHECKING import + is used as a type annotation prior to erroneous usage. + * Match cases are now counted as edges in the McCabe graph and will + increase the complexity accordingly. + * Check module-level constants with type annotations for invalid-name. + * Fix false negative where function-redefined (E0102) was not reported for + functions with a leading underscore. + * We now raise a logging-too-few-args for format string with no + interpolation arguments at all. + * Fix false negative for used-before-assignment when a function is defined + inside a TYPE_CHECKING guard block and used later. + * Fix a false negative for possibly-used-before-assignment when a variable + is conditionally defined and later assigned to a type-annotated variable. + * Fix false negative for deprecated-module when a __import__ method is used + instead of import sentence. + * Remove support for launching pylint with Python 3.9. + * Fix used-before-assignment for PEP 695 type aliases and parameters. + * No longer flag undeprecated functions in importlib.resources as + deprecated. + * Fix false positive inconsistent-return-statements when using quit() or + exit() functions. + * Fix false positive undefined-variable (E0602) for for-loop variable + shadowing patterns like for item in item: when the variable was + previously defined. + * Fixed crash in 'unnecessary-list-index-lookup' when starting an + enumeration using minus the length of an iterable inside a dict + comprehension when the len call was only made in this dict comprehension, + and not elsewhere. + +------------------------------------------------------------------- Old: ---- pylint-3.3.8-gh.tar.gz New: ---- pylint-4.0.3-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pylint.spec ++++++ --- /var/tmp/diff_new_pack.Gw6Kpu/_old 2025-11-18 15:35:44.797084820 +0100 +++ /var/tmp/diff_new_pack.Gw6Kpu/_new 2025-11-18 15:35:44.801084989 +0100 @@ -24,14 +24,14 @@ %endif %{?sle15_python_module_pythons} Name: python-pylint -Version: 3.3.8 +Version: 4.0.3 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 -BuildRequires: %{python_module base >= 3.7.2} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -40,8 +40,8 @@ Requires: python-dill >= 0.3.7 Requires: python-platformdirs >= 2.2 Requires: python-tomlkit >= 0.10.1 -Requires: (python-astroid >= 3.3.8 with python-astroid < 4.0.0~dev0) -Requires: (python-isort >= 4.2.5 with python-isort < 7) +Requires: (python-astroid >= 4.0.2 with python-astroid < 4.1.0~dev0) +Requires: (python-isort >= 5 with python-isort < 8) Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8) BuildArch: noarch %if 0%{?python_version_nodots} < 311 @@ -52,10 +52,10 @@ %endif %if %{with tests} # SECTION pylint deps -BuildRequires: %{python_module astroid >= 3.3.8 with %python-astroid < 4.0.0~dev0} +BuildRequires: %{python_module astroid >= 4.0.2 with %python-astroid < 4.1.0~dev0} BuildRequires: %{python_module dill >= 0.3.7} BuildRequires: %{python_module enchant} -BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 7} +BuildRequires: %{python_module isort >= 5 with %python-isort < 8} BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8} BuildRequires: %{python_module platformdirs >= 2.2} BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11} @@ -118,13 +118,9 @@ export LC_ALL="en_US.UTF-8" # reruns: tests/pyreverse is incredibly non-deterministic in failures donttest="test_linter_with_unpickleable_plugins_is_pickleable" -# Fails with pytest-8 gh#pylint-dev/pylint#9545 -donttest+=" or recursion_error_3159" -# Fails with python 3.12 -donttest+=" or test_functional_relation_extraction" # Broken upstream -donttest+=" or test_functional" -%pytest -n auto --ignore tests/benchmark --reruns 5 -rsfER -k "not ($donttest)" +donttest+=" or test_functional or test_progress_reporting" +%pytest -vv -n auto --ignore tests/benchmark --reruns 5 -rsfER -k "not ($donttest)" %endif %pre ++++++ pylint-3.3.8-gh.tar.gz -> pylint-4.0.3-gh.tar.gz ++++++ ++++ 30385 lines of diff (skipped)
