Wed Sep 27 12:12:10 2023 UTC ()
py-redis: updated to 5.0.1

5.0.1

�泅� New Features

Provide aclose() / close() for classes requiring lifetime management
Add support for ModuleCommands in cluster
Add support for multiple values in RPUSHX
Add Redis.from_pool() class method, for explicitly owning and closing a ConnectionPool

�汾� Bug Fixes

Fixing monitor parsing for messages containing specific substrings
Cluster determine slot command name need to be upper
Support timeout = 0 in search query
Fix async sentinel: add push_request keyword argument to read_response
Fix protocol checking for search commands
Fix: SentinelManagedConnection.read_response() got an unexpected keyword argument 'push_request'
Fix: automatically close connection pool for async Sentinel
Save a reference to created async tasks, to avoid tasks potentially disappearing
Avoid reference cycling by the garbage collector during response reading

�洫ー Maintenance

Type hint improvements
Replace clear_connect_callbacks with _deregister_connect_callback
Async fixes, remove del and other things
Add pagination, sorting and grouping examples to search json example
Remove process-id checks from asyncio. Asyncio and fork() does not mix.
Fix resource usage and cleanup Mocks in the unit tests
Remove mentions of tox
Add 7.2 to supported Redis versions
Fix resource warnings in unit tests
Fix typo in redis-stream-example.ipynb
Deprecate RedisGraph
Fix redis 7.2.0 tests
Fix test_scorer (search)


(adam)
diff -r1.40 -r1.41 pkgsrc/databases/py-redis/Makefile
diff -r1.37 -r1.38 pkgsrc/databases/py-redis/distinfo

cvs diff -r1.40 -r1.41 pkgsrc/databases/py-redis/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-redis/Makefile 2023/08/25 13:46:56 1.40
+++ pkgsrc/databases/py-redis/Makefile 2023/09/27 12:12:10 1.41
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.40 2023/08/25 13:46:56 adam Exp $ 1# $NetBSD: Makefile,v 1.41 2023/09/27 12:12:10 adam Exp $
2 2
3DISTNAME= redis-5.0.0 3DISTNAME= redis-5.0.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= ${MASTER_SITE_PYPI:=r/redis/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=r/redis/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/redis/redis-py 9HOMEPAGE= https://github.com/redis/redis-py
10COMMENT= Redis Python client 10COMMENT= Redis Python client
11LICENSE= mit 11LICENSE= mit
12 12
13TEST_DEPENDS+= ${PYPKGPREFIX}-packaging>=20.4:../../devel/py-packaging 13TEST_DEPENDS+= ${PYPKGPREFIX}-packaging>=20.4:../../devel/py-packaging
14TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 14TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
15TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio 15TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
16 16

cvs diff -r1.37 -r1.38 pkgsrc/databases/py-redis/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-redis/distinfo 2023/08/25 13:46:56 1.37
+++ pkgsrc/databases/py-redis/distinfo 2023/09/27 12:12:10 1.38
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.37 2023/08/25 13:46:56 adam Exp $ 1$NetBSD: distinfo,v 1.38 2023/09/27 12:12:10 adam Exp $
2 2
3BLAKE2s (redis-5.0.0.tar.gz) = 6a244be8726566774179580c89899e8263c7b9f548d07ecb8a97e8c3d8decf5f 3BLAKE2s (redis-5.0.1.tar.gz) = 089087ab0656d04def676a29ea6cc9f7237f67fde517bff35feff36f48566352
4SHA512 (redis-5.0.0.tar.gz) = cfaddede00d5ae7367c2646a63ad544b219e0e608935879e0c9be770215cd05196fa3b96395760a1bf48b95435350bb85037ac3aa49ba3ae700487de4ab5545b 4SHA512 (redis-5.0.1.tar.gz) = 74501f1a3816be43dc138284811f2ee18df2b43ea3f8c1a235846cd8e3a3b283f9e53a8ba5f9a38cc40cc891869c8783e1d1ab38fe8ad748308f729242e8a40b
5Size (redis-5.0.0.tar.gz) = 4576790 bytes 5Size (redis-5.0.1.tar.gz) = 4578353 bytes