From 1f4c34f4ad6bb7617d7cf9b2a5ad0751bca2f1d1 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 16 Jul 2025 14:40:56 +0800 Subject: python3-astroid: upgrade 3.3.10 -> 3.3.11 Changelog: ============= - Fix a crash when parsing an empty arbitrary expression with extract_node (extract_node("__()")). - Fix a crash when parsing a slice called in a decorator on a function that is also decorated with a known six decorator. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-astroid_3.3.10.bb | 37 ---------------------- .../python/python3-astroid_3.3.11.bb | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb create mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.3.11.bb diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb deleted file mode 100644 index b595335b99..0000000000 --- a/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "An abstract syntax tree for Python with inference support." -HOMEPAGE = "https://pypi.python.org/pypi/astroid" -SECTION = "devel/python" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" - -SRC_URI[sha256sum] = "c332157953060c6deb9caa57303ae0d20b0fbdb2e59b4a4f2a6ba49d0a7961ce" - -inherit pypi python_setuptools_build_meta - -DEPENDS += "\ - python3-pytest-runner-native \ - python3-wheel-native \ -" - -PACKAGES =+ "${PN}-tests" - -FILES:${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ -" - -RDEPENDS:${PN}:class-target += "\ - python3-lazy-object-proxy \ - python3-logging \ - python3-six \ - python3-wrapt \ - python3-setuptools \ - python3-typing-extensions \ -" - -RDEPENDS:${PN}-tests:class-target += "\ - python3-unittest \ - python3-xml \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.3.11.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.11.bb new file mode 100644 index 0000000000..cdb25a6515 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_3.3.11.bb @@ -0,0 +1,37 @@ +SUMMARY = "An abstract syntax tree for Python with inference support." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" + +SRC_URI[sha256sum] = "1e5a5011af2920c7c67a53f65d536d65bfa7116feeaf2354d8b94f29573bb0ce" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-pytest-runner-native \ + python3-wheel-native \ +" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS:${PN}:class-target += "\ + python3-lazy-object-proxy \ + python3-logging \ + python3-six \ + python3-wrapt \ + python3-setuptools \ + python3-typing-extensions \ +" + +RDEPENDS:${PN}-tests:class-target += "\ + python3-unittest \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf