From b03062858ea4453771ab8fefa2677a6fa54beeae1b8940cadf5b736711ca1e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 21 Nov 2014 09:01:07 +0000 Subject: [PATCH] Accepting request 262554 from home:Nijel:branches:devel:languages:python - Update to 1.3.0: * Fix a maximum recursion error occured during the inference, where statements with the same name weren't filtered properly. Closes pylint issue #295. * Check that EmptyNode has an underlying object in EmptyNode.has_underlying_object. * Simplify the understanding of enum members. * Fix an infinite loop with decorator call chain inference, where the decorator returns itself. Closes issue #50. * Various speed improvements. Patch by Alex Munroe. * Add pytest brain plugin. Patch by Robbie Coomber. * Support for Python versions < 2.7 has been dropped, and the source has been made compatible with Python 2 and 3. Running 2to3 on installation for Python 3 is not needed anymore. * astroid now depends on six. * modutils._module_file opens __init__.py in binary mode. Closes issues #51 and #13. * Only C extensions from trusted sources (the standard library) are loaded into the examining Python process to build an AST from the live module. * Path names on case-insensitive filesystems are now properly handled. This fixes the stdlib detection code on Windows. * Metaclass-generating functions like six.with_metaclass are now supported via some explicit detection code. * astroid.register_module_extender has been added to generalize the support for module extenders as used by many brain plugins. * brain plugins can now register hooks to handle failed imports, as done by the gobject-introspection plugin. * The modules have been moved to a separate package directory, `setup.py develop` now works correctly. OBS-URL: https://build.opensuse.org/request/show/262554 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=10 --- astroid-1.2.1.zip | 3 --- astroid-1.3.0.tar.gz | 3 +++ python-astroid.changes | 34 ++++++++++++++++++++++++++++++++++ python-astroid.spec | 7 +++++-- 4 files changed, 42 insertions(+), 5 deletions(-) delete mode 100644 astroid-1.2.1.zip create mode 100644 astroid-1.3.0.tar.gz diff --git a/astroid-1.2.1.zip b/astroid-1.2.1.zip deleted file mode 100644 index 8221d37..0000000 --- a/astroid-1.2.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9021b44cae60f38c3a7ecccc458bd92b9d73244699ffc41750ef848d62514f64 -size 169131 diff --git a/astroid-1.3.0.tar.gz b/astroid-1.3.0.tar.gz new file mode 100644 index 0000000..7f3a5a0 --- /dev/null +++ b/astroid-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:480f696584928021a315d7f8c7afdb006201a07b4d24c16546f3b89ec5d4991c +size 137605 diff --git a/python-astroid.changes b/python-astroid.changes index 92594ef..d4102da 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Nov 21 08:53:09 UTC 2014 - mcihar@suse.cz + +- Update to 1.3.0: + * Fix a maximum recursion error occured during the inference, + where statements with the same name weren't filtered properly. + Closes pylint issue #295. + * Check that EmptyNode has an underlying object in + EmptyNode.has_underlying_object. + * Simplify the understanding of enum members. + * Fix an infinite loop with decorator call chain inference, + where the decorator returns itself. Closes issue #50. + * Various speed improvements. Patch by Alex Munroe. + * Add pytest brain plugin. Patch by Robbie Coomber. + * Support for Python versions < 2.7 has been dropped, and the + source has been made compatible with Python 2 and 3. Running + 2to3 on installation for Python 3 is not needed anymore. + * astroid now depends on six. + * modutils._module_file opens __init__.py in binary mode. + Closes issues #51 and #13. + * Only C extensions from trusted sources (the standard library) + are loaded into the examining Python process to build an AST + from the live module. + * Path names on case-insensitive filesystems are now properly + handled. This fixes the stdlib detection code on Windows. + * Metaclass-generating functions like six.with_metaclass + are now supported via some explicit detection code. + * astroid.register_module_extender has been added to generalize + the support for module extenders as used by many brain plugins. + * brain plugins can now register hooks to handle failed imports, + as done by the gobject-introspection plugin. + * The modules have been moved to a separate package directory, + `setup.py develop` now works correctly. + ------------------------------------------------------------------- Tue Nov 4 16:24:17 UTC 2014 - mcihar@suse.cz diff --git a/python-astroid.spec b/python-astroid.spec index 07d2dc6..511791f 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -17,18 +17,21 @@ Name: python-astroid -Version: 1.2.1 +Version: 1.3.0 Release: 0 Url: http://bitbucket.org/logilab/astroid Summary: Rebuild a new abstract syntax tree from Python's ast License: LGPL-2.1+ Group: Development/Libraries/Python -Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.zip +Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-logilab-common +BuildRequires: python-setuptools +BuildRequires: python-six BuildRequires: unzip Requires: python-logilab-common +Requires: python-six %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110