Skip to content

Bump cachebox from 5.2.3 to 6.2.2 - #8373

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor

Bumps cachebox from 5.2.3 to 6.2.2.

Release notes

Sourced from cachebox's releases.

Release v6.2.2

Fixed several bugs related to miss counting, missing await, lock cleanup on exceptions, and cancellation handling.

Bug fixes

  • @cached bugs:

    • With lock=False, misses were never incremented and hits were double-counted. Now they are counted correctly.
    • In the async wrapper, when cachebox__ignore=True and lock was off, the function was not awaited and a coroutine object was returned. Now it is properly awaited.
    • If the cached function raised an exception, the per-key lock was never removed and stayed in memory. It is now cleaned up properly.
    • If a task was cancelled while waiting for the lock, the waiter count stayed high and the lock was never cleaned up. Now it is decremented with try/finally.
    • All exceptions (even BaseException) now go through the same cleanup path (previously only Exceptions was caught).
  • In Frozen class, the check for the underlying cache no longer relies on assert (so it still works with -O flag).

  • Removed an unreachable branch in make_key function.

Full Changelog: awolverp/cachebox@v6.2.1...v6.2.2

Release v6.2.1

This is a patch release that fully migrates the crate to stable Rust — no more nightly-only features are used.

Changes

  • Migrated the entire codebase from Rust nightly to stable Rust. cachebox no longer relies on any unstable Rust features.
  • Fixed a rare, hard-to-reproduce bug that could occur under very specific conditions.

Bug Fixes

  • #62: 6.2.0 could not be built with stable Rust (error[E0554]: '#![feature]' may not be used on the stable release channel)

Thanks To

Release v6.2.0

This release introduces a new method and improves the atomicity of an existing one, along with a bug fix.

New Features

  • Added setdefault_with method to cache classes for more flexible atomic operations.

Changes

  • setdefault is now fully atomic, improving thread-safety and reliability.

Bug Fixes

  • #61: Cache stampede doesn't work in free threading

Thanks To

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.

... (truncated)

Commits
  • fe9650c Bump version to 6.2.2
  • 1b3b98a Merge pull request #63 from awolverp/patch
  • 67194e2 Write tests for last 7 fixes
  • b977adb remove unreachable len(key) == 1 branch in make_key
  • ea6d955 validate Frozen's underlying cache without relying on assert
  • a4f4787 catch BaseException around func() so cancellation/KeyboardInterrupt
  • 13adf7d decrement waiters on cancellation in _AsyncLock/_Lock.aenter
  • 7d05fe9 release per-key lock entry when func() raises
  • 4845794 await func() on cachebox__ignore path in async wrapper
  • b8a5184 count misses correctly when lock is disabled
  • Additional commits viewable in compare view

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.2.2.
- [Release notes](https://github.com/awolverp/cachebox/releases)
- [Commits](awolverp/cachebox@v5.2.3...v6.2.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 5, 2026 04:44
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 5, 2026
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.12%. Comparing base (a8e8e18) to head (a0b1359).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8373      +/-   ##
==========================================
- Coverage   71.09%   70.12%   -0.98%     
==========================================
  Files         305      305              
  Lines       31934    31934              
==========================================
- Hits        22705    22394     -311     
- Misses       9229     9540     +311     

☔ 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.

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.

0 participants