Accepting request 891337 from home:bnavigator:branches:devel:languages:python

- Update to 2.5.6
  * Fix retro-compatibility issues with old version of pylint
    Closes PyCQA/pylint#4402
  * Fixes the discord link in the project urls of the package.
    Closes PyCQA/pylint#4393
  * The packaging is now done via setuptools exclusively.
    doc, tests, and Changelog are not packaged anymore - reducing
    the size of the package greatly.
  * __pkginfo__ now only contain __version__ (also accessible with
    astroid.__version__), other meta-information are still
    accessible with import importlib;metadata.metadata('astroid').
  * Added inference tip for typing.Tuple alias
  * Fix crash when evaluating typing.NamedTuple
    Closes PyCQA/pylint#4383
  * COPYING was removed in favor of COPYING.LESSER and the latter
    was renamed to LICENSE to make more apparent that the code is
    licensed under LGPLv2 or later.
  * Takes into account the fact that subscript inferring for a
    ClassDef may involve class_getitem method
  * Reworks the collections and typing brain so that pylint`s
    acceptance tests are fine.
    Closes PyCQA/pylint#4206
  * Use inference_tip for typing.TypedDict brain.
  * Fix mro for classes that inherit from typing.Generic
  * Add inference tip for typing.Generic and typing.Annotated with
     __class_getitem__
   Closes PyCQA/pylint#2822
  * Detects import numpy as a valid numpy import.
    Closes PyCQA/pylint#3974
  * Iterate over Keywords when using ClassDef.get_children

OBS-URL: https://build.opensuse.org/request/show/891337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=60
This commit is contained in:
Matej Cepl 2021-05-07 15:25:28 +00:00 committed by Git OBS Bridge
parent eff376519d
commit c6747b13c0
4 changed files with 42 additions and 6 deletions

View File

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46bfd832bfca8dc7face30f9c3992ff56ab65db70ea86b04a4e7f054428d8fdd
size 344968

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Fri May 7 14:36:07 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 2.5.6
* Fix retro-compatibility issues with old version of pylint
Closes PyCQA/pylint#4402
* Fixes the discord link in the project urls of the package.
Closes PyCQA/pylint#4393
* The packaging is now done via setuptools exclusively.
doc, tests, and Changelog are not packaged anymore - reducing
the size of the package greatly.
* __pkginfo__ now only contain __version__ (also accessible with
astroid.__version__), other meta-information are still
accessible with import importlib;metadata.metadata('astroid').
* Added inference tip for typing.Tuple alias
* Fix crash when evaluating typing.NamedTuple
Closes PyCQA/pylint#4383
* COPYING was removed in favor of COPYING.LESSER and the latter
was renamed to LICENSE to make more apparent that the code is
licensed under LGPLv2 or later.
* Takes into account the fact that subscript inferring for a
ClassDef may involve class_getitem method
* Reworks the collections and typing brain so that pylint`s
acceptance tests are fine.
Closes PyCQA/pylint#4206
* Use inference_tip for typing.TypedDict brain.
* Fix mro for classes that inherit from typing.Generic
* Add inference tip for typing.Generic and typing.Annotated with
__class_getitem__
Closes PyCQA/pylint#2822
* Detects import numpy as a valid numpy import.
Closes PyCQA/pylint#3974
* Iterate over Keywords when using ClassDef.get_children
Closes PyCQA/pylint#3202
- Use github archive for tests
-------------------------------------------------------------------
Sun Mar 21 23:20:02 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -19,12 +19,12 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-astroid
Version: 2.5.1
Version: 2.5.6
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
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}
@ -69,7 +69,7 @@ objects.
%pytest
%files %{python_files}
%license COPYING COPYING.LESSER
%license LICENSE
%doc ChangeLog README.rst
%{python_sitelib}/astroid/
%{python_sitelib}/astroid-%{version}*-info