Accepting request 938244 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/938244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2021-12-25 19:16:22 +00:00 committed by Git OBS Bridge
commit 3617b0abf7
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23442400e49c269db88ed3f888f328b1b581b6efe9e3735868476763bfd283c9
size 393800

3
astroid-2.9.0-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35ceb3584637c7ad7c0238024ec8d4a7693f868238e03d37ae77975fdb45b76d
size 404906

View File

@ -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 <dmueller@suse.com>

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}