forked from pool/python-redis
- Remove not needed pytest.ini source file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=102
This commit is contained in:
19
pytest.ini
19
pytest.ini
@@ -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
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 10:24:11 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove not needed pytest.ini source file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 10 16:44:41 UTC 2025 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61f4d221dfa26a3579fc960f76e048b2e674b4cf283f19130f054f63ce387705
|
||||
size 4639130
|
||||
oid sha256:e821f129b75dde6cb99dd35e5c76e8c49512a5a0d8dfdc560b2fbd44b85ca977
|
||||
size 4639129
|
||||
|
Reference in New Issue
Block a user