diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-05-02 10:48:11 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-02 07:32:50 -0700 |
| commit | 592b8a186679f1efc59535bbb1d669f46eea0b2b (patch) | |
| tree | 4719ee11bfac828b8ae310d51dda5f18aea5345b /meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb | |
| parent | 2930861f11b3dc398a8fc9cadb20262d2850abe9 (diff) | |
| download | meta-openembedded-592b8a186679f1efc59535bbb1d669f46eea0b2b.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)" | ||
| 2 | HOMEPAGE = "https://github.com/python/mypy" | ||
| 3 | LICENSE = "MIT & Python-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" | ||
| 5 | |||
| 6 | inherit pypi python_setuptools_build_meta | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131" | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native" | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | python3-mypy-extensions-native \ | ||
| 14 | python3-types-psutil-native \ | ||
| 15 | python3-types-setuptools-native \ | ||
| 16 | python3-typing-extensions-native \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS:${PN} += " \ | ||
| 20 | python3-modules \ | ||
| 21 | python3-mypy-extensions \ | ||
| 22 | python3-typing-extensions \ | ||
| 23 | " | ||
