From 83b4b2e46bea9b00d4334fbc09c663934df0b278 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 15 Aug 2024 09:30:55 +0300 Subject: python3-astroid: Upgrade 3.2.4 -> 3.3.2 Upgrade to release 3.3.2: - Restore support for soft-deprecated members of the typing module with python 3.13. - Fix a crash introduced in 3.3.0 involving invalid format strings. - Add support for Python 3.13. - Remove support for Python 3.8 (and constants PY38, PY39_PLUS, and PYPY_7_3_11_PLUS). - Add the __annotations__ attribute to the ClassDef object model. - Implement inference for JoinedStr and FormattedValue - Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-astroid_3.3.2.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb new file mode 100644 index 0000000000..e5f05bd0e9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_3.3.2.bb @@ -0,0 +1,37 @@ +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] = "99e9b5b602cbb005434084309213d6af32bf7a9b743c836749168b8e2b330cbd" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-pytest-runner-native \ + python3-wheel-native \ +" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS:${PN}:class-target += "\ + python3-lazy-object-proxy \ + python3-logging \ + python3-six \ + python3-wrapt \ + python3-setuptools \ + python3-typing-extensions \ +" + +RDEPENDS:${PN}-tests:class-target += "\ + python3-unittest \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf