summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-05-14 17:09:48 +0800
committerKhem Raj <raj.khem@gmail.com>2024-05-19 08:27:54 -0700
commit5d96fd323f36ec2e05b4a9c85163df3a140cc19c (patch)
treea201e402adb11d91ad0ce7931bc74aeeaf7f671f /meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb
parentdaa251de7a06b122e9024361d5d198c1020e8e36 (diff)
downloadmeta-openembedded-5d96fd323f36ec2e05b4a9c85163df3a140cc19c.tar.gz
python3-astroid: upgrade 3.1.0 -> 3.2.0
Changelog: =========== - .pyi stub files are now preferred over .py files when resolving imports, (except for numpy). - igetattr() returns the last same-named function in a class (instead of the first). This avoids false positives in pylint with @overload. - Adds module_denylist to AstroidManager for modules to be skipped during AST generation. Modules in this list will cause an AstroidImportError to be raised when an AST for them is requested. - Make astroid.interpreter._import.util.is_namespace only consider modules using a loader set to NamespaceLoader or None as namespaces. This fixes a problem that six.moves brain was not effective if six.moves was already imported. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb b/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb
new file mode 100644
index 0000000000..e97494fd9a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.2.0.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] = "f7f829f8506ade59f1b3c6c93d8fac5b1ebc721685fa9af23e9794daf1d450a3"
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"