Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-redis for openSUSE:Factory checked in at 2025-07-02 12:07:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-redis (Old) and /work/SRC/openSUSE:Factory/.python-redis.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redis" Wed Jul 2 12:07:16 2025 rev:46 rq:1289331 version:6.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes 2025-06-13 18:42:27.651540322 +0200 +++ /work/SRC/openSUSE:Factory/.python-redis.new.7067/python-redis.changes 2025-07-02 12:07:24.789483470 +0200 @@ -1,0 +2,5 @@ +Mon Jun 30 16:54:24 UTC 2025 - Илья Индиго <i...@ilya.top> + +- Added test_add_elem_no_quant.patch to fix test on 32 bit archs. + +------------------------------------------------------------------- @@ -1461 +1465,0 @@ - New: ---- test_add_elem_no_quant.patch ----------(New B)---------- New: - Added test_add_elem_no_quant.patch to fix test on 32 bit archs. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-redis.spec ++++++ --- /var/tmp/diff_new_pack.R6mWJn/_old 2025-07-02 12:07:25.709521912 +0200 +++ /var/tmp/diff_new_pack.R6mWJn/_new 2025-07-02 12:07:25.713522079 +0200 @@ -37,6 +37,7 @@ Source0: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz Patch0: increase-test-timeout.patch Patch1: remove-mock.patch +Patch2: test_add_elem_no_quant.patch BuildRequires: %{python_module async-timeout >= 4.0.2 if %python-base < 3.11.3} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling} @@ -71,6 +72,7 @@ %patch -P 0 -p1 %endif %patch -P 1 -p1 +%patch -P 2 -p1 # These tests pass locally but fail in obs with different # environment, like ALP build... ++++++ test_add_elem_no_quant.patch ++++++ diff -Pdpru redis-py-6.2.0.orig/tests/test_asyncio/test_vsets.py redis-py-6.2.0/tests/test_asyncio/test_vsets.py --- redis-py-6.2.0.orig/tests/test_asyncio/test_vsets.py 2025-05-27 19:21:45.000000000 +0300 +++ redis-py-6.2.0/tests/test_asyncio/test_vsets.py 2025-06-30 18:35:24.108629200 +0300 @@ -83,7 +83,7 @@ async def test_add_elem_no_quant(d_clien assert resp == 1 emb = await d_client.vset().vemb("myset", "elem1") - assert _validate_quantization(float_array, emb, tolerance=0.0) + assert _validate_quantization(float_array, emb, tolerance=0.00001) @skip_if_server_version_lt("7.9.0") diff -Pdpru redis-py-6.2.0.orig/tests/test_vsets.py redis-py-6.2.0/tests/test_vsets.py --- redis-py-6.2.0.orig/tests/test_vsets.py 2025-05-27 19:21:45.000000000 +0300 +++ redis-py-6.2.0/tests/test_vsets.py 2025-06-30 18:35:03.140295444 +0300 @@ -87,7 +87,7 @@ def test_add_elem_no_quant(d_client): assert resp == 1 emb = d_client.vset().vemb("myset", "elem1") - assert _validate_quantization(float_array, emb, tolerance=0.0) + assert _validate_quantization(float_array, emb, tolerance=0.00001) @skip_if_server_version_lt("7.9.0")