commit python-redis for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2020-08-06 17:31:28

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.3399 (New)


Package is "python-redis"

Thu Aug  6 17:31:28 2020 rev:28 rq:824196 version:3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2020-04-19 21:42:38.915259610 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.3399/python-redis.changes  
2020-08-06 17:32:15.125096233 +0200
@@ -1,0 +2,48 @@
+Mon Aug  3 11:44:19 UTC 2020 - Marketa Calabkova 
+
+- update to 3.5.3
+  * Restore try/except clauses to __del__ methods. These will be removed
+in 4.0 when more explicit resource management if enforced. #1339
+  * Update the master_address when Sentinels promote a new master. #847
+  * Update SentinelConnectionPool to not forcefully disconnect other in-use
+connections which can negatively affect threaded applications. #1345
+  3.5.2
+  * Tune the locking in ConnectionPool.get_connection so that the lock is
+not held while waiting for the socket to establish and validate the
+TCP connection.
+  3.5.1
+  * Fix for HSET argument validation to allow any non-None key. Thanks
+@AleksMat, #1337, #1341
+  3.5.0
+  * Removed exception trapping from __del__ methods. redis-py objects that
+hold various resources implement __del__ cleanup methods to release
+those resources when the object goes out of scope. This provides a
+fallback for when these objects aren't explicitly closed by user code.
+Prior to this change any errors encountered in closing these resources
+would be hidden from the user. Thanks @jdufresne. #1281
+  * Expanded support for connection strings specifying a username connecting
+to pre-v6 servers. #1274
+  * Optimized Lock's blocking_timeout and sleep. If the lock cannot be
+acquired and the sleep value would cause the loop to sleep beyond
+blocking_timeout, fail immediately. Thanks @clslgrnc. #1263
+  * Added support for passing Python memoryviews to Redis command args that
+expect strings or bytes. The memoryview instance is sent directly to
+the socket such that there are zero copies made of the underlying data
+during command packing. Thanks @Cody-G. #1265, #1285
+  * HSET command now can accept multiple pairs. HMSET has been marked as
+deprecated now. Thanks to @laixintao #1271
+  * Don't manually DISCARD when encountering an ExecAbortError.
+Thanks @nickgaya, #1300/#1301
+  * Reset the watched state of pipelines after calling exec. This saves
+a roundtrip to the server by not having to call UNWATCH within
+Pipeline.reset(). Thanks @nickgaya, #1299/#1302
+  * Added the KEEPTTL option for the SET command. Thanks
+@laixintao #1304/#1280
+  * Added the MEMORY STATS command. #1268
+  * Lock.extend() now has a new option, `replace_ttl`. When False (the
+default), Lock.extend() adds the `additional_time` to the lock's existing
+TTL. When replace_ttl=True, the lock's existing TTL is replaced with
+the value of `additional_time`.
+  * Add testing and support for PyPy.
+
+---

Old:

  redis-3.4.1.tar.gz

New:

  redis-3.5.3.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.cHhBqK/_old  2020-08-06 17:32:16.265096500 +0200
+++ /var/tmp/diff_new_pack.cHhBqK/_new  2020-08-06 17:32:16.269096501 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.4.1
+Version:3.5.3
 Release:0
 Summary:Python client for Redis key-value store
 License:MIT

++ redis-3.4.1.tar.gz -> redis-3.5.3.tar.gz ++
 2928 lines of diff (skipped)




commit python-redis for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2020-04-19 21:42:26

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.2738 (New)


Package is "python-redis"

Sun Apr 19 21:42:26 2020 rev:27 rq:786460 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-12-23 22:42:56.725963513 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new.2738/python-redis.changes  
2020-04-19 21:42:38.915259610 +0200
@@ -1,0 +2,55 @@
+Thu Mar 19 11:37:31 UTC 2020 - pgaj...@suse.com
+
+- version update to 3.4.1
+  * 3.4.1
+* Move the username argument in the Redis and Connection classes to the
+  end of the argument list. This helps those poor souls that specify all
+  their connection options as non-keyword arguments. #1276
+* Prior to ACL support, redis-py ignored the username component of
+  Connection URLs. With ACL support, usernames are no longer ignored and
+  are used to authenticate against an ACL rule. Some cloud vendors with
+  managed Redis instances (like Heroku) provide connection URLs with a
+  username component pre-ACL that is not intended to be used. Sending that
+  username to Redis servers < 6.0.0 results in an error. Attempt to detect
+  this condition and retry the AUTH command with only the password such
+  that authentication continues to work for these users. #1274
+* Removed the __eq__ hooks to Redis and ConnectionPool that were added
+  in 3.4.0. This ended up being a bad idea as two separate connection
+  pools be considered equal yet manage a completely separate set of
+  connections.
+  * 3.4.0
+* Allow empty pipelines to be executed if there are WATCHed keys.
+  This is a convenient way to test if any of the watched keys changed
+  without actually running any other commands. Thanks @brianmaissy.
+  #1233, #1234
+* Removed support for end of life Python 3.4.
+* Added support for all ACL commands in Redis 6. Thanks @IAmATeaPot418
+  for helping.
+* Pipeline instances now always evaluate to True. Prior to this change,
+  pipeline instances relied on __len__ for boolean evaluation which
+  meant that pipelines with no commands on the stack would be considered
+  False. #994
+* Client instances and Connection pools now support a 'client_name'
+  argument. If supplied, all connections created will call CLIENT SETNAME
+  as soon as the connection is opened. Thanks to @Habbie for supplying
+  the basis of this change. #802
+* Added the 'ssl_check_hostname' argument to specify whether SSL
+  connections should require the server hostname to match the hostname
+  specified in the SSL cert. By default 'ssl_check_hostname' is False
+  for backwards compatibility. #1196
+* Slightly optimized command packing. Thanks @Deneby67. #1255
+* Added support for the TYPE argument to SCAN. Thanks @netocp. #1220
+* Better thread and fork safety in ConnectionPool and
+  BlockingConnectionPool. Added better locking to synchronize critical
+  sections rather than relying on CPython-specific implementation details
+  relating to atomic operations. Adjusted how the pools identify and
+  deal with a fork. Added a ChildDeadlockedError exception that is
+  raised by child processes in the very unlikely chance that a deadlock
+  is encountered. Thanks @gmbnomis, @mdellweg, @yht804421715. #1270,
+  #1138, #1178, #906, #1262
+* Added __eq__ hooks to the Redis and ConnectionPool classes.
+  Thanks @brainix. #1240
+- deleted patches
+  - 0001-fix-tests-with-redis-pre-5.0.0.patch (upstreamed)
+
+---

Old:

  0001-fix-tests-with-redis-pre-5.0.0.patch
  redis-3.3.11.tar.gz

New:

  redis-3.4.1.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.PSU77l/_old  2020-04-19 21:42:42.655267114 +0200
+++ /var/tmp/diff_new_pack.PSU77l/_new  2020-04-19 21:42:42.655267114 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-redis
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.3.11
+Version:3.4.1
 Release:0
 Summary:Python client for Redis key-value store
 License:MIT
 Group:  

commit python-redis for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-12-23 22:40:25

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.6675 (New)


Package is "python-redis"

Mon Dec 23 22:40:25 2019 rev:26 rq:757265 version:3.3.11

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-12-07 15:22:56.695732493 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new.6675/python-redis.changes  
2019-12-23 22:42:56.725963513 +0100
@@ -1,0 +2,6 @@
+Fri Dec 13 19:00:52 UTC 2019 - Matthias Fehring 
+
+- Fix tests with redis pre 5.0.0:
+  * 0001-fix-tests-with-redis-pre-5.0.0.patch
+
+---

New:

  0001-fix-tests-with-redis-pre-5.0.0.patch



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.Ty1rDq/_old  2019-12-23 22:42:57.305963765 +0100
+++ /var/tmp/diff_new_pack.Ty1rDq/_new  2019-12-23 22:42:57.317963770 +0100
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 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}
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q -n redis-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ 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")'



commit python-redis for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-12-07 15:19:20

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.4691 (New)


Package is "python-redis"

Sat Dec  7 15:19:20 2019 rev:25 rq:751836 version:3.3.11

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-09-23 12:04:45.373931664 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.4691/python-redis.changes  
2019-12-07 15:22:56.695732493 +0100
@@ -1,0 +2,20 @@
+Sun Nov 24 17:25:24 UTC 2019 - Arun Persaud 
+
+- 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
+
+---

Old:

  redis-3.3.8.tar.gz

New:

  redis-3.3.11.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.XYNxBT/_old  2019-12-07 15:22:58.391732259 +0100
+++ /var/tmp/diff_new_pack.XYNxBT/_new  2019-12-07 15:22:58.391732259 +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,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.3.8
+Version:3.3.11
 Release:0
 Summary:Python client for Redis key-value store
 License:MIT
@@ -58,6 +58,7 @@
 %files %{python_files}
 %license LICENSE
 %doc CHANGES README.rst
-%{python_sitelib}/*
+%{python_sitelib}/redis/
+%{python_sitelib}/redis-%{version}-py*.egg-info
 
 %changelog

++ redis-3.3.8.tar.gz -> redis-3.3.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.8/CHANGES new/redis-3.3.11/CHANGES
--- old/redis-3.3.8/CHANGES 2019-08-19 21:31:23.0 +0200
+++ new/redis-3.3.11/CHANGES2019-10-13 17:57:02.0 +0200
@@ -1,3 +1,13 @@
+* 3.3.11
+* Further fix for the SSLError -> TimeoutError mapping to work
+  on obscure releases of Python 2.7.
+* 3.3.10
+* Fixed a potential error handling bug for the SSLError -> TimeoutError
+  mapping introduced in 3.3.9. hanks @zbristow. #1224
+* 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
 * 3.3.8
 * Fixed MONITOR parsing to properly parse IPv6 client addresses, unix
   socket connections and commands issued from Lua. Thanks @kukey. #1201
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.8/PKG-INFO new/redis-3.3.11/PKG-INFO
--- old/redis-3.3.8/PKG-INFO2019-08-19 21:39:44.0 +0200
+++ new/redis-3.3.11/PKG-INFO   2019-10-13 17:57:24.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: redis
-Version: 3.3.8
+Version: 3.3.11
 Summary: Python client for Redis key-value store
 Home-page: https://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
@@ -158,7 +158,7 @@
 ZINCRBY
 ^^^
 
-redis-py 2.X accidentily modified the argument order of ZINCRBY, 
swapping the
+redis-py 2.X accidentally modified the argument order of ZINCRBY, 
swapping the
 order of value and amount. ZINCRBY now looks like:
 
 .. code-block:: pycon
@@ -241,7 +241,7 @@
   
`_
   for details).
 * **SCAN/SSCAN/HSCAN/ZSCAN**: The \*SCAN commands are implemented as 
they
-  exist in the Redis documentation. In addition, each command has an 
equivilant
+  exist in the Redis documentation. In addition, each command has an 
equivalent
   iterator method. These are purely for convenience so the user 
doesn't have
   to keep track of the cursor while iterating. Use the
   

commit python-redis for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-09-23 12:04:38

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.7948 (New)


Package is "python-redis"

Mon Sep 23 12:04:38 2019 rev:24 rq:729802 version:3.3.8

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-08-14 11:36:49.204702793 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.7948/python-redis.changes  
2019-09-23 12:04:45.373931664 +0200
@@ -1,0 +2,7 @@
+Tue Sep 10 10:55:15 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.3.8:
+  * Fixed MONITOR parsing to properly parse IPv6 client addresses
+  * Fixed a regression introduced in 3.3.0
+
+---

Old:

  redis-3.3.6.tar.gz

New:

  redis-3.3.8.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.Su8Na9/_old  2019-09-23 12:04:47.001931395 +0200
+++ /var/tmp/diff_new_pack.Su8Na9/_new  2019-09-23 12:04:47.001931395 +0200
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.3.6
+Version:3.3.8
 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
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest >= 2.7.0}
@@ -32,8 +32,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
 

++ redis-3.3.6.tar.gz -> redis-3.3.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.6/CHANGES new/redis-3.3.8/CHANGES
--- old/redis-3.3.6/CHANGES 2019-08-06 19:59:18.0 +0200
+++ new/redis-3.3.8/CHANGES 2019-08-19 21:31:23.0 +0200
@@ -1,3 +1,10 @@
+* 3.3.8
+* Fixed MONITOR parsing to properly parse IPv6 client addresses, unix
+  socket connections and commands issued from Lua. Thanks @kukey. #1201
+* 3.3.7
+* Fixed a regression introduced in 3.3.0 where socket.error exceptions
+  (or subclasses) could potentially be raised instead of
+  redis.exceptions.ConnectionError. #1202
 * 3.3.6
 * Fixed a regression in 3.3.5 that caused PubSub.get_message() to raise
   a socket.timeout exception when passing a timeout value. #1200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.6/PKG-INFO new/redis-3.3.8/PKG-INFO
--- old/redis-3.3.6/PKG-INFO2019-08-06 20:10:21.0 +0200
+++ new/redis-3.3.8/PKG-INFO2019-08-19 21:39:44.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: redis
-Version: 3.3.6
+Version: 3.3.8
 Summary: Python client for Redis key-value store
 Home-page: https://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.6/redis/__init__.py 
new/redis-3.3.8/redis/__init__.py
--- old/redis-3.3.6/redis/__init__.py   2019-08-06 19:59:24.0 +0200
+++ new/redis-3.3.8/redis/__init__.py   2019-08-19 21:31:23.0 +0200
@@ -29,7 +29,7 @@
 return value
 
 
-__version__ = '3.3.6'
+__version__ = '3.3.8'
 VERSION = tuple(map(int_or_str, __version__.split('.')))
 
 __all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.6/redis/client.py 
new/redis-3.3.8/redis/client.py
--- old/redis-3.3.6/redis/client.py 2019-07-28 22:34:56.0 +0200
+++ new/redis-3.3.8/redis/client.py 2019-08-19 21:31:23.0 +0200
@@ -3002,7 +3002,7 @@
 next_command() method returns one command from monitor
 listen() method yields commands from monitor.
 """
-monitor_re = re.compile(r'\[(\d+) (.+):(\d+)\] (.*)')
+monitor_re = re.compile(r'\[(\d+) (.*)\] (.*)')
 command_re = re.compile(r'"(.*?)(?https://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.3.6/tests/test_monitor.py 
new/redis-3.3.8/tests/test_monitor.py
--- old/redis-3.3.6/tests/test_monitor.py   2019-07-10 01:20:34.0 
+0200
+++ new/redis-3.3.8/tests/test_monitor.py   

commit python-redis for openSUSE:Factory

2019-08-14 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-08-14 11:36:44

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.9556 (New)


Package is "python-redis"

Wed Aug 14 11:36:44 2019 rev:23 rq:722638 version:3.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-04-19 18:37:14.323097506 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.9556/python-redis.changes  
2019-08-14 11:36:49.204702793 +0200
@@ -1,0 +2,11 @@
+Mon Aug 12 09:52:51 UTC 2019 - Marketa Calabkova 
+
+- 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:

  redis-3.3.6.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.nqvSSP/_old  2019-08-14 11:36:51.072702459 +0200
+++ /var/tmp/diff_new_pack.nqvSSP/_new  2019-08-14 11:36:51.076702458 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.2.1
+Version:3.3.6
 Release:0
 Summary:Python client for Redis key-value store
 License:MIT

++ redis-3.2.1.tar.gz -> redis-3.3.6.tar.gz ++
 3283 lines of diff (skipped)




commit python-redis for openSUSE:Factory

2019-04-19 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-04-19 18:37:12

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.5536 (New)


Package is "python-redis"

Fri Apr 19 18:37:12 2019 rev:22 rq:694225 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-04-04 12:01:18.905309607 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.5536/python-redis.changes  
2019-04-19 18:37:14.323097506 +0200
@@ -16 +16 @@
-- Update to 3.2.0:
+- Update to 3.2.0 bsc#1131555:



Other differences:
--



commit python-redis for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-04-04 12:01:17

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.3908 (New)


Package is "python-redis"

Thu Apr  4 12:01:17 2019 rev:21 rq:690298 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-03-28 22:48:24.747057721 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new.3908/python-redis.changes  
2019-04-04 12:01:18.905309607 +0200
@@ -1,0 +2,5 @@
+Sun Mar 31 09:47:08 UTC 2019 - John Vandenberg 
+
+- Add missing build dependency setuptools
+
+---



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.GnFehB/_old  2019-04-04 12:01:19.773310303 +0200
+++ /var/tmp/diff_new_pack.GnFehB/_new  2019-04-04 12:01:19.777310306 +0200
@@ -27,6 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest >= 2.7.0}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  psmisc
 BuildRequires:  python-rpm-macros




commit python-redis for openSUSE:Factory

2019-03-28 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-03-28 22:48:18

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.25356 (New)


Package is "python-redis"

Thu Mar 28 22:48:18 2019 rev:20 rq:688630 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2019-02-19 12:01:49.789093688 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new.25356/python-redis.changes 
2019-03-28 22:48:24.747057721 +0100
@@ -1,0 +2,7 @@
+Tue Mar 26 09:36:48 UTC 2019 - John Vandenberg 
+
+- Update to v3.2.1
+  * Fix SentinelConnectionPool to work in multiprocess/forked
+environments
+
+---

Old:

  redis-3.2.0.tar.gz

New:

  redis-3.2.1.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.FrUjPH/_old  2019-03-28 22:48:25.827057526 +0100
+++ /var/tmp/diff_new_pack.FrUjPH/_new  2019-03-28 22:48:25.831057525 +0100
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:3.2.0
+Version:3.2.1
 Release:0
 Summary:Python client for Redis key-value store
 License:MIT

++ redis-3.2.0.tar.gz -> redis-3.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.2.0/CHANGES new/redis-3.2.1/CHANGES
--- old/redis-3.2.0/CHANGES 2019-02-17 22:56:48.0 +0100
+++ new/redis-3.2.1/CHANGES 2019-03-15 18:47:12.0 +0100
@@ -1,3 +1,5 @@
+* 3.2.1
+* Fix SentinelConnectionPool to work in multiprocess/forked environments.
 * 3.2.0
 * Added support for `select.poll` to test whether data can be read
   on a socket. This should allow for significantly more connections to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.2.0/PKG-INFO new/redis-3.2.1/PKG-INFO
--- old/redis-3.2.0/PKG-INFO2019-02-17 23:00:25.0 +0100
+++ new/redis-3.2.1/PKG-INFO2019-03-15 18:48:07.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: redis
-Version: 3.2.0
+Version: 3.2.1
 Summary: Python client for Redis key-value store
 Home-page: https://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.2.0/redis/__init__.py 
new/redis-3.2.1/redis/__init__.py
--- old/redis-3.2.0/redis/__init__.py   2019-02-17 22:57:54.0 +0100
+++ new/redis-3.2.1/redis/__init__.py   2019-03-15 18:47:21.0 +0100
@@ -29,7 +29,7 @@
 return value
 
 
-__version__ = '3.2.0'
+__version__ = '3.2.1'
 VERSION = tuple(map(int_or_str, __version__.split('.')))
 
 __all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.2.0/redis/sentinel.py 
new/redis-3.2.1/redis/sentinel.py
--- old/redis-3.2.0/redis/sentinel.py   2018-11-15 04:41:42.0 +0100
+++ new/redis-3.2.1/redis/sentinel.py   2019-03-15 18:45:49.0 +0100
@@ -1,4 +1,3 @@
-import os
 import random
 import weakref
 
@@ -125,17 +124,6 @@
 pass
 raise SlaveNotFoundError('No slave found for %r' % (self.service_name))
 
-def _checkpid(self):
-if self.pid != os.getpid():
-self.disconnect()
-self.reset()
-self.__init__(self.service_name, self.sentinel_manager,
-  is_master=self.is_master,
-  check_connection=self.check_connection,
-  connection_class=self.connection_class,
-  max_connections=self.max_connections,
-  **self.connection_kwargs)
-
 
 class Sentinel(object):
 """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-3.2.0/redis.egg-info/PKG-INFO 
new/redis-3.2.1/redis.egg-info/PKG-INFO
--- old/redis-3.2.0/redis.egg-info/PKG-INFO 2019-02-17 23:00:25.0 
+0100
+++ new/redis-3.2.1/redis.egg-info/PKG-INFO 2019-03-15 18:48:07.0 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: redis
-Version: 3.2.0
+Version: 3.2.1
 Summary: Python client for Redis key-value store
 Home-page: https://github.com/andymccurdy/redis-py
 Author: Andy McCurdy




commit python-redis for openSUSE:Factory

2019-02-19 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2019-02-19 12:00:38

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.28833 (New)


Package is "python-redis"

Tue Feb 19 12:00:38 2019 rev:19 rq:676986 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2018-11-26 10:23:38.865497043 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new.28833/python-redis.changes 
2019-02-19 12:01:49.789093688 +0100
@@ -1,0 +2,70 @@
+Mon Feb 18 08:54:01 UTC 2019 - sebix+novell@sebix.at
+
+- Update to 3.2.0:
+* Added support for `select.poll` to test whether data can be read
+  on a socket. This should allow for significantly more connections to
+  be used with pubsub. Fixes #486/#1115
+* Attempt to guarentee that the ConnectionPool hands out healthy
+  connections. Healthy connections are those that have an established
+  socket connection to the Redis server, are ready to accept a command
+  and have no data available to read. Fixes #1127/#886
+* Use the socket.IPPROTO_TCP constant instead of socket.SOL_TCP.
+  IPPROTO_TCP is available on more interpreters (Jython for instance).
+  Thanks @Junnplus. #1130
+* Fixed a regression introduced in 3.0 that mishandles exceptions not
+  derived from the base Exception class. KeyboardInterrupt and
+  gevent.timeout notable. Thanks Christian Fersch. #1128/#1129
+* Significant improvements to handing connections with forked processes.
+  Parent and child processes no longer trample on each others' connections.
+  Thanks to Jay Rolette for the patch and highlighting this issue.
+  #504/#732/#784/#863
+* PythonParser no longer closes the associated connection's socket. The
+  connection itself will close the socket. #1108/#1085
+
+---
+Fri Feb 15 11:43:24 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.1.0:
+* Connection URLs must have one of the following schemes:
+  redis://, rediss://, unix://. Thanks @jdupl123. #961/#969
+* Fixed an issue with retry_on_timeout logic that caused some TimeoutErrors
+  to be retried. Thanks Aaron Yang. #1022/#1023
+* Added support for SNI for SSL. Thanks @oridistor and Roey Prat. #1087
+* Fixed ConnectionPool repr for pools with no connections. Thanks
+  Cody Scott. #1043/#995
+* Fixed GEOHASH to return a None value when specifying a place that
+  doesn't exist on the server. Thanks @guybe7. #1126
+* Fixed XREADGROUP to return an empty dictionary for messages that
+  have been deleted but still exist in the unacknowledged queue. Thanks
+  @xeizmendi. #1116
+* Added an owned method to Lock objects. owned returns a boolean
+  indicating whether the current lock instance still owns the lock.
+  Thanks Dave Johansen. #1112
+* Allow lock.acquire() to accept an optional token argument. If
+  provided, the token argument is used as the unique value used to claim
+  the lock. Thankd Dave Johansen. #1112
+* Added a reacquire method to Lock objects. reaquire attempts to renew
+  the lock such that the timeout is extended to the same value that the
+  lock was initially acquired with. Thanks Ihor Kalnytskyi. #1014
+* Stream names found within XREAD and XREADGROUP responses now properly
+  respect the decode_responses flag.
+* XPENDING_RANGE now requires the user the specify the min, max and
+  count arguments. Newer versions of Redis prevent ount from being
+  infinite so it's left to the user to specify these values explicitly.
+* ZADD now returns None when xx=True and incr=True and an element
+  is specified that doesn't exist in the sorted set. This matches
+  what the server returns in this case. #1084
+* Added client_kill_filter that accepts various filters to identify
+  and kill clients. Thanks Theofanis Despoudis. #1098
+* Fixed a race condition that occurred when unsubscribing and
+  resubscribing to the same channel or pattern in rapid succession.
+  Thanks Marcin Raczyński. #764
+* Added a LockNotOwnedError that is raised when trying to extend or
+  release a lock that is no longer owned. This is a subclass of LockError
+  so previous code should continue to work as expected. Thanks Joshua
+  Harlow. #1095
+* Fixed a bug in GEORADIUS that forced decoding of places without
+  respecting the decode_responses option. Thanks Bo Bayles. #1082
+- Drop no longer needed redis-skip-rounding.patch
+
+---

Old:

  redis-3.0.1.tar.gz
  redis-skip-rounding.patch

New:

  

commit python-redis for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2018-11-26 10:22:25

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new.19453 (New)


Package is "python-redis"

Mon Nov 26 10:22:25 2018 rev:18 rq:649608 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2018-09-14 00:01:48.873934318 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.19453/python-redis.changes 
2018-11-26 10:23:38.865497043 +0100
@@ -1,0 +2,102 @@
+Fri Nov 16 11:29:31 UTC 2018 - sebix+novell@sebix.at
+
+- add recommendation for python-hiredis as requested by @mimi_vx in 
Request#649524
+
+---
+Fri Nov 16 08:48:26 UTC 2018 - sebix+novell@sebix.at
+
+- update to version 3.0.1:
+ * Fixed regression with UnixDomainSocketConnection caused by 3.0.0.
+   Thanks Jyrki Muukkonen
+ * Fixed an issue with the new asynchronous flag on flushdb and flushall.
+   Thanks rogeryen
+ * Updated Lock.locked() method to indicate whether *any* process has
+   acquired the lock, not just the current one. This is in line with
+   the behavior of threading.Lock. Thanks Alan Justino da Silva
+- update to version 3.0.0:
+ BACKWARDS INCOMPATIBLE CHANGES
+ * When using a Lock as a context manager and the lock fails to be acquired
+   a LockError is now raised. This prevents the code block inside the
+   context manager from being executed if the lock could not be acquired.
+ * Renamed LuaLock to Lock.
+ * Removed the pipeline based Lock implementation in favor of the LuaLock
+   implementation.
+ * Only bytes, strings and numbers (ints, longs and floats) are acceptable
+   for keys and values. Previously redis-py attempted to cast other types
+   to str() and store the result. This caused must confusion and frustration
+   when passing boolean values (cast to 'True' and 'False') or None values
+   (cast to 'None'). It is now the user's responsibility to cast all
+   key names and values to bytes, strings or numbers before passing the
+   value to redis-py.
+ * The StrictRedis class has been renamed to Redis. StrictRedis will
+   continue to exist as an alias of Redis for the forseeable future.
+ * The legacy Redis client class has been removed. It caused much confusion
+   to users.
+ * ZINCRBY arguments 'value' and 'amount' have swapped order to match the
+   the Redis server. The new argument order is: keyname, amount, value.
+ * MGET no longer raises an error if zero keys are passed in. Instead an
+   empty list is returned.
+ * MSET and MSETNX now require all keys/values to be specified in a single
+   dictionary argument named mapping. This was changed to allow for future
+   options to these commands in the future.
+ * ZADD now requires all element names/scores be specified in a single
+   dictionary argument named mapping. This was required to allow the NX,
+   XX, CH and INCR options to be specified.
+ * Removed support for EOL Python 2.6 and 3.3. Thanks jdufresne
+ OTHER CHANGES
+ * Added missing DECRBY command. Thanks derek-dchu
+ * CLUSTER INFO and CLUSTER NODES respones are now properly decoded to
+   strings.
+ * Added a 'locked()' method to Lock objects. This method returns True
+   if the lock has been acquired and owned by the current process,
+   otherwise False.
+ * EXISTS now supports multiple keys. It's return value is now the number
+   of keys in the list that exist.
+ * Ensure all commands can accept key names as bytes. This fixes issues
+   with BLPOP, BRPOP and SORT.
+ * All errors resulting from bad user input are raised as DataError
+   exceptions. DataError is a subclass of RedisError so this should be
+   transparent to anyone previously catching these.
+ * Added support for NX, XX, CH and INCR options to ZADD
+ * Added support for the MIGRATE command
+ * Added support for the MEMORY USAGE and MEMORY PURGE commands. Thanks
+   Itamar Haber
+ * Added support for the 'asynchronous' argument to FLUSHDB and FLUSHALL
+   commands. Thanks Itamar Haber
+ * Added support for the BITFIELD command. Thanks Charles Leifer and
+   Itamar Haber
+ * Improved performance on pipeline requests with large chunks of data.
+   Thanks tzickel
+ * Fixed test suite to not fail if another client is connected to the
+   server the tests are running against.
+ * Added support for SWAPDB. Thanks Itamar Haber
+ * Added support for all STREAM commands. Thanks Roey Prat and Itamar Haber
+ * SHUTDOWN now accepts the 'save' and 'nosave' arguments. Thanks
+   dwilliams-kenzan
+ * Added support for ZPOPMAX, ZPOPMIN, BZPOPMAX, BZPOPMIN. Thanks
+   Itamar Haber
+ * Added support for the 'type' argument in CLIENT LIST. Thanks Roey Prat
+ * Added support for CLIENT PAUSE. Thanks Roey 

commit python-redis for openSUSE:Factory

2018-09-13 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2018-09-14 00:01:36

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is "python-redis"

Fri Sep 14 00:01:36 2018 rev:17 rq:635475 version:2.10.6

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2018-08-29 12:26:51.423614179 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2018-09-14 00:01:48.873934318 +0200
@@ -1,0 +2,7 @@
+Thu Sep 13 07:54:09 UTC 2018 - Tomáš Chvátal 
+
+- Add patch redis-skip-rounding.patch to fix rounding issues with
+  geolocation, it is not stable enought o produce pinpoint equal
+  results among 32bit platforms
+
+---

New:

  redis-skip-rounding.patch



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.8UJ5Z1/_old  2018-09-14 00:01:51.301932464 +0200
+++ /var/tmp/diff_new_pack.8UJ5Z1/_new  2018-09-14 00:01:51.301932464 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 URL:http://github.com/andymccurdy/redis-py
 Source: 
https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
+Patch0: redis-skip-rounding.patch
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest >= 2.5.0}
 BuildRequires:  %{python_module py}
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q -n redis-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ redis-skip-rounding.patch ++
Index: redis-2.10.6/tests/test_commands.py
===
--- redis-2.10.6.orig/tests/test_commands.py
+++ redis-2.10.6/tests/test_commands.py
@@ -1450,7 +1450,7 @@ class TestRedisCommands(object):
 assert r.geohash('barcelona', 'place1', 'place2') ==\
 ['sp3e9yg3kd0', 'sp3e9cbc3t0']
 
-@skip_if_server_version_lt('3.2.0')
+@pytest.mark.skip()
 def test_geopos(self, r):
 values = (2.1909389952632, 41.433791470673, 'place1') +\
  (2.1873744593677, 41.406342043777, 'place2')
@@ -1495,7 +1495,7 @@ class TestRedisCommands(object):
 assert r.georadius('barcelona', 2.191, 41.433, 1, unit='km') ==\
 ['place1']
 
-@skip_if_server_version_lt('3.2.0')
+@pytest.mark.skip()
 def test_georadius_with(self, r):
 values = (2.1909389952632, 41.433791470673, 'place1') +\
  (2.1873744593677, 41.406342043777, 'place2')
@@ -1552,7 +1552,7 @@ class TestRedisCommands(object):
 r.georadius('barcelona', 2.191, 41.433, 1000, store='places_barcelona')
 assert r.zrange('places_barcelona', 0, -1) == [b'place1']
 
-@skip_if_server_version_lt('3.2.0')
+@pytest.mark.skip()
 def test_georadius_store_dist(self, r):
 values = (2.1909389952632, 41.433791470673, 'place1') +\
  (2.1873744593677, 41.406342043777, 'place2')
@@ -1563,7 +1563,7 @@ class TestRedisCommands(object):
 # instead of save the geo score, the distance is saved.
 assert r.zscore('places_barcelona', 'place1') == 88.05060698409301
 
-@skip_if_server_version_lt('3.2.0')
+@pytest.mark.skip()
 def test_georadiusmember(self, r):
 values = (2.1909389952632, 41.433791470673, 'place1') +\
  (2.1873744593677, 41.406342043777, 'place2')



commit python-redis for openSUSE:Factory

2018-08-29 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2018-08-29 12:26:51

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is "python-redis"

Wed Aug 29 12:26:51 2018 rev:16 rq:631998 version:2.10.6

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2017-10-05 11:58:16.220946076 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2018-08-29 12:26:51.423614179 +0200
@@ -1,0 +2,6 @@
+Tue Aug 28 14:25:18 UTC 2018 - tchva...@suse.com
+
+- Run tests by launching redis server
+- Require redis on runtime
+
+---



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.JRXHmo/_old  2018-08-29 12:26:51.911615250 +0200
+++ /var/tmp/diff_new_pack.JRXHmo/_new  2018-08-29 12:26:51.911615250 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-redis
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,19 +20,21 @@
 Name:   python-redis
 Version:2.10.6
 Release:0
-Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store
 License:MIT
 Group:  Development/Languages/Python
-Source: https://pypi.io/packages/source/r/redis/redis-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{python_module devel}
+URL:http://github.com/andymccurdy/redis-py
+Source: 
https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest >= 2.5.0}
 BuildRequires:  %{python_module py}
 BuildRequires:  fdupes
+BuildRequires:  psmisc
 BuildRequires:  python-rpm-macros
+BuildRequires:  redis
 Requires:   python-py
+Requires:   redis
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -48,9 +50,14 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files %python_files
-%defattr(-,root,root,-)
-%doc CHANGES LICENSE README.rst
+%check
+%{_sbindir}/redis-server --port 6379 &
+%python_exec setup.py test
+killall redis-server
+
+%files %{python_files}
+%license LICENSE
+%doc CHANGES README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-redis for openSUSE:Factory

2017-10-05 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2017-10-05 11:58:13

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is "python-redis"

Thu Oct  5 11:58:13 2017 rev:15 rq:530853 version:2.10.6

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2017-07-06 00:01:32.985934186 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2017-10-05 11:58:16.220946076 +0200
@@ -1,0 +2,35 @@
+Tue Oct  3 01:23:23 UTC 2017 - a...@gmx.de
+
+- update to version 2.10.6:
+  * Various performance improvements. Thanks cjsimpson
+  * Fixed a bug with SRANDMEMBER where
+  * Added HSTRLEN command. Thanks Alexander Putilin
+  * Added the TOUCH command. Thanks Anis Jonischkeit
+  * Remove unnecessary calls to the server when registering Lua scripts.
+Thanks Ben Greenberg
+  * SET's EX and PX arguments now allow values of zero. Thanks huangqiyin
+  * Added PUBSUB {CHANNELS, NUMPAT, NUMSUB} commands. Thanks Angus Pearson
+  * PubSub connections that that encounter `InterruptedError`s now
+retry automatically. Thanks Carlton Gibson and Seth M. Larson
+  * LPUSH and RPUSH commands run on PyPy now correctly returns the number
+of items of the list. Thanks Jeong YunWon
+  * Added support to automatically retry socket EINTR errors. Thanks
+Thomas Steinacher
+  * PubSubWorker threads started with `run_in_thread` are now daemonized
+so the thread shuts down when the running process goes away. Thanks
+Keith Ainsworth
+  * Added support for GEO commands. Thanks Pau Freixes, Alex DeBrie and
+Abraham Toriz
+  * Made client construction from URLs smarter. Thanks Tim Savage
+  * Added support for CLUSTER * commands. Thanks Andy Huang
+  * The RESTORE command now accepts an optional `replace` boolean.
+Thanks Yoshinari Takaoka
+  * Attempt to connect to a new Sentinel if a TimeoutError occurs. Thanks
+Bo Lopker
+  * Fixed a bug in the client's `__getitem__` where a KeyError would be
+raised if the value returned by the server is an empty string.
+Thanks Javier Candeira.
+  * Socket timeouts when connecting to a server are now properly raised
+as TimeoutErrors.
+
+---

Old:

  redis-2.10.5.tar.gz

New:

  redis-2.10.6.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.aQ7hvC/_old  2017-10-05 11:58:17.320791332 +0200
+++ /var/tmp/diff_new_pack.aQ7hvC/_new  2017-10-05 11:58:17.324790769 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
-Version:2.10.5
+Version:2.10.6
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store

++ redis-2.10.5.tar.gz -> redis-2.10.6.tar.gz ++
 2247 lines of diff (skipped)




commit python-redis for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2017-07-06 00:01:26

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is "python-redis"

Thu Jul  6 00:01:26 2017 rev:14 rq:507111 version:2.10.5

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2016-12-08 00:30:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2017-07-06 00:01:32.985934186 +0200
@@ -1,0 +2,5 @@
+Wed Jun 28 19:38:32 UTC 2017 - benoit.mo...@gmx.fr
+
+- convert the package to singlespec
+
+---



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.bqYug1/_old  2017-07-06 00:01:34.737687408 +0200
+++ /var/tmp/diff_new_pack.bqYug1/_new  2017-07-06 00:01:34.737687408 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-redis
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-redis
 Version:2.10.5
 Release:0
@@ -25,14 +26,14 @@
 Group:  Development/Languages/Python
 Source: https://pypi.io/packages/source/r/redis/redis-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-py
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module py}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-py
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+
+%python_subpackages
 
 %description
 The Python interface to the Redis key-value store.
@@ -41,12 +42,13 @@
 %setup -q -n redis-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE README.rst
 %{python_sitelib}/*




commit python-redis for openSUSE:Factory

2016-12-07 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2016-12-08 00:30:19

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is "python-redis"

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2014-09-03 08:30:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2016-12-08 00:30:20.0 +0100
@@ -1,0 +2,29 @@
+Tue Nov 15 12:35:46 UTC 2016 - dmuel...@suse.com
+
+- update to 2.10.5:
+  * Allow URL encoded parameters in Redis URLs. Characters like a "/" can
+now be URL encoded and redis-py will correctly decode them. Thanks
+  * Added support for the WAIT command. Thanks https://github.com/eshizhan
+  * Better shutdown support for the PubSub Worker Thread. It now properly
+cleans up the connection, unsubscribes from any channels and patterns
+previously subscribed to and consumes any waiting messages on the socket.
+  * Added the ability to sleep for a brief period in the event of a
+WatchError occuring. Thanks Joshua Harlow.
+  * Fixed a bug with pipeline error reporting when dealing with characters
+in error messages that could not be encoded to the connection's
+character set. Thanks Hendrik Muhs.
+  * Fixed a bug in Sentinel connections that would inadvertantly connect
+to the master when the connection pool resets. Thanks
+https://github.com/df3n5
+  * Better timeout support in Pubsub get_message. Thanks Andy Isaacson.
+  * Fixed a bug with the HiredisParser that would cause the parser to
+ get stuck in an endless loop if a specific number of bytes were
+delivered from the socket. This fix also increases performance of
+ parsing large responses from the Redis server.
+   * Added support for ZREVRANGEBYLEX.
+   * ConnectionErrors are now raised if Redis refuses a connection due to
+ the maxclients limit being exceeded. Thanks Roman Karpovich.
+   * max_connections can now be set when instantiating client instances.
+ Thanks Ohad Perry.
+
+---

Old:

  redis-2.10.3.tar.gz

New:

  redis-2.10.5.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.eBRrUU/_old  2016-12-08 00:30:21.0 +0100
+++ /var/tmp/diff_new_pack.eBRrUU/_new  2016-12-08 00:30:21.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-redis
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   python-redis
-Version:2.10.3
+Version:2.10.5
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store
 License:MIT
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/r/redis/redis-%{version}.tar.gz
+Source: https://pypi.io/packages/source/r/redis/redis-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-py

++ redis-2.10.3.tar.gz -> redis-2.10.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.10.3/CHANGES new/redis-2.10.5/CHANGES
--- old/redis-2.10.3/CHANGES2014-08-14 19:18:42.0 +0200
+++ new/redis-2.10.5/CHANGES2015-11-03 01:19:33.0 +0100
@@ -1,3 +1,31 @@
+* 2.10.5
+* Allow URL encoded parameters in Redis URLs. Characters like a "/" can
+  now be URL encoded and redis-py will correctly decode them. Thanks
+  Paul Keene.
+* Added support for the WAIT command. Thanks https://github.com/eshizhan
+* Better shutdown support for the PubSub Worker Thread. It now properly
+  cleans up the connection, unsubscribes from any channels and patterns
+  previously subscribed to and consumes any waiting messages on the socket.
+* Added the ability to sleep for a brief period in the event of a
+  WatchError occuring. Thanks Joshua Harlow.
+* Fixed a bug with pipeline error reporting when dealing with characters
+  in error messages that could not be encoded to the connection's
+  character set. Thanks Hendrik Muhs.
+* Fixed a bug in Sentinel connections that would inadvertantly connect
+  to the master when the connection pool resets. Thanks
+  https://github.com/df3n5
+* Better timeout support 

commit python-redis for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2014-09-03 08:30:19

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2013-11-25 16:03:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2014-09-03 08:30:35.0 +0200
@@ -1,0 +2,128 @@
+Tue Sep  2 16:17:27 UTC 2014 - toddrme2...@gmail.com
+
+- Update to version 2.10.3
+  * Fixed a bug with the bytearray support introduced in 2.10.2. Thanks
+Josh Owen.
+- Update to version 2.10.2
+  * Added support for Hiredis's new bytearray support. Thanks
+https://github.com/tzickel
+  * POSSIBLE BACKWARDS INCOMPATBLE CHANGE: Fixed a possible race condition
+when multiple threads share the same Lock instance with a timeout. Lock
+tokens are now stored in thread local storage by default. If you have
+code that acquires a lock in one thread and passes that lock instance to
+another thread to release it, you need to disable thread local storage.
+Refer to the doc strings on the Lock class about the thread_local
+argument information.
+  * Fixed a regression in from_url where charset and errors weren't
+valid options. encoding and encoding_errors are still accepted
+and preferred.
+  * The charset and errors options have been deprecated. Passing
+either to StrictRedis.__init__ or from_url will still work but will
+also emit a DeprecationWarning. Instead use the encoding and
+encoding_errors options.
+  * Fixed a compatability bug with Python 3 when the server closes a
+connection.
+  * Added BITPOS command. Thanks https://github.com/jettify.
+  * Fixed a bug when attempting to send large values to Redis in a Pipeline.
+- Update to version 2.10.1
+  * Fixed a bug where Sentinel connections to a server that's no longer a
+master and receives a READONLY error will disconnect and reconnect to
+the master.
+- Update to version 2.10.0
+  * Discontinuted support for Python 2.5. Upgrade. You'll be happier.
+  * The HiRedis parser will now properly raise ConnectionErrors.
+  * Completely refactored PubSub support. Fixes all known PubSub bugs and
+adds a bunch of new features. Docs can be found in the README under the
+new Publish / Subscribe section.
+  * Added the new HyperLogLog commanads (PFADD, PFCOUNT, PFMERGE). Thanks
+Pepijn de Vos and Vincent Ohprecio.
+  * Updated TTL and PTTL commands with Redis 2.8+ semantics. Thanks Markus
+Kaiserswerth.
+  * *SCAN commands now return a long (int on Python3) cursor value rather
+than the string representation. This might be slightly backwards
+incompatible in code using *SCAN commands loops such as
+while cursor != '0':.
+  * Added extra *SCAN commands that return iterators instead of the normal
+[cursor, data] type. Use scan_iter, hscan_iter, sscan_iter, and
+zscan_iter for iterators. Thanks Mathieu Longtin.
+  * Added support for SLOWLOG commands. Thanks Rick van Hattem.
+  * Added lexicographical commands ZRANGEBYLEX, ZREMRANGEBYLEX, and ZLEXCOUNT
+for sorted sets.
+  * Connection objects now support an optional argument, socket_read_size,
+indicating how much data to read during each socket.recv() call. After
+benchmarking, increased the default size to 64k, which dramatically
+improves performance when fetching large values, such as many results
+in a pipeline or a large (1MB) string value.
+  * Improved the pack_command and send_packed_command functions to increase
+performance when sending large (1MB) values.
+  * Sentinel Connections to master servers now detect when a READONLY error
+is encountered and disconnect themselves and all other active connections
+to the same master so that the new master can be discovered.
+  * Fixed Sentinel state parsing on Python 3.
+  * Added support for SENTINEL MONITOR, SENTINEL REMOVE, and SENTINEL SET
+commands. Thanks Greg Murphy.
+  * INFO ouput that doesn't follow the key:value format will now be
+appended to a key named __raw__ in the INFO dictionary. Thanks Pedro
+Larroy.
+  * The vagrant directory contains a complete vagrant environment for
+redis-py developers. The environment runs a Redis master, a Redis slave,
+and 3 Sentinels. Future iterations of the test sutie will incorporate
+more integration style tests, ensuring things like failover happen
+correctly.
+  * It's now possible to create connection pool instances from a URL.
+StrictRedis.from_url() now uses this feature to create a connection pool
+instance and use that when creating a new client instance. Thanks
+

commit python-redis for openSUSE:Factory

2013-11-25 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2013-11-25 16:03:31

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2013-08-07 20:53:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2013-11-25 16:03:32.0 +0100
@@ -1,0 +2,13 @@
+Sun Nov 24 19:04:47 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 2.8
+  + redis-py should play better with gevent when a gevent Timeout is raised.
+  + Added SENTINEL command
+  + Fixed a bug where pipelines could potentially correct a connection
+if the MULTI command generated a ResponseError.
+  + Connections now call socket.shutdown() prior to socket.close() to
+ensure communication ends immediately per the note at
+http://docs.python.org/2/library/socket.html#socket.socket.close
+  + Lock checks are now based on floats rather than ints.
+
+---

Old:

  redis-2.7.6.tar.gz

New:

  redis-2.8.0.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.hfMqNz/_old  2013-11-25 16:03:33.0 +0100
+++ /var/tmp/diff_new_pack.hfMqNz/_new  2013-11-25 16:03:33.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-redis
-Version:2.7.6
+Version:2.8.0
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store

++ redis-2.7.6.tar.gz - redis-2.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.7.6/CHANGES new/redis-2.8.0/CHANGES
--- old/redis-2.7.6/CHANGES 2013-06-14 18:50:11.0 +0200
+++ new/redis-2.8.0/CHANGES 2013-08-24 00:38:08.0 +0200
@@ -1,3 +1,16 @@
+* 2.8.0
+* redis-py should play better with gevent when a gevent Timeout is raised.
+  Thanks leifkb.
+* Added SENTINEL command. Thanks Anna Janackova.
+* Fixed a bug where pipelines could potentially correct a connection
+  if the MULTI command generated a ResponseError. Thanks EliFinkelshteyn
+  for the report.
+* Connections now call socket.shutdown() prior to socket.close() to
+  ensure communication ends immediately per the note at
+  http://docs.python.org/2/library/socket.html#socket.socket.close
+  Thanks to David Martin for pointing this out.
+* Lock checks are now based on floats rather than ints. Thanks
+  Vitja Makarov.
 * 2.7.6
 * Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
 * Fixed a bug introduced in 2.7.3 that caused issues with script objects
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.7.6/PKG-INFO new/redis-2.8.0/PKG-INFO
--- old/redis-2.7.6/PKG-INFO2013-06-14 18:55:36.0 +0200
+++ new/redis-2.8.0/PKG-INFO2013-08-24 00:39:42.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: redis
-Version: 2.7.6
+Version: 2.8.0
 Summary: Python client for Redis key-value store
 Home-page: http://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.7.6/redis/__init__.py 
new/redis-2.8.0/redis/__init__.py
--- old/redis-2.7.6/redis/__init__.py   2013-06-14 18:52:43.0 +0200
+++ new/redis-2.8.0/redis/__init__.py   2013-08-24 00:38:41.0 +0200
@@ -19,7 +19,7 @@
 )
 
 
-__version__ = '2.7.6'
+__version__ = '2.8.0'
 VERSION = tuple(map(int, __version__.split('.')))
 
 __all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.7.6/redis/client.py 
new/redis-2.8.0/redis/client.py
--- old/redis-2.7.6/redis/client.py 2013-06-13 03:26:53.0 +0200
+++ new/redis-2.8.0/redis/client.py 2013-08-23 20:40:28.0 +0200
@@ -104,11 +104,26 @@
 
 for line in response.splitlines():
 if line and not line.startswith('#'):
-key, value = line.split(':')
+key, value = line.split(':', 1)
 info[key] = get_value(value)
 return info
 
 
+def parse_sentinel(response, **options):
+Parse the result of Redis's SENTINEL command
+output = []
+parse = options['parse']
+
+if parse == 'SENTINEL_INFO':
+for sub_list in response:
+it = iter(sub_list)
+output.append(dict(izip(it, it)))
+else:
+output = response
+
+return output
+
+
 def pairs_to_dict(response):
 Create a dict given a 

commit python-redis for openSUSE:Factory

2013-08-07 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2013-08-07 20:53:11

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2012-09-06 09:02:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2013-08-07 20:53:12.0 +0200
@@ -1,0 +2,90 @@
+Tue Aug  6 12:39:15 UTC 2013 - speili...@suse.com
+
+- Use upstream source URL
+
+---
+Fri Aug  2 10:19:57 UTC 2013 - bere...@b1-systems.de
+
+- added requirement python-py
+- Update to 2.7.6:
+  * Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
+  * Fixed a bug introduced in 2.7.3 that caused issues with script objects
+and pipelines. Thanks Carpentier Pierre-Francois.
+  * Converted redis-py's test suite to use the awesome py.test library.
+  * Fixed a bug introduced in 2.7.5 that prevented a ConnectionError from
+being raised when the Redis server is LOADING data.
+  * Added a BusyLoadingError exception that's raised when the Redis server
+is starting up and not accepting commands yet. BusyLoadingError
+subclasses ConnectionError, which this state previously returned.
+Thanks Yossi Gottlieb.
+- Changes in 2.7.5:
+  * DEL, HDEL and ZREM commands now return the numbers of keys deleted
+instead of just True/False.
+  * from_url now supports URIs with a port number. Thanks Aaron Westendorf.
+- Changes in 2.7.4:
+  * Added missing INCRBY method. Thanks Krzysztof Dorosz.
+  * SET now accepts the EX, PX, NX and XX options from Redis 2.6.12. These
+options will generate errors if these options are used when connected
+to a Redis server  2.6.12. Thanks George Yoshida.
+- Changes in 2.7.3:
+  * Fixed a bug with BRPOPLPUSH and lists with empty strings.
+  * All empty except: clauses have been replaced to only catch Exception
+subclasses. This prevents a KeyboardInterrupt from triggering exception
+handlers. Thanks Lucian Branescu Mihaila.
+  * All exceptions that are the result of redis server errors now share a
+command Exception subclass, ServerError. Thanks Matt Robenolt.
+  * Prevent DISCARD from being called if MULTI wasn't also called. Thanks
+Pete Aykroyd.
+  * SREM now returns an integer indicating the number of items removed from
+the set. Thanks http://github.com/ronniekk.
+  * Fixed a bug with BGSAVE and BGREWRITEAOF response callbacks with Python3.
+Thanks Nathan Wan.
+  * Added CLIENT GETNAME and CLIENT SETNAME commands.
+Thanks http://github.com/bitterb.
+  * It's now possible to use len() on a pipeline instance to determine the
+number of commands that will be executed. Thanks Jon Parise.
+  * Fixed a bug in INFO's parse routine with floating point numbers. Thanks
+Ali Onur Uyar.
+  * Fixed a bug with BITCOUNT to allow `start` and `end` to both be zero.
+Thanks Tim Bart.
+  * The transaction() method now accepts a boolean keyword argument,
+value_from_callable. By default, or if False is passes, the transaction()
+method will return the value of the pipelines execution. Otherwise, it
+will return whatever func() returns.
+  * Python3 compatibility fix ensuring we're not already bytes(). Thanks
+Salimane Adjao Moustapha.
+  * Added PSETEX. Thanks YAMAMOTO Takashi.
+  * Added a BlockingConnectionPool to limit the number of connections that
+can be created. Thanks James Arthur.
+  * SORT now accepts a `groups` option that if specified, will return
+tuples of n-length, where n is the number of keys specified in the GET
+argument. This allows for convenient row-based iteration. Thanks
+Ionuț Arțăriși.
+- Changes in 2.7.2:
+  * Parse errors are now *always* raised on multi/exec pipelines, regardless
+of the `raise_on_error` flag. See
+
https://groups.google.com/forum/?hl=enfromgroups=#!topic/redis-db/VUiEFT8U8U0
+for more info.
+- Changes in 2.7.1:
+  * Packaged tests with source code
+- Changes in 2.7.0:
+  * Added BITOP and BITCOUNT commands. Thanks Mark Tozzi.
+  * Added the TIME command. Thanks Jason Knight.
+  * Added support for LUA scripting. Thanks to Angus Peart, Drew Smathers,
+Issac Kelly, Louis-Philippe Perron, Sean Bleier, Jeffrey Kaditz, and
+Dvir Volk for various patches and contributions to this feature.
+  * Changed the default error handling in pipelines. By default, the first
+error in a pipeline will now be raised. A new parameter to the
+pipeline's execute, `raise_on_error`, can be set to False to keep the
+old behavior of embeedding the exception instances in the result.
+  * Fixed a bug with pipelines where parse 

commit python-redis for openSUSE:Factory

2012-09-06 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2012-09-06 09:02:03

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2012-06-05 15:35:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2012-09-06 09:02:05.0 +0200
@@ -1,0 +2,26 @@
+Mon Sep  3 18:11:40 UTC 2012 - os-...@jacraig.com
+
+- Update to 2.6.2:
+  * `from_url` is now available as a classmethod on client classes. Thanks
+Jon Parise for the patch.
+  * Fixed several encoding errors resulting from the Python 3.x support.
+- Changes in 2.6.1:
+  * Python 3.x support! Big thanks to Alex Grönholm.
+  * Fixed a bug in the PythonParser's read_response that could hide an error
+from the client (#251).
+- Changes in 2.6.0:
+  * Changed (p)subscribe and (p)unsubscribe to no longer return messages
+indicating the channel was subscribed/unsubscribed to. These messages
+are available in the listen() loop instead. This is to prevent the
+following scenario:
+  * Client A is subscribed to foo
+  * Client B publishes message to foo
+  * Client A subscribes to channel bar at the same time.
+Prior to this change, the subscribe() call would return the published
+messages on foo rather than the subscription confirmation to bar.
+  * Added support for GETRANGE, thanks Jean-Philippe Caruana
+  * A new setting decode_responses specifies whether return values from
+Redis commands get decoded automatically using the client's charset
+value. Thanks to Frankie Dintino for the patch.
+
+---

Old:

  redis-2.4.13.tar.gz

New:

  redis-2.6.2.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.nZbNUj/_old  2012-09-06 09:02:06.0 +0200
+++ /var/tmp/diff_new_pack.nZbNUj/_new  2012-09-06 09:02:06.0 +0200
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-redis
-Version:2.4.13
+Version:2.6.2
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store

++ redis-2.4.13.tar.gz - redis-2.6.2.tar.gz ++
 1838 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-redis for openSUSE:Factory

2012-06-05 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2012-06-05 15:34:55

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2012-02-14 11:26:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2012-06-05 15:35:03.0 +0200
@@ -1,0 +2,9 @@
+Sat Jun  2 22:35:06 UTC 2012 - os-...@jacraig.com
+
+- Update to 2.4.13:
+  * redis.from_url() can take an URL representing a Redis connection string
+  and return a client object. Thanks Kenneth Reitz for the patch.
+- Changes in 2.4.12:
+  * ConnectionPool is now fork-safe. Thanks Josiah Carson for the patch.
+
+---

Old:

  redis-2.4.11.tar.gz

New:

  redis-2.4.13.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.aM8QS1/_old  2012-06-05 15:35:04.0 +0200
+++ /var/tmp/diff_new_pack.aM8QS1/_new  2012-06-05 15:35:04.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   python-redis
-Version:2.4.11
+Version:2.4.13
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store

++ redis-2.4.11.tar.gz - redis-2.4.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.4.11/CHANGES new/redis-2.4.13/CHANGES
--- old/redis-2.4.11/CHANGES2012-01-13 22:47:27.0 +0100
+++ new/redis-2.4.13/CHANGES2012-05-19 00:20:58.0 +0200
@@ -1,3 +1,8 @@
+* 2.4.13
+* redis.from_url() can take an URL representing a Redis connection string
+  and return a client object. Thanks Kenneth Reitz for the patch.
+* 2.4.12
+* ConnectionPool is now fork-safe. Thanks Josiah Carson for the patch.
 * 2.4.11
 * AuthenticationError will now be correctly raised if an invalid password
   is supplied.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.4.11/PKG-INFO new/redis-2.4.13/PKG-INFO
--- old/redis-2.4.11/PKG-INFO   2012-01-13 22:48:58.0 +0100
+++ new/redis-2.4.13/PKG-INFO   2012-05-19 00:21:42.0 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 1.0
 Name: redis
-Version: 2.4.11
+Version: 2.4.13
 Summary: Python client for Redis key-value store
 Home-page: http://github.com/andymccurdy/redis-py
 Author: Andy McCurdy
 Author-email: sed...@gmail.com
 License: MIT
-Download-URL: 
http://cloud.github.com/downloads/andymccurdy/redis-py/redis-2.4.11.tar.gz
+Download-URL: 
http://cloud.github.com/downloads/andymccurdy/redis-py/redis-2.4.13.tar.gz
 Description: # redis-py
 
 The Python interface to the Redis key-value store.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.4.11/redis/__init__.py 
new/redis-2.4.13/redis/__init__.py
--- old/redis-2.4.11/redis/__init__.py  2012-01-13 22:48:06.0 +0100
+++ new/redis-2.4.13/redis/__init__.py  2012-05-19 00:20:48.0 +0200
@@ -4,6 +4,7 @@
 Connection,
 UnixDomainSocketConnection
 )
+from redis.utils import from_url
 from redis.exceptions import (
 AuthenticationError,
 ConnectionError,
@@ -16,12 +17,12 @@
 )
 
 
-__version__ = '2.4.11'
+__version__ = '2.4.13'
 VERSION = tuple(map(int, __version__.split('.')))
 
 __all__ = [
 'Redis', 'StrictRedis', 'ConnectionPool',
 'Connection', 'UnixDomainSocketConnection',
 'RedisError', 'ConnectionError', 'ResponseError', 'AuthenticationError',
-'InvalidResponse', 'DataError', 'PubSubError', 'WatchError',
+'InvalidResponse', 'DataError', 'PubSubError', 'WatchError', 'from_url',
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.4.11/redis/client.py 
new/redis-2.4.13/redis/client.py
--- old/redis-2.4.11/redis/client.py2012-01-13 22:45:24.0 +0100
+++ new/redis-2.4.13/redis/client.py2012-04-28 00:37:07.0 +0200
@@ -15,7 +15,7 @@
 def list_or_args(keys, args):
 # returns a single list combining keys and args
 try:
-i = iter(keys)
+iter(keys)
 # a string can be iterated, but indicates
 # keys wasn't passed as a list
 if isinstance(keys, basestring):
@@ -240,7 +240,8 @@
 with self.pipeline(True, shard_hint) as pipe:
 while 1:
 try:
-pipe.watch(*watches)
+if watches:
+pipe.watch(*watches)

commit python-redis for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2012-02-14 11:26:39

Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and  /work/SRC/openSUSE:Factory/.python-redis.new (New)


Package is python-redis, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes
2011-11-28 18:27:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-redis.new/python-redis.changes   
2012-02-14 11:26:40.0 +0100
@@ -1,0 +2,34 @@
+Tue Feb  7 01:15:02 UTC 2012 - alexan...@exatati.com.br
+
+- Update to 2.4.11:
+  * AuthenticationError will now be correctly raised if an invalid password
+is supplied.
+  * If Hiredis is unavailable, the HiredisParser will raise a RedisError
+if selected manually.
+  * Made the INFO command more tolerant of Redis changes formatting. Fix
+for #217.
+- Aditional changes from 2.4.10:
+  * Buffer reads from socket in the PythonParser. Fix for a Windows-specific
+bug (#205).
+  * Added the OBJECT and DEBUG OBJECT commands.
+  * Added __del__ methods for classes that hold on to resources that need to
+be cleaned up. This should prevent resource leakage when these objects
+leave scope due to misuse or unhandled exceptions. Thanks David Wolever
+for the suggestion.
+  * Added the ECHO command for completeness.
+  * Fixed a bug where attempting to subscribe to a PubSub channel of a Redis
+server that's down would blow out the stack. Fixes #179 and #195. Thanks
+Ovidiu Predescu for the test case.
+  * StrictRedis's TTL command now returns a -1 when querying a key with no
+expiration. The Redis class continues to return None.
+  * ZADD and SADD now return integer values indicating the number of items
+added. Thanks Homer Strong.
+  * Renamed the base client class to StrictRedis, replacing ZADD and LREM in
+favor of their official argument order. The Redis class is now a subclass
+of StrictRedis, implementing the legacy redis-py implementations of ZADD
+and LREM. Docs have been updated to suggesting the use of StrictRedis.
+  * SETEX in StrictRedis is now compliant with official Redis SETEX command.
+the name, value, time implementation moved to Redis for backwards
+compatability.
+
+---

Old:

  redis-2.4.9.tar.gz

New:

  redis-2.4.11.tar.gz



Other differences:
--
++ python-redis.spec ++
--- /var/tmp/diff_new_pack.KgAlRS/_old  2012-02-14 11:26:40.0 +0100
+++ /var/tmp/diff_new_pack.KgAlRS/_new  2012-02-14 11:26:40.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-redis
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,13 +11,12 @@
 # case the license is the MIT License). An Open Source License is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   python-redis
-Version:2.4.9
+Version:2.4.11
 Release:0
 Url:http://github.com/andymccurdy/redis-py
 Summary:Python client for Redis key-value store

++ redis-2.4.9.tar.gz - redis-2.4.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/redis-2.4.9/CHANGES new/redis-2.4.11/CHANGES
--- old/redis-2.4.9/CHANGES 2011-07-23 01:25:23.0 +0200
+++ new/redis-2.4.11/CHANGES2012-01-13 22:47:27.0 +0100
@@ -1,3 +1,33 @@
+* 2.4.11
+* AuthenticationError will now be correctly raised if an invalid password
+  is supplied.
+* If Hiredis is unavailable, the HiredisParser will raise a RedisError
+  if selected manually.
+* Made the INFO command more tolerant of Redis changes formatting. Fix
+  for #217.
+* 2.4.10
+* Buffer reads from socket in the PythonParser. Fix for a Windows-specific
+  bug (#205).
+* Added the OBJECT and DEBUG OBJECT commands.
+* Added __del__ methods for classes that hold on to resources that need to
+  be cleaned up. This should prevent resource leakage when these objects
+  leave scope due to misuse or unhandled exceptions. Thanks David Wolever
+  for the suggestion.
+* Added the ECHO command for completeness.
+* Fixed a bug where attempting to subscribe to a PubSub channel of a Redis
+  server that's down would blow out the stack. Fixes #179