Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2025

Bumps cachetools from 5.5.2 to 6.0.0.

Changelog

Sourced from cachetools's changelog.

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
  • e497575 Release v6.0.0.
  • 0a8f391 Update related projects section.
  • 3afef37 Pre-release v6.0.0b4.
  • 34815dd Update documentation for v6.0.0.
  • 8854b50 Add intersphinx extension.
  • 0af4a07 Bump codecov/codecov-action from 5.4.0 to 5.4.2
  • ad42371 Merge pull request #349 from tkem/dependabot/github_actions/actions/setup-pyt...
  • 987c076 Bump actions/setup-python from 5.5.0 to 5.6.0
  • 27d0dce Add cache_condition wrapper attribute (and refactor a bit).
  • 37b5c12 Use class method attributes in tests.
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 26, 2025
@kevinjqliu
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/cachetools-6.0.0 branch from 336ceef to 13f36fa Compare May 27, 2025 20:23
@dependabot dependabot bot force-pushed the dependabot/pip/cachetools-6.0.0 branch 2 times, most recently from a3a96bd to cba580b Compare May 27, 2025 21:08
@kevinjqliu
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/cachetools-6.0.0 branch from cba580b to 892dd16 Compare May 28, 2025 03:39
@kevinjqliu
Copy link
Contributor

@dependabot rebase

Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to 6.0.0.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v5.5.2...v6.0.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 6.0.0
  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/cachetools-6.0.0 branch from 892dd16 to e781eca Compare May 28, 2025 03:48
@kevinjqliu kevinjqliu merged commit 3070e7a into main May 28, 2025
10 checks passed
@kevinjqliu kevinjqliu deleted the dependabot/pip/cachetools-6.0.0 branch May 28, 2025 04:02
amitgilad3 pushed a commit to amitgilad3/iceberg-python that referenced this pull request Jul 7, 2025
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to
6.0.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.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/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><a
href="https://github.com/tkem/cachetools/commit/ad4237158902802b999962a091d716c505588464"><code>ad42371</code></a>
Merge pull request <a
href="https://redirect.github.com/tkem/cachetools/issues/349">#349</a>
from tkem/dependabot/github_actions/actions/setup-pyt...</li>
<li><a
href="https://github.com/tkem/cachetools/commit/987c0764b04ed477d56b09dcfb46036d30a89e09"><code>987c076</code></a>
Bump actions/setup-python from 5.5.0 to 5.6.0</li>
<li><a
href="https://github.com/tkem/cachetools/commit/27d0dce34efe15560206378ce6054c95d84efa58"><code>27d0dce</code></a>
Add cache_condition wrapper attribute (and refactor a bit).</li>
<li><a
href="https://github.com/tkem/cachetools/commit/37b5c1297fea141f066c4211e7513269bffc1820"><code>37b5c12</code></a>
Use class method attributes in tests.</li>
<li>Additional commits viewable in <a
href="https://github.com/tkem/cachetools/compare/v5.5.2...v6.0.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.0.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to
6.0.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.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/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><a
href="https://github.com/tkem/cachetools/commit/ad4237158902802b999962a091d716c505588464"><code>ad42371</code></a>
Merge pull request <a
href="https://redirect.github.com/tkem/cachetools/issues/349">#349</a>
from tkem/dependabot/github_actions/actions/setup-pyt...</li>
<li><a
href="https://github.com/tkem/cachetools/commit/987c0764b04ed477d56b09dcfb46036d30a89e09"><code>987c076</code></a>
Bump actions/setup-python from 5.5.0 to 5.6.0</li>
<li><a
href="https://github.com/tkem/cachetools/commit/27d0dce34efe15560206378ce6054c95d84efa58"><code>27d0dce</code></a>
Add cache_condition wrapper attribute (and refactor a bit).</li>
<li><a
href="https://github.com/tkem/cachetools/commit/37b5c1297fea141f066c4211e7513269bffc1820"><code>37b5c12</code></a>
Use class method attributes in tests.</li>
<li>Additional commits viewable in <a
href="https://github.com/tkem/cachetools/compare/v5.5.2...v6.0.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.0.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] <support@github.com>
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.

2 participants