diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-02-08 16:08:35 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-08 08:51:44 -0800 |
| commit | c3c5ea4e678aa75840f715ea1aaa8ce13567281e (patch) | |
| tree | 0c3d8f041d6c5e8f6dabfe979d611b8b928c7d7c /meta-python/recipes-devtools/python/python3-astroid_2.14.1.bb | |
| parent | 7671c8ff48d60e655bb10f32046f2dd5a2837356 (diff) | |
| download | meta-openembedded-c3c5ea4e678aa75840f715ea1aaa8ce13567281e.tar.gz | |
python3-astroid: upgrade 2.13.2 -> 2.14.1
Changelog
==========
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Add support for inferring binary union types added in Python 3.10.
* Capture and log messages emitted when inspecting a module for astroid.
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Fix issues with "typing_extensions.TypeVar".
* Fix "ClassDef.fromlino" for PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.
* Preserve parent CallContext when inferring nested functions.
* Add "Lock" to the "multiprocessing" brain.
* Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
* Fix overwritten attributes in inherited dataclasses not being ordered correctly.
* Fix a false positive when an attribute named "Enum" was confused with "enum.Enum".
Calls to "Enum" are now inferred & the qualified name is checked.
* Remove unnecessary typing_extensions dependency on Python 3.11 and newer
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.14.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-astroid_2.14.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.14.1.bb b/meta-python/recipes-devtools/python/python3-astroid_2.14.1.bb new file mode 100644 index 0000000000..e59d1d9991 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.14.1.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "An abstract syntax tree for Python with inference support." | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/astroid" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "LGPL-2.1-only" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "bd1aa4f9915c98e8aaebcd4e71930154d4e8c9aaf05d35ac0a63d1956091ae3f" | ||
| 8 | |||
| 9 | SRC_URI += " \ | ||
| 10 | file://0001-pyproject.toml-Replace-with.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | inherit pypi python_setuptools_build_meta | ||
| 14 | |||
| 15 | DEPENDS += "\ | ||
| 16 | ${PYTHON_PN}-pytest-runner-native \ | ||
| 17 | ${PYTHON_PN}-wheel-native \ | ||
| 18 | " | ||
| 19 | |||
| 20 | PACKAGES =+ "${PN}-tests" | ||
| 21 | |||
| 22 | FILES:${PN}-tests += " \ | ||
| 23 | ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ | ||
| 24 | ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ | ||
| 25 | " | ||
| 26 | |||
| 27 | RDEPENDS:${PN}:class-target += "\ | ||
| 28 | ${PYTHON_PN}-distutils \ | ||
| 29 | ${PYTHON_PN}-lazy-object-proxy \ | ||
| 30 | ${PYTHON_PN}-logging \ | ||
| 31 | ${PYTHON_PN}-six \ | ||
| 32 | ${PYTHON_PN}-wrapt \ | ||
| 33 | ${PYTHON_PN}-setuptools \ | ||
| 34 | " | ||
| 35 | |||
| 36 | RDEPENDS:${PN}-tests:class-target += "\ | ||
| 37 | ${PYTHON_PN}-unittest \ | ||
| 38 | ${PYTHON_PN}-xml \ | ||
| 39 | " | ||
