Skip to content

Commit 3070e7a

Browse files
Build: Bump cachetools from 5.5.2 to 6.0.0 (apache#2041)
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f823c0d commit 3070e7a

File tree

2 files changed

+52
-136
lines changed

2 files changed

+52
-136
lines changed

poetry.lock

Lines changed: 51 additions & 135 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ huggingface-hub = { version = ">=0.24.0", optional = true }
8080
psycopg2-binary = { version = ">=2.9.6", optional = true }
8181
sqlalchemy = { version = "^2.0.18", optional = true }
8282
getdaft = { version = ">=0.2.12", optional = true }
83-
cachetools = "^5.5.0"
83+
cachetools = ">=5.5,<7.0"
8484
pyiceberg-core = { version = "^0.4.0", optional = true }
8585
polars = { version = "^1.21.0", optional = true }
8686
thrift-sasl = { version = ">=0.4.3", optional = true }

0 commit comments

Comments
 (0)