Skip to content

deps(deps): update cachetools requirement from ^5.0 to ^7.0#2956

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/cachetools-tw-7.0
Closed

deps(deps): update cachetools requirement from ^5.0 to ^7.0#2956
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/cachetools-tw-7.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on cachetools to permit the latest version.

Changelog

Sourced from cachetools's changelog.

v7.0.1 (2026-02-10)

  • Various test improvements.

  • Update Copilot Instructions.

v7.0.0 (2026-02-01)

  • Require Python 3.10 or later (breaking change).

  • Drop support for passing info as fourth positional parameter to @cached (breaking change).

  • Drop support for cache(self) returning None with @cachedmethod (breaking change).

  • Convert the @cachedmethod wrappers to descriptors, deprecating its use with class methods and instances that do not provide a mutable __dict__ attribute (potentially breaking change).

  • Convert the previously undocumented @cachedmethod attributes (cache, cache_lock, etc.) to properties for instance methods, providing official support and documentation (potentially breaking change).

  • Add an optional info parameter to the @cachedmethod decorator for reporting per-instance cache statistics. Note that this requires the instance's __dict__ attribute to be a mutable mapping.

v6.2.6 (2026-01-27)

  • Improve typedkey performance.

  • Minor documentation improvements.

  • Minor testing improvements.

  • Minor code readability improvements.

v6.2.5 (2026-01-25)

  • Improve documentation regarding @cachedmethod with lock

... (truncated)

Commits

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 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)

Updates the requirements on [cachetools](https://github.com/tkem/cachetools) to permit the latest version.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v5.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 7.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 1, 2026

Labels

The following labels could not be found: automated, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@netlify
Copy link

netlify bot commented Mar 1, 2026

Deploy Preview for stunning-zabaione-f1f1ef failed. Why did it fail? →

Name Link
🔨 Latest commit 5ac339d
🔍 Latest deploy log https://app.netlify.com/projects/stunning-zabaione-f1f1ef/deploys/69a40310b8b51f0008079457

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

Automated Code Review

⚠️ Issues found

Please review the workflow logs for details.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s optional dependency constraints to allow installing cachetools v7.x (per Dependabot), keeping the library compatible with newer cachetools releases.

Changes:

  • Bump cachetools optional dependency in Poetry config from ^5.0 to ^7.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# Minimal core - truly minimal for primality testing
networkx = {version = "^2.6", optional = true}
cachetools = {version = "^5.0", optional = true}
cachetools = {version = "^7.0", optional = true}
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bumps cachetools to ^7.0 under [tool.poetry.dependencies], but the project metadata still pins cachetools to <7.0 in the [tool.tnfr.metadata].dependencies list ("cachetools>=5.0,<7.0"). This leaves conflicting dependency constraints depending on which metadata consumers use. Please update the corresponding cachetools constraint there as well (and anywhere else the PEP 621 / custom dependency lists are derived from) to allow v7.

Suggested change
cachetools = {version = "^7.0", optional = true}
cachetools = {version = ">=5.0,<7.0", optional = true}

Copilot uses AI. Check for mistakes.
@fermga fermga closed this Mar 6, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/cachetools-tw-7.0 branch March 6, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants