Skip to content

Bump cachebox from 5.2.3 to 6.1.1 - #8200

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cachebox-6.1.0
Closed

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

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJun 8, 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

@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 8, 2026
@dependabot
dependabotBot requested a review from a team as a code ownerJune 8, 2026 04:43
@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 8, 2026
@codecov

codecovBot commented Jun 8, 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 (4b3017a).

Additional details and impacted files
@@ Coverage Diff @@## main #8200 +/- ##
==========================================
- 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.

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.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot changed the title Bump cachebox from 5.2.3 to 6.1.0Bump cachebox from 5.2.3 to 6.1.1Jun 12, 2026
@dependabot
dependabotBotforce-pushed the dependabot/pip/cachebox-6.1.0 branch from d2e3561 to 4b3017aCompareJune 12, 2026 04:43
@dependabot@github

dependabotBot commented on behalf of githubJun 12, 2026

Copy link
Copy Markdown
ContributorAuthor

Superseded by #8217.

@dependabotdependabotBot closed this Jun 12, 2026
auto-merge was automatically disabled June 12, 2026 04:43

Pull request was closed

@dependabot
dependabotBot deleted the dependabot/pip/cachebox-6.1.0 branch June 12, 2026 04:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked on third party dependencydependenciesPull requests that update a dependency filepythonPull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@jenshnielsen