diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-09-02 14:28:05 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-05 13:04:22 -0700 |
commit | bcb25c13d044f87fa864931097e194a93b9bf978 (patch) | |
tree | 383d989fbccd597321ac300de724af5c4ae3e51c /meta-python/recipes-connectivity/python-priority/python-priority.inc | |
parent | 03431fe0a422e6ab1ba9f92a63313c96ca2eb2ca (diff) | |
download | meta-openembedded-bcb25c13d044f87fa864931097e194a93b9bf978.tar.gz |
python3-absl: Upgrade 0.9.0 -> 0.10.0
Use PyPI and upgrade to release 0.10.0:
Added:
- (testing) _TempDir and _TempFile now implement __fspath__ to
satisfy os.PathLike
- (logging) --logger_levels: allows specifying the log levels of
loggers.
- (flags) FLAGS.validate_all_flags: a new method that validates
all flags and raises an exception if one fails.
- (flags) FLAGS.get_flags_for_module: Allows fetching the flags a
module defines.
- (testing) parameterized.TestCase: Supports async test
definitions.
- (testing,app) Added --pdb flag: When true, uncaught exceptions
will be handled by pdb.post_mortem. This is an alias for
--pdb_post_mortem.
Changed:
- (testing) Failed tests output a copy/pastable test id to make it
easier to copy the failing test to the command line.
- (testing) @parameterized.parameters now treats a single
abc.Mapping as a single test case, consistent with
named_parameters. Previously the abc.Mapping is treated as if
only its keys are passed as a list of test cases. If you were
relying on the old inconsistent behavior, explicitly convert
the abc.Mapping to a list.
- (flags) DEFINE_enum_class and DEFINE_mutlti_enum_class accept a
case_sensitive argument. When False (the default), strings are
mapped to enum member names without case sensitivity, and member
names are serialized in lowercase form. Flag definitions for
enums whose members include duplicates when case is ignored must
now explicitly pass case_sensitive=True.
Fixed:
- (flags) Defining an alias no longer marks the aliased flag as
always present on the command line.
- (flags) Aliasing a multi flag no longer causes the default value
to be appended to.
- (flags) Alias default values now matched the aliased default
value.
- (flags) Alias present counter now correctly reflects command
line usage.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-connectivity/python-priority/python-priority.inc')
0 files changed, 0 insertions, 0 deletions