Upgrade to release 4.1.0: - Add support for equality constraints (``==``, ``!=``) in inference. - Ensure ``ast.JoinedStr`` nodes are ``Uninferable`` when the ``ast.FormattedValue`` is ``Uninferable``. This prevents ``unexpected-keyword-arg`` messages in Pylint where the ``Uninferable`` string appeared in function arguments that were constructed dynamically. - Add support for type constraints (`isinstance(x, y)`) in inference. - Make `type.__new__()` raise clear errors instead of returning `None`. - Move object dunder methods from ``FunctionModel`` to ``ObjectModel`` to make them available on all object types, not just functions. - ``lineno`` and ``end_lineno`` are now available on ``Arguments``. - Add helper to iterate over all annotations nodes of function arguments, ``Arguments.get_annotations()``. - Skip direct parent when determining the ``Decorator`` frame. - Add simple command line interface for astroid to output generated AST. Use with ``python -m astroid``. - Fix incorrect type inference for ``super().method()`` calls that return ``Self``. Previously, astroid would infer the parent class type instead of the child class type, causing pylint E1101 false positives in method chaining scenarios. - Add missing ``dtype`` and ``casting`` parameters to ``numpy.concatenate`` brain. - Fix ``random.sample`` inference crash when sequence contains uninferable elements. - Fix ``random.sample`` crash when cloning ``ClassDef`` or ``FunctionDef`` nodes.
Signed-off-by: Leon Anavi <[email protected]> --- .../{python3-astroid_4.0.3.bb => python3-astroid_4.1.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-astroid_4.0.3.bb => python3-astroid_4.1.0.bb} (90%) diff --git a/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb b/meta-python/recipes-devtools/python/python3-astroid_4.1.0.bb similarity index 90% rename from meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb rename to meta-python/recipes-devtools/python/python3-astroid_4.1.0.bb index efa59fc198..1303b0165d 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_4.1.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "08d1de40d251cc3dc4a7a12726721d475ac189e4e583d596ece7422bc176bda3" +SRC_URI[sha256sum] = "e2fbab37f205a651e6a168cb1e9a6a10677f6fa6a1c21833d113999855b04259" inherit pypi python_setuptools_build_meta -- 2.47.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#124489): https://lists.openembedded.org/g/openembedded-devel/message/124489 Mute This Topic: https://lists.openembedded.org/mt/117876492/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
