From 8b3b5d9d749d0dc23cc4a43adbf494f69f281452e51beeaa413941612912d7db Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 21 Nov 2023 06:26:25 +0000 Subject: [PATCH] - Update to 1.1.1: - Backport fix from 1.2: Add compatibility with cattrs 23.2 - Update to 1.1.0: - SESSION SETTINGS: - Add support for regular expressions with urls_expire_after - SQLITE BACKEND: - Add busy_timeout argument (see SQLite docs for details) - In WAL journaling mode (wal=True), default to 'normal' synchronous mode instead of 'full' - Fix potential OperationalError: database is locked in multithreaded SQLite usage during bulk delete operations - Fix deadlock in multithreaded SQLite usage if a thread encounters an error during COMMIT - BUGFIXES: - Fix loading cached JSON content with decode_content=True when the root element is a list - Fix BaseCache.recreate_keys() to normalize response bodies with b'None' - Fix BaseCache.contains() for multipart POST requests - Fix CachedResponse.history not being fully deserialized on python<=3.8 - Fix request matching with Vary and redirects - Skip normalizing CachedResponse.url so it always matches the original request URL - Avoid unnecessary cache writes for revalidation requests if headers and expiration are unchanged - Add compatibility with urllib3 2.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=17 --- python-requests-cache.changes | 31 +++++++++++++++++++++++++++++++ python-requests-cache.spec | 2 +- requests-cache-1.0.1.tar.gz | 3 --- requests-cache-1.1.1.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 4 deletions(-) delete mode 100644 requests-cache-1.0.1.tar.gz create mode 100644 requests-cache-1.1.1.tar.gz diff --git a/python-requests-cache.changes b/python-requests-cache.changes index b426846..0e6bb71 100644 --- a/python-requests-cache.changes +++ b/python-requests-cache.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Nov 21 06:22:09 UTC 2023 - Matej Cepl + +- Update to 1.1.1: + - Backport fix from 1.2: Add compatibility with cattrs 23.2 +- Update to 1.1.0: + - SESSION SETTINGS: + - Add support for regular expressions with urls_expire_after + - SQLITE BACKEND: + - Add busy_timeout argument (see SQLite docs for details) + - In WAL journaling mode (wal=True), default to 'normal' + synchronous mode instead of 'full' + - Fix potential OperationalError: database is locked in + multithreaded SQLite usage during bulk delete operations + - Fix deadlock in multithreaded SQLite usage if a thread + encounters an error during COMMIT + - BUGFIXES: + - Fix loading cached JSON content with decode_content=True + when the root element is a list + - Fix BaseCache.recreate_keys() to normalize response bodies + with b'None' + - Fix BaseCache.contains() for multipart POST requests + - Fix CachedResponse.history not being fully deserialized on + python<=3.8 + - Fix request matching with Vary and redirects + - Skip normalizing CachedResponse.url so it always matches + the original request URL + - Avoid unnecessary cache writes for revalidation requests if + headers and expiration are unchanged + - Add compatibility with urllib3 2.0 + ------------------------------------------------------------------- Thu May 4 20:20:19 UTC 2023 - Matej Cepl diff --git a/python-requests-cache.spec b/python-requests-cache.spec index 1f380ff..5960350 100644 --- a/python-requests-cache.spec +++ b/python-requests-cache.spec @@ -17,7 +17,7 @@ Name: python-requests-cache -Version: 1.0.1 +Version: 1.1.1 Release: 0 Summary: Persistent cache for requests library License: BSD-2-Clause diff --git a/requests-cache-1.0.1.tar.gz b/requests-cache-1.0.1.tar.gz deleted file mode 100644 index a2324ad..0000000 --- a/requests-cache-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c64a69d5be513cb5c9a21e0ca3d067d0581d8041d6cab2c2f1ba0325606b16f6 -size 2914175 diff --git a/requests-cache-1.1.1.tar.gz b/requests-cache-1.1.1.tar.gz new file mode 100644 index 0000000..bd4a4ae --- /dev/null +++ b/requests-cache-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c36da550f7c2651cbee7b49f9c252421f2b03d561b91462b82028a5b6426541 +size 2927360