Skip to content

Build: Bump cachetools from 5.5.2 to 6.1.0 #2101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2025

Bumps cachetools from 5.5.2 to 6.1.0.

Changelog

Sourced from cachetools's changelog.

v6.1.0 (2025-06-16)

  • Improve LFUCache insertion performance by switching to an implementation based on the cacheing <https://pypi.org/project/cacheing/>_ library.

  • Update CI environment.

v6.0.0 (2025-05-23)

  • Require Python 3.9 or later (breaking change).

  • Remove MRUCache and the @func.mru_cache decorator (breaking change).

  • Add an optional condition parameter to the @cached and @cachedmethod decorators, which, when used with a threading.Condition instance, should improve cache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues in massively parallel environments. Note that this will inflict some performance penalty, and therefore has to be enabled explicitly.

  • Convert the cachetools.func decorators to use a threading.Condition instance to deal with cache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues. Note that this may result in a noticable performance degradation, depending on your actual use case.

  • Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator.

  • Improve documentation.

  • Update CI environment.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to 6.1.0.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v5.5.2...v6.1.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 6.1.0
  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 Jun 17, 2025
@kevinjqliu kevinjqliu merged commit 0a63026 into main Jun 17, 2025
10 checks passed
@kevinjqliu kevinjqliu deleted the dependabot/pip/cachetools-6.1.0 branch June 17, 2025 03:42
NikitaMatskevich pushed a commit to NikitaMatskevich/iceberg-python that referenced this pull request Jun 17, 2025
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to
6.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst">cachetools's
changelog</a>.</em></p>
<blockquote>
<h1>v6.1.0 (2025-06-16)</h1>
<ul>
<li>
<p>Improve <code>LFUCache</code> insertion performance by switching to
an
implementation based on the <code>cacheing
&lt;https://pypi.org/project/cacheing/&gt;</code>_ library.</p>
</li>
<li>
<p>Update CI environment.</p>
</li>
</ul>
<h1>v6.0.0 (2025-05-23)</h1>
<ul>
<li>
<p>Require Python 3.9 or later (breaking change).</p>
</li>
<li>
<p>Remove <code>MRUCache</code> and the <code>@func.mru_cache</code>
decorator (breaking
change).</p>
</li>
<li>
<p>Add an optional <code>condition</code> parameter to the
<code>@cached</code> and
<code>@cachedmethod</code> decorators, which, when used with a
<code>threading.Condition</code> instance, should improve <code>cache
stampede &lt;https://en.wikipedia.org/wiki/Cache_stampede&gt;</code>_
issues in massively
parallel environments.  Note that this will inflict some performance
penalty, and therefore has to be enabled explicitly.</p>
</li>
<li>
<p>Convert the <code>cachetools.func</code> decorators to use a
<code>threading.Condition</code> instance to deal with <code>cache
stampede &lt;https://en.wikipedia.org/wiki/Cache_stampede&gt;</code>_
issues. Note that
this <em>may</em> result in a noticable performance degradation,
depending
on your actual use case.</p>
</li>
<li>
<p>Deprecate support for <code>cache(self)</code> returning
<code>None</code> to suppress
caching with the <code>@cachedmethod</code> decorator.</p>
</li>
<li>
<p>Improve documentation.</p>
</li>
<li>
<p>Update CI environment.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tkem/cachetools/commit/bb6d71a745785429b14aae30b7752f4765dc35c3"><code>bb6d71a</code></a>
Release v6.1.0.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/77a9c59e3324496a79e6c4d5a7b5bfdb9a7f7f42"><code>77a9c59</code></a>
Fix <a
href="https://redirect.github.com/tkem/cachetools/issues/260">#260</a>:
Use LFUCache implementation based on Blake Reid's &quot;cacheing&quot;
library.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/b1d4eb2972ca8f0ab49e22eae3bb47c1eb8b552c"><code>b1d4eb2</code></a>
Bump codecov/codecov-action from 5.4.2 to 5.4.3</li>
<li><a
href="https://github.com/tkem/cachetools/commit/820b154494e91aa5bfe63a3fa2033c63a9c84603"><code>820b154</code></a>
Refactor <a
href="https://github.com/cachedmethod"><code>@​cachedmethod</code></a>
unit tests.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/e497575fcb4d29dfb773824956539215db964059"><code>e497575</code></a>
Release v6.0.0.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/0a8f391979f72f3237be8cdb79d6128dd5caeb93"><code>0a8f391</code></a>
Update related projects section.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/3afef37bdbf8fa8f6dddbc303ecd91c9fd32ab01"><code>3afef37</code></a>
Pre-release v6.0.0b4.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/34815dd03f5954272e0f06c1571e871ed1cfb5f4"><code>34815dd</code></a>
Update documentation for v6.0.0.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/8854b5075a63adee657a9f32485b026b6e33a29a"><code>8854b50</code></a>
Add intersphinx extension.</li>
<li><a
href="https://github.com/tkem/cachetools/commit/0af4a07f371120521370a11e38473e21ec2ea6a1"><code>0af4a07</code></a>
Bump codecov/codecov-action from 5.4.0 to 5.4.2</li>
<li>Additional commits viewable in <a
href="https://github.com/tkem/cachetools/compare/v5.5.2...v6.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cachetools&package-manager=pip&previous-version=5.5.2&new-version=6.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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