Skip to content

[cachetools] Update to 7.0.* (#15357)#15656

Closed
tkem wants to merge 1 commit intopython:mainfrom
tkem:dev/cachetools
Closed

[cachetools] Update to 7.0.* (#15357)#15656
tkem wants to merge 1 commit intopython:mainfrom
tkem:dev/cachetools

Conversation

@tkem
Copy link
Copy Markdown

@tkem tkem commented Apr 20, 2026

Update stubs for cachetools v7.0 (#15357).

Also support generic timer and ttl types with TTLCache and TLRUCache (#14585.).

@tkem tkem closed this Apr 20, 2026
@tkem tkem deleted the dev/cachetools branch April 20, 2026 10:48
@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

mypy (https://github.com/python/mypy)
  .../projects/mypy/mypy/__init__.py: error: INTERNAL ERROR -- Please try using mypy master on GitHub:

prefect (https://github.com/PrefectHQ/prefect)
+ src/prefect/settings/sources.py:27: error: "TTLCache" expects 3 type arguments, but 2 given  [type-arg]
+ src/prefect/server/api/collections.py:13: error: "TTLCache" expects 3 type arguments, but 2 given  [type-arg]
+ src/prefect/concurrency/services.py:26: error: "TTLCache" expects 3 type arguments, but 2 given  [type-arg]
+ src/prefect/runner/_event_emitter.py:55: error: "TTLCache" expects 3 type arguments, but 2 given  [type-arg]
+ src/prefect/server/events/ordering/memory.py:57: error: "TTLCache" expects 3 type arguments, but 2 given  [type-arg]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants