From 62082908f424a1f0a4a733a9ae773db9e53196e7a3166d34bb6c8c9d768fb732 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 30 Oct 2023 16:28:01 +0000 Subject: [PATCH 1/3] Accepting request 1121196 from home:dgarcia:branches:devel:languages:python - Disable broken tests for ppc64le, bsc#1216606 OBS-URL: https://build.opensuse.org/request/show/1121196 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=79 --- python-redis.changes | 5 +++++ python-redis.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-redis.changes b/python-redis.changes index 6446a84..034f87d 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 30 13:09:20 UTC 2023 - Daniel Garcia + +- Disable broken tests for ppc64le, bsc#1216606 + ------------------------------------------------------------------- Mon Oct 23 10:42:41 UTC 2023 - Daniel Garcia diff --git a/python-redis.spec b/python-redis.spec index 65ed139..f673f0f 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -91,10 +91,8 @@ sleep 2 # redismod: Not available (https://github.com/RedisLabsModules/redismod) # ssl: no stunnel with certs from docker container, fails at test collection # -if [ $(getconf LONG_BIT) -ne 64 ]; then - # reference precision issues on 32-bit - donttest=" or test_geopos" -fi +# broken tests in ppc64le +donttest="test_geopos or test_georadius" # gh#redis/redis-py#2554 donttest="$donttest or test_xautoclaim" # gh#redis/redis-py#2679 From b5d57eaadedd7500efa981d5adb3a508197fb2d7f3f253e77a74d48e56f26918 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 30 Oct 2023 16:36:31 +0000 Subject: [PATCH 2/3] - fix test running OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=80 --- python-redis.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-redis.spec b/python-redis.spec index f673f0f..0e2aa09 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -97,7 +97,7 @@ donttest="test_geopos or test_georadius" donttest="$donttest or test_xautoclaim" # gh#redis/redis-py#2679 donttest+=" or test_acl_getuser_setuser or test_acl_log" -%pytest -m 'not (onlycluster or redismod or ssl)' -k "not (dummyprefix $donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ +%pytest -m 'not (onlycluster or redismod or ssl)' -k "not (dummyprefix or $donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ %endif %files %{python_files} From 9cebbddd640d8203ccdbad3f51a30e201731b8cf7280ce25ccc5054c027916da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 31 Oct 2023 14:10:08 +0000 Subject: [PATCH 3/3] drop the now-redundant dummyprefix OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=81 --- python-redis.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-redis.spec b/python-redis.spec index 0e2aa09..640e39e 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -97,7 +97,7 @@ donttest="test_geopos or test_georadius" donttest="$donttest or test_xautoclaim" # gh#redis/redis-py#2679 donttest+=" or test_acl_getuser_setuser or test_acl_log" -%pytest -m 'not (onlycluster or redismod or ssl)' -k "not (dummyprefix or $donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ +%pytest -m 'not (onlycluster or redismod or ssl)' -k "not ($donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ %endif %files %{python_files}