Upgrading CacheControl 0.13 to 0.14
Breaking0.13.1 → 0.14.4Platform3New1Changed3Fixed2Other16
BreakingUpgrade verdict
3 platform requirement changes.
In plain terms
- This version no longer works on Python 3.8, so users on that version must upgrade Python before upgrading the package.
- This version no longer works on Python 3.7, but it now works on Python 3.13.
- Adds support for Python 3.12 and drops end-of-life Python 3.6.
Must act 3 items need code or config changes
Python requirement changed in 0.14.4: >=3.7 → >=3.10.
What you must change
Platform3
Drops support for Python 3.8.
Drops Python 3.7 support and adds Python 3.13 support.
Adds support for Python 3.12 and drops end-of-life Python 3.6.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
method CacheController.cache_response(request: PreparedRequest, response: HTTPResponse, body: bytes | None=…, status_codes: Collection[int] | None=…) -> None → method CacheController.cache_response(request: PreparedRequest, response_or_ref: HTTPResponse | weakref.ReferenceType[HTTPResponse], body: bytes | None=…, status_codes: Collection[int] | None=…) -> None
- changed:
constructor CallbackFileWrapper(fp: HTTPResponse, callback: Callable[[bytes], None] | None) -> None → constructor CallbackFileWrapper(fp: HTTPResponse, callback: Callable[[Buffer], None] | None) -> None