From 51a315eef0df72e2410dc65fc9cadcf3b4193b62 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 28 Nov 2022 14:12:08 +0800 Subject: python3-astroid: upgrade 2.12.12 -> 2.12.13 Changelog: =========== Prevent returning an empty list for ClassDef.slots() when the mro list contains one class & it is not object. Prevent a crash when inferring calls to str.format with inferred arguments Infer the length argument of the random.sample function. Catch ValueError when indexing some builtin containers and sequences during inference. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-astroid_2.12.13.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb b/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb new file mode 100644 index 0000000000..ca87ff013d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.12.13.bb @@ -0,0 +1,32 @@ +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] = "1493fe8bd3dfd73dc35bd53c9d5b6e49ead98497c47b2307662556a5692d29d7" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-lazy-object-proxy \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-wrapt \ + ${PYTHON_PN}-setuptools \ +" + +RDEPENDS:${PN}-tests:class-target += "\ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-xml \ +" -- cgit v1.2.3-54-g00ecf