forked from pool/python-astroid
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
This commit is contained in:
committed by
Git OBS Bridge
parent
6ea5416d83
commit
b03062858e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user