pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-redis



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri May 29 13:23:54 UTC 2026

Modified Files:
        pkgsrc/databases/py-redis: Makefile PLIST distinfo

Log Message:
py-redis: updated to 8.0.0

8.0.0

Experimental Features

Added support for new array commands

New Features

Support Cluster PubSub in asyncio
Add Redis Keyspace Notifications Support for Redis Cluster
Add random load balancing strategy which allows for use of the primary
Add FPHA (floating-point homogeneous array) arg support to JSON.SET
Added custom Claude command + XNACK command support
Adding Time Series Multiple Aggregators support
Adding support for new COUNT aggregator for some sorted set commands - ZINTER, ZINTERSTORE, ZUNION, ZUNIONSTORE
Adding support for new INCREX command
Add support for PubSub subscriptions with binary channel names and handlers

Breaking changes

Type hints improvements - fixing static code analysis issues related to combined sync and async return types(vectorsets + commands in core.py)
Type hints improvements - fixing static code analysis issues related to combined sync and async return types - modules
Add Redis Keyspace Notifications Support for Redis Cluster
Added support for subkey notifications
Changing the default protocol used to RESP3, keeping the responses for the default config compatible with the current RESP2 shape. Adding the possibility to opt-in for unified responses for both 
protocols.
Type Lock.extend and Lock.reacquire as Literal[True]
Handle cluster slot migration in ClusterPubSub (shard subscription reconciliation)
Avoid zero-timeout async reads in hiredis connections readiness checks and replace async's can_read_destructive with non-destructive can_read.
Updates in default connection and retry settings

Bug Fixes

fix: guard disconnect() against RuntimeError on Python 3.13+
Fix CacheProxyConnection hang when invalidation arrives on another connection
fix: handle scientific notation in score_cast_func for RESP2
Fix TypeError in CacheProxyConnection when cached response is non-bytes
Fix async cluster connection cleanup on topology refresh
Normalize scalar prefixes in IndexDefinition
Avoid zero-timeout async reads in hiredis connections readiness checks and replace async's can_read_destructive with non-destructive can_read.
Preserve explicit None for client metadata config

Deprecations

Align deprecation of lib_name/lib_version in async cluster
Add deprecation notice to setex() method documentation
Avoid zero-timeout async reads in hiredis connections readiness checks and replace async's can_read_destructive with non-destructive can_read.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/databases/py-redis/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/py-redis/PLIST
cvs rdiff -u -r1.53 -r1.54 pkgsrc/databases/py-redis/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-redis/Makefile
diff -u pkgsrc/databases/py-redis/Makefile:1.58 pkgsrc/databases/py-redis/Makefile:1.59
--- pkgsrc/databases/py-redis/Makefile:1.58     Tue Apr 21 04:55:25 2026
+++ pkgsrc/databases/py-redis/Makefile  Fri May 29 13:23:54 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2026/04/21 04:55:25 adam Exp $
+# $NetBSD: Makefile,v 1.59 2026/05/29 13:23:54 adam Exp $
 
-DISTNAME=      redis-7.4.0
+DISTNAME=      redis-8.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/redis/}

Index: pkgsrc/databases/py-redis/PLIST
diff -u pkgsrc/databases/py-redis/PLIST:1.17 pkgsrc/databases/py-redis/PLIST:1.18
--- pkgsrc/databases/py-redis/PLIST:1.17        Tue Apr 21 04:55:25 2026
+++ pkgsrc/databases/py-redis/PLIST     Fri May 29 13:23:54 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2026/04/21 04:55:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2026/05/29 13:23:54 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -6,6 +6,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/licenses/L
 ${PYSITELIB}/redis/__init__.py
 ${PYSITELIB}/redis/__init__.pyc
 ${PYSITELIB}/redis/__init__.pyo
+${PYSITELIB}/redis/_defaults.py
+${PYSITELIB}/redis/_defaults.pyc
+${PYSITELIB}/redis/_defaults.pyo
 ${PYSITELIB}/redis/_parsers/__init__.py
 ${PYSITELIB}/redis/_parsers/__init__.pyc
 ${PYSITELIB}/redis/_parsers/__init__.pyo
@@ -30,6 +33,9 @@ ${PYSITELIB}/redis/_parsers/resp2.pyo
 ${PYSITELIB}/redis/_parsers/resp3.py
 ${PYSITELIB}/redis/_parsers/resp3.pyc
 ${PYSITELIB}/redis/_parsers/resp3.pyo
+${PYSITELIB}/redis/_parsers/response_callbacks.py
+${PYSITELIB}/redis/_parsers/response_callbacks.pyc
+${PYSITELIB}/redis/_parsers/response_callbacks.pyo
 ${PYSITELIB}/redis/_parsers/socket.py
 ${PYSITELIB}/redis/_parsers/socket.pyc
 ${PYSITELIB}/redis/_parsers/socket.pyo
@@ -51,6 +57,9 @@ ${PYSITELIB}/redis/asyncio/http/__init__
 ${PYSITELIB}/redis/asyncio/http/http_client.py
 ${PYSITELIB}/redis/asyncio/http/http_client.pyc
 ${PYSITELIB}/redis/asyncio/http/http_client.pyo
+${PYSITELIB}/redis/asyncio/keyspace_notifications.py
+${PYSITELIB}/redis/asyncio/keyspace_notifications.pyc
+${PYSITELIB}/redis/asyncio/keyspace_notifications.pyo
 ${PYSITELIB}/redis/asyncio/lock.py
 ${PYSITELIB}/redis/asyncio/lock.pyc
 ${PYSITELIB}/redis/asyncio/lock.pyo
@@ -267,6 +276,9 @@ ${PYSITELIB}/redis/http/__init__.pyo
 ${PYSITELIB}/redis/http/http_client.py
 ${PYSITELIB}/redis/http/http_client.pyc
 ${PYSITELIB}/redis/http/http_client.pyo
+${PYSITELIB}/redis/keyspace_notifications.py
+${PYSITELIB}/redis/keyspace_notifications.pyc
+${PYSITELIB}/redis/keyspace_notifications.pyo
 ${PYSITELIB}/redis/lock.py
 ${PYSITELIB}/redis/lock.pyc
 ${PYSITELIB}/redis/lock.pyo

Index: pkgsrc/databases/py-redis/distinfo
diff -u pkgsrc/databases/py-redis/distinfo:1.53 pkgsrc/databases/py-redis/distinfo:1.54
--- pkgsrc/databases/py-redis/distinfo:1.53     Tue Apr 21 04:55:25 2026
+++ pkgsrc/databases/py-redis/distinfo  Fri May 29 13:23:54 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.53 2026/04/21 04:55:25 adam Exp $
+$NetBSD: distinfo,v 1.54 2026/05/29 13:23:54 adam Exp $
 
-BLAKE2s (redis-7.4.0.tar.gz) = 7f78c4f0bcc5209d927a79b3382ad32c64a1e70a27a8a1d150118ca6f60d7fe3
-SHA512 (redis-7.4.0.tar.gz) = 63f0b59fc1522102796cfef09dd92a59005708176729a99aec70b43ea4a1a6154b622f8e0a37990fc66c0ea43f7bce697e064b883c4db57ee0e317270f654ea5
-Size (redis-7.4.0.tar.gz) = 4943913 bytes
+BLAKE2s (redis-8.0.0.tar.gz) = c3800ccda508f79f41f93dc2e9cf636a1edebab1945898a26f2cc22d36f09e36
+SHA512 (redis-8.0.0.tar.gz) = a22db6f9f3642561faf1682e03ef0f5dfd4024a16c3f80fae63d9cc790195218a80218c882723a06bbfc36c45ed6cded03f47b709c0ee5a35fd59257ea913837
+Size (redis-8.0.0.tar.gz) = 5101591 bytes



Home | Main Index | Thread Index | Old Index