Commit Graph

1 Commits

Author SHA1 Message Date
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