summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-03-16 16:36:16 +0800
committertgamblin <trevor.gamblin@windriver.com>2022-03-17 08:54:17 -0400
commitf8a52dacc5f653a484afa6843598240b9dcec5fb (patch)
treec760ffc1565a38e67a3fc241eff646506163cec3 /meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb
parenta8a9bc2bc908d2676902c0e29b2ae2af2f5078ec (diff)
downloadmeta-openembedded-f8a52dacc5f653a484afa6843598240b9dcec5fb.tar.gz
python3-astroid: upgrade 2.10.0 -> 2.11.0
Changelog: ========= Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef, and nodes.FunctionDef. Accessing the doc attribute of nodes.Module, nodes.ClassDef, and nodes.FunctionDef has been deprecated in favour of the doc_node attribute. Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str. Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef, and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute. Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str. Replace custom cachedproperty with functools.cached_property and deprecate it for Python 3.8+. Closes #1410 Set end_lineno and end_col_offset attributes to None for all nodes with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead to unexpected errors. Overwriting them with None will cause a fallback to the already supported way of PyPy 3.7. Add missing shape parameter to numpy zeros_like, ones_like, and full_like methods. Closes PyCQA/pylint#5871 Only pin wrapt on the major version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb b/meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb
new file mode 100644
index 0000000000..1a69be2f98
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_2.11.0.bb
@@ -0,0 +1,32 @@
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] = "d56f6a5239981567ceaa3413d4971936c7b4b0c796fcff90c24254dcf8b05b62"
8
9inherit pypi setuptools3
10
11DEPENDS += "${PYTHON_PN}-pytest-runner-native"
12
13PACKAGES =+ "${PN}-tests"
14
15FILES:${PN}-tests += " \
16 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
17 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
18"
19
20RDEPENDS:${PN}:class-target += "\
21 ${PYTHON_PN}-distutils \
22 ${PYTHON_PN}-lazy-object-proxy \
23 ${PYTHON_PN}-logging \
24 ${PYTHON_PN}-six \
25 ${PYTHON_PN}-wrapt \
26 ${PYTHON_PN}-setuptools \
27"
28
29RDEPENDS:${PN}-tests:class-target += "\
30 ${PYTHON_PN}-unittest \
31 ${PYTHON_PN}-xml \
32"