forked from pool/python-redis
Accepting request 1102123 from home:mcalabkova:branches:devel:languages:python
revert previous WIP changes OBS-URL: https://build.opensuse.org/request/show/1102123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=75
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-redis
|
||||
Version: 5.0.0rc2
|
||||
Version: 4.5.5
|
||||
Release: 0
|
||||
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/v%{version}/pytest.ini
|
||||
Source1: https://github.com/redis/redis-py/raw/v%{version}/tox.ini
|
||||
BuildRequires: %{python_module async-timeout >= 4.0.2}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module packaging}
|
||||
@@ -47,7 +47,7 @@ The Python interface to the Redis key-value store.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n redis-%{version}
|
||||
# pytest.ini for pytest markers
|
||||
# tox.ini for pytest markers
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
@@ -80,6 +80,8 @@ if [ $(getconf LONG_BIT) -ne 64 ]; then
|
||||
# reference precision issues on 32-bit
|
||||
donttest=" or test_geopos"
|
||||
fi
|
||||
# gh#redis/redis-py#2554 and gh#redis/redis-py#2679
|
||||
donttest="$donttest or test_xautoclaim or test_acl_list"
|
||||
%pytest -m 'not (onlycluster or redismod)' -k "not (dummyprefix $donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user