Skip to content

⬆️ Update dependency cachetools to v6#988

Merged
edenhaus merged 2 commits into
devfrom
renovate/cachetools-6.x
May 25, 2025
Merged

⬆️ Update dependency cachetools to v6#988
edenhaus merged 2 commits into
devfrom
renovate/cachetools-6.x

Conversation

@renovate

@renovate renovate Bot commented May 23, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cachetools >=5.0.0,<6.0 -> >=6,<6.1 age adoption passing confidence

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 (breaking
    change).

  • Add an optional condition parameter to the @cached and
    @cachedmethod decorators, which, when used with a
    threading.Condition instance, should improve cache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues in massively
    parallel environments. Note that this will inflict some performance
    penalty, and therefore has to be enabled explicitly.

  • Convert the cachetools.func decorators to use a
    threading.Condition instance to deal with cache stampede <https://en.wikipedia.org/wiki/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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented May 23, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.65%. Comparing base (1fce098) to head (6840ec1).
Report is 1 commits behind head on dev.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #988   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files         129      129           
  Lines        5012     5012           
  Branches      327      327           
=======================================
  Hits         4694     4694           
  Misses        258      258           
  Partials       60       60           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot force-pushed the renovate/cachetools-6.x branch from 7c42293 to 04d5d24 Compare May 25, 2025 10:03
@renovate

renovate Bot commented May 25, 2025

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@edenhaus edenhaus force-pushed the renovate/cachetools-6.x branch from 9ce5e52 to 6840ec1 Compare May 25, 2025 18:55
@codspeed-hq

codspeed-hq Bot commented May 25, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #988 will not alter performance

Comparing renovate/cachetools-6.x (6840ec1) with dev (1fce098)

Summary

✅ 6 untouched benchmarks

@edenhaus edenhaus merged commit dd60a91 into dev May 25, 2025
27 checks passed
@edenhaus edenhaus deleted the renovate/cachetools-6.x branch May 25, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant