summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-03-09 17:08:35 +0800
committerKhem Raj <raj.khem@gmail.com>2023-03-09 21:58:44 -0800
commitbbaa6a032b96a368968e0640e9c5dc898674ff5c (patch)
tree81bfe3456b69883d8a009b2753c56f9c0fd7d4f6 /meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb
parentb1d6ea6fbe82b7f87a707aefc899da62e3d76f5a (diff)
downloadmeta-openembedded-bbaa6a032b96a368968e0640e9c5dc898674ff5c.tar.gz
python3-astroid: upgrade 2.14.2 -> 2.15.0
0001-pyproject.toml-Replace-with.patch removed since it's included in 2.15.0 Changelog: ========== * astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11. * "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the "Formattedvalue" class. * "Astroid" now supports custom import hooks. * "astroid" now infers return values from match cases. * "AstroidManager.clear_cache" now also clears the inference context cache. * "Astroid" now retrieves the default values of keyword only arguments and sets them on "Arguments.kw_defaults". * "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating code that uses this singleton. * Deprecate "modutils.is_standard_module()". It will be removed in the next minor release. Functionality has been replaced by two new functions, "modutils.is_stdlib_module()" and "modutils.module_in_path()". * Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field. 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_2.15.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb b/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb
new file mode 100644
index 0000000000..a5f30b754b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-astroid_2.15.0.bb
@@ -0,0 +1,35 @@
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] = "525f126d5dc1b8b0b6ee398b33159105615d92dc4a17f2cd064125d57f6186fa"
8
9inherit pypi python_setuptools_build_meta
10
11DEPENDS += "\
12 ${PYTHON_PN}-pytest-runner-native \
13 ${PYTHON_PN}-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 ${PYTHON_PN}-distutils \
25 ${PYTHON_PN}-lazy-object-proxy \
26 ${PYTHON_PN}-logging \
27 ${PYTHON_PN}-six \
28 ${PYTHON_PN}-wrapt \
29 ${PYTHON_PN}-setuptools \
30"
31
32RDEPENDS:${PN}-tests:class-target += "\
33 ${PYTHON_PN}-unittest \
34 ${PYTHON_PN}-xml \
35"