From 629696b64b93fb94069a440459222f1dd2be56e8 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 25 Jun 2020 12:07:19 +0300 Subject: [PATCH] python3-astroid: Upgrade 2.3.3 -> 2.4.2 Upgrade to release 2.4.2: - `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests - Properly construct the arguments of infered property descriptors - Handle the case where the raw builder fails to retrieve the ``__all__`` attribute - Restructure the AST parsing heuristic to always pick the same module - Do not crash with SyntaxError when parsing namedtuples with invalid label - Expose a ast_from_string method in AstroidManager, which will accept source code as a string and return the corresponding astroid object - Prevent a recursion error to happen when inferring the declared metaclass of a class Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../{python3-astroid_2.3.3.bb => python3-astroid_2.4.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-astroid_2.3.3.bb => python3-astroid_2.4.2.bb} (84%) diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.3.3.bb b/meta-python/recipes-devtools/python/python3-astroid_2.4.2.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-astroid_2.3.3.bb rename to meta-python/recipes-devtools/python/python3-astroid_2.4.2.bb index dc1ce0eb4..677cec7ac 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_2.3.3.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_2.4.2.bb @@ -4,8 +4,8 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI[md5sum] = "5f3d73d82d1753b59bb49a6bc6046dee" -SRC_URI[sha256sum] = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a" +SRC_URI[md5sum] = "b54e1325995d3a9abd84bac91d4d5867" +SRC_URI[sha256sum] = "2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703" inherit pypi setuptools3