Repository navigation
fix(deps): update dependency cachetools to v8 - #648
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/cachetools-8.x
branch
2 times, most recently
from
November 19, 2026 04:55
34b792d to
681500b
Compare
renovate
Bot
force-pushed
the
renovate/cachetools-8.x
branch
from
November 26, 2026 01:26
681500b to
1e73c48
Compare
renovate
Bot
force-pushed
the
renovate/cachetools-8.x
branch
from
November 30, 2026 00:45
1e73c48 to
24145bd
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.5.2→^8.0.4~=5.5.2→~=8.0.4Release Notes
tkem/cachetools (cachetools)
v8.0.4Compare Source
===================
Minor
@cachedmethoderror handling improvements.Various documentation improvements.
Various unit test improvements.
v8.0.3Compare Source
===================
Fix recursive calls with the same cache key waiting forever in
@cachedand@cachedmethodwithcondition, and in thecachetools.funcdecorators (broken since v6.0.0).Minor
cachetools.funcperformance improvements.Minor
@cachedmethoderror handling improvements.Minor documentation improvements.
v8.0.2Compare Source
===================
Fix deep-copying
TTLCacheandTLRUCacheinstances whosetimer defines
__deepcopy__.Fix updating
TTLCacheandTLRUCacheitems while iterating,which skipped or repeated keys.
Minor code improvements.
v8.0.1Compare Source
===================
Fix copying and deep-copying
@cachedwrappers of callableswithout a
__qualname__, e.g.functools.partialobjects(broken since v8.0.0).
Fix deep-copying and pickling
LFUCacheinstances with manydifferent use counts (broken since v6.1.0).
Properly support shallow copies of caches, including subclasses
with additional attributes.
Minor
LRUCacheperformance improvements.Minor
@cachedmethoderror handling improvements.Minor documentation improvements.
v8.0.0Compare Source
===================
Drop Python 3.10 support (breaking change).
Drop support for deprecated
@cachedmethodfeatures (breakingchange).
Drop support for
@cached(cache=None)(breaking change).Require custom cache classes to support
__len__when used withinfo=True(breaking change).Refactor
_CacheInfoand make it public asCacheInfo(potentially breaking change).
Return callable objects instead of functions from
@cachedandthe
cachetools.funcdecorators (potentially breaking change).Do not set
cache_infotoNoneon@cachedwrappers ifinfois not set (potentially breaking change).Raise
TypeErrorfor@cachedmethoddescriptors assignedafter class creation, i.e. without
__set_name__being called(potentially breaking change).
Various performance improvements.
Various documentation improvements.
Various test improvements.
v7.3.5Compare Source
===================
Fix recursive calls with the same cache key waiting forever in
@cachedand@cachedmethodwithcondition, and in thecachetools.funcdecorators (broken since v6.0.0).Various documentation improvements.
Various unit test improvements.
v7.3.4Compare Source
===================
Minor
cachetools.funcperformance improvements.Minor documentation improvements.
v7.3.3Compare Source
v7.3.2Compare Source
===================
with additional attributes (broken since v7.3.1).
v7.3.1Compare Source
===================
Fix deep-copying and pickling
LFUCacheinstances with manydifferent use counts (broken since v6.1.0).
Fix shallow copies of caches sharing internal state with the
original.
Minor documentation improvements.
v7.3.0Compare Source
===================
Use
OrderedDictfor defined and fasterLFUCacheeviction.Various unit test improvements.
Minor type stub improvements.
Minor documentation improvements.
v7.2.8Compare Source
===================
Fix type stubs for
TTLCacheandTLRUCachewith defaulttimer.Minor documentation and unit test improvements.
v7.2.7Compare Source
===================
Various performance improvements.
Minor unit test improvements.
v7.2.6Compare Source
===================
v7.2.5Compare Source
===================
Fix
@cachedmethodwithconditionfor decorated methodstaking a
pendingkeyword argument (broken since v7.0.0).Fix pickling and deep-copying of instances using
@cachedmethod(broken since v7.0.0).
Fix calling
@cachedmethoddecorated methods through the classwith the receiver (
self) passed as a keyword argument (brokensince v7.2.4).
Various documentation improvements.
v7.2.4Compare Source
===================
Restore autospec calls to
@cachedmethoddecorated methods.Improve branch coverage of unit tests.
Minor type stub improvements.
v7.2.3Compare Source
===================
Fix
@cacheddecorator stacking behavior.Minor type stub improvements.
v7.2.2Compare Source
===================
Fix
@cachedmethodfor subclasses that override a decoratedmethod and call the base class implementation via
super().Restore class access to instance methods decorated with
@cachedmethod.Improve
TTLCacherobustness when calculating expiration timefails.
Various unit test improvements.
v7.2.1Compare Source
===================
Improve error handling for
RRCache.popitem()when the cache isempty.
Minor style and documentation improvements.
Update CI environment.
v7.2.0Compare Source
===================
Deprecate use of
cache=Noneto suppress caching with the@cacheddecorator.Add support for Python 3.15.
Minor test improvements.
Minor documentation updates.
v7.1.8Compare Source
===================
maxsizeinCache.__init__.v7.1.7Compare Source
===================
Improve
Cache.__setitem__behavior when replacing an existingcache item with a larger value.
Update CI environment.
v7.1.6Compare Source
===================
ruffhappy.v7.1.5Compare Source
===================
Fix
TLRUCachesilently keeping stale values on expiredoverwrites.
Reject negative cache item
getsizeofvalues.Update build environment.
v7.1.4Compare Source
===================
Minor unit test improvements.
Update build environment.
v7.1.3Compare Source
===================
Minor type stub improvements.
Update build environment.
v7.1.2Compare Source
===================
Minor type stub improvements.
Minor documentation improvements.
Modernize build environment.
v7.1.1Compare Source
===================
v7.1.0Compare Source
===================
Add type stubs based on the work of the good people at
typeshed <https://github.com/python/typeshed/tree/main/stubs/cachetools/>__.Update unit tests.
v7.0.6Compare Source
===================
Minor code improvements.
Update project URLs.
Update CI environment.
v7.0.5Compare Source
===================
@cachedmethodperformance improvements.v7.0.4Compare Source
===================
Fix and properly document
@cachedmethod.cache_keybehavior.Minor documentation improvements.
v7.0.3Compare Source
===================
DeprecationWarningwhen creating an autospec mock with@cachedmethoddecorations.v7.0.2Compare Source
===================
clear()implementation for all supportedCache classes (courtesy Josep Pon Farreny).
v7.0.1Compare Source
===================
Various test improvements.
Update Copilot Instructions.
v7.0.0Compare Source
===================
Require Python 3.10 or later (breaking change).
Drop support for passing
infoas fourth positional parameter to@cached(breaking change).Drop support for
cache(self)returningNonewith@cachedmethod(breaking change).Convert the
@cachedmethodwrappers to descriptors, deprecatingits use with class methods and instances that do not provide a
mutable
__dict__attribute (potentially breaking change).Convert the previously undocumented
@cachedmethodattributes(
cache,cache_lock, etc.) to properties for instancemethods, providing official support and documentation (potentially
breaking change).
Add an optional
infoparameter to the@cachedmethoddecorator for reporting per-instance cache statistics. Note that
this requires the instance's
__dict__attribute to be a mutablemapping.
v6.2.6Compare Source
===================
Improve typedkey performance.
Minor documentation improvements.
Minor testing improvements.
Minor code readability improvements.
v6.2.5Compare Source
===================
Improve documentation regarding
@cachedmethodwithlockparameter.
Add test cases for cache stampede scenarios.
Update CI environment.
v6.2.4Compare Source
===================
version of
twinefor uploading.v6.2.3Compare Source
===================
Improve documentation regarding
@cachedmethodwithconditionparameter.
Minor style and readability improvements.
Modernize build environment.
Update CI environment.
v6.2.2Compare Source
===================
Minor improvements from GitHub Copilot code review.
Improve documentation.
v6.2.1Compare Source
===================
Add support for Python 3.14.
Improve documentation.
Update CI environment.
v6.2.0Compare Source
===================
Improve general
RRCacheperformance by storing cache keys in anadditional sequence container. Note that this will increase memory
consumption.
Add more unit tests.
v6.1.0Compare Source
===================
Improve
LFUCacheinsertion performance by switching to animplementation based on the
cacheing <https://pypi.org/project/cacheing/>_ library.Update CI environment.
v6.0.0Compare Source
===================
Require Python 3.9 or later (breaking change).
Remove
MRUCacheand the@func.mru_cachedecorator (breakingchange).
Add an optional
conditionparameter to the@cachedand@cachedmethoddecorators, which, when used with athreading.Conditioninstance, should improvecache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues in massivelyparallel environments. Note that this will inflict some performance
penalty, and therefore has to be enabled explicitly.
Convert the
cachetools.funcdecorators to use athreading.Conditioninstance to deal withcache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues. Note thatthis may result in a noticeable performance degradation, depending
on your actual use case.
Deprecate support for
cache(self)returningNoneto suppresscaching with the
@cachedmethoddecorator.Improve documentation.
Update CI environment.
Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.