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