- update to 2.15.2:
* Support more possible usages of ``attrs`` decorators. * Restore behavior of setting a Call as a base for classes created using ``six.with_metaclass()``, and harden support for using enums as metaclasses in this case. * astroid now supports ``TryStar`` nodes from python 3.11 and should be fully compatible with python 3.11. * ``Formattedvalue.postinit`` is now keyword only. This is to allow correct typing of the ``Formattedvalue`` class. * ``Astroid`` now supports custom import hooks. * ``astroid`` now infers return values from match cases. * ``AstroidManager.clear_cache`` now also clears the inference context cache. * ``Astroid`` now retrieves the default values of keyword only arguments and sets them on ``Arguments.kw_defaults``. * ``Uninferable`` now has the type ``UninferableBase``. This is to facilitate correctly type annotating code that uses this singleton. * Deprecate ``modutils.is_standard_module()``. It will be removed in the next minor release. * Fix ``are_exclusive`` function when a walrus operator is used inside ``IfExp.test`` field. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=82
This commit is contained in:
parent
77ba4a3f17
commit
d1e9fb3ed6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:572fa4250065a85286b09c26c53547360cb3a1171a52ae744ff7e31938b4842a
|
||||
size 440473
|
3
astroid-2.15.2-gh.tar.gz
Normal file
3
astroid-2.15.2-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb9a4ee7ca74a6f4f2a26e3cb68db2f0dc0a4350555782f3b61cb5bc7c1794e4
|
||||
size 461132
|
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 16 09:20:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.15.2:
|
||||
* Support more possible usages of ``attrs`` decorators.
|
||||
* Restore behavior of setting a Call as a base for classes
|
||||
created using ``six.with_metaclass()``,
|
||||
and harden support for using enums as metaclasses in this
|
||||
case.
|
||||
* astroid now supports ``TryStar`` nodes from python 3.11 and
|
||||
should be fully compatible with python 3.11.
|
||||
* ``Formattedvalue.postinit`` is now keyword only. This is to
|
||||
allow correct typing of the ``Formattedvalue`` class.
|
||||
* ``Astroid`` now supports custom import hooks.
|
||||
* ``astroid`` now infers return values from match cases.
|
||||
* ``AstroidManager.clear_cache`` now also clears the inference
|
||||
context cache.
|
||||
* ``Astroid`` now retrieves the default values of keyword only
|
||||
arguments and sets them on ``Arguments.kw_defaults``.
|
||||
* ``Uninferable`` now has the type ``UninferableBase``. This is
|
||||
to facilitate correctly type annotating code that uses this
|
||||
singleton.
|
||||
* Deprecate ``modutils.is_standard_module()``. It will be
|
||||
removed in the next minor release.
|
||||
* Fix ``are_exclusive`` function when a walrus operator is used
|
||||
inside ``IfExp.test`` field.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 7 08:50:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-astroid
|
||||
Version: 2.12.14
|
||||
Version: 2.15.2
|
||||
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