fix(deps): update dependency cachetools to v6 #584
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
->^6.0.0
~=5.5.2
->~=6.0.0
Release Notes
tkem/cachetools (cachetools)
v6.0.0
Compare Source
===================
Require Python 3.9 or later (breaking change).
Remove
MRUCache
and the@func.mru_cache
decorator (breakingchange).
Add an optional
condition
parameter to the@cached
and@cachedmethod
decorators, which, when used with athreading.Condition
instance, 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.func
decorators to use athreading.Condition
instance to deal withcache stampede <https://en.wikipedia.org/wiki/Cache_stampede>
_ issues. Note thatthis may result in a noticable performance degradation, depending
on your actual use case.
Deprecate support for
cache(self)
returningNone
to suppresscaching with the
@cachedmethod
decorator.Improve documentation.
Update CI environment.
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 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.