forked from pool/python-redis
Accepting request 1076597 from devel:languages:python
revert OBS-URL: https://build.opensuse.org/request/show/1076597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=66
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-redis
|
||||
Version: 4.4.4
|
||||
Version: 4.3.5
|
||||
Release: 0
|
||||
Summary: Python client for Redis key-value store
|
||||
License: MIT
|
||||
@@ -26,7 +26,6 @@ Group: Development/Languages/Python
|
||||
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}/tox.ini
|
||||
Source2: keys.zip
|
||||
BuildRequires: %{python_module Deprecated >= 1.2.3}
|
||||
BuildRequires: %{python_module async-timeout >= 4.0.2}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
@@ -43,7 +42,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: psmisc
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: redis
|
||||
BuildRequires: unzip
|
||||
Requires: python-Deprecated >= 1.2.3
|
||||
Requires: python-async-timeout >= 4.0.2
|
||||
Requires: python-packaging >= 20.4
|
||||
@@ -64,10 +62,6 @@ The Python interface to the Redis key-value store.
|
||||
# tox.ini for pytest markers
|
||||
cp %{SOURCE1} .
|
||||
|
||||
# keys and certificates for testing
|
||||
mkdir -p docker/stunnel/ && cd docker/stunnel
|
||||
unzip %{SOURCE2}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
@@ -99,8 +93,7 @@ if [ $(getconf LONG_BIT) -ne 64 ]; then
|
||||
donttest=" or test_geopos"
|
||||
fi
|
||||
# gh#redis/redis-py#2554
|
||||
# gh#redis/redis-py#2679
|
||||
donttest=" or test_xautoclaim or test_acl_list"
|
||||
donttest=" or test_xautoclaim"
|
||||
%pytest -m 'not (onlycluster or redismod)' -k "not (dummyprefix $donttest)" --ignore tests/test_ssl.py
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user