Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-astroid for openSUSE:Factory checked in at 2026-03-01 22:13:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Sun Mar 1 22:13:43 2026 rev:64 rq:1335262 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2026-01-05 14:50:28.951587996 +0100 +++ /work/SRC/openSUSE:Factory/.python-astroid.new.29461/python-astroid.changes 2026-03-01 22:13:46.043355808 +0100 @@ -1,0 +2,37 @@ +Wed Feb 25 10:14:26 UTC 2026 - John Paul Adrian Glaubitz <[email protected]> + +- Update to 4.1.1 + * Let `UnboundMethodModel` inherit from `FunctionModel` to improve + inference of dunder methods for unbound methods. + * Filter ``Unknown`` from ``UnboundMethod`` and ``Super`` special attribute + lookup to prevent placeholder nodes from leaking during inference. +- from version 4.1.0 + * Add support for equality constraints (``==``, ``!=``) in inference. + * Ensure ``ast.JoinedStr`` nodes are ``Uninferable`` when the ``ast.FormattedValue`` + is ``Uninferable``. This prevents ``unexpected-keyword-arg`` messages in Pylint + where the ``Uninferable`` string appeared in function arguments that were + constructed dynamically. + * Add support for type constraints (`isinstance(x, y)`) in inference. + * Make `type.__new__()` raise clear errors instead of returning `None` + * Move object dunder methods from ``FunctionModel`` to ``ObjectModel`` to + make them available on all object types, not just functions. + * ``lineno`` and ``end_lineno`` are now available on ``Arguments``. + * Add helper to iterate over all annotations nodes of function arguments, + ``Arguments.get_annotations()``. + * Skip direct parent when determining the ``Decorator`` frame. + * Add simple command line interface for astroid to output generated AST. + Use with ``python -m astroid``. + * Fix incorrect type inference for ``super().method()`` calls that return ``Self``. + Previously, astroid would infer the parent class type instead of the child class + type, causing pylint E1101 false positives in method chaining scenarios. + * Add missing ``dtype`` and ``casting`` parameters to ``numpy.concatenate`` brain. + * Fix ability to detect .py modules inside PATH directories on Windows + described by a UNC path with a trailing backslash (`\`) + - Example: modutils.modpath_from_file(filename=r"\\Mac\Code\tests\test_resources.py", + path=["\\mac\code\"]) == ['tests', 'test_resources'] + * Fix ``random.sample`` inference crash when sequence contains uninferable elements. + * Fix ``random.sample`` crash when cloning ``ClassDef`` or ``FunctionDef`` nodes. +- from version 4.0.4 + * Fix ``is_namespace()`` crash when search locations contain ``pathlib.Path`` objects. + +------------------------------------------------------------------- Old: ---- astroid-4.0.3-gh.tar.gz New: ---- astroid-4.1.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.VveAX9/_old 2026-03-01 22:13:46.759385236 +0100 +++ /var/tmp/diff_new_pack.VveAX9/_new 2026-03-01 22:13:46.759385236 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-astroid -Version: 4.0.3 +Version: 4.1.0 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later ++++++ astroid-4.0.3-gh.tar.gz -> astroid-4.1.0-gh.tar.gz ++++++ ++++ 17137 lines of diff (skipped)
