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 2021-10-20 20:23:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Wed Oct 20 20:23:14 2021 rev:31 rq:922942 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2021-08-28 22:28:51.517958565 +0200 +++ /work/SRC/openSUSE:Factory/.python-astroid.new.1890/python-astroid.changes 2021-10-20 20:23:51.529362317 +0200 @@ -1,0 +2,47 @@ +Sun Oct 3 17:17:52 UTC 2021 - Ben Greiner <[email protected]> + +- Update to 2.8.0 + * Add additional deprecation warnings in preparation for astroid + 3.0 + * Require attributes for some node classes with ``__init__`` + call. + * ``name`` (``str``) for ``Name``, ``AssignName``, + ``DelName`` + * ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, + ``DelAttr`` + * ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, + ``UnaryOp`` + * ``names`` (``list[tuple[str, str | None]]``) for ``Import`` + * Support pyz imports + * Add ``node_ancestors`` method to ``NodeNG`` for obtaining the + ancestors of nodes. + * It's now possible to infer the value of comparison nodes + * Fixed bug in inference of dataclass field calls. +- Release 2.7.3 + * The transforms related to a module are applied only if this + module has not been explicitly authorized to be imported + (i.e is not in AstroidManager.extension_package_whitelist). + Solves the following issues if numpy is authorized to be + imported through the `extension-pkg-allow-list` option. + * Fixed bug in attribute inference from inside method calls. + * Fixed bug in inference for superclass instance methods called + from the class rather than an instance. + * Fixed bug in inference of chained attributes where a subclass + had an attribute that was an instance of its superclass. + * Adds a brain for the ctypes module. + * When processing dataclass attributes, exclude the same type + hints from abc.collections as from typing. + * Apply dataclass inference to pydantic's dataclasses. +- Release 2.7.2 + * ``BaseContainer`` is now public, and will replace + ``_BaseContainer`` completely in astroid 3.0. + * The call cache used by inference functions produced by + ``inference_tip`` can now be cleared via + ``clear_inference_tip_cache``. + * ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are + not used internally anymore and will be removed in astroid 3.0. + Simply replace this by the string 'builtins' for better + performances and clarity. + * Add inference for dataclass initializer method. + +------------------------------------------------------------------- Old: ---- astroid-2.7.1-gh.tar.gz New: ---- astroid-2.8.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.GsrvT1/_old 2021-10-20 20:23:53.121363300 +0200 +++ /var/tmp/diff_new_pack.GsrvT1/_new 2021-10-20 20:23:53.125363302 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-astroid -Version: 2.7.1 +Version: 2.8.0 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later @@ -30,7 +30,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typed-ast >= 1.4 if %python-base < 3.8} -BuildRequires: %{python_module typing_extensions if %python-base < 3.8} +BuildRequires: %{python_module typing_extensions >= 3.10 if %python-base < 3.10} BuildRequires: %{python_module wrapt >= 1.11} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,7 +39,9 @@ BuildArch: noarch %if 0%{?python_version_nodots} < 38 Requires: python-typed-ast >= 1.4 -Requires: python-typing_extensions +%endif +%if 0%{?python_version_nodots} < 310 +Requires: python-typing_extensions >= 3.10 %endif %python_subpackages ++++++ astroid-2.7.1-gh.tar.gz -> astroid-2.8.0-gh.tar.gz ++++++ ++++ 16956 lines of diff (skipped)
