diff --git a/astroid-2.5.1.tar.gz b/astroid-2.5.1.tar.gz deleted file mode 100644 index c05ac8a..0000000 --- a/astroid-2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfc35498ee64017be059ceffab0a25bedf7548ab76f2bea691c5565896e7128d -size 312511 diff --git a/astroid-2.5.6-gh.tar.gz b/astroid-2.5.6-gh.tar.gz new file mode 100644 index 0000000..162f328 --- /dev/null +++ b/astroid-2.5.6-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46bfd832bfca8dc7face30f9c3992ff56ab65db70ea86b04a4e7f054428d8fdd +size 344968 diff --git a/python-astroid.changes b/python-astroid.changes index 92577fc..288fd21 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Fri May 7 14:36:07 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-astroid.spec b/python-astroid.spec index e36a0e8..c3231d6 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -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