Accepting request 927778 from home:bnavigator:branches:devel:languages:python
- Update to 2.8.4 * Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword`` or ``Comprehension`` nodes these methods now correctly point to the outer-scope of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. * Fix the ``set_local`` function for ``NamedExpr`` nodes. When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these nodes are now correctly added to the locals of the ``FunctionDef``, ``ClassDef``, or ``Comprehension``. - Release 2.8.3? * Add support for wrapt 1.13 * Fixes handling of nested partial functions * Fix regression with the import resolver * Fix crash with invalid dataclass field call - Release 2.8.1 * Adds support of type hints inside numpy's brains. * Enable inference of dataclass import from pydantic.dataclasses. This allows the dataclasses brain to recognize pydantic dataclasses. * Fix regression on ClassDef inference * Fix regression on Compare node inference * Extended attrs brain to support the provisional APIs * Astroid does not trigger it's own deprecation warning anymore. * Improve brain for ``typing.Callable`` and ``typing.Type``. * Fix bug with importing namespace packages with relative imports * The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will be removed in 3.0.0. They are complex meta-inference functions that are better suited for pylint. OBS-URL: https://build.opensuse.org/request/show/927778 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=65
This commit is contained in:
parent
05d0f1bac9
commit
814e66b81c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20d69b874d2fd6ffd3f71c51ce67ba253f288342b803bda247da2595f0d0ed8f
|
||||
size 384821
|
3
astroid-2.8.4-gh.tar.gz
Normal file
3
astroid-2.8.4-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8da13c416071acfb0153cf1dcd0b40f61cf54261075f88d5bc1f8a02407c54e
|
||||
size 391667
|
@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 13:31:47 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.8.4
|
||||
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
|
||||
nodes. When these nodes occur in ``Arguments``, ``Keyword`` or
|
||||
``Comprehension`` nodes these methods now correctly point to
|
||||
the outer-scope of the ``FunctionDef``, ``ClassDef``, or
|
||||
``Comprehension``.
|
||||
* Fix the ``set_local`` function for ``NamedExpr`` nodes. When
|
||||
these nodes occur in ``Arguments``, ``Keyword``, or
|
||||
``Comprehension`` nodes these nodes are now correctly added to
|
||||
the locals of the ``FunctionDef``, ``ClassDef``, or
|
||||
``Comprehension``.
|
||||
- Release 2.8.3?
|
||||
* Add support for wrapt 1.13
|
||||
* Fixes handling of nested partial functions
|
||||
* Fix regression with the import resolver
|
||||
* Fix crash with invalid dataclass field call
|
||||
- Release 2.8.1
|
||||
* Adds support of type hints inside numpy's brains.
|
||||
* Enable inference of dataclass import from pydantic.dataclasses.
|
||||
This allows the dataclasses brain to recognize pydantic
|
||||
dataclasses.
|
||||
* Fix regression on ClassDef inference
|
||||
* Fix regression on Compare node inference
|
||||
* Extended attrs brain to support the provisional APIs
|
||||
* Astroid does not trigger it's own deprecation warning anymore.
|
||||
* Improve brain for ``typing.Callable`` and ``typing.Type``.
|
||||
* Fix bug with importing namespace packages with relative imports
|
||||
* The ``is_typing_guard`` and ``is_sys_guard`` functions are
|
||||
deprecated and will be removed in 3.0.0. They are complex
|
||||
meta-inference functions that are better suited for pylint.
|
||||
Import them from ``pylint.checkers.utils`` instead (requires
|
||||
pylint ``2.12``).
|
||||
* Suppress the conditional between applied brains and dynamic
|
||||
import authorized modules. (Revert the "The transforms related
|
||||
to a module are applied only if this module has not been
|
||||
explicitly authorized to be imported" of version 2.7.3)
|
||||
* Adds a brain to infer the ``numpy.ma.masked_where`` function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 3 17:17:52 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-astroid
|
||||
Version: 2.8.0
|
||||
Version: 2.8.4
|
||||
Release: 0
|
||||
Summary: Representation of Python source as an AST for pylint
|
||||
License: LGPL-2.1-or-later
|
||||
|
Loading…
Reference in New Issue
Block a user