Hello community, here is the log from the commit of package python-redis for openSUSE:Leap:15.2 checked in at 2020-03-02 13:22:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-redis (Old) and /work/SRC/openSUSE:Leap:15.2/.python-redis.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redis" Mon Mar 2 13:22:04 2020 rev:13 rq:777081 version:3.3.11 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-redis/python-redis.changes 2020-01-15 15:52:35.671568712 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-redis.new.26092/python-redis.changes 2020-03-02 13:22:05.230246833 +0100 @@ -1,0 +2,44 @@ +Fri Dec 13 19:00:52 UTC 2019 - Matthias Fehring <buschman...@opensuse.org> + +- Fix tests with redis pre 5.0.0: + * 0001-fix-tests-with-redis-pre-5.0.0.patch + +------------------------------------------------------------------- +Sun Nov 24 17:25:24 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * be more specifc in %files section + +- update to version 3.3.11: + * Further fix for the SSLError -> TimeoutError mapping to work on + obscure releases of Python 2.7. + +- changes from version 3.3.10: + * Fixed a potential error handling bug for the SSLError -> + TimeoutError mapping introduced in 3.3.9. hanks @zbristow. #1224 + +- changes from version 3.3.9: + * Mapped Python 2.7 SSLError to TimeoutError where + appropriate. Timeouts should now consistently raise TimeoutErrors + on Python 2.7 for both unsecured and secured connections. Thanks + @zbristow. #1222 + +------------------------------------------------------------------- +Tue Sep 10 10:55:15 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 3.3.8: + * Fixed MONITOR parsing to properly parse IPv6 client addresses + * Fixed a regression introduced in 3.3.0 + +------------------------------------------------------------------- +Mon Aug 12 09:52:51 UTC 2019 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to v3.3.6 + * Resolve a race condition with the PubSubWorkerThread. #1150 + * Response callbacks are now case insensitive. + * Added support for hiredis-py 1.0.0 encoding error support. + * Add READONLY and READWRITE commands. + * Added extensive health checks that keep the connections lively. + * Many more changes, see upstream changelog. + +------------------------------------------------------------------- Old: ---- redis-3.2.1.tar.gz New: ---- 0001-fix-tests-with-redis-pre-5.0.0.patch redis-3.3.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-redis.spec ++++++ --- /var/tmp/diff_new_pack.WZbKgn/_old 2020-03-02 13:22:05.798247962 +0100 +++ /var/tmp/diff_new_pack.WZbKgn/_new 2020-03-02 13:22:05.798247962 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-redis # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-redis -Version: 3.2.1 +Version: 3.3.11 Release: 0 Summary: Python client for Redis key-value store License: MIT Group: Development/Languages/Python -URL: http://github.com/andymccurdy/redis-py +URL: https://github.com/andymccurdy/redis-py Source: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz +Patch0: 0001-fix-tests-with-redis-pre-5.0.0.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 2.7.0} BuildRequires: %{python_module setuptools} @@ -32,8 +33,8 @@ BuildRequires: psmisc BuildRequires: python-rpm-macros BuildRequires: redis -Recommends: python-hiredis >= 0.1.3 Requires: redis +Recommends: python-hiredis >= 0.1.3 BuildArch: noarch %python_subpackages @@ -42,6 +43,7 @@ %prep %setup -q -n redis-%{version} +%patch0 -p1 %build %python_build @@ -58,6 +60,7 @@ %files %{python_files} %license LICENSE %doc CHANGES README.rst -%{python_sitelib}/* +%{python_sitelib}/redis/ +%{python_sitelib}/redis-%{version}-py*.egg-info %changelog ++++++ 0001-fix-tests-with-redis-pre-5.0.0.patch ++++++ >From 90532bd2c4d6d74110ab37d800653d7abafe2e0b Mon Sep 17 00:00:00 2001 From: tuxmaster5000 <837503+tuxmaster5...@users.noreply.github.com> Date: Fri, 18 Oct 2019 09:47:27 +0200 Subject: [PATCH] Support old EPEL-7 Redis. (#1227) Upstream: merged(https://github.com/andymccurdy/redis-py/pull/1227) Fix test suite with Redis versions pre-5.0.0 --- tests/test_monitor.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_monitor.py b/tests/test_monitor.py index 09ec21bd..fe9e68a9 100644 --- a/tests/test_monitor.py +++ b/tests/test_monitor.py @@ -1,5 +1,7 @@ from __future__ import unicode_literals from redis._compat import unicode +from .conftest import (skip_if_server_version_lt, skip_if_server_version_gte, + skip_unless_arch_bits) def wait_for_command(client, monitor, command): @@ -17,12 +19,14 @@ def wait_for_command(client, monitor, command): class TestPipeline(object): + @skip_if_server_version_lt('5.0.0') def test_wait_command_not_found(self, r): "Make sure the wait_for_command func works when command is not found" with r.monitor() as m: response = wait_for_command(r, m, 'nothing') assert response is None + @skip_if_server_version_lt('5.0.0') def test_response_values(self, r): with r.monitor() as m: r.ping() @@ -34,12 +38,14 @@ def test_response_values(self, r): assert isinstance(response['client_port'], unicode) assert response['command'] == 'PING' + @skip_if_server_version_lt('5.0.0') def test_command_with_quoted_key(self, r): with r.monitor() as m: r.get('foo"bar') response = wait_for_command(r, m, 'GET foo"bar') assert response['command'] == 'GET foo"bar' + @skip_if_server_version_lt('5.0.0') def test_command_with_binary_data(self, r): with r.monitor() as m: byte_string = b'foo\x92' @@ -47,6 +53,7 @@ def test_command_with_binary_data(self, r): response = wait_for_command(r, m, 'GET foo\\x92') assert response['command'] == 'GET foo\\x92' + @skip_if_server_version_lt('5.0.0') def test_lua_script(self, r): with r.monitor() as m: script = 'return redis.call("GET", "foo")' ++++++ redis-3.2.1.tar.gz -> redis-3.3.11.tar.gz ++++++ ++++ 3477 lines of diff (skipped)