Skip to content

Bump cachebox from 5.2.3 to 6.1.2#8221

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps cachebox from 5.2.3 to 6.1.2.

Release notes

Sourced from cachebox's releases.

Release v6.1.2

This release updates the core dependency to PyO3 0.29.0. This is a patch release with dependency and compatibility updates.

Changes

  • Dropped support for Python 3.13t (as per PyO3 upstream).
  • Improved compatibility with Python 3.15 beta and free-threaded builds.
  • Security fixes and internal soundness improvements from PyO3.
  • Minor build and dependency updates.

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()

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 15, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 15, 2026 04:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 15, 2026
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.03%. Comparing base (7dec7a3) to head (a41f92d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8221      +/-   ##
==========================================
- Coverage   71.02%   70.03%   -0.99%     
==========================================
  Files         301      301              
  Lines       31888    31888              
==========================================
- Hits        22647    22332     -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 15, 2026 06:41
Bumps [cachebox](https://github.com/awolverp/cachebox) from 5.2.3 to 6.1.2.
- [Release notes](https://github.com/awolverp/cachebox/releases)
- [Commits](awolverp/cachebox@v5.2.3...v6.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/cachebox-6.1.2 branch from 43d38ff to a41f92d Compare June 16, 2026 04:43
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