Skip to content

Bump cachebox from 5.2.3 to 6.1.1#8217

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cachebox-6.1.1
Open

Bump cachebox from 5.2.3 to 6.1.1#8217
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cachebox-6.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Contributor

Bumps cachebox from 5.2.3 to 6.1.1.

Release notes

Sourced from cachebox's releases.

Release v6.1.1

This release includes a critical fix for a bug where exceptions raised by functions wrapped with @cached ( with enabled lock ) could get permanently stuck in the cache. Once an exception was cached, subsequent calls would always re-raise it immediately without re-executing the function or allowing the cache to clear properly.

Bug fixes

  • #57: Caching raised exceptions never clears the cache

Thanks to

Release v6.1.0

A critical bug has been fixed, and a new feature has been added. Now you can disable or use a custom lock for cache stampede prevention in @cached decorator.

New Features

  • Added lock parameter to the @cached decorator, providing more control on cache stampede prevention. Also fixes #54.

Bug Fixes

  • #55: GC traversing a concurrently-constructed cache aborts the interpreter (SIGABRT)
  • #54: 5.x.x / 6.0.0: Inherent lock for cached method causes deadlocks in some situations

Thanks To

Release v6.0.0

The library has been completely optimized and rewritten for maximum performance and stability. All core algorithms have been reviewed and improved, multiple long-standing bugs have been fixed, and several requested features have been added.

New Features

  • Added postprocess parameter to the @cached decorator, providing much more flexible control over cached results (replaces the deprecated copy_level).
  • Added getsizeof parameter to cache classes. This callable allows implementing weighted caching based on memory footprint, object size, or any custom logic.
  • Background sweeping support for TTLCache and VTTLCache via the new sweep_interval parameter. When set, a background thread automatically cleans up expired items (#46).
  • New methods added to all cache classes:
    • current_size()
    • remaining_size()
    • contains()
  • Added helper functions for better type hinting:
    • get_cached_cache()
    • get_cached_cache_info()
    • get_cached_callback()
    • clear_cached_cache()

Changes

  • The entire library is now implemented in Rust using PyO3. Python wrapper classes have been removed.
  • Significant performance improvements (very large speed gains).
  • Major algorithmic improvements to FIFOCache and TTLCache.
  • Tests has been expanded and improved for better coverage and reliability.
  • All docstrings have been expanded with explanations of algorithms.
  • Mimalloc allocator has been removed.
  • All dependencies has been updated.
  • @cached decorator now uses LRUCache by default, instead of FIFOCache.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cachebox](https://github.com/awolverp/cachebox) from 5.2.3 to 6.1.1.
- [Release notes](https://github.com/awolverp/cachebox/releases)
- [Commits](awolverp/cachebox@v5.2.3...v6.1.1)

---
updated-dependencies:
- dependency-name: cachebox
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 12, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 12, 2026 04:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 12, 2026
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.03%. Comparing base (f4bc16f) to head (9e514b4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8217      +/-   ##
==========================================
- Coverage   71.02%   70.03%   -0.99%     
==========================================
  Files         301      301              
  Lines       31891    31891              
==========================================
- Hits        22650    22335     -315     
- Misses       9241     9556     +315     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jenshnielsen jenshnielsen enabled auto-merge June 12, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant