Skip to content

fix(deps): update dependency cachetools to v7 - autoclosed - #619

Closed
renovate[bot] wants to merge 1 commit into
2.0from
renovate/cachetools-7.x
Closed

renovate[bot] wants to merge 1 commit into
2.0from
renovate/cachetools-7.x

Conversation

@renovate

@renovate renovate Bot commented Feb 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cachetools (changelog) ^5.5.2 → ^7.3.0 age confidence
cachetools (changelog) ~=5.5.2 → ~=7.3.0 age confidence

Release Notes

tkem/cachetools (cachetools)

v7.3.0

Compare Source

===================

  • Use OrderedDict for defined and faster LFUCache eviction.

  • Various unit test improvements.

  • Minor type stub improvements.

  • Minor documentation improvements.

v7.2.8

Compare Source

===================

  • Fix type stubs for TTLCache and TLRUCache with default
    timer.

  • Minor documentation and unit test improvements.

v7.2.7

Compare Source

===================

  • Various performance improvements.

  • Minor unit test improvements.

v7.2.6

Compare Source

===================

  • Various performance improvements.

v7.2.5

Compare Source

===================

  • Fix @cachedmethod with condition for decorated methods
    taking a pending keyword argument (broken since v7.0.0).

  • Fix pickling and deep-copying of instances using @cachedmethod
    (broken since v7.0.0).

  • Fix calling @cachedmethod decorated methods through the class
    with the receiver (self) passed as a keyword argument (broken
    since v7.2.4).

  • Various documentation improvements.

v7.2.4

Compare Source

===================

  • Restore autospec calls to @cachedmethod decorated methods.

  • Improve branch coverage of unit tests.

  • Minor type stub improvements.

v7.2.3

Compare Source

===================

  • Fix @cached decorator stacking behavior.

  • Minor type stub improvements.

v7.2.2

Compare Source

===================

  • Fix @cachedmethod for subclasses that override a decorated
    method and call the base class implementation via super().

  • Restore class access to instance methods decorated with
    @cachedmethod.

  • Improve TTLCache robustness when calculating expiration time
    fails.

  • Various unit test improvements.

v7.2.1

Compare Source

===================

  • Improve error handling for RRCache.popitem() when the cache is
    empty.

  • Minor style and documentation improvements.

  • Update CI environment.

v7.2.0

Compare Source

===================

  • Deprecate use of cache=None to suppress caching with the
    @cached decorator.

  • Add support for Python 3.15.

  • Minor test improvements.

  • Minor documentation updates.

v7.1.8

Compare Source

===================

  • Reject negative maxsize in Cache.__init__.

v7.1.7

Compare Source

===================

  • Improve Cache.__setitem__ behavior when replacing an existing
    cache item with a larger value.

  • Update CI environment.

v7.1.6

Compare Source

===================

  • Minor style improvements to keep ruff happy.

v7.1.5

Compare Source

===================

  • Fix TLRUCache silently keeping stale values on expired
    overwrites.

  • Reject negative cache item getsizeof values.

  • Update build environment.

v7.1.4

Compare Source

===================

  • Minor unit test improvements.

  • Update build environment.

v7.1.3

Compare Source

===================

  • Minor type stub improvements.

  • Update build environment.

v7.1.2

Compare Source

===================

  • Minor type stub improvements.

  • Minor documentation improvements.

  • Modernize build environment.

v7.1.1

Compare Source

===================

  • Various type stub improvements.

v7.1.0

Compare 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.6

Compare Source

===================

  • Minor code improvements.

  • Update project URLs.

  • Update CI environment.

v7.0.5

Compare Source

===================

  • Minor @cachedmethod performance improvements.

v7.0.4

Compare Source

===================

  • Fix and properly document @cachedmethod.cache_key behavior.

  • Minor documentation improvements.

v7.0.3

Compare Source

===================

  • Fix DeprecationWarning when creating an autospec mock with
    @cachedmethod decorations.

v7.0.2

Compare Source

===================

  • Provide more efficient clear() implementation for all supported
    Cache classes (courtesy Josep Pon Farreny).

v7.0.1

Compare Source

===================

  • Various test improvements.

  • Update Copilot Instructions.

v7.0.0

Compare Source

===================

  • Require Python 3.10 or later (breaking change).

  • Drop support for passing info as fourth positional parameter to
    @cached (breaking change).

  • Drop support for cache(self) returning None with
    @cachedmethod (breaking change).

  • Convert the @cachedmethod wrappers to descriptors, deprecating
    its use with class methods and instances that do not provide a
    mutable __dict__ attribute (potentially breaking change).

  • Convert the previously undocumented @cachedmethod attributes
    (cache, cache_lock, etc.) to properties for instance
    methods, providing official support and documentation (potentially
    breaking change).

  • Add an optional info parameter to the @cachedmethod
    decorator for reporting per-instance cache statistics. Note that
    this requires the instance's __dict__ attribute to be a mutable
    mapping.

v6.2.6

Compare Source

===================

  • Improve typedkey performance.

  • Minor documentation improvements.

  • Minor testing improvements.

  • Minor code readability improvements.

v6.2.5

Compare Source

===================

  • Improve documentation regarding @cachedmethod with lock
    parameter.

  • Add test cases for cache stampede scenarios.

  • Update CI environment.

v6.2.4

Compare Source

===================

  • Fix license information displayed on PyPI by using an updated
    version of twine for uploading.

v6.2.3

Compare Source

===================

  • Improve documentation regarding @cachedmethod with condition
    parameter.

  • Minor style and readability improvements.

  • Modernize build environment.

  • Update CI environment.

v6.2.2

Compare Source

===================

  • Minor improvements from GitHub Copilot code review.

  • Improve documentation.

v6.2.1

Compare Source

===================

  • Add support for Python 3.14.

  • Improve documentation.

  • Update CI environment.

v6.2.0

Compare Source

===================

  • Improve general RRCache performance by storing cache keys in an
    additional sequence container. Note that this will increase memory
    consumption.

  • Add more unit tests.

v6.1.0

Compare Source

===================

  • Improve LFUCache insertion performance by switching to an
    implementation based on the cacheing <https://pypi.org/project/cacheing/>_ library.

  • Update CI environment.

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 noticeable 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: (UTC)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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.


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

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

@renovate renovate Bot added breaking dependencies Pull requests that update a dependency file labels Feb 1, 2026
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from de3addb to 76f5039 Compare February 11, 2026 00:34
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from 2784d01 to b64c82f Compare March 9, 2026 01:14
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from b64c82f to 29311f6 Compare March 9, 2026 23:09
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from 8d387ab to 7fce4fd Compare April 20, 2026 19:31
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 2 times, most recently from 291b9ed to efde201 Compare May 1, 2026 21:47
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from efde201 to 3a53624 Compare May 3, 2026 20:49
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 5 times, most recently from 9cfa18b to ffc31dc Compare May 23, 2026 04:59
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from ffc31dc to e434eb3 Compare June 4, 2026 11:52
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from e434eb3 to c381c98 Compare June 13, 2026 04:40
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 4 times, most recently from 397806f to 24d1dcd Compare July 25, 2026 04:38
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from c7e25db to b55f96c Compare August 8, 2026 05:09
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from b55f96c to d0e3483 Compare August 31, 2026 20:58
@renovate renovate Bot changed the title fix(deps): update dependency cachetools to v7 fix(deps): update dependency cachetools to v7 - autoclosed Sep 9, 2026
@renovate renovate Bot closed this Sep 9, 2026
@renovate
renovate Bot deleted the renovate/cachetools-7.x branch September 9, 2026 05:30
@renovate renovate Bot changed the title fix(deps): update dependency cachetools to v7 - autoclosed fix(deps): update dependency cachetools to v7 Sep 12, 2026
@renovate renovate Bot reopened this Sep 12, 2026
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from b64e62d to 42655c2 Compare September 16, 2026 23:14
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from 42655c2 to 55e36c4 Compare September 19, 2026 05:15
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from a0a390b to 6ec4539 Compare October 10, 2026 04:39
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 4 times, most recently from 714f41a to 77070d3 Compare October 17, 2026 14:04
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 4 times, most recently from 50fc5ff to ceff7fa Compare October 26, 2026 23:36
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch 3 times, most recently from 71448f6 to 9583b3e Compare October 31, 2026 22:21
@renovate
renovate Bot force-pushed the renovate/cachetools-7.x branch from 9583b3e to 02b299f Compare November 6, 2026 03:42
@renovate renovate Bot changed the title fix(deps): update dependency cachetools to v7 fix(deps): update dependency cachetools to v7 - autoclosed Nov 7, 2026
@renovate renovate Bot closed this Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants