15
0

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
This commit is contained in:
2021-12-09 16:54:39 +00:00
committed by Git OBS Bridge
parent 93a25f6815
commit 222d7799b8
4 changed files with 14 additions and 5 deletions

View File

@@ -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}