mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
![]() Changelog: ========== Improved the documentation Fixed assignment unpacking (a, b = ...) being checked incorrectly Fixed @typechecked attempting to instrument wrapper decorators such as @contextmanager when applied to a class Fixed py.typed missing from the wheel when not building from a git checkout BACKWARD INCOMPATIBLE Dropped the argname, memo, globals and locals arguments from check_type() BACKWARD INCOMPATIBLE Removed the check_argument_types() and check_return_type() functions (use @typechecked instead) BACKWARD INCOMPATIBLE Moved install_import_hook to be directly importable from the typeguard module BACKWARD INCOMPATIBLE Changed the checking of collections (list, set, dict, sequence, mapping) to only check the first item by default. BACKWARD INCOMPATIBLE Type checking failures now raise typeguard.TypeCheckError instead of TypeError Dropped Python 3.5 and 3.6 support Dropped the deprecated profiler hook (TypeChecker) Added a configuration system Added support for custom type checking functions Added support for PEP 604 union types (X | Y) on all Python versions Added support for generic built-in collection types (list[int] et al) on all Python versions Added support for checking arbitrary Mapping types Added support for the Self type Added support for typing.Never (and typing_extensions.Never) Added support for Never and NoReturn in argument annotations Added support for LiteralString Added support for TypeGuard Added support for the subclassable Any on Python 3.11 and typing_extensions Added the possibility to have the import hook instrument all packages Added the suppress_type_checks() context manager function for temporarily disabling type checks Much improved error messages showing where the type check failed Made it possible to apply @typechecked on top of @classmethod / @staticmethod (PR by jacobpbrugh) Changed check_type() to return the passed value, so it can be used (to an extent) in place of typing.cast(), but with run-time type checking Replaced custom implementation of is_typeddict() with the implementation from typing_extensions v4.1.0 Emit InstrumentationWarning instead of raising RuntimeError from the pytest plugin if modules in the target package have already been imported Fixed TypeError when checking against TypedDict when the value has mixed types among the extra keys (PR by biolds) Fixed incompatibility with typing_extensions v4.1+ on Python 3.10 (PR by David C.) Fixed checking of Tuple[()] on Python 3.11 and tuple[()] on Python 3.9+ Fixed integers 0 and 1 passing for Literal[False] and Literal[True], respectively Fixed type checking of annotated variable positional and keyword arguments (*args and **kwargs) Fixed checks against unittest.Mock and derivatives being done in the wrong place Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> |
||
---|---|---|
.. | ||
classes | ||
conf | ||
licenses | ||
recipes-connectivity | ||
recipes-core | ||
recipes-devtools | ||
recipes-extended | ||
recipes-networking/python | ||
COPYING.MIT | ||
README |
meta-python
Introduction
This layer is intended to be the home of python modules for OpenEmbedded.
Dependencies
The meta-python layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe
branch: master
Contributing
The meta-openembedded mailinglist (openembedded-devel@lists.openembedded.org) is used for questions, comments and patch review. It is subscriber only, so please register before posting.
Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-python]' in the subject.
When sending single patches, please use something like: git send-email -M -1 --to=openembedded-devel@lists.openembedded.org --subject-prefix='meta-python][PATCH'
Maintenance
Layer maintainers: Tim "moto-timo" Orling TicoTimo@gmail.com Derek Straka derek@asterius.io