From 592b8a186679f1efc59535bbb1d669f46eea0b2b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:11 -0400 Subject: python3-mypy: upgrade 1.9.0 -> 1.10.0 Changelog: ============ - Fix incorrect inferred type when accessing descriptor on union type - Fix crash when expanding invalid Unpack in a Callable alias - Fix false positive when string formatting with string enum - Narrow individual items when matching a tuple to a sequence pattern - Fix false positive from type variable within TypeGuard or TypeIs - Improve yield from inference for unions of generators - Fix emulating hash method logic in attrs classes - Add reverted typeshed commit that uses ParamSpec for functools.wraps - Fix type narrowing for types.EllipsisType - Fix single item enum match type exhaustion - Improve type inference with empty collections - Fix override checking for decorated property - Fix narrowing on match with function subject - Allow +N within Literal[...] - Experimental: Support TypedDict within type[...] - Experimtental: Fix issue with TypedDict with optional keys in type[...] Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-mypy_1.10.0.bb | 23 ++++++++++++++++++++++ .../recipes-devtools/python/python3-mypy_1.9.0.bb | 23 ---------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb new file mode 100644 index 0000000000..534ff90666 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)" +HOMEPAGE = "https://github.com/python/mypy" +LICENSE = "MIT & Python-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131" + +BBCLASSEXTEND = "native" + +DEPENDS += " \ + python3-mypy-extensions-native \ + python3-types-psutil-native \ + python3-types-setuptools-native \ + python3-typing-extensions-native \ +" + +RDEPENDS:${PN} += " \ + python3-modules \ + python3-mypy-extensions \ + python3-typing-extensions \ +" diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb deleted file mode 100644 index e51264f8a9..0000000000 --- a/meta-python/recipes-devtools/python/python3-mypy_1.9.0.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)" -HOMEPAGE = "https://github.com/python/mypy" -LICENSE = "MIT & Python-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" - -inherit pypi python_setuptools_build_meta - -SRC_URI[sha256sum] = "3cc5da0127e6a478cddd906068496a97a7618a21ce9b54bde5bf7e539c7af974" - -BBCLASSEXTEND = "native" - -DEPENDS += " \ - python3-mypy-extensions-native \ - python3-types-psutil-native \ - python3-types-setuptools-native \ - python3-typing-extensions-native \ -" - -RDEPENDS:${PN} += " \ - python3-modules \ - python3-mypy-extensions \ - python3-typing-extensions \ -" -- cgit v1.2.3-54-g00ecf