14
0

Accepting request 1128169 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1128169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-cache?expand=0&rev=8
This commit is contained in:
2023-11-23 20:41:17 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 4 deletions

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Nov 21 06:22:09 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- 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 <mcepl@suse.com> Thu May 4 20:20:19 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -17,7 +17,7 @@
Name: python-requests-cache Name: python-requests-cache
Version: 1.0.1 Version: 1.1.1
Release: 0 Release: 0
Summary: Persistent cache for requests library Summary: Persistent cache for requests library
License: BSD-2-Clause License: BSD-2-Clause
@@ -50,6 +50,7 @@ BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module responses} BuildRequires: %{python_module responses}
BuildRequires: %{python_module rich} BuildRequires: %{python_module rich}
BuildRequires: %{python_module tenacity} BuildRequires: %{python_module tenacity}
BuildRequires: %{python_module time-machine}
BuildRequires: %{python_module timeout-decorator} BuildRequires: %{python_module timeout-decorator}
BuildRequires: %{python_module url-normalize >= 1.4} BuildRequires: %{python_module url-normalize >= 1.4}
BuildRequires: redis BuildRequires: redis

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c64a69d5be513cb5c9a21e0ca3d067d0581d8041d6cab2c2f1ba0325606b16f6
size 2914175

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c36da550f7c2651cbee7b49f9c252421f2b03d561b91462b82028a5b6426541
size 2927360