diff options
author | adam <adam@pkgsrc.org> | 2020-02-01 12:25:25 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-02-01 12:25:25 +0000 |
commit | 0a3b4d13f096fe782c6828849bf58d4ac5e77a95 (patch) | |
tree | 30ff807a336da40a2432f9dc37819d1482bd3cfe /databases | |
parent | eb3e0b634d9270c13e7b464ab72da1619d9065ef (diff) | |
download | pkgsrc-0a3b4d13f096fe782c6828849bf58d4ac5e77a95.tar.gz |
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 (limited to 'databases')
-rw-r--r-- | databases/py-redis/Makefile | 7 | ||||
-rw-r--r-- | databases/py-redis/distinfo | 10 |
2 files changed, 10 insertions, 7 deletions
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile index 7bc749d4123..5628c91db14 100644 --- a/databases/py-redis/Makefile +++ b/databases/py-redis/Makefile @@ -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 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.5.0:../../devel/py-test USE_LANGUAGES= # none +do-test: + cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/py-redis/distinfo b/databases/py-redis/distinfo index fb17f8925a2..c32662454b2 100644 --- a/databases/py-redis/distinfo +++ b/databases/py-redis/distinfo @@ -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 |