forked from pool/python-astroid
- update to 3.2.2:
* Improve inference for generic classes using the PEP 695
syntax (Python 3.12).
* Fix ``RecursionError`` in ``infer_call_result()`` for certain
``__call__`` methods.
* Add ``AstroidManager.prefer_stubs`` attribute to control the
astroid 3.2.0 feature that prefers stubs.
* ``igetattr()`` returns the last same-named function in a
class (instead of the first). This avoids false positives
in pylint with ``@overload``.
* Adds ``module_denylist`` to ``AstroidManager`` for modules to
be skipped during AST generation. Modules in this list will
cause an ``AstroidImportError`` to be raised when an AST
for them is requested.
* Make ``astroid.interpreter._import.util.is_namespace`` only
consider modules using a loader set to ``NamespaceLoader``
or ``None`` as namespaces.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=101
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ba572a3faeabdd72ec79965b38867d1ce159ebec1281ba833928842b36cca32
|
||||
size 463675
|
||||
3
astroid-3.2.2-gh.tar.gz
Normal file
3
astroid-3.2.2-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ff8e7de62e56c107334c15dfa336256901711e931e0f644a366bcb91e276a42
|
||||
size 465306
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 30 22:03:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.2.2:
|
||||
* Improve inference for generic classes using the PEP 695
|
||||
syntax (Python 3.12).
|
||||
* Fix ``RecursionError`` in ``infer_call_result()`` for certain
|
||||
``__call__`` methods.
|
||||
* Add ``AstroidManager.prefer_stubs`` attribute to control the
|
||||
astroid 3.2.0 feature that prefers stubs.
|
||||
* ``igetattr()`` returns the last same-named function in a
|
||||
class (instead of the first). This avoids false positives
|
||||
in pylint with ``@overload``.
|
||||
* Adds ``module_denylist`` to ``AstroidManager`` for modules to
|
||||
be skipped during AST generation. Modules in this list will
|
||||
cause an ``AstroidImportError`` to be raised when an AST
|
||||
for them is requested.
|
||||
* Make ``astroid.interpreter._import.util.is_namespace`` only
|
||||
consider modules using a loader set to ``NamespaceLoader``
|
||||
or ``None`` as namespaces.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 19:54:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-astroid
|
||||
Version: 3.1.0
|
||||
Version: 3.2.2
|
||||
Release: 0
|
||||
Summary: Representation of Python source as an AST for pylint
|
||||
License: LGPL-2.1-or-later
|
||||
|
||||
Reference in New Issue
Block a user