summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2026-01-07 11:52:48 +0200
committerKhem Raj <raj.khem@gmail.com>2026-01-07 08:18:57 -0800
commitd2501971b2aa2ad402e7dddbb3dfb44029745ea9 (patch)
tree15376771f2403fb99f476c0bac4e21b55c55f13c /meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
parent5ff2ec190adabac32114a4f9459d6d94a2d87248 (diff)
downloadmeta-openembedded-d2501971b2aa2ad402e7dddbb3dfb44029745ea9.tar.gz
python3-astroid: Upgrade 4.0.2 -> 4.0.3
Upgrade to release 4.0.3: - Fix inference of IfExp (ternary expression) nodes to avoid prematurely narrowing results in the face of inference ambiguity. - Fix base class inference for dataclasses using the PEP 695 typing syntax. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb b/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
new file mode 100644
index 0000000000..efa59fc198
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
@@ -0,0 +1,37 @@
1SUMMARY = "An abstract syntax tree for Python with inference support."
2HOMEPAGE = "https://pypi.python.org/pypi/astroid"
3SECTION = "devel/python"
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6
7SRC_URI[sha256sum] = "08d1de40d251cc3dc4a7a12726721d475ac189e4e583d596ece7422bc176bda3"
8
9inherit pypi python_setuptools_build_meta
10
11DEPENDS += "\
12 python3-pytest-runner-native \
13 python3-wheel-native \
14"
15
16PACKAGES =+ "${PN}-tests"
17
18FILES:${PN}-tests += " \
19 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
20 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
21"
22
23RDEPENDS:${PN}:class-target += "\
24 python3-lazy-object-proxy \
25 python3-logging \
26 python3-six \
27 python3-wrapt \
28 python3-setuptools \
29 python3-typing-extensions \
30"
31
32RDEPENDS:${PN}-tests:class-target += "\
33 python3-unittest \
34 python3-xml \
35"
36
37BBCLASSEXTEND = "native nativesdk"