Update cachetools requirement from <6.2.0,>=5.3.3 to >=5.3.3,<6.3.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(9 months ago)
(9 months ago)
(9 months ago)
by Bibo-Joshi
⚙️ dependencies 🔗 python
Updates the requirements on cachetools to permit the latest version.
Changelog
Sourced from cachetools's changelog.
v6.2.0 (2025-08-25)
Improve general
RRCacheperformance by storing cache keys in an additional sequence container. Note that this will increase memory consumption.Add more unit tests.
v6.1.0 (2025-06-16)
Improve
LFUCacheinsertion performance by switching to an implementation based on thecacheing <https://pypi.org/project/cacheing/>_ library.Update CI environment.
v6.0.0 (2025-05-23)
Require Python 3.9 or later (breaking change).
Remove
MRUCacheand the@func.mru_cachedecorator (breaking change).Add an optional
conditionparameter to the@cachedand@cachedmethoddecorators, which, when used with athreading.Conditioninstance, should improvecache 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.funcdecorators to use athreading.Conditioninstance to deal withcache 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)returningNoneto suppress caching with the@cachedmethoddecorator.Improve documentation.
Update CI environment.
v5.5.2 (2025-02-20)
... (truncated)
Commits
4a238adRelease v6.2.0.9d511b7Improve unit tests.79aa8c7Fix #356: Improve RRCache performance.bb6d71aRelease v6.1.0.77a9c59Fix #260: Use LFUCache implementation based on Blake Reid's "cacheing" library.b1d4eb2Bump codecov/codecov-action from 5.4.2 to 5.4.3820b154Refactor@cachedmethodunit tests.e497575Release v6.0.0.0a8f391Update related projects section.3afef37Pre-release v6.0.0b4.- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
3
3
+7
-2
Package Dependencies
cachetools
pip
<6.2.0,>=5.3.3 → >=5.3.3,<6.3.0
Minor
Technical Details
| ID: | 7027930 |
| UUID: | 2786234509 |
| Node ID: | PR_kwDOAk533c6mEpCN |
| Host: | GitHub |
| Repository: | python-telegram-bot/python-telegram-bot |
| Merge State: | Unknown |