forked from pool/python-redis
WIP DO NOT SUBMIT YET (gh#redis/redis-py#2679)
- Update to 5.0.0rc2: - RESP3 response-callbacks cleanup (#2841) - Change SISMEMBER return type to int by (#2813) - rocket New Features - RESP3 modules support (#2803) - bug Bug Fixes - Fixing asyncio import (#2759) - Fix sharded pubsub threads issue (#2799) - toolbox Maintenance - RESP3 tests (#2780) (#2806) - RESP3 response callbacks (#2798) - Adding RESP3 tests support (#2793) - Update to 4.6.0: - Support JSON.MERGE command (#2761) - Support JSON.MSET command (#2766) - rocket New Features - Extract abstract async connection class (#2734) - Add support for WAITAOF (#2760) - Introduce OutOfMemoryError exception for Redis write command rejections due to OOM errors (#2778) - Add WITHSCORE argument to ZRANK (#2758) - bug Bug Fixes - Fix dead weakref in sentinel connection causing ReferenceError (#2767) (#2771) - Fix Key Error in parse_xinfo_stream (#2788) - Remove unnecessary __del__ handlers (#2755) - Added support for missing argument to SentinelManagedConnection.read_response() (#2756) - toolbox Maintenance - Fix type hint for retry_on_error in async cluster (#2804) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=74
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-redis
|
||||
Version: 4.5.5
|
||||
Version: 5.0.0rc2
|
||||
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}/tox.ini
|
||||
Source1: https://github.com/redis/redis-py/raw/v%{version}/pytest.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}
|
||||
# tox.ini for pytest markers
|
||||
# pytest.ini for pytest markers
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
@@ -80,8 +80,6 @@ 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