1
0

Compare commits

...

119 Commits

Author SHA256 Message Date
Ana Guerrero
3c0f3fb1a8 Accepting request 1234570 from devel:languages:python
- update to 3.3.8:
  * Fix inability to import `collections.abc` in python 3.13.1.
    The reported fixes in astroid 3.3.6 and 3.3.7 did not actually
    fix this issue.

OBS-URL: https://build.opensuse.org/request/show/1234570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=56
2025-01-06 15:04:55 +00:00
591b4ef01d - update to 3.3.8:
* Fix inability to import `collections.abc` in python 3.13.1.
    The reported fixes in astroid 3.3.6 and 3.3.7 did not actually
    fix this issue.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=111
2025-01-02 14:15:11 +00:00
Ana Guerrero
c708150b5c Accepting request 1217044 from devel:languages:python
- update to 3.3.5:
  * Control setting local nodes outside of the supposed local's
    constructor.
  * Fix Python 3.13 compatibility re: `collections.abc`

OBS-URL: https://build.opensuse.org/request/show/1217044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=55
2024-10-23 19:08:58 +00:00
55c7f0afdf - update to 3.3.5:
* Control setting local nodes outside of the supposed local's
    constructor.
  * Fix Python 3.13 compatibility re: `collections.abc`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=109
2024-10-22 13:46:29 +00:00
Ana Guerrero
5ea4b747ff Accepting request 1202985 from devel:languages:python
- update to 3.3.4:
  * Fix regression with f-string inference.
  * Fix bug with ``manager.clear_cache()`` not fully clearing
    cache
  * Fix a crash from inferring empty format specs.
  * Fix inference regression with property setters.
  * Add annotation-only instance attributes to attrs classes to
    fix `no-member` false positives.
  * Restore support for soft-deprecated members of the ``typing``
    module with python 3.13.
  * Fix a crash introduced in 3.3.0 involving invalid format
    strings.

OBS-URL: https://build.opensuse.org/request/show/1202985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=54
2024-09-25 19:51:16 +00:00
bb404eda28 - update to 3.3.4:
* Fix regression with f-string inference.
  * Fix bug with ``manager.clear_cache()`` not fully clearing
    cache
  * Fix a crash from inferring empty format specs.
  * Fix inference regression with property setters.
  * Add annotation-only instance attributes to attrs classes to
    fix `no-member` false positives.
  * Restore support for soft-deprecated members of the ``typing``
    module with python 3.13.
  * Fix a crash introduced in 3.3.0 involving invalid format
    strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=107
2024-09-24 13:54:53 +00:00
Dominique Leuenberger
e5238126ce Accepting request 1192588 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1192588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=53
2024-08-10 17:05:58 +00:00
Dominique Leuenberger
9f4e3b6ef8 Accepting request 1189108 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=52
2024-07-24 13:29:27 +00:00
9f6a3418ed Accepting request 1189035 from home:glaubitz:branches:devel:languages:python
- Update to 3.2.4
  * Avoid reporting unary/binary op type errors when inference
    is ambiguous.
- from version 3.2.3
  * Fix ``AssertionError`` when inferring a property consisting
    of a partial function.

OBS-URL: https://build.opensuse.org/request/show/1189035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=103
2024-07-22 18:48:53 +00:00
Ana Guerrero
3e3484f21b Accepting request 1185391 from devel:languages:python
- 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/request/show/1185391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=51
2024-07-05 17:45:10 +00:00
9a5f856633 - 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
2024-06-30 22:04:15 +00:00
Ana Guerrero
cb17148405 Accepting request 1160817 from devel:languages:python
- update to 3.1.0:
  * Include PEP 695 (Python 3.12) generic type syntax nodes in
    ``get_children()``, allowing checkers to visit them.
  * Add ``__main__`` as a possible inferred value for
    ``__name__`` to improve control flow inference around
    ``if __name__ == "__main__":`` guards.
  * Following a deprecation period, the ``names`` arg to the
    ``Import`` constructor and the ``op`` arg to the ``BoolOp``
    constructor are now required, and the ``doc`` args
    to the ``PartialFunction`` and ``Property`` constructors
    have been removed (call ``postinit(doc_node=...)`` instead.)
  * Following a deprecation announced in astroid 1.5.0, the alias
    ``AstroidBuildingException`` is removed in favor of
    ``AstroidBuildingError``.
  * Include modname in AST warnings. Useful for ``invalid escape
    sequence`` warnings with Python 3.12.
  * ``RecursionError`` is now trapped and logged out as
    ``UserWarning`` during astroid node transformations with
    instructions about raising the system recursion limit.
  * Suppress ``SyntaxWarning`` for invalid escape sequences on
    Python 3.12 when parsing modules.

OBS-URL: https://build.opensuse.org/request/show/1160817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=50
2024-03-25 20:06:40 +00:00
a736edde7b - update to 3.1.0:
* Include PEP 695 (Python 3.12) generic type syntax nodes in
    ``get_children()``, allowing checkers to visit them.
  * Add ``__main__`` as a possible inferred value for
    ``__name__`` to improve control flow inference around
    ``if __name__ == "__main__":`` guards.
  * Following a deprecation period, the ``names`` arg to the
    ``Import`` constructor and the ``op`` arg to the ``BoolOp``
    constructor are now required, and the ``doc`` args
    to the ``PartialFunction`` and ``Property`` constructors
    have been removed (call ``postinit(doc_node=...)`` instead.)
  * Following a deprecation announced in astroid 1.5.0, the alias
    ``AstroidBuildingException`` is removed in favor of
    ``AstroidBuildingError``.
  * Include modname in AST warnings. Useful for ``invalid escape
    sequence`` warnings with Python 3.12.
  * ``RecursionError`` is now trapped and logged out as
    ``UserWarning`` during astroid node transformations with
    instructions about raising the system recursion limit.
  * Suppress ``SyntaxWarning`` for invalid escape sequences on
    Python 3.12 when parsing modules.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=99
2024-03-22 19:55:45 +00:00
Ana Guerrero
09ecbd9ec6 Accepting request 1135253 from devel:languages:python
- update to 3.0.2:
  * Avoid duplicate inference results for some uses of
    ``typing.X`` constructs like ``Tuple[Optional[int], ...]``.
    This was causing pylint to occasionally omit messages like
    ``deprecated-typing-alias``.

- Correct Requires for typing_extensions.
- Update to 2.12.13:
- Update to 2.12.12:
    set to None.
  Closes #1755
    FunctionDef parent but are now correctly parented to their
- Drop part_rm_dep_imp.patch fixed upstream
  * Properly construct the arguments of infered property descriptors
  * Properly analyze CFFI compiled extensions.
    * brain plugins can now register hooks to handle failed imports,
    * Fix names grabed using wildcard import in "absolute import mode"
      (ie with absolute_import activated from the __future__ or with
    * fix #20760: crash on pyreverse : AttributeError: 'Subscript'
    by Dave Borowitz
  * new InstanceMethod node introduced to wrap bound method (eg
  * compatibility with python2.3 and logilab-common 0.21
  * .locals and .globals on scoped node handle now a list of

OBS-URL: https://build.opensuse.org/request/show/1135253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=49
2023-12-28 21:54:32 +00:00
f1a424594f - update to 3.0.2:
* Avoid duplicate inference results for some uses of
    ``typing.X`` constructs like ``Tuple[Optional[int], ...]``.
    This was causing pylint to occasionally omit messages like
    ``deprecated-typing-alias``.
- Correct Requires for typing_extensions.
- Update to 2.12.13:
- Update to 2.12.12:
    set to None.
  Closes #1755
    FunctionDef parent but are now correctly parented to their
- Drop part_rm_dep_imp.patch fixed upstream
  * Properly construct the arguments of infered property descriptors
  * Properly analyze CFFI compiled extensions.
    * brain plugins can now register hooks to handle failed imports,
    * Fix names grabed using wildcard import in "absolute import mode"
      (ie with absolute_import activated from the __future__ or with
    * fix #20760: crash on pyreverse : AttributeError: 'Subscript'
    by Dave Borowitz
  * new InstanceMethod node introduced to wrap bound method (eg
  * compatibility with python2.3 and logilab-common 0.21
  * .locals and .globals on scoped node handle now a list of

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=97
2023-12-27 09:43:11 +00:00
Ana Guerrero
7e6352677a Accepting request 1118346 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1118346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=48
2023-10-19 20:47:17 +00:00
027ea79a63 Accepting request 1118344 from home:mcalabkova:branches:devel:languages:python:312
- Update to 3.0.1
  * Add support for Python 3.12, including PEP 695 type parameter syntax.
  * Remove support for Python 3.7.
  * Use the global inference cache when inferring, even without an explicit
    InferenceContext.
  * Following a deprecation period starting in astroid 2.7.0, the astroid.node_classes
    and astroid.scoped_nodes modules have been removed in favor of astroid.nodes.node_classes
    and astroid.nodes.scoped_nodes.
  * Following a deprecation period starting in astroid 2.12.0, the astroid.mixins module
    has been removed in favor of astroid.nodes._base_nodes (private).
  * Remove @cached and @cachedproperty decorator (just use @cached_property from the stdlib).
  * Remove the inference module. Node inference methods are now in the module
    defining the node, rather than being associated to the node afterward.
  * Move LookupMixIn to astroid.nodes._base_nodes and make it private.
  * Remove the shims for OperationError, BinaryOperationError, and UnaryOperationError
    in exceptions. They were moved to util in astroid 1.5.0.
  * Reduce file system access in ast_from_file().
  * nodes.FunctionDef no longer inherits from nodes.Lambda.
  * infer_call_result now shares the same interface across all implementations.
  * Remove unused and / or deprecated constants.
  * The future argument to each method is deprecated and will be removed in astroid 4.0.
  * So many more changes, see https://github.com/pylint-dev/astroid/blob/main/ChangeLog
    for a complete list.

OBS-URL: https://build.opensuse.org/request/show/1118344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=95
2023-10-17 15:46:15 +00:00
Ana Guerrero
d1541c0f34 Accepting request 1098939 from devel:languages:python
- update to 2.15.6:
  * Harden ``get_module_part()`` against ``"."``.
  * Avoid expensive list/tuple multiplication operations that
    would result in ``MemoryError``.

OBS-URL: https://build.opensuse.org/request/show/1098939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=47
2023-07-19 17:09:38 +00:00
9c2fe1fac6 - update to 2.15.6:
* Harden ``get_module_part()`` against ``"."``.
  * Avoid expensive list/tuple multiplication operations that
    would result in ``MemoryError``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=93
2023-07-16 11:41:00 +00:00
Dominique Leuenberger
79445593cc Accepting request 1087263 from devel:languages:python
- update to 2.15.5:
  * Handle ``objects.Super`` in ``helpers.object_type()``.

OBS-URL: https://build.opensuse.org/request/show/1087263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=46
2023-05-16 12:16:04 +00:00
babc8d198d - update to 2.15.5:
* Handle ``objects.Super`` in ``helpers.object_type()``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=91
2023-05-15 16:20:18 +00:00
Dominique Leuenberger
462a18e51d Accepting request 1083439 from devel:languages:python
- Correct Requires for typing_extensions.

OBS-URL: https://build.opensuse.org/request/show/1083439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=45
2023-04-29 15:27:44 +00:00
Steve Kowalik
fea8e5dd34 - Correct Requires for typing_extensions.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=89
2023-04-28 07:12:51 +00:00
Dominique Leuenberger
21963bf0d5 Accepting request 1082830 from devel:languages:python
- update to 2.15.4:
  * Add visitor function for ``TryStar`` to ``AsStringVisitor``
    and add ``TryStar`` to ``astroid.nodes.ALL_NODE_CLASSES``.

OBS-URL: https://build.opensuse.org/request/show/1082830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=44
2023-04-27 17:57:09 +00:00
fbfa3ba1cb - update to 2.15.4:
* Add visitor function for ``TryStar`` to ``AsStringVisitor``
    and add ``TryStar`` to ``astroid.nodes.ALL_NODE_CLASSES``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=87
2023-04-25 22:01:09 +00:00
Dominique Leuenberger
ec3b35f980 Accepting request 1082058 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=43
2023-04-22 20:03:08 +00:00
4c4d017ded Accepting request 1081333 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=85
2023-04-21 15:12:43 +00:00
Dominique Leuenberger
d6ca129969 Accepting request 1080002 from devel:languages:python
- update to 2.15.3:
  * Fix ``infer_call_result()`` crash on methods called
    ``with_metaclass()``
  * Suppress ``UserWarning`` when finding module specs.

- 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/request/show/1080002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=42
2023-04-20 13:13:24 +00:00
54167c105e - update to 2.15.3:
* Fix ``infer_call_result()`` crash on methods called
    ``with_metaclass()``
  * Suppress ``UserWarning`` when finding module specs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=83
2023-04-17 19:07:57 +00:00
d1e9fb3ed6 - 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
2023-04-16 09:21:11 +00:00
Dominique Leuenberger
8759da0cb9 Accepting request 1058347 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1058347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=41
2023-01-15 16:57:59 +00:00
77ba4a3f17 - update to v2.12.14:
* Handle the effect of properties on the __init__ of a dataclass
    correctly.
  * Handle the effect of kw_only=True in dataclass fields correctly.
  * Handle the effect of init=False in dataclass fields correctly.
  * Fix crash if numpy module doesn't have version attribute.
  * Handle AttributeError during str.format template inference tip
    evaluation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=80
2023-01-07 08:53:07 +00:00
Dominique Leuenberger
dd4c7ec00a Accepting request 1039738 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=40
2022-12-04 13:57:43 +00:00
2c5918efbd Accepting request 1039708 from home:yarunachalam:branches:devel:languages:python
- Update to 2.12.13: 
  * Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``.
  Refs PyCQA/pylint#5099
  * Prevent a crash when inferring calls to ``str.format`` with inferred arguments
  that would be invalid.
  Closes #1856
  * Infer the `length` argument of the ``random.sample`` function.
  Refs PyCQA/pylint#7706
  * Catch ``ValueError`` when indexing some builtin containers and sequences during inference.
  Closes #1843

OBS-URL: https://build.opensuse.org/request/show/1039708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=78
2022-12-03 07:26:11 +00:00
Dominique Leuenberger
5be13e7892 Accepting request 1032176 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=39
2022-10-30 17:28:26 +00:00
ce9be89ce8 Accepting request 1031647 from home:yarunachalam:branches:devel:languages:python
- Update to 2.12.12: 
  * Add the ``length`` parameter to ``hash.digest`` & ``hash.hexdigest`` in the ``hashlib`` brain.
    Refs PyCQA/pylint#4039
  * Prevent a crash when a module's ``__path__`` attribute is unexpectedly missing.
    Refs PyCQA/pylint#7592
  * Fix inferring attributes with empty annotation assignments if parent
    class contains valid assignment.
    Refs PyCQA/pylint#7631

OBS-URL: https://build.opensuse.org/request/show/1031647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=76
2022-10-29 11:43:40 +00:00
Dominique Leuenberger
8739cb477a Accepting request 1010535 from devel:languages:python
- update to 2.12.11:
  * Improve detection of namespace packages for the modules with ``__spec__``
    set to None.

OBS-URL: https://build.opensuse.org/request/show/1010535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=38
2022-10-14 13:40:09 +00:00
cb1725c065 - update to 2.12.11:
* Improve detection of namespace packages for the modules with ``__spec__``
    set to None.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=74
2022-10-13 19:35:09 +00:00
Dominique Leuenberger
d6adcff512 Accepting request 1005710 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1005710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=37
2022-09-25 13:34:29 +00:00
0b8c790d0b Accepting request 1005671 from home:bnavigator:branches:devel:languages:python
- Update to v2.12.10
  * Fixed a crash when introspecting modules compiled by cffi.
  * decorators.cached now gets its cache cleared by calling
    AstroidManager.clear_cache.
- Release v2.12.9
  * Fixed creation of the __init__ of dataclassess with multiple
    inheritance.
  * Fixed a crash on namedtuples that use typename to specify
    their name.

OBS-URL: https://build.opensuse.org/request/show/1005671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=72
2022-09-24 06:35:01 +00:00
9b0007dfa2 Accepting request 1005503 from home:yarunachalam:branches:devel:languages:python
- Update to Version  2.12.8
  * Fixed a crash in the ``dataclass`` brain for ``InitVars`` without subscript typing.
  Closes PyCQA/pylint#7422
  * Fixed parsing of default values in ``dataclass`` attributes.
  Closes PyCQA/pylint#7425
- Update to Version 2.12.7
  * Fixed a crash in the ``dataclass`` brain for uninferable bases.
  Closes PyCQA/pylint#7418
- Update to Version 2.12.6
  * Fix a crash involving ``Uninferable`` arguments to ``namedtuple()``.
  Closes PyCQA/pylint#7375
  * The ``dataclass`` brain now understands the ``kw_only`` keyword in dataclass decorators.
  Closes PyCQA/pylint#7290
- Update to Version 2.12.5
  * Prevent first-party imports from being resolved to `site-packages`.
  Refs PyCQA/pylint#7365
  * Fix ``astroid.interpreter._import.util.is_namespace()`` incorrectly
  returning ``True`` for frozen stdlib modules on PyPy.
  Closes #1755

OBS-URL: https://build.opensuse.org/request/show/1005503
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=71
2022-09-23 11:25:38 +00:00
Dominique Leuenberger
6700151d8c Accepting request 999930 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=36
2022-08-30 12:48:29 +00:00
55a699f6d9 Accepting request 999550 from home:bnavigator:branches:devel:languages:python
- Update to 2.12.4
  * Fixed a crash involving non-standard type comments such as
    `# type: # any comment`.
- Big changelog since 2.9.3, see file Changelog
  * mostly crash fixes
  * Python >= 3.7 is required

OBS-URL: https://build.opensuse.org/request/show/999550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=69
2022-08-29 11:32:08 +00:00
Dominique Leuenberger
f54f70b6ab Accepting request 946671 from devel:languages:python
- update to 2.9.3:
  * Fixed regression where packages without a ``__init__.py`` file were
    not recognized or imported correctly.
  * Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass``
    was not accessible anymore.
  * ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising ``ParentMissingError``
    instead of ``AttributeError`` in astroid 3.0. This behaviour can already be triggered
    by passing ``future=True`` to a ``frame()`` or ``statement()`` call.
  * Prefer the module loader get_source() method in AstroidBuilder's
    module_build() when possible to avoid assumptions about source
    code being available on a filesystem.  Otherwise the source cannot
    be found and application behavior changes when running within an
    embedded hermetic interpreter environment (pyoxidizer, etc.).
  * Require Python 3.6.2 to use astroid.
  * Removed custom ``distutils`` handling for resolving paths to submodules.
  * Fix ``deque.insert()`` signature in ``collections`` brain.
  * Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and ``end_col_offset``
    attributes.
  * Fix typing and update explanation for ``Arguments.args`` being ``None``.
  * Fix crash if a variable named ``type`` is subscripted in a generator expression.
  * Enable inference of dataclass import from marshmallow_dataclass.
    This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass.
  * Resolve symlinks in the import path
    Fixes inference error when the import path includes symlinks (e.g. Python
    installed on macOS via Homebrew).

OBS-URL: https://build.opensuse.org/request/show/946671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=35
2022-01-17 21:33:51 +00:00
6dbe21c7b4 - update to 2.9.3:
* Fixed regression where packages without a ``__init__.py`` file were
    not recognized or imported correctly.
  * Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass``
    was not accessible anymore.
  * ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising ``ParentMissingError``
    instead of ``AttributeError`` in astroid 3.0. This behaviour can already be triggered
    by passing ``future=True`` to a ``frame()`` or ``statement()`` call.
  * Prefer the module loader get_source() method in AstroidBuilder's
    module_build() when possible to avoid assumptions about source
    code being available on a filesystem.  Otherwise the source cannot
    be found and application behavior changes when running within an
    embedded hermetic interpreter environment (pyoxidizer, etc.).
  * Require Python 3.6.2 to use astroid.
  * Removed custom ``distutils`` handling for resolving paths to submodules.
  * Fix ``deque.insert()`` signature in ``collections`` brain.
  * Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and ``end_col_offset``
    attributes.
  * Fix typing and update explanation for ``Arguments.args`` being ``None``.
  * Fix crash if a variable named ``type`` is subscripted in a generator expression.
  * Enable inference of dataclass import from marshmallow_dataclass.
    This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass.
  * Resolve symlinks in the import path
    Fixes inference error when the import path includes symlinks (e.g. Python
    installed on macOS via Homebrew).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=68
2022-01-15 16:45:59 +00:00
Dominique Leuenberger
3617b0abf7 Accepting request 938244 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/938244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=34
2021-12-25 19:16:22 +00:00
222d7799b8 Accepting request 937782 from home:pgajdos:python
- version update to 2.9.0
  * Add ``end_lineno`` and ``end_col_offset`` attributes to astroid nodes.
  * Always treat ``__class_getitem__`` as a classmethod.
  * Add missing ``as_string`` visitor method for ``Unknown`` node.
  * Fix crash on inference of subclasses created from ``Class().__subclasses__``
  * Fix bug with Python 3.7.0 / 3.7.1 and ``typing.NoReturn``.

OBS-URL: https://build.opensuse.org/request/show/937782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=67
2021-12-09 16:54:39 +00:00
Dominique Leuenberger
ee824778fe Accepting request 931287 from devel:languages:python
- update to 2.8.5:
  * Use more permissive versions for the ``typed-ast`` dependencie
    (<2.0 instead of <1.5)
  * Fix crash on inference of ``__len__``.
  * Added missing ``kind`` (for ``Const``) and ``conversion``
    (for ``FormattedValue``) fields to repr.
  * Fix crash with assignment expressions, nested if expressions
    and filtering of statements
  * Fix incorrect filtering of assignment expressions statements

OBS-URL: https://build.opensuse.org/request/show/931287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=33
2021-11-15 14:26:20 +00:00
93a25f6815 - update to 2.8.5:
* Use more permissive versions for the ``typed-ast`` dependencie
    (<2.0 instead of <1.5)
  * Fix crash on inference of ``__len__``.
  * Added missing ``kind`` (for ``Const``) and ``conversion``
    (for ``FormattedValue``) fields to repr.
  * Fix crash with assignment expressions, nested if expressions
    and filtering of statements
  * Fix incorrect filtering of assignment expressions statements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=66
2021-11-13 20:22:50 +00:00
Dominique Leuenberger
5a5792ccd0 Accepting request 927851 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/927851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=32
2021-10-30 21:13:19 +00:00
814e66b81c 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
2021-10-27 19:47:00 +00:00
Dominique Leuenberger
3852176b1d Accepting request 922942 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/922942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=31
2021-10-20 18:23:14 +00:00
05d0f1bac9 Accepting request 922892 from home:bnavigator:branches:devel:languages:python
- Update to 2.8.0
  * Add additional deprecation warnings in preparation for astroid
    3.0
    * Require attributes for some node classes with ``__init__``
      call.
      * ``name`` (``str``) for ``Name``, ``AssignName``,
        ``DelName``
      * ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``,
        ``DelAttr``
      * ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``,
        ``UnaryOp``
      * ``names`` (``list[tuple[str, str | None]]``) for ``Import``
  * Support pyz imports
  * Add ``node_ancestors`` method to ``NodeNG`` for obtaining the
    ancestors of nodes.
  * It's now possible to infer the value of comparison nodes
  * Fixed bug in inference of dataclass field calls.
- Release 2.7.3
  * The transforms related to a module are applied only if this
    module has not been explicitly authorized to be imported
    (i.e is not in AstroidManager.extension_package_whitelist).
    Solves the following issues if numpy is authorized to be
    imported through the `extension-pkg-allow-list` option.
  * Fixed bug in attribute inference from inside method calls.
  * Fixed bug in inference for superclass instance methods called
    from the class rather than an instance.
  * Fixed bug in inference of chained attributes where a subclass
    had an attribute that was an instance of its superclass.
  * Adds a brain for the ctypes module.
  * When processing dataclass attributes, exclude the same type

OBS-URL: https://build.opensuse.org/request/show/922892
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=64
2021-10-04 07:07:59 +00:00
Dominique Leuenberger
72118286f0 Accepting request 914343 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/914343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=30
2021-08-28 20:28:46 +00:00
3b8f69e26c Accepting request 913391 from home:bnavigator:branches:devel:languages:python
- Add typing_extensions as requirement for python36

OBS-URL: https://build.opensuse.org/request/show/913391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=63
2021-08-26 07:06:29 +00:00
Dominique Leuenberger
6460142b31 Accepting request 913270 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/913270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=29
2021-08-24 08:54:01 +00:00
82f547ee0a Accepting request 913116 from home:glaubitz:branches:devel:languages:python
- Update to 2.7.1
  * When processing dataclass attributes, only do typing inference on collection types.
    Support for instantiating other typing types is left for the future, if desired.
    Closes #1129
  * Fixed LookupMixIn missing from ``astroid.node_classes``.
- from version 2.7.0
  * Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of
    ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0.
  * Add support for arbitrary Enum subclass hierachies
    Closes PyCQA/pylint#533
    Closes PyCQA/pylint#2224
    Closes PyCQA/pylint#2626
  * Add inference tips for dataclass attributes, including dataclasses.field calls.
    Also add support for InitVar.
    Closes PyCQA/pylint#2600
    Closes PyCQA/pylint#2698
    Closes PyCQA/pylint#3405
    Closes PyCQA/pylint#3794
  * Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module.
    Closes PyCQA/pylint#4060
- from version 2.6.6
  * Added support to infer return type of ``typing.cast()``
  * Fix variable lookup's handling of exclusive statements
    Closes PyCQA/pylint#3711
  * Fix variable lookup's handling of function parameters
    Closes PyCQA/astroid#180
  * Fix variable lookup's handling of except clause variables
  * Fix handling of classes with duplicated bases with the same name
    Closes PyCQA/astroid#1088
- from version 2.6.5

OBS-URL: https://build.opensuse.org/request/show/913116
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=62
2021-08-20 07:29:13 +00:00
Dominique Leuenberger
54091c92a2 Accepting request 891345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/891345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=28
2021-05-12 17:31:14 +00:00
c6747b13c0 Accepting request 891337 from home:bnavigator:branches:devel:languages:python
- Update to 2.5.6
  * Fix retro-compatibility issues with old version of pylint
    Closes PyCQA/pylint#4402
  * Fixes the discord link in the project urls of the package.
    Closes PyCQA/pylint#4393
  * The packaging is now done via setuptools exclusively.
    doc, tests, and Changelog are not packaged anymore - reducing
    the size of the package greatly.
  * __pkginfo__ now only contain __version__ (also accessible with
    astroid.__version__), other meta-information are still
    accessible with import importlib;metadata.metadata('astroid').
  * Added inference tip for typing.Tuple alias
  * Fix crash when evaluating typing.NamedTuple
    Closes PyCQA/pylint#4383
  * COPYING was removed in favor of COPYING.LESSER and the latter
    was renamed to LICENSE to make more apparent that the code is
    licensed under LGPLv2 or later.
  * Takes into account the fact that subscript inferring for a
    ClassDef may involve class_getitem method
  * Reworks the collections and typing brain so that pylint`s
    acceptance tests are fine.
    Closes PyCQA/pylint#4206
  * Use inference_tip for typing.TypedDict brain.
  * Fix mro for classes that inherit from typing.Generic
  * Add inference tip for typing.Generic and typing.Annotated with
     __class_getitem__
   Closes PyCQA/pylint#2822
  * Detects import numpy as a valid numpy import.
    Closes PyCQA/pylint#3974
  * Iterate over Keywords when using ClassDef.get_children

OBS-URL: https://build.opensuse.org/request/show/891337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=60
2021-05-07 15:25:28 +00:00
Richard Brown
d27b7b8f9a Accepting request 880615 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/880615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=27
2021-04-01 12:15:49 +00:00
eff376519d Accepting request 880419 from home:bnavigator:branches:devel:languages:python
- Update to 2.5.1
  * The context.path is reverted to a set because otherwise it
    leads to false positives for non `numpy` functions.
  * Don't transform dataclass ClassVars
  * Improve typing.TypedDict inference
  * Fix the `Duplicates found in MROs` false positive.
- Release 2.5.0
  * Adds `attr_fset` in the `PropertyModel` class.
  * Remove support for Python 3.5.
  * Remove the runtime dependency on six. The six brain
    remains in astroid.
  * Enrich the brain_collection module so that __class_getitem__
    method is added to `deque` for
    python version above 3.9.
  * The context.path is now a dict and the context.push method
    returns True if the node has been visited a certain amount of
    times.
  * Adds a brain for type object so that it is possible to write
    `type[int]` in annotation.
  * Add __class_getitem__ method to subprocess.Popen brain under
    Python 3.9 so that it is seen as subscriptable by pylint.
  * Adds `degrees`, `radians`, which are `numpy ufunc` functions,
    in the `numpy` brain. Adds `random` function in the `numpy.
    random` brain.
  * Fix deprecated importlib methods
  * Fix a crash in inference caused by `Uninferable` container
    elements
  * Add `python 3.9` support.
  * The flat attribute of numpy.ndarray is now inferred as an
    numpy.ndarray itself. It should be a numpy.flatiter instance,
    but this class is not yet available in the numpy brain.
  * Fix a bug for dunder methods inference of function objects
  * Fixes a bug in the signature of the ndarray.__or__ method,
    in the brain_numpy_ndarray.py module.
  * Fixes a to-list cast bug in starred_assigned_stmts method,
    in the protocols.py` module.
  * Added a brain for hypothesis.strategies.composite
  * The transpose of a numpy.ndarray is also a numpy.ndarray
  * Added a brain for sqlalchemy.orm.session
  * Separate string and bytes classes patching
  * Prevent recursion error for self referential length calls
  * Added missing methods to the brain for mechanize, to fix
    pylint false positives
  * Added more supported parameters to subprocess.check_output
  * Fix recursion errors with pandas
  * Added exception inference for `UnicodeDecodeError`
  * `FunctionDef.is_generator` properly handles `yield` nodes in
    `If` tests
  * Fixed exception-chaining error messages.
  * Fix failure to infer base class type with multiple inheritance
    and qualified names
  * Fix interpretation of six.with_metaclass class definitions.
  * Reduce memory usage of astroid's module cache.
  * Remove dependency on `imp`.
  * Do not crash when encountering starred assignments in enums.
  * Fix a crash in functools.partial inference when the arguments
    cannot be determined
  * Fix a crash caused by a lookup of a monkey-patched method
  * is_generator correctly considers `Yield` nodes in `AugAssign`
    nodes
    This fixes a false positive with the
    `assignment-from-no-return` pylint check.
  * Corrected the parent of function type comment nodes.
    These nodes used to be parented to their original ast.
    FunctionDef parent but are now correctly parented to their 
    astroid.FunctionDef parent.
- Drop part_rm_dep_imp.patch fixed upstream 
- Drop unpin-deps.patch unpinned upstream

OBS-URL: https://build.opensuse.org/request/show/880419
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=58
2021-03-22 22:15:02 +00:00
Dominique Leuenberger
80af1917b6 Accepting request 853413 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=26
2020-12-12 19:28:43 +00:00
f5dc3d88ee Accepting request 853331 from home:bnavigator:branches:devel:languages:python
- Fix python_sitelib usage for possibly multiple python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/853331
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=56
2020-12-06 17:35:23 +00:00
Dominique Leuenberger
403c843d53 Accepting request 816653 from devel:languages:python
- Add part_rm_dep_imp.patch to replace missing `imp` package
  (gh#PyCQA/astroid#686).

OBS-URL: https://build.opensuse.org/request/show/816653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=25
2020-06-26 19:44:15 +00:00
ba5f783dd0 - Add part_rm_dep_imp.patch to replace missing imp package
(gh#PyCQA/astroid#686).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=54
2020-06-23 16:54:11 +00:00
Dominique Leuenberger
1ff7d31070 Accepting request 814800 from devel:languages:python
- Update to 2.4.2:
  * `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests
  * Properly construct the arguments of infered property descriptors

OBS-URL: https://build.opensuse.org/request/show/814800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=24
2020-06-21 16:51:50 +00:00
Steve Kowalik
1d3acd69d1 - Update to 2.4.2:
* `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests
  * Properly construct the arguments of infered property descriptors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=52
2020-06-16 03:03:01 +00:00
Yuchen Lin
7c1fd6b4f9 Accepting request 807183 from devel:languages:python
doesn't break new pylint anymore

OBS-URL: https://build.opensuse.org/request/show/807183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=23
2020-05-28 07:08:00 +00:00
Steve Kowalik
d225e05802 - Update to 2.4.1:
* Handle the case where the raw builder fails to retrieve the ``__all__`` attribute
  * Restructure the AST parsing heuristic to always pick the same module
  * Changed setup.py to work with [distlib](https://pypi.org/project/distlib)
  * Do not crash with SyntaxError when parsing namedtuples with invalid label
  * Protect against ``infer_call_result`` failing with `InferenceError` in `Super.getattr()`
  * Expose a ast_from_string method in AstroidManager, which will accept
  * ``BoundMethod.implicit_parameters`` returns a proper value for ``__new__``
  * Allow slots added dynamically to a class to still be inferred
  * Allow `FunctionDef.getattr` to look into both instance attrs and special attributes
  * Infer qualified ``classmethod`` as a classmethod.
  * Prevent a recursion error to happen when inferring the declared metaclass of a class
  * Raise ``AttributeInferenceError`` when ``getattr()`` receives an empty name
  * Prevent a recursion error for self reference variables and `type()` calls.
  * Do not infer the first argument of a staticmethod in a metaclass as the class itself
  * ``NodeNG.bool_value()`` gained an optional ``context`` parameter
  * Pass a context argument to ``astroid.Arguments`` to prevent recursion errors
  * Better inference of class and static methods decorated with custom methods
  * Reverse the order of decorators for `infer_subscript`
  * Prevent a recursion error when inferring self-referential variables without definition
  * Numpy `datetime64.astype` return value is inferred as a `ndarray`.
  * Skip non ``Assign`` and ``AnnAssign`` nodes from enum reinterpretation
  * Numpy ``ndarray`` attributes ``imag`` and ``real`` are now inferred as ``ndarray``.
  * Added a call to ``register_transform`` for all functions of the ``brain_numpy_core_multiarray``
  * Use the parent of the node when inferring aug assign nodes instead of the statement
  * Added some functions to the ``brain_numpy_core_umath`` module
  * Added some functions of the ``numpy.core.multiarray`` module
  * All the ``numpy ufunc`` functions derived now from a common class that
  * ``nodes.Const.itered`` returns a list of ``Const`` nodes, not strings
  * The ``shape`` attribute of a ``numpy ndarray`` is now a ``ndarray``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=50
2020-05-07 04:39:47 +00:00
Dominique Leuenberger
38e68d243d Accepting request 748640 from devel:languages:python
- Update to 2.3.3:
  * Update six version to 1.13.
- Update unpin-deps.patch

OBS-URL: https://build.opensuse.org/request/show/748640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=22
2019-11-22 09:24:28 +00:00
bc0cfa9090 Update changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=48
2019-11-14 10:34:10 +00:00
d30a5a3913 - Update to 2.3.3:
* Update six version to 1.13.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=47
2019-11-14 10:33:37 +00:00
Dominique Leuenberger
a25b9c8acf Accepting request 744674 from devel:languages:python
- Update to 2.3.2:
  * All type comments have as parent the corresponding `astroid` node
  * Pass an inference context to `metaclass()` when inferring an object type

OBS-URL: https://build.opensuse.org/request/show/744674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=21
2019-11-04 16:13:51 +00:00
Tomáš Chvátal
7380d20f7d - Update to 2.3.2:
* All type comments have as parent the corresponding `astroid` node
  * Pass an inference context to `metaclass()` when inferring an object type

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=45
2019-11-01 08:38:30 +00:00
Dominique Leuenberger
1f5b3bd803 Accepting request 734939 from devel:languages:python
- Add patch to not use pinned dependencies and to work in our distro:
  * unpin-deps.patch

- Update to 2.3.1
  * A transform for the builtin `dataclasses` module was added.
  * Add a brain tip for ``subprocess.check_output``
  * Remove NodeNG.nearest method because of lack of usage in astroid and pylint.
  * Allow importing wheel files.
  * Dropped support for Python 3.4.
  * Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment expressions.
  * ...and more.

OBS-URL: https://build.opensuse.org/request/show/734939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=20
2019-10-10 09:51:05 +00:00
Tomáš Chvátal
858a1eb090 - Add patch to not use pinned dependencies and to work in our distro:
* unpin-deps.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=43
2019-10-04 08:27:26 +00:00
Tomáš Chvátal
8afd70bd6f Accepting request 734809 from home:mcalabkova:branches:devel:languages:python
- Update to 2.3.1
  * A transform for the builtin `dataclasses` module was added.
  * Add a brain tip for ``subprocess.check_output``
  * Remove NodeNG.nearest method because of lack of usage in astroid and pylint.
  * Allow importing wheel files.
  * Dropped support for Python 3.4.
  * Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment expressions.
  * ...and more.

OBS-URL: https://build.opensuse.org/request/show/734809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=42
2019-10-04 07:42:00 +00:00
Dominique Leuenberger
c1b482cbd6 Accepting request 687619 from devel:languages:python
- Update to 2.2.5:
  * The last except handler wins when inferring variables bound in an except handler.

- Update to 2.2.4:

OBS-URL: https://build.opensuse.org/request/show/687619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=19
2019-03-29 19:37:03 +00:00
Tomáš Chvátal
ffb348bdb3 - Update to 2.2.5:
* The last except handler wins when inferring variables bound in an except handler.
- Update to 2.2.4:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=40
2019-03-11 09:48:36 +00:00
Dominique Leuenberger
02757c0205 Accepting request 682136 from devel:languages:python
- Update to 2.2.1:
  * Many changes inside, see ChangeLog

OBS-URL: https://build.opensuse.org/request/show/682136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=18
2019-03-08 10:01:21 +00:00
Tomáš Chvátal
0b20e649d5 - Update to 2.2.1:
* Many changes inside, see ChangeLog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=38
2019-03-06 12:28:08 +00:00
Dominique Leuenberger
fc24af37e1 Accepting request 662218 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/662218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=17
2019-01-03 17:04:18 +00:00
f6073afbcb Accepting request 662194 from devel:languages:python:avocado
- Correct conditional for older distros
- Update filelist to work on SLE-12

OBS-URL: https://build.opensuse.org/request/show/662194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=36
2018-12-31 18:08:04 +00:00
Dominique Leuenberger
1d8c732a23 Accepting request 655705 from devel:languages:python
- Version update to 2.1.0:
  * Many changes around, see ChangeLog file

OBS-URL: https://build.opensuse.org/request/show/655705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=16
2018-12-14 19:46:29 +00:00
Tomáš Chvátal
20d170daa7 - Version update to 2.1.0:
* Many changes around, see ChangeLog file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=34
2018-12-06 14:40:55 +00:00
Dominique Leuenberger
20f068b064 Accepting request 636609 from devel:languages:python
- Trim future goals and history lesson from description.
  Use noun phrase in summary.

- Version update to 2.0.4:
  * only supports python3.0+
  * Many many changes see ChangeLog fixes

OBS-URL: https://build.opensuse.org/request/show/636609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=15
2018-09-26 12:53:31 +00:00
Tomáš Chvátal
d60d343127 Accepting request 636333 from home:jengelh:branches:devel:languages:python
- Trim future goals and history lesson from description.
  Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/636333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=32
2018-09-18 09:13:53 +00:00
Tomáš Chvátal
35c649bff6 - Version update to 2.0.4:
* only supports python3.0+
  * Many many changes see ChangeLog fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=31
2018-09-14 15:38:03 +00:00
Dominique Leuenberger
6f45afc261 Accepting request 623122 from devel:languages:python
- Version update to 1.6.5:
  * Many various bugfixes making the pylint tests pass
  * For details see ChangeLog

OBS-URL: https://build.opensuse.org/request/show/623122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=14
2018-07-21 08:07:38 +00:00
Tomáš Chvátal
842f102c9b - Version update to 1.6.5:
* Many various bugfixes making the pylint tests pass
  * For details see ChangeLog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=29
2018-07-16 12:10:18 +00:00
Dominique Leuenberger
002cd0e736 Accepting request 568846 from devel:languages:python
- Version update to 1.6.1:
  * Various fixes for python3
  * Various pylint issues fixes
  * For detailed log see ChangeLog
- Disable tests for now as they seem to fail, upstream knows

OBS-URL: https://build.opensuse.org/request/show/568846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=13
2018-01-25 11:37:01 +00:00
Tomáš Chvátal
5fa479986b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=27 2018-01-24 10:13:23 +00:00
Tomáš Chvátal
3daab206ac - Version update to 1.6.1:
* Various fixes for python3
  * Various pylint issues fixes
  * For detailed log see ChangeLog
- Disable tests for now as they seem to fail, upstream knows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=26
2018-01-24 10:13:11 +00:00
Yuchen Lin
3e66e1ba21 Accepting request 481993 from devel:languages:python
- update for singlespec
- update to 1.4.9
  * classes can now know their definition-time arguments
  * getitem() now accepts node objects
  * explicit namespace package support
  * see more details in ChangeLog
- update to 2.0-pre-release git version for python 3.6 support
  (boo#1026174)
- enable test suite for all pythons

OBS-URL: https://build.opensuse.org/request/show/481993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=12
2017-04-12 15:31:55 +00:00
Jan Matejek
c920610925 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=24 2017-03-22 14:36:31 +00:00
Jan Matejek
4d132645cd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=23 2017-03-21 16:03:25 +00:00
Jan Matejek
e3c0d8a14e Accepting request 479728 from devel:languages:python:singlespec
- update for singlespec
- update to 1.4.9
  * classes can now know their definition-time arguments
  * getitem() now accepts node objects
  * explicit namespace package support
  * see more details in ChangeLog
- update to 2.0-pre-release git version for python 3.6 support
  (boo#1026174)
- enable test suite for all pythons

OBS-URL: https://build.opensuse.org/request/show/479728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=22
2017-03-15 15:32:03 +00:00
Dominique Leuenberger
ae69f8d629 Accepting request 360901 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/360901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=11
2016-04-22 14:22:43 +00:00
c3f58a9c2e Accepting request 358744 from home:stroeder:branches:devel:languages:python
update to 1.4.4 and added new dependencies on *new* packages (python-lazy_object_proxy and python-wrapt)

OBS-URL: https://build.opensuse.org/request/show/358744
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=20
2016-02-22 14:48:17 +00:00
Dominique Leuenberger
859ea641d3 Accepting request 353384 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/353384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=10
2016-01-13 21:46:12 +00:00
Todd R
230269b9c8 Accepting request 353375 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.4.3

OBS-URL: https://build.opensuse.org/request/show/353375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=18
2016-01-13 10:21:03 +00:00
Dominique Leuenberger
b94282863f Accepting request 290995 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/290995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=9
2015-03-18 12:05:34 +00:00
Michal Čihař
54e7452f9e Accepting request 290986 from home:Nijel:branches:devel:languages:python
-  Update to 1.3.6:
    * Class.slots raises NotImplementedError for old style classes.
      Closes issue #67.
    * Add a new option to AstroidManager, `optimize_ast`, which
      controls if peephole optimizer should be enabled or not.
      This prevents a regression, where the visit_binop method
      wasn't called anymore with astroid 1.3.5, due to the differences
      in the resulting AST. Closes issue #82.
    * Add the ability to optimize small ast subtrees,
      with the first use in the optimization of multiple
      BinOp nodes. This removes recursivity in the rebuilder
      when dealing with a lot of small strings joined by the
      addition operator. Closes issue #59.
    * Obtain the methods for the nose brain tip through an
      unittest.TestCase instance. Closes Pylint issue #457.
    * Fix a crash which occurred when a class was the ancestor
      of itself. Closes issue #78.
    * Improve the scope_lookup method for Classes regarding qualified
      objects, with an attribute name exactly as one provided in the
      class itself.
      For example, a class containing an attribute 'first',
      which was also an import and which had, as a base, a qualified name
      or a Gettattr node, in the form 'module.first', then Pylint would
      have inferred the `first` name as the function from the Class,
      not the import. Closes Pylint issue #466.
    * Implement the assigned_stmts operation for Starred nodes,
      which was omitted when support for Python 3 was added in astroid.
      Closes issue #36.

OBS-URL: https://build.opensuse.org/request/show/290986
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=16
2015-03-16 12:58:31 +00:00
Dominique Leuenberger
d850f161fd Accepting request 286632 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/286632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=8
2015-02-18 19:36:45 +00:00
Michal Čihař
f3ba169db5 Accepting request 286631 from home:Nijel:branches:devel:languages:python
- Update to 1.3.4:
    * Get the first element from the method list when obtaining
      the functions from nose.tools.trivial. Closes Pylint issue #448.
    * Restore file_stream to a property, but deprecate it in favour of
      the newly added method Module.stream. By using a method instead of a
      property, it will be easier to properly close the file right
      after it is used, which will ensure that no file descriptors are
      leaked. Until now, due to the fact that a module was cached,
      it was not possible to close the file_stream anywhere.
      file_stream will start emitting PendingDeprecationWarnings in
      astroid 1.4, DeprecationWarnings in astroid 1.5 and it will
      be finally removed in astroid 1.6.
    * Add inference tips for 'tuple', 'list', 'dict' and 'set' builtins.
    * Add brain definition for most string and unicode methods
    * Changed the API for Class.slots. It returns None when the class
      doesn't define any slots. Previously, for both the cases where
      the class didn't have slots defined and when it had an empty list
      of slots, Class.slots returned an empty list.
    * Add a new method to Class nodes, 'mro', for obtaining the
      the method resolution order of the class.
    * Add brain tips for six.moves. Closes issue #63.
    * Improve the detection for functions decorated with decorators
      which returns static or class methods.
    * .slots() can contain unicode strings on Python 2.
    * Add inference tips for nose.tools.

OBS-URL: https://build.opensuse.org/request/show/286631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=14
2015-02-18 13:51:04 +00:00
Dominique Leuenberger
31f26b84dd Accepting request 264412 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/264412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=7
2014-12-08 15:56:56 +00:00
Michal Čihař
74dc46bc9b Accepting request 264405 from home:Nijel:branches:devel:languages:python
- Update to 1.3.2:
    * Fixed a crash with invalid subscript index.
    * Implement proper base class semantics for Python 3, where
      every class derives from object.
    * Allow more fine-grained control over C extension loading
      in the manager.
    * Fixed a crash issue with the pytest brain module.

OBS-URL: https://build.opensuse.org/request/show/264405
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=12
2014-12-08 13:31:44 +00:00
Dominique Leuenberger
01f3106124 Accepting request 262555 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/262555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=6
2014-11-24 10:08:58 +00:00
Michal Čihař
b03062858e 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
2014-11-21 09:01:07 +00:00
Stephan Kulow
e4781e1879 Accepting request 259679 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/259679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=5
2014-11-05 14:55:05 +00:00
Michal Čihař
6ea5416d83 Accepting request 259678 from home:Nijel:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/259678
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=8
2014-11-04 16:42:08 +00:00
f948cef7dd Accepting request 244309 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/244309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=3
2014-08-13 15:08:16 +00:00
Denisart Benjamin
f422f5db3b Accepting request 244298 from home:Nijel:branches:devel:languages:python
- Update to 1.2.0
    * Function nodes can detect decorator call chain and see if they are
      decorated with builtin descriptors (`classmethod` and `staticmethod`).
    * infer_call_result called on a subtype of the builtin type will now
      return a new `Class` rather than an `Instance`.
    * `Class.metaclass()` now handles module-level __metaclass__ declaration
      on python 2, and no longer looks at the __metaclass__ class attribute on
      python 3.
    * Function nodes can detect if they are decorated with subclasses
      of builtin descriptors when determining their type
      (`classmethod` and `staticmethod`).
    * Add `slots` method to `Class` nodes, for retrieving
      the list of valid slots it defines.
    * Expose function annotation to astroid: `Arguments` node
      exposes 'varargannotation', 'kwargannotation' and 'annotations'
      attributes, while `Function` node has the 'returns' attribute.
    * Backported most of the logilab.common.modutils module there, as
      most things there are for pylint/astroid only and we want to be
      able to fix them without requiring a new logilab.common release
    * Fix names grabed using wildcard import in "absolute import mode" 
      (ie with absolute_import activated from the __future__ or with 
      python 3). Fix pylint issue #58.
    * Add support in pylint-brain for understanding enum classes.

OBS-URL: https://build.opensuse.org/request/show/244298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=6
2014-08-12 10:49:54 +00:00
Stephan Kulow
fe596a8a15 Accepting request 241906 from devel:languages:python
Update to 1.1.1

python-logilab-common is in openSUSE:Factory so this builds now.

OBS-URL: https://build.opensuse.org/request/show/241906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=2
2014-07-23 20:07:02 +00:00
Todd R
83d95643b3 Accepting request 240195 from home:TheBlackCat:branches:devel:languages:python
Update to 1.1.1

OBS-URL: https://build.opensuse.org/request/show/240195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=5
2014-07-10 13:22:28 +00:00
Stephan Kulow
f8845fdca6 Accepting request 208820 from devel:languages:python
This is a renamed version of python-logilab-astng.  It is needed for the new version of python-pylint, which is already in openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/208820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=1
2013-12-03 09:31:39 +00:00
Todd R
8fa2afc49b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=3 2013-11-28 14:55:58 +00:00
Todd R
c74a9b4256 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=2 2013-11-28 14:54:44 +00:00
Todd R
ad7b1cd997 Accepting request 208818 from home:TheBlackCat:branches:devel:languages:python
Renamed python-logilab-astng

OBS-URL: https://build.opensuse.org/request/show/208818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=1
2013-11-28 14:49:38 +00:00
6 changed files with 37 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ff8e7de62e56c107334c15dfa336256901711e931e0f644a366bcb91e276a42
size 465306

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e668c1d31790c6dcc4ab0ec6251cb02ed3c610a860d66ffeb6f72f1811f13605
size 465788

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5da09c3adce28afa8686b9753fe7d0c7ad04ace41cfe34f62761c659402de0d
size 463962

3
astroid-3.3.8-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fd092083a3cbb72a8e0ddbcb9f9dcd6b2ae068f745cd1c0a6844a6a143ab297
size 467093

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Jan 2 14:14:36 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.3.8:
* Fix inability to import `collections.abc` in python 3.13.1.
The reported fixes in astroid 3.3.6 and 3.3.7 did not actually
fix this issue.
-------------------------------------------------------------------
Tue Oct 22 13:46:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.3.5:
* Control setting local nodes outside of the supposed local's
constructor.
* Fix Python 3.13 compatibility re: `collections.abc`
-------------------------------------------------------------------
Tue Sep 24 13:54:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.3.4:
* Fix regression with f-string inference.
* Fix bug with ``manager.clear_cache()`` not fully clearing
cache
* Fix a crash from inferring empty format specs.
* Fix inference regression with property setters.
* Add annotation-only instance attributes to attrs classes to
fix `no-member` false positives.
* Restore support for soft-deprecated members of the ``typing``
module with python 3.13.
* Fix a crash introduced in 3.3.0 involving invalid format
strings.
-------------------------------------------------------------------
Tue Aug 6 09:29:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-astroid
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-astroid
Version: 3.3.0
Version: 3.3.8
Release: 0
Summary: Representation of Python source as an AST for pylint
License: LGPL-2.1-or-later