Skip to content

build(deps): bump cachetools from 6.1.0 to 7.1.7 - #119

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cachetools-7.1.7
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cachetools-7.1.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Bumps cachetools from 6.1.0 to 7.1.7.

Changelog

Sourced from cachetools's changelog.

v7.1.7 (2026-08-01)

  • Improve Cache.__setitem__ behavior when replacing an existing cache item with a larger value.

  • Update CI environment.

v7.1.6 (2026-07-24)

  • Minor style improvements to keep ruff happy.

v7.1.5 (2026-07-23)

  • Fix TLRUCache silently keeping stale values on expired overwrites.

  • Reject negative cache item getsizeof values.

  • Update build environment.

v7.1.4 (2026-05-22)

  • Minor unit test improvements.

  • Update build environment.

v7.1.3 (2026-05-18)

  • Minor type stub improvements.

  • Update build environment.

v7.1.2 (2026-05-16)

  • Minor type stub improvements.

  • Minor documentation improvements.

  • Modernize build environment.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [cachetools](https://github.com/tkem/cachetools) from 6.1.0 to 7.1.7.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v6.1.0...v7.1.7)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 7.1.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 30, 2026
@codecov

codecov Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TexasCoding

Copy link
Copy Markdown
Owner

Not merging as-is. cachetools 7.1.7 makes mypy fail on existing TTLCache usage:

  • src/project_x_py/client/cache.py:177 redundant-cast
  • src/project_x_py/order_manager/tracking.py:1361-1362 incompatible assignment (int vs dict[str, Any])

Runtime tests passed. Needs a small typing fix (annotate the recreated caches) before this can land.

@TexasCoding

Copy link
Copy Markdown
Owner

Daily maintenance (2026-09-27): not merging

  • CI not green (lint / claude-review failed; checks look stale vs current main).
  • cachetools 6.1.0 → 7.1.7 is a major dependency bump; needs a fresh rebase + compatibility check before merge (we use TTLCache in client/order tracking).

Leave open.

@TexasCoding

Copy link
Copy Markdown
Owner

Daily maintenance (2026-09-28): leaving open — CI still red on the branch tip, and this is a major cachetools 6 → 7 bump (API breaks around @cached/@cachedmethod). Branch is also 24 commits behind main. Needs rebase + green CI + a compatibility pass on TTLCache usage in order_manager/tracking.py before merge.

@TexasCoding

Copy link
Copy Markdown
Owner

Daily maintenance (2026-09-29): opened a clean superseding PR from current main: #150 (maint/119-cachetools-7).

Bumps to cachetools 7.2.0 with TTLCache typing fixes so mypy is green. Will merge that PR when CI is green and close this Dependabot PR as superseded.

TexasCoding added a commit that referenced this pull request Sep 29, 2026
Lockfile now resolves cachetools 7.2.0 (requires >=7.1.7). cachetools 7
ships stubs that type TTLCache.get() as V | None, so the instrument
cache no longer needs a cast. Recreating order-tracking caches must use
TTLCache[str, dict[str, Any]] and TTLCache[str, int] so restore loops
do not mix value types.

Refs #119
@dependabot @github

dependabot Bot commented on behalf of github Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

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/uv/cachetools-7.1.7 branch September 29, 2026 11:28
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant