Hello community, here is the log from the commit of package python-astroid for openSUSE:Factory checked in at 2019-10-10 11:51:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Thu Oct 10 11:51:05 2019 rev:20 rq:734939 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2019-03-29 20:37:04.798627118 +0100 +++ /work/SRC/openSUSE:Factory/.python-astroid.new.2352/python-astroid.changes 2019-10-10 11:51:10.691682255 +0200 @@ -1,0 +2,18 @@ +Fri Oct 4 08:24:37 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to not use pinned dependencies and to work in our distro: + * unpin-deps.patch + +------------------------------------------------------------------- +Thu Oct 3 14:07:26 UTC 2019 - Marketa Calabkova <[email protected]> + +- Update to 2.3.1 + * A transform for the builtin `dataclasses` module was added. + * Add a brain tip for ``subprocess.check_output`` + * Remove NodeNG.nearest method because of lack of usage in astroid and pylint. + * Allow importing wheel files. + * Dropped support for Python 3.4. + * Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment expressions. + * ...and more. + +------------------------------------------------------------------- Old: ---- astroid-2.2.5.tar.gz New: ---- astroid-2.3.1.tar.gz unpin-deps.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.OwMJSa/_old 2019-10-10 11:51:11.443680258 +0200 +++ /var/tmp/diff_new_pack.OwMJSa/_new 2019-10-10 11:51:11.447680248 +0200 @@ -19,28 +19,28 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-astroid -Version: 2.2.5 +Version: 2.3.1 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later -Group: Development/Libraries/Python URL: https://github.com/pycqa/astroid Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz -BuildRequires: %{python_module lazy-object-proxy} +Patch0: unpin-deps.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} -BuildRequires: %{python_module wrapt} +BuildRequires: %{python_module six >= 1.12} +BuildRequires: %{python_module wrapt >= 1.11} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-lazy-object-proxy -Requires: python-six -Requires: python-wrapt +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 typing} -Requires: python-typing +%if 0%{?suse_version} <= 1500 +BuildRequires: %{python_module typed-ast} +Requires: python-typed-ast %endif %python_subpackages @@ -59,6 +59,7 @@ %prep %setup -q -n astroid-%{version} +%patch0 -p1 %build %python_build @@ -68,7 +69,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%pytest %files %{python_files} %license COPYING COPYING.LESSER ++++++ astroid-2.2.5.tar.gz -> astroid-2.3.1.tar.gz ++++++ ++++ 7092 lines of diff (skipped) ++++++ unpin-deps.patch ++++++ Index: astroid-2.3.1/astroid/__pkginfo__.py =================================================================== --- astroid-2.3.1.orig/astroid/__pkginfo__.py +++ astroid-2.3.1/astroid/__pkginfo__.py @@ -22,10 +22,10 @@ numversion = tuple(int(elem) for elem in extras_require = {} install_requires = [ - "lazy_object_proxy==1.4.*", - "six==1.12", - "wrapt==1.11.*", - 'typed-ast>=1.4.0,<1.5;implementation_name== "cpython" and python_version<"3.8"', + "lazy_object_proxy>=1.4", + "six>=1.12", + "wrapt>=1.11", + 'typed-ast>=1.4.0;implementation_name== "cpython" and python_version<"3.7"', ] # pylint: disable=redefined-builtin; why license is a builtin anyway?
