14
0
forked from pool/python-redis

- Upgrade to 4.4.4 (also bsc#1209811, CVE-2023-28858 &

bsc#1209812, CVE-2023-28859) to fix possible async command
  information disclosure.
- Upgrade to 4.4.3:
  Update urgency: HIGH: There is a critical bug that may affect a
  subset of users. Upgrade!
  - CWE-404 AsyncIO Race Condition Fix
- Upgrade to 4.4.2:
  - Add support for BF.CARD
  - Add support for custom connection pool class in NodesManager
    Allow replica to master promotion in nodes_cache
    Security Fix: Updating graph parser for potential injection cases
- Upgrade to 4.4.0:
  - Async clusters: Support creating locks inside async functions
  - Async: added 'blocking' argument to call lock method
  - Added a replacement for the default cluster node in the event
    of failure.
  - Fixed geosearch: Wrong number of arguments for geosearch
    command
  - Updating dev dependencies
  - Removing deprecated LGTM
  - Added an explicit index name in RediSearch example
  - Adding connection step to bloom filter examples
- Skip test_acl_list test (gh#redis/redis-py#2679)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=65
This commit is contained in:
2023-04-01 02:45:41 +00:00
committed by Git OBS Bridge
parent 4274d7b8f5
commit 6bf3e78d6d
6 changed files with 59 additions and 21 deletions

View File

@@ -18,7 +18,7 @@
%define skip_python2 1
Name: python-redis
Version: 4.3.5
Version: 4.4.4
Release: 0
Summary: Python client for Redis key-value store
License: MIT
@@ -26,6 +26,7 @@ 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}
@@ -42,6 +43,7 @@ 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
@@ -62,6 +64,10 @@ 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
@@ -93,7 +99,8 @@ if [ $(getconf LONG_BIT) -ne 64 ]; then
donttest=" or test_geopos"
fi
# gh#redis/redis-py#2554
donttest=" or test_xautoclaim"
# gh#redis/redis-py#2679
donttest=" or test_xautoclaim or test_acl_list"
%pytest -m 'not (onlycluster or redismod)' -k "not (dummyprefix $donttest)" --ignore tests/test_ssl.py
%files %{python_files}