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.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a4077decd2a
branches:  trunk
changeset: 422683:7a4077decd2a
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 01 12:25:25 2020 +0000

description:
py-redis: updated to 3.4.0

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.
* Removed support for end of life Python 3.4.
* Added support for all ACL commands in Redis 6.
* 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.
* 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.
* 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.
* Slightly optimized command packing.
* Added support for the TYPE argument to SCAN.
* 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.

diffstat:

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

diffs (36 lines):

diff -r ebdf8469b4e9 -r 7a4077decd2a databases/py-redis/Makefile
--- a/databases/py-redis/Makefile       Sat Feb 01 04:55:09 2020 +0000
+++ b/databases/py-redis/Makefile       Sat Feb 01 12:25:25 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/10/15 17:26:21 adam Exp $
+# $NetBSD: Makefile,v 1.11 2020/02/01 12:25:25 adam Exp $
 
-DISTNAME=      redis-3.3.11
+DISTNAME=      redis-3.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/redis/}
@@ -16,5 +16,8 @@
 
 USE_LANGUAGES= # none
 
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ebdf8469b4e9 -r 7a4077decd2a databases/py-redis/distinfo
--- a/databases/py-redis/distinfo       Sat Feb 01 04:55:09 2020 +0000
+++ b/databases/py-redis/distinfo       Sat Feb 01 12:25:25 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2019/10/15 17:26:21 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/02/01 12:25:25 adam Exp $
 
-SHA1 (redis-3.3.11.tar.gz) = ff34eb9bd9f4400a4b3ddab05e8a000f76a3f849
-RMD160 (redis-3.3.11.tar.gz) = 887a19380a8243f2ebdd29c2cf1c16754bb1f61a
-SHA512 (redis-3.3.11.tar.gz) = a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000
-Size (redis-3.3.11.tar.gz) = 131072 bytes
+SHA1 (redis-3.4.0.tar.gz) = fcebc71dd0da8279b176a46bb0c15cb91d04b833
+RMD160 (redis-3.4.0.tar.gz) = b57e600897dfb8d9c1aee942d2be9abeb37643dd
+SHA512 (redis-3.4.0.tar.gz) = 8044eecaf272e97ddd3949dcb11177749a4cafd998ea7672c5be46220874cd3de3b95043a32fdea3b32ea33a128f78946867936ff136a65e84d5124645f8ed9f
+Size (redis-3.4.0.tar.gz) = 137356 bytes



Home | Main Index | Thread Index | Old Index