diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2025-07-17 17:36:38 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-17 08:53:08 -0700 |
commit | 20c6a4fe529284f3cf9a30ec697cca79de8afe6b (patch) | |
tree | b7563554d546ade4ecce31b419a166f42ab68edb | |
parent | e44b0f25756d40974a1850d10e88074f66b150f0 (diff) | |
download | meta-openembedded-20c6a4fe529284f3cf9a30ec697cca79de8afe6b.tar.gz |
python3-mypy: Upgrade 1.15.0 -> 1.17.0
Upgrade to release 1.17.0:
- Mypy can now optionally generate an error if a match statement
does not match exhaustively, without having to use
assert_never(...). Enable this by using --enable-error-code
exhaustive-match.
- Handle corner case: protocol/class variable/descriptor
- Fix a few inconsistencies in protocol/type object interactions
- Refactor/unify access to static attributes
- Remove inconsistencies in operator handling
- Make protocol subtyping more consistent
- Fix nondeterministic type checking by making join with explicit
Protocol and type promotion commute
- Fix nondeterministic type checking caused by nonassociative of
None joins
- Fix nondeterministic type checking caused by nonassociativity of
joins
- Fix nondeterministic type checking by making join between type
and TypeVar commute
- Mypy only supports Python 3.9+. The --force-uppercase-builtins
flag is now deprecated as unnecessary, and a no-op. It will be
removed in a future version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb (renamed from meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb index ebcac51ea1..0d1e0bd16e 100644 --- a/meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb +++ b/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" | |||
5 | 5 | ||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43" | 8 | SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03" |
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
@@ -14,6 +14,7 @@ DEPENDS += " \ | |||
14 | python3-types-psutil-native \ | 14 | python3-types-psutil-native \ |
15 | python3-types-setuptools-native \ | 15 | python3-types-setuptools-native \ |
16 | python3-typing-extensions-native \ | 16 | python3-typing-extensions-native \ |
17 | python3-pathspec-native \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |