From a9f468f909f222528c43a1ae4519d83c2dfaf13b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 1 Dec 2025 16:03:39 +0200 Subject: python3-gast: Upgrade 0.6.0 -> 0.7.0 Upgrade to release 0.7.0: - Update unparser to harmonize output across revisions and handle python 3.12+ features - Fix support for TypeVar, TypeVarTupe and ParamSpec - Support t-string from python 3.14 - Adjust test incompatible with py2 - Support _field_types field for every AST class - Make gast.dump more generic across python version - Only pass existing attributes as keyword parameters in gast_to_ast - Initial oss-fuzz integration - Support [g]ast.get_source_segment - Fix gast.get_docstring implementation - Initialize ast node with known fields to avoid deprecation warning in Python 3.13 - Add missing type_params attribute for ClassDef node before Python 3.12 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-gast_0.6.0.bb | 11 ----------- meta-python/recipes-devtools/python/python3-gast_0.7.0.bb | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gast_0.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-gast_0.7.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb b/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb deleted file mode 100644 index af46c3feb7..0000000000 --- a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST)." -HOMEPAGE = "https://github.com/serge-sans-paille/gast" -SECTION = "devel/python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90" - -SRC_URI[sha256sum] = "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb" - -inherit pypi setuptools3 - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb new file mode 100644 index 0000000000..93301f0943 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST)." +HOMEPAGE = "https://github.com/serge-sans-paille/gast" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90" + +SRC_URI[sha256sum] = "0bb14cd1b806722e91ddbab6fb86bba148c22b40e7ff11e248974e04c8adfdae" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf