Source-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.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d460fbc84b94
branches:  trunk
changeset: 430357:d460fbc84b94
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 30 09:36:40 2020 +0000

description:
py-redis: updated to 3.5.0

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.
* Expanded support for connection strings specifying a username connecting
  to pre-v6 servers.
* 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.
* 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.
* HSET command now can accept multiple pairs. HMSET has been marked as
  deprecated now.
* Don't manually DISCARD when encountering an ExecAbortError.
* 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().
* Added the KEEPTTL option for the SET command.
* Added the MEMORY STATS command.
* 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.

diffstat:

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

diffs (27 lines):

diff -r 72c0c68459d3 -r d460fbc84b94 databases/py-redis/Makefile
--- a/databases/py-redis/Makefile       Thu Apr 30 09:35:09 2020 +0000
+++ b/databases/py-redis/Makefile       Thu Apr 30 09:36:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2020/02/04 16:38:22 adam Exp $
+# $NetBSD: Makefile,v 1.13 2020/04/30 09:36:40 adam Exp $
 
-DISTNAME=      redis-3.4.1
+DISTNAME=      redis-3.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/redis/}
diff -r 72c0c68459d3 -r d460fbc84b94 databases/py-redis/distinfo
--- a/databases/py-redis/distinfo       Thu Apr 30 09:35:09 2020 +0000
+++ b/databases/py-redis/distinfo       Thu Apr 30 09:36:40 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2020/02/04 16:38:22 adam Exp $
+$NetBSD: distinfo,v 1.11 2020/04/30 09:36:40 adam Exp $
 
-SHA1 (redis-3.4.1.tar.gz) = 2596346f26c10cb649fd66a7858269b95b63b4fa
-RMD160 (redis-3.4.1.tar.gz) = 0f2b469757b79a42ea6a1a0b6cf72f78f18d0afe
-SHA512 (redis-3.4.1.tar.gz) = e5aacb8e448a563c802c808406754375a64d9f88d7efbd1c23ac42e48dc527f1840223887f0d1819409946a9406677893d93ea003f0b828bd0a7cb06e99c64a7
-Size (redis-3.4.1.tar.gz) = 137568 bytes
+SHA1 (redis-3.5.0.tar.gz) = db9db3f8ab1aa5ab8f71081371c7bba4c3b707d0
+RMD160 (redis-3.5.0.tar.gz) = 13f57d2a566a868e2e760b4e1f2cb9e229f8c49a
+SHA512 (redis-3.5.0.tar.gz) = 859b2a16f9287944927328c0e38b22be43726a59614a2fee9e1603c7d21886e09305fbb7309efb96caa5e73d2dea82083f72487e42f78ec5ce851166c91b3711
+Size (redis-3.5.0.tar.gz) = 140197 bytes



Home | Main Index | Thread Index | Old Index