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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-05-02 10:48:11 -04:00
committed by Khem Raj
parent 2930861f11
commit 592b8a1866

View File

@@ -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 \
"