Skip to content

Bump cachebox from 5.2.3 to 6.2.2 - #8373

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

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

@dependabotdependabotBot commented on behalf of githubAug 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

@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 5, 2026
@dependabot
dependabotBot requested a review from a team as a code ownerAugust 5, 2026 04:44
@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 5, 2026
@codecov

codecovBot 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 (a7773ca) to head (802b564).

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.

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] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/pip/cachebox-6.2.2 branch from a0b1359 to 802b564CompareAugust 10, 2026 04:43
@dependabot@github

dependabotBot commented on behalf of githubAug 13, 2026

Copy link
Copy Markdown
ContributorAuthor

Superseded by #8401.

@dependabotdependabotBot closed this Aug 13, 2026
auto-merge was automatically disabled August 13, 2026 04:44

Pull request was closed

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

Labels

dependenciesPull 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