Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-requests-cache for 
openSUSE:Factory checked in at 2026-11-17 17:20:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-cache (Old)
 and      /work/SRC/openSUSE:Factory/.python-requests-cache.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-requests-cache"

Tue Nov 17 17:20:29 2026 rev:14 rq:1398026 version:1.3.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-requests-cache/python-requests-cache.changes  
    2026-06-16 14:02:22.323555856 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requests-cache.new.1251/python-requests-cache.changes
    2026-11-17 17:23:02.616305137 +0100
@@ -1,0 +2,12 @@
+Tue Nov 17 02:23:14 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.3.3:
+  * Fix SQLite `vacuum()` not freeing disk space
+  * Fix DynamoDB item enumeration when the table exceeds 1MB
+  * Fix Redis `ttl_offset` for items that should have no expiry
+  * Fix error when receiving an empty `Expires` header value 
+- Drop patch avoid-vacuum-in-transaction.patch, merged upstream.
+- Add patch support-url-normalize-3.0.patch:
+  * Support both url-normalize 2.x and 3.x.
+
+-------------------------------------------------------------------

Old:
----
  avoid-vacuum-in-transaction.patch
  requests-cache-1.3.2.tar.gz

New:
----
  requests-cache-1.3.3.tar.gz
  support-url-normalize-3.0.patch

----------(Old B)----------
  Old:  * Fix error when receiving an empty `Expires` header value 
- Drop patch avoid-vacuum-in-transaction.patch, merged upstream.
- Add patch support-url-normalize-3.0.patch:
----------(Old E)----------

----------(New B)----------
  New:- Drop patch avoid-vacuum-in-transaction.patch, merged upstream.
- Add patch support-url-normalize-3.0.patch:
  * Support both url-normalize 2.x and 3.x.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-requests-cache.spec ++++++
--- /var/tmp/diff_new_pack.eVhdh5/_old  2026-11-17 17:23:03.570345752 +0100
+++ /var/tmp/diff_new_pack.eVhdh5/_new  2026-11-17 17:23:03.571345794 +0100
@@ -17,15 +17,14 @@
 
 
 Name:           python-requests-cache
-Version:        1.3.2
+Version:        1.3.3
 Release:        0
 Summary:        Persistent cache for requests library
 License:        BSD-2-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/requests-cache/requests-cache
 Source:         
https://github.com/requests-cache/requests-cache/archive/refs/tags/v%{version}.tar.gz#/requests-cache-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM
-Patch1:         avoid-vacuum-in-transaction.patch
+# PATCH-FIX-UPSTREAM The important parts of 
gh#requests-cache/requests-cache@2541eb8
+Patch0:         support-url-normalize-3.0.patch
 BuildRequires:  %{python_module hatchling >= 1.0.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
@@ -92,14 +91,14 @@
 
 %check
 gunicorn -b 127.0.0.1:8080 httpbin:app -k gevent &
-%{_sbindir}/redis-server &
+%{_sbindir}/redis-server --save "" &
 export HTTPBIN_URL=http://localhost:8080/
-%pytest -k 'not (dynamodb or gridfs or mongodb)'
+%pytest -k 'not (dynamodb or gridfs or mongodb or test_concurrency)'
 killall -w redis-server
 
 %files %{python_files}
 %license LICENSE
 %doc README.md HISTORY.md docs/*.md docs/*.rst
 %{python_sitelib}/requests_cache
-%{python_sitelib}/requests_cache-%{version}*-info
+%{python_sitelib}/requests_cache-%{version}.dist-info
 

++++++ requests-cache-1.3.2.tar.gz -> requests-cache-1.3.3.tar.gz ++++++
++++ 2028 lines of diff (skipped)

++++++ support-url-normalize-3.0.patch ++++++
>From 2541eb8d8f513a1a70fdaa4daf8a17a8ee37b520 Mon Sep 17 00:00:00 2001
From: Jordan Cook <[email protected]>
Date: Fri, 9 Oct 2026 20:32:15 -0500
Subject: [PATCH] Update unit test cache key for url-normalize 3.0.1

Updates #1203
---
 tests/unit/test_session.py |    4 +-
 uv.lock                    | 2309 ++++++++++++++++++++----------------
 2 files changed, 1274 insertions(+), 1039 deletions(-)

diff --git a/tests/unit/test_session.py b/tests/unit/test_session.py
index f55b6114..996e99d5 100644
--- a/tests/unit/test_session.py
+++ b/tests/unit/test_session.py
@@ -2,6 +2,7 @@
 
 import json
 import pickle
+import sys
 from collections import UserDict, defaultdict
 from datetime import datetime, timedelta
 from logging import getLogger
@@ -121,7 +122,8 @@ def test_response_defaults(mock_session):
     response_1 = mock_session.get(MOCKED_URL)
     response_2 = mock_session.get(MOCKED_URL)
     response_3 = mock_session.get(MOCKED_URL)
-    cache_key = '29de1c4491126e0b'
+    # url-normalize 2.x (python < 3.10) normalizes custom URL schemes 
differently than 3.0.1+
+    cache_key = '29de1c4491126e0b' if sys.version_info < (3, 10) else 
'045f15dceb1b8f75'
 
     assert response_1.cache_key == cache_key
     assert isinstance(response_1.created_at, datetime)

Reply via email to