mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
40 lines
999 B
BlitzBasic
40 lines
999 B
BlitzBasic
SUMMARY = "An abstract syntax tree for Python with inference support."
|
|
HOMEPAGE = "https://pypi.python.org/pypi/astroid"
|
|
SECTION = "devel/python"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
|
|
|
|
SRC_URI[sha256sum] = "bd1aa4f9915c98e8aaebcd4e71930154d4e8c9aaf05d35ac0a63d1956091ae3f"
|
|
|
|
SRC_URI += " \
|
|
file://0001-pyproject.toml-Replace-with.patch \
|
|
"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += "\
|
|
${PYTHON_PN}-pytest-runner-native \
|
|
${PYTHON_PN}-wheel-native \
|
|
"
|
|
|
|
PACKAGES =+ "${PN}-tests"
|
|
|
|
FILES:${PN}-tests += " \
|
|
${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
|
|
${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
|
|
"
|
|
|
|
RDEPENDS:${PN}:class-target += "\
|
|
${PYTHON_PN}-distutils \
|
|
${PYTHON_PN}-lazy-object-proxy \
|
|
${PYTHON_PN}-logging \
|
|
${PYTHON_PN}-six \
|
|
${PYTHON_PN}-wrapt \
|
|
${PYTHON_PN}-setuptools \
|
|
"
|
|
|
|
RDEPENDS:${PN}-tests:class-target += "\
|
|
${PYTHON_PN}-unittest \
|
|
${PYTHON_PN}-xml \
|
|
"
|