From 9a23ba7d94aa0da27a70fc047f6cfb9f1e2ec812 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 19 Mar 2024 13:45:23 +0800 Subject: python3-mypy: upgrade 1.8.0 -> 1.9.0 Changelog: ============ -Fix missing type store for overloads -Fix 'WriteToConn' object has no attribute 'flush' -Improve TypeAlias error messages -Support narrowing unions that include type[None] -Support TypedDict functional syntax as class base type -Accept multiline quoted annotations -Allow unary + in Literal -Substitute type variables in return type of static methods -Consider TypeVarTuple to be invariant -Add alias support to field() in attrs plugin -Improve attrs hashability detection Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-mypy_1.8.0.bb | 23 ---------------------- .../recipes-devtools/python/python3-mypy_1.9.0.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-mypy_1.8.0.bb create 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.8.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.8.0.bb deleted file mode 100644 index 2e6c7cc076..0000000000 --- a/meta-python/recipes-devtools/python/python3-mypy_1.8.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] = "6ff8b244d7085a0b425b56d327b480c3b29cafbd2eff27316a004f9a7391ae07" - -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 new file mode 100644 index 0000000000..e51264f8a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mypy_1.9.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] = "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