forked from pool/python-redis
Accepting request 1136213 from home:alarrosa:branches:devel:languages:python
- Add patch to increase timeouts in s390x where tests take longer to run: * increase-test-timeout.patch OBS-URL: https://build.opensuse.org/request/show/1136213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=83
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-redis
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,6 +27,7 @@ License: MIT
|
||||
URL: https://github.com/redis/redis-py
|
||||
Source0: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/redis/redis-py/5.0/pytest.ini
|
||||
Patch0: increase-test-timeout.patch
|
||||
BuildRequires: %{python_module async-timeout >= 4.0.2}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module packaging}
|
||||
@@ -50,9 +51,12 @@ BuildArch: noarch
|
||||
The Python interface to the Redis key-value store.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n redis-%{version}
|
||||
%autosetup -N -n redis-%{version}
|
||||
# pytest.ini for pytest markers
|
||||
cp %SOURCE1 .
|
||||
%ifarch s390x
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
# This test passes locally but fails in obs with different
|
||||
# environment, like ALP build...
|
||||
|
Reference in New Issue
Block a user