pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-redis py-redis: updated to 3.1.0

branches:  trunk
changeset: 318749:c2fd8e1060fb
user:      adam <>
date:      Tue Jan 29 10:17:47 2019 +0000

py-redis: updated to 3.1.0

* Connection URLs must have one of the following schemes:
  redis://, rediss://, unix://.
* Fixed an issue with retry_on_timeout logic that caused some TimeoutErrors
  to be retried.
* Added support for SNI for SSL.
* Fixed ConnectionPool repr for pools with no connections.
* Fixed GEOHASH to return a None value when specifying a place that
  doesn't exist on the server.
* Fixed XREADGROUP to return an empty dictionary for messages that
  have been deleted but still exist in the unacknowledged queue.
* Added an owned method to Lock objects. owned returns a boolean
  indicating whether the current lock instance still owns the lock.
* 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.
* 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.
* 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.
* Added client_kill_filter that accepts various filters to identify
  and kill clients.
* Fixed a race condition that occurred when unsubscribing and
  resubscribing to the same channel or pattern in rapid succession.
* 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.
* Fixed a bug in GEORADIUS that forced decoding of places without
  respecting the decode_responses option.


 databases/py-redis/Makefile |   6 +++---
 databases/py-redis/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (34 lines):

diff -r 6279d59bb5d5 -r c2fd8e1060fb databases/py-redis/Makefile
--- a/databases/py-redis/Makefile       Tue Jan 29 10:10:18 2019 +0000
+++ b/databases/py-redis/Makefile       Tue Jan 29 10:17:47 2019 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2018/12/13 19:37:48 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/01/29 10:17:47 adam Exp $
-DISTNAME=      redis-3.0.1
+DISTNAME=      redis-3.1.0
 CATEGORIES=    databases python
 COMMENT=       Redis Python client
 LICENSE=       mit
diff -r 6279d59bb5d5 -r c2fd8e1060fb databases/py-redis/distinfo
--- a/databases/py-redis/distinfo       Tue Jan 29 10:10:18 2019 +0000
+++ b/databases/py-redis/distinfo       Tue Jan 29 10:17:47 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/12/13 19:37:48 adam Exp $
+$NetBSD: distinfo,v 1.4 2019/01/29 10:17:47 adam Exp $
-SHA1 (redis-3.0.1.tar.gz) = 0c71aee1395ab3e535ad7e5070b09e9a6814c67f
-RMD160 (redis-3.0.1.tar.gz) = b490c4e670f7a45344fcf6ef586ed10467e9b9e0
-SHA512 (redis-3.0.1.tar.gz) = 6f65c179f5423a25b00b01181670a3b34b80ae5114e5f3e614535ee142ce257b1afdcd5a9c277c61ac951101f5109f9e4c78831fe5266b1b18ed8ba77b0b77ba
-Size (redis-3.0.1.tar.gz) = 115949 bytes
+SHA1 (redis-3.1.0.tar.gz) = 4ea1b32b85bb12f2537b62201b9dd6faf35b6bcd
+RMD160 (redis-3.1.0.tar.gz) = 8b5a11b09e0bbcd1684ad0eaa6451c3d1af692ee
+SHA512 (redis-3.1.0.tar.gz) = d915dafb853a41e4cb26811d8c08a828ec55f69b75206c62e96a6c7156ca171391e2a7915d523f337de8fee532bf66890d14a645ebaf490f21f13b7798bea1b5
+Size (redis-3.1.0.tar.gz) = 120318 bytes

Home | Main Index | Thread Index | Old Index