Overview

Request 1157517 accepted

- update to 1.2.0:
* Drop support for python 3.7
* Remove methods deprecated in 1.0 from `CachedSession` and
`BaseCache`
* Add support for `X-HTTP-Method-Override` and other headers
that can override request method
* Add `CachedSession.wrap()` classmethod to add caching to an
existing `requests.Session` object
* Add `vacuum` parameter to `SQLiteCache.delete()` to
optionally skip vacuuming after deletion (enabled by default
to free up disk space)
* Optimize `SQLiteCache.delete()` when deleting a single key
* Add support for RFC 7159 JSON body with `decode_content=True`
(root element with any type)
* Use timezone-aware UTC datetimes for all internal expiration
values
* Add support for python 3.12
* Note: There is a known bug with multiprocess/multithreaded
usage of the SQLite backend on python 3.12.
* Add support for cattrs 23.2
* Fix `IncompleteRead` error that could sometimes occur with
streaming requests due to mismatch with `Content-Length`
header
* Handle a corner case with streaming requests, conditional
requests, and redirects
* When redacting ignored parameters from a cached response,
keep the rest of the original URL and headers without
normalizing
* Add `CachedHTTPResponse._request_url` property for
compatibility with urllib3

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 1.2.0:
* Drop support for python 3.7
* Remove methods deprecated in 1.0 from `CachedSession` and
`BaseCache`
* Add support for `X-HTTP-Method-Override` and other headers
that can override request method
* Add `CachedSession.wrap()` classmethod to add caching to an
existing `requests.Session` object
* Add `vacuum` parameter to `SQLiteCache.delete()` to
optionally skip vacuuming after deletion (enabled by default
to free up disk space)
* Optimize `SQLiteCache.delete()` when deleting a single key
* Add support for RFC 7159 JSON body with `decode_content=True`
(root element with any type)
* Use timezone-aware UTC datetimes for all internal expiration
values
* Add support for python 3.12
* Note: There is a known bug with multiprocess/multithreaded
usage of the SQLite backend on python 3.12.
* Add support for cattrs 23.2
* Fix `IncompleteRead` error that could sometimes occur with
streaming requests due to mismatch with `Content-Length`
header
* Handle a corner case with streaming requests, conditional
requests, and redirects
* When redacting ignored parameters from a cached response,
keep the rest of the original URL and headers without
normalizing
* Add `CachedHTTPResponse._request_url` property for
compatibility with urllib3


Ana Guerrero's avatar

anag+factory added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:86"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:adi:86"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

The legal review is accepted preliminary. The package may require actions later on.


Dominique Leuenberger's avatar

dimstar accepted review


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:86 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:86 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:86 got accepted.

openSUSE Build Service is sponsored by