From d13562cd386e931d95e7560f6c8cdbedec62bb87a783e84f1f8275771b73a1c5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Nov 2016 12:37:13 +0000 Subject: [PATCH] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=22 --- python-redis.changes | 29 +++++++++++++++++++++++++++++ python-redis.spec | 6 +++--- redis-2.10.3.tar.gz | 3 --- redis-2.10.5.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 6 deletions(-) delete mode 100644 redis-2.10.3.tar.gz create mode 100644 redis-2.10.5.tar.gz diff --git a/python-redis.changes b/python-redis.changes index e9366da..96a4adb 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Nov 15 12:35:46 UTC 2016 - dmueller@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. + ------------------------------------------------------------------- Tue Sep 2 16:17:27 UTC 2014 - toddrme2178@gmail.com diff --git a/python-redis.spec b/python-redis.spec index 675b3e3..f506dc1 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -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 diff --git a/redis-2.10.3.tar.gz b/redis-2.10.3.tar.gz deleted file mode 100644 index a231eeb..0000000 --- a/redis-2.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c -size 86532 diff --git a/redis-2.10.5.tar.gz b/redis-2.10.5.tar.gz new file mode 100644 index 0000000..40e524f --- /dev/null +++ b/redis-2.10.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dfbae6acfc54edf0a7a415b99e0b21c0a3c27a7f787b292eea727b1facc5533 +size 88610