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-04-01 14:15:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Thu Apr 1 14:15:49 2021 rev:27 rq:880615 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2020-12-12 20:31:09.161776188 +0100 +++ /work/SRC/openSUSE:Factory/.python-astroid.new.2401/python-astroid.changes 2021-04-01 14:15:50.175850383 +0200 @@ -1,0 +2,72 @@ +Sun Mar 21 23:20:02 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 2.5.1 + * The context.path is reverted to a set because otherwise it + leads to false positives for non `numpy` functions. + * Don't transform dataclass ClassVars + * Improve typing.TypedDict inference + * Fix the `Duplicates found in MROs` false positive. +- Release 2.5.0 + * Adds `attr_fset` in the `PropertyModel` class. + * Remove support for Python 3.5. + * Remove the runtime dependency on six. The six brain + remains in astroid. + * Enrich the brain_collection module so that __class_getitem__ + method is added to `deque` for + python version above 3.9. + * The context.path is now a dict and the context.push method + returns True if the node has been visited a certain amount of + times. + * Adds a brain for type object so that it is possible to write + `type[int]` in annotation. + * Add __class_getitem__ method to subprocess.Popen brain under + Python 3.9 so that it is seen as subscriptable by pylint. + * Adds `degrees`, `radians`, which are `numpy ufunc` functions, + in the `numpy` brain. Adds `random` function in the `numpy. + random` brain. + * Fix deprecated importlib methods + * Fix a crash in inference caused by `Uninferable` container + elements + * Add `python 3.9` support. + * The flat attribute of numpy.ndarray is now inferred as an + numpy.ndarray itself. It should be a numpy.flatiter instance, + but this class is not yet available in the numpy brain. + * Fix a bug for dunder methods inference of function objects + * Fixes a bug in the signature of the ndarray.__or__ method, + in the brain_numpy_ndarray.py module. + * Fixes a to-list cast bug in starred_assigned_stmts method, + in the protocols.py` module. + * Added a brain for hypothesis.strategies.composite + * The transpose of a numpy.ndarray is also a numpy.ndarray + * Added a brain for sqlalchemy.orm.session + * Separate string and bytes classes patching + * Prevent recursion error for self referential length calls + * Added missing methods to the brain for mechanize, to fix + pylint false positives + * Added more supported parameters to subprocess.check_output + * Fix recursion errors with pandas + * Added exception inference for `UnicodeDecodeError` + * `FunctionDef.is_generator` properly handles `yield` nodes in + `If` tests + * Fixed exception-chaining error messages. + * Fix failure to infer base class type with multiple inheritance + and qualified names + * Fix interpretation of six.with_metaclass class definitions. + * Reduce memory usage of astroid's module cache. + * Remove dependency on `imp`. + * Do not crash when encountering starred assignments in enums. + * Fix a crash in functools.partial inference when the arguments + cannot be determined + * Fix a crash caused by a lookup of a monkey-patched method + * is_generator correctly considers `Yield` nodes in `AugAssign` + nodes + This fixes a false positive with the + `assignment-from-no-return` pylint check. + * Corrected the parent of function type comment nodes. + These nodes used to be parented to their original ast. + FunctionDef parent but are now correctly parented to their + astroid.FunctionDef parent. +- Drop part_rm_dep_imp.patch fixed upstream +- Drop unpin-deps.patch unpinned upstream + +------------------------------------------------------------------- Old: ---- astroid-2.4.2.tar.gz part_rm_dep_imp.patch unpin-deps.patch New: ---- astroid-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.E5go6r/_old 2021-04-01 14:15:51.455852606 +0200 +++ /var/tmp/diff_new_pack.E5go6r/_new 2021-04-01 14:15:51.463852620 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-astroid # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,30 +19,25 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-astroid -Version: 2.4.2 +Version: 2.5.1 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later URL: https://github.com/pycqa/astroid Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz -Patch0: unpin-deps.patch -# PATCH-FIX-UPSTREAM part_rm_dep_imp.patch gh#PyCQA/astroid#686 mc...@suse.com -Patch1: part_rm_dep_imp.patch BuildRequires: %{python_module lazy-object-proxy >= 1.4} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six >= 1.12} +BuildRequires: %{python_module typed-ast >= 1.4 if %python-base < 3.8} BuildRequires: %{python_module wrapt >= 1.11} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-lazy-object-proxy >= 1.4 -Requires: python-six >= 1.12 Requires: python-wrapt >= 1.11 BuildArch: noarch -%if 0%{?suse_version} <= 1500 -BuildRequires: %{python_module typed-ast} -Requires: python-typed-ast +%if 0%{?python_version_nodots} < 38 +Requires: python-typed-ast >= 1.4 %endif %python_subpackages @@ -77,6 +72,6 @@ %license COPYING COPYING.LESSER %doc ChangeLog README.rst %{python_sitelib}/astroid/ -%{python_sitelib}/astroid-*.egg-info +%{python_sitelib}/astroid-%{version}*-info %changelog ++++++ astroid-2.4.2.tar.gz -> astroid-2.5.1.tar.gz ++++++ ++++ 7622 lines of diff (skipped)