From 93d069fdbcc8e7d82e7552eeab5d0b252844ced2 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 10 Jun 2025 11:32:56 +0800 Subject: [PATCH] python3-cachetools: upgrade 5.5.2 -> 6.0.0 Changgelog: ============= - Require Python 3.9 or later - Remove MRUCache and the @func.mru_cache decorator - Add an optional condition parameter to the @cached and @cachedmethod decorators, which, when used with a threading.Condition instance, should improve cache stampede issues in massively parallel environments. - Convert the cachetools.func decorators to use a threading.Condition instance to deal with cache stampede issues. Note that this may result in a noticable performance degradation, depending on your actual use case. - Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator. - Improve documentation. - Update CI environment. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...{python3-cachetools_5.5.2.bb => python3-cachetools_6.0.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-cachetools_5.5.2.bb => python3-cachetools_6.0.0.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.5.2.bb b/meta-python/recipes-devtools/python/python3-cachetools_6.0.0.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-cachetools_5.5.2.bb rename to meta-python/recipes-devtools/python/python3-cachetools_6.0.0.bb index d2b65b3d29..1032fc0b06 100644 --- a/meta-python/recipes-devtools/python/python3-cachetools_5.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-cachetools_6.0.0.bb @@ -14,6 +14,6 @@ RDEPENDS:${PN} += " \ python3-math \ " -SRC_URI[sha256sum] = "1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4" +SRC_URI[sha256sum] = "f225782b84438f828328fc2ad74346522f27e5b1440f4e9fd18b20ebfd1aa2cf" BBCLASSEXTEND = "native nativesdk"