From 0007269307a080ef4a51a289741ec19246f60d28 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 23 Jan 2024 09:31:06 +0800 Subject: python3-absl: upgrade 2.0.0 -> 2.1.0 Changelog: ========= -Added absl.flags.override_value function to provide FlagHolder with a construct to modify values. -Added a new method absltest.TestCase.assertDataclassEqual that tests equality of dataclass.dataclass objects with better error messages when the assert fails. -absl.flags.argparse_flags.ArgumentParser now correctly inherits an empty instance of FlagValues to ensure that absl flags, such as --flagfile, --undefok are supported. -Do not exit 5 if tests were skipped on Python 3.12. This follows the CPython change in python/cpython#113856. -The flag foo no longer retains the value bar after FLAGS.foo = bar fails due to a validation error. -Fixed an issue caused by this Python 3.12.1 change where the test reporter crashes when all tests are skipped. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-absl_2.1.0.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-absl_2.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-absl_2.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb b/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb new file mode 100644 index 0000000000..5bdb83175d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Abseil Python Common Libraries" +HOMEPAGE = "https://github.com/abseil/abseil-py" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "7820790efbb316739cde8b4e19357243fc3608a152024288513dd968d7d959ff" + +PYPI_PACKAGE = "absl-py" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf