From 6ea5416d8369ab6f5b700f730a0db3bee4b72b9ef2f3a4cea2389fff355bf9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 4 Nov 2014 16:42:08 +0000 Subject: [PATCH] Accepting request 259678 from home:Nijel:branches:devel:languages:python - Update to 1.2.1: * Fix a crash occurred when inferring decorator call chain. Closes issue #42. * Set the parent of vararg and kwarg nodes when inferring them. Closes issue #43. * namedtuple inference knows about '_fields' attribute. * enum members knows about the methods from the enum class. * Name inference will lookup in the parent function of the current scope, in case searching in the current scope fails. * Inference of the functional form of the enums takes into consideration the various inputs that enums accepts. * The inference engine handles binary operations (add, mul etc.) between instances. * Fix an infinite loop in the inference, by returning a copy of instance attributes, when calling 'instance_attr'. Closes issue #34 (patch by Emile Anclin). * Don't crash when trying to infer unbound object.__new__ call. Closes issue #11. - Use upstream zip for packaging as .tar.gz is no longer provided OBS-URL: https://build.opensuse.org/request/show/259678 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=8 --- astroid-1.2.0.tar.gz | 3 --- astroid-1.2.1.zip | 3 +++ python-astroid.changes | 24 ++++++++++++++++++++++++ python-astroid.spec | 5 +++-- 4 files changed, 30 insertions(+), 5 deletions(-) delete mode 100644 astroid-1.2.0.tar.gz create mode 100644 astroid-1.2.1.zip diff --git a/astroid-1.2.0.tar.gz b/astroid-1.2.0.tar.gz deleted file mode 100644 index a1f7eb3..0000000 --- a/astroid-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:589e738d2e94bac938bd88e2b7331188c550c04b41ff516ca3ace5b143c71d75 -size 127194 diff --git a/astroid-1.2.1.zip b/astroid-1.2.1.zip new file mode 100644 index 0000000..8221d37 --- /dev/null +++ b/astroid-1.2.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9021b44cae60f38c3a7ecccc458bd92b9d73244699ffc41750ef848d62514f64 +size 169131 diff --git a/python-astroid.changes b/python-astroid.changes index b4574fc..92594ef 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Nov 4 16:24:17 UTC 2014 - mcihar@suse.cz + +- Update to 1.2.1: + * Fix a crash occurred when inferring decorator call chain. + Closes issue #42. + * Set the parent of vararg and kwarg nodes when inferring them. + Closes issue #43. + * namedtuple inference knows about '_fields' attribute. + * enum members knows about the methods from the enum class. + * Name inference will lookup in the parent function + of the current scope, in case searching in the current scope + fails. + * Inference of the functional form of the enums takes into + consideration the various inputs that enums accepts. + * The inference engine handles binary operations (add, mul etc.) + between instances. + * Fix an infinite loop in the inference, by returning a copy + of instance attributes, when calling 'instance_attr'. + Closes issue #34 (patch by Emile Anclin). + * Don't crash when trying to infer unbound object.__new__ call. + Closes issue #11. +- Use upstream zip for packaging as .tar.gz is no longer provided + ------------------------------------------------------------------- Tue Aug 12 09:24:19 UTC 2014 - mcihar@suse.com diff --git a/python-astroid.spec b/python-astroid.spec index f4ccc92..07d2dc6 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -17,16 +17,17 @@ Name: python-astroid -Version: 1.2.0 +Version: 1.2.1 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}.tar.gz +Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-logilab-common +BuildRequires: unzip Requires: python-logilab-common %if 0%{?suse_version} %py_requires