mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-30 02:48:37 +00:00
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Extensible memoizing collections and decorators"
|
||||
HOMEPAGE = "https://github.com/tkem/cachetools"
|
||||
DESCRIPTION = "This module provides various memoizing \
|
||||
collections and decorators, including variants of the \
|
||||
Python 3 Standard Library @lru_cache function decorator."
|
||||
SECTION = "devel/python"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e21bbe53b2730bfe1911cf381b81821e"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-math \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "f225782b84438f828328fc2ad74346522f27e5b1440f4e9fd18b20ebfd1aa2cf"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user