From 61fd43c67043815c903e4f57d483d07037a92babf38362dcb69e47719a608d04 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 12 Jun 2025 10:31:30 +0000 Subject: [PATCH] - Remove not needed pytest.ini source file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=102 --- pytest.ini | 19 ------------------- python-redis.changes | 5 +++++ python-redis.spec | 5 +---- redis-6.2.0.tar.gz | 4 ++-- 4 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 0c3feca..0000000 --- a/pytest.ini +++ /dev/null @@ -1,19 +0,0 @@ -[pytest] -addopts = -s -markers = - redismod: run only the redis module tests - graph: run only the redisgraph tests - pipeline: pipeline tests - onlycluster: marks tests to be run only with cluster mode redis - onlynoncluster: marks tests to be run only with standalone redis - ssl: marker for only the ssl tests - asyncio: marker for async tests - replica: replica tests - experimental: run only experimental tests -asyncio_mode = auto -timeout = 30 -filterwarnings = - always - ignore:RedisGraph support is deprecated as of Redis Stack 7.2:DeprecationWarning - # Ignore a coverage warning when COVERAGE_CORE=sysmon for Pythons < 3.12. - ignore:sys.monitoring isn't available:coverage.exceptions.CoverageWarning diff --git a/python-redis.changes b/python-redis.changes index f23359e..d25e656 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 10:24:11 UTC 2025 - Daniel Garcia + +- Remove not needed pytest.ini source file. + ------------------------------------------------------------------- Tue Jun 10 16:44:41 UTC 2025 - Antonio Teixeira diff --git a/python-redis.spec b/python-redis.spec index 74ef944..eaca72e 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -35,7 +35,6 @@ Summary: Python client for Redis key-value store License: MIT URL: https://github.com/redis/redis-py Source0: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz -Source1: https://github.com/redis/redis-py/raw/refs/tags/v%{version}/pytest.ini Patch0: increase-test-timeout.patch Patch1: remove-mock.patch BuildRequires: %{python_module async-timeout >= 4.0.2 if %python-base < 3.11.3} @@ -50,9 +49,9 @@ BuildRequires: psmisc BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module redis = %{version}} BuildRequires: %{python_module redis-entraid} BuildRequires: redis @@ -68,8 +67,6 @@ The Python interface to the Redis key-value store. %prep %autosetup -N -n redis-%{version} -# pytest.ini for pytest markers but without coverage -sed /coverage/d %SOURCE1 > pytest.ini %ifarch s390x %patch -P 0 -p1 %endif diff --git a/redis-6.2.0.tar.gz b/redis-6.2.0.tar.gz index 8d58949..42876cf 100644 --- a/redis-6.2.0.tar.gz +++ b/redis-6.2.0.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:61f4d221dfa26a3579fc960f76e048b2e674b4cf283f19130f054f63ce387705 -size 4639130 +oid sha256:e821f129b75dde6cb99dd35e5c76e8c49512a5a0d8dfdc560b2fbd44b85ca977 +size 4639129