meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_6.0.0.bb
Wang Mingyu 93d069fdbc
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>
2025-06-09 21:24:12 -07:00

20 lines
622 B
BlitzBasic

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"