Compatibility & support¶
Distribution and Python¶
| Item | Published 0.7.1 |
|---|---|
| Package on PyPI | fastapi-cache-stable==0.7.1 |
| Python import | fastapi_cache |
| Requires-Python | >=3.8,<3.14 |
| Security-maintained server-side target | CPython 3.11–3.13 |
| Legacy functional migration bridge | CPython 3.8–3.10 |
| Python 3.14 | Unsupported; no metadata claim |
| FastAPI / Pydantic | Tested across pinned legacy and modern CI profiles |
Functional compatibility is not a security support promise
Python 3.8–3.10 and several historical framework versions are EOL. pip check verifies dependency metadata, not runtime safety or your tenant isolation.
The published 0.7.1 wheel also supports optional bounded InMemory via
InMemoryBackend(max_entries=positive_integer); the default remains unbounded.
See the InMemory guide. Published 0.5.0 did not
provide this option. The exact TTL boundary from
#123 and decode-before-304
behavior from #124 are
included in published 0.7.1; broader backend and recovery contracts remain open.
Redis client requirements¶
| CPython | redis-py [redis] constraint |
|---|---|
| 3.8 | >=4.2.0rc1,<6.2 |
| 3.9 | >=4.2.0rc1,<7.1 |
| 3.10–3.13 | >=4.2.0rc1,<8.2 |
decode_responses=False is required for binary payloads. Redis standalone is the primary supported deployment. Redis Cluster namespace clearing is unsupported; TLS, Sentinel, failover, managed transports are not fully certified. Memcached/DynamoDB remain experimental.
Migrating safely¶
Anonymous GET/JSON and the default key builder have published golden migration tests. Safer auth/Request handling and selective clear can intentionally change observed behavior.