summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-mypy*: add nativesdk variantYoann Congal2025-07-261-1/+1
| | | | | | | | | | | | | | | | | Since commit 9b0015577ce8 ("python3-charset-normalizer: Switch to PEP-517 build backends"), python3-charset-normalizer depends on python3-mypy and has a nativesdk variant. So, python3-mypy and its dependency python3-mypy-extensions also need the nativesdk variant. Fixes these warnings from AB[0]: WARNING: Nothing RPROVIDES 'nativesdk-python3-mypy' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it) [0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-mypy: Upgrade 1.15.0 -> 1.17.0Leon Anavi2025-07-171-0/+24
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>