Commit Graph

2 Commits

Author SHA1 Message Date
Yoann Congal
09bf205ee2
python3-mypy*: add nativesdk variant
Since commit 9b0015577c ("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>
2025-07-26 09:56:18 -07:00
Leon Anavi
20c6a4fe52
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>
2025-07-17 08:53:08 -07:00