From 222d7799b8ade842737e505dd9d43e0e8260823f8575fdc36e46fb42466534e7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Dec 2021 16:54:39 +0000 Subject: [PATCH] Accepting request 937782 from home:pgajdos:python - version update to 2.9.0 * Add ``end_lineno`` and ``end_col_offset`` attributes to astroid nodes. * Always treat ``__class_getitem__`` as a classmethod. * Add missing ``as_string`` visitor method for ``Unknown`` node. * Fix crash on inference of subclasses created from ``Class().__subclasses__`` * Fix bug with Python 3.7.0 / 3.7.1 and ``typing.NoReturn``. OBS-URL: https://build.opensuse.org/request/show/937782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=67 --- astroid-2.8.5-gh.tar.gz | 3 --- astroid-2.9.0-gh.tar.gz | 3 +++ python-astroid.changes | 10 ++++++++++ python-astroid.spec | 3 +-- 4 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 astroid-2.8.5-gh.tar.gz create mode 100644 astroid-2.9.0-gh.tar.gz diff --git a/astroid-2.8.5-gh.tar.gz b/astroid-2.8.5-gh.tar.gz deleted file mode 100644 index 11f36e3..0000000 --- a/astroid-2.8.5-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23442400e49c269db88ed3f888f328b1b581b6efe9e3735868476763bfd283c9 -size 393800 diff --git a/astroid-2.9.0-gh.tar.gz b/astroid-2.9.0-gh.tar.gz new file mode 100644 index 0000000..a6d443a --- /dev/null +++ b/astroid-2.9.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35ceb3584637c7ad7c0238024ec8d4a7693f868238e03d37ae77975fdb45b76d +size 404906 diff --git a/python-astroid.changes b/python-astroid.changes index 0606108..cf13293 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 9 12:30:06 UTC 2021 - pgajdos@suse.com + +- version update to 2.9.0 + * Add ``end_lineno`` and ``end_col_offset`` attributes to astroid nodes. + * Always treat ``__class_getitem__`` as a classmethod. + * Add missing ``as_string`` visitor method for ``Unknown`` node. + * Fix crash on inference of subclasses created from ``Class().__subclasses__`` + * Fix bug with Python 3.7.0 / 3.7.1 and ``typing.NoReturn``. + ------------------------------------------------------------------- Sat Nov 13 20:22:06 UTC 2021 - Dirk Müller diff --git a/python-astroid.spec b/python-astroid.spec index a02bcb7..f83c89f 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -19,14 +19,13 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-astroid -Version: 2.8.5 +Version: 2.9.0 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://github.com/PyCQA/astroid/archive/refs/tags/v%{version}.tar.gz#/astroid-%{version}-gh.tar.gz BuildRequires: %{python_module lazy-object-proxy >= 1.4} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typed-ast >= 1.4 if %python-base < 3.8}