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 4.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16b89d268e53
branches:  trunk
changeset: 371476:16b89d268e53
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 10 17:41:47 2022 +0000

description:
py-redis: updated to 4.1.0

Version 4.1.0

🚀 New Features

OCSP stapling support
Support for SELECT
Support for specifying error types with retry
Support for RESET command since Redis 6.2.0
Support CLIENT TRACKING
Support WRITE in CLIENT PAUSE
JSON set_file and set_path support
Allow ssl_ca_path with rediss:// urls
Support for password-encrypted SSL private keys
Support SYNC and PSYNC

🐛 Bug Fixes

Retry on error exception and timeout fixes
Fixing read race condition during pubsub
Fixing exception in listen
Fixed MovedError, and stopped iterating through startup nodes when slots are fully covered
Socket not closing after server disconnect
Single sourcing the package version
Ensure redis_connect_func is set on uds connection

🧰 Maintenance

SRTALGO - Skip for redis versions greater than 7.0.0
Documentation updates
Add CI action to install package from repository commit hash
Fix link in lmove docstring
Disabling JSON.DEBUG tests


Version 4.0.2

🐛 Bug Fixes

Restoring Sentinel commands to redis client
Better removal of hiredis warning

🧰 Maintenance

Adding links to redis documents in function calls


Version 4.0.1

🐛 Bug Fixes

Removing command on initial connections
Removing hiredis warning when not installed


Version 4.0.0

🚀 New Features

FT.EXPLAINCLI intentionally raising NotImplementedError

🐛 Bug Fixes

Restoring ZRANGE desc for Redis < 6.2.0
Response parsing occasionally fails to parse floats
Re-enabling read-the-docs

🧰 Maintenance

Call HSET after FT.CREATE to avoid keyspace scan
Unit tests fixes for compatibility
Improve documentation about Locks
Fixes to allow --redis-url to pass through all tests
Fix unit tests running against Redis 4.0.0
Search alias test fix
Adding RediSearch/RedisJSON tests
Updating codecov rules
Tests to validate custom JSON decoders
Added breaking icon to release drafter

diffstat:

 databases/py-redis/Makefile |   22 ++++--
 databases/py-redis/PLIST    |  131 ++++++++++++++++++++++++++++++++++++++++++-
 databases/py-redis/distinfo |    8 +-
 3 files changed, 145 insertions(+), 16 deletions(-)

diffs (213 lines):

diff -r 83834f51c26f -r 16b89d268e53 databases/py-redis/Makefile
--- a/databases/py-redis/Makefile       Mon Jan 10 17:39:52 2022 +0000
+++ b/databases/py-redis/Makefile       Mon Jan 10 17:41:47 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:52:44 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/01/10 17:41:47 adam Exp $
 
-DISTNAME=      redis-3.5.3
+DISTNAME=      redis-4.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/redis/}
 
@@ -11,16 +10,23 @@
 COMMENT=       Redis Python client
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-deprecated>=1.2.3:../../devel/py-deprecated
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=21.3:../../devel/py-packaging
 # testing requires a running redis-server
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=1.0:../../devel/py-importlib-metadata
+.endif
+
+# Broken in 4.1.0: missing SSL certificates and tox.ini.
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 83834f51c26f -r 16b89d268e53 databases/py-redis/PLIST
--- a/databases/py-redis/PLIST  Mon Jan 10 17:39:52 2022 +0000
+++ b/databases/py-redis/PLIST  Mon Jan 10 17:41:47 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2019/08/22 12:00:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/01/10 17:41:47 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,21 +7,144 @@
 ${PYSITELIB}/redis/__init__.py
 ${PYSITELIB}/redis/__init__.pyc
 ${PYSITELIB}/redis/__init__.pyo
-${PYSITELIB}/redis/_compat.py
-${PYSITELIB}/redis/_compat.pyc
-${PYSITELIB}/redis/_compat.pyo
+${PYSITELIB}/redis/backoff.py
+${PYSITELIB}/redis/backoff.pyc
+${PYSITELIB}/redis/backoff.pyo
 ${PYSITELIB}/redis/client.py
 ${PYSITELIB}/redis/client.pyc
 ${PYSITELIB}/redis/client.pyo
+${PYSITELIB}/redis/cluster.py
+${PYSITELIB}/redis/cluster.pyc
+${PYSITELIB}/redis/cluster.pyo
+${PYSITELIB}/redis/commands/__init__.py
+${PYSITELIB}/redis/commands/__init__.pyc
+${PYSITELIB}/redis/commands/__init__.pyo
+${PYSITELIB}/redis/commands/bf/__init__.py
+${PYSITELIB}/redis/commands/bf/__init__.pyc
+${PYSITELIB}/redis/commands/bf/__init__.pyo
+${PYSITELIB}/redis/commands/bf/commands.py
+${PYSITELIB}/redis/commands/bf/commands.pyc
+${PYSITELIB}/redis/commands/bf/commands.pyo
+${PYSITELIB}/redis/commands/bf/info.py
+${PYSITELIB}/redis/commands/bf/info.pyc
+${PYSITELIB}/redis/commands/bf/info.pyo
+${PYSITELIB}/redis/commands/cluster.py
+${PYSITELIB}/redis/commands/cluster.pyc
+${PYSITELIB}/redis/commands/cluster.pyo
+${PYSITELIB}/redis/commands/core.py
+${PYSITELIB}/redis/commands/core.pyc
+${PYSITELIB}/redis/commands/core.pyo
+${PYSITELIB}/redis/commands/graph/__init__.py
+${PYSITELIB}/redis/commands/graph/__init__.pyc
+${PYSITELIB}/redis/commands/graph/__init__.pyo
+${PYSITELIB}/redis/commands/graph/commands.py
+${PYSITELIB}/redis/commands/graph/commands.pyc
+${PYSITELIB}/redis/commands/graph/commands.pyo
+${PYSITELIB}/redis/commands/graph/edge.py
+${PYSITELIB}/redis/commands/graph/edge.pyc
+${PYSITELIB}/redis/commands/graph/edge.pyo
+${PYSITELIB}/redis/commands/graph/exceptions.py
+${PYSITELIB}/redis/commands/graph/exceptions.pyc
+${PYSITELIB}/redis/commands/graph/exceptions.pyo
+${PYSITELIB}/redis/commands/graph/node.py
+${PYSITELIB}/redis/commands/graph/node.pyc
+${PYSITELIB}/redis/commands/graph/node.pyo
+${PYSITELIB}/redis/commands/graph/path.py
+${PYSITELIB}/redis/commands/graph/path.pyc
+${PYSITELIB}/redis/commands/graph/path.pyo
+${PYSITELIB}/redis/commands/graph/query_result.py
+${PYSITELIB}/redis/commands/graph/query_result.pyc
+${PYSITELIB}/redis/commands/graph/query_result.pyo
+${PYSITELIB}/redis/commands/helpers.py
+${PYSITELIB}/redis/commands/helpers.pyc
+${PYSITELIB}/redis/commands/helpers.pyo
+${PYSITELIB}/redis/commands/json/__init__.py
+${PYSITELIB}/redis/commands/json/__init__.pyc
+${PYSITELIB}/redis/commands/json/__init__.pyo
+${PYSITELIB}/redis/commands/json/commands.py
+${PYSITELIB}/redis/commands/json/commands.pyc
+${PYSITELIB}/redis/commands/json/commands.pyo
+${PYSITELIB}/redis/commands/json/decoders.py
+${PYSITELIB}/redis/commands/json/decoders.pyc
+${PYSITELIB}/redis/commands/json/decoders.pyo
+${PYSITELIB}/redis/commands/json/path.py
+${PYSITELIB}/redis/commands/json/path.pyc
+${PYSITELIB}/redis/commands/json/path.pyo
+${PYSITELIB}/redis/commands/parser.py
+${PYSITELIB}/redis/commands/parser.pyc
+${PYSITELIB}/redis/commands/parser.pyo
+${PYSITELIB}/redis/commands/redismodules.py
+${PYSITELIB}/redis/commands/redismodules.pyc
+${PYSITELIB}/redis/commands/redismodules.pyo
+${PYSITELIB}/redis/commands/search/__init__.py
+${PYSITELIB}/redis/commands/search/__init__.pyc
+${PYSITELIB}/redis/commands/search/__init__.pyo
+${PYSITELIB}/redis/commands/search/_util.py
+${PYSITELIB}/redis/commands/search/_util.pyc
+${PYSITELIB}/redis/commands/search/_util.pyo
+${PYSITELIB}/redis/commands/search/aggregation.py
+${PYSITELIB}/redis/commands/search/aggregation.pyc
+${PYSITELIB}/redis/commands/search/aggregation.pyo
+${PYSITELIB}/redis/commands/search/commands.py
+${PYSITELIB}/redis/commands/search/commands.pyc
+${PYSITELIB}/redis/commands/search/commands.pyo
+${PYSITELIB}/redis/commands/search/document.py
+${PYSITELIB}/redis/commands/search/document.pyc
+${PYSITELIB}/redis/commands/search/document.pyo
+${PYSITELIB}/redis/commands/search/field.py
+${PYSITELIB}/redis/commands/search/field.pyc
+${PYSITELIB}/redis/commands/search/field.pyo
+${PYSITELIB}/redis/commands/search/indexDefinition.py
+${PYSITELIB}/redis/commands/search/indexDefinition.pyc
+${PYSITELIB}/redis/commands/search/indexDefinition.pyo
+${PYSITELIB}/redis/commands/search/query.py
+${PYSITELIB}/redis/commands/search/query.pyc
+${PYSITELIB}/redis/commands/search/query.pyo
+${PYSITELIB}/redis/commands/search/querystring.py
+${PYSITELIB}/redis/commands/search/querystring.pyc
+${PYSITELIB}/redis/commands/search/querystring.pyo
+${PYSITELIB}/redis/commands/search/reducers.py
+${PYSITELIB}/redis/commands/search/reducers.pyc
+${PYSITELIB}/redis/commands/search/reducers.pyo
+${PYSITELIB}/redis/commands/search/result.py
+${PYSITELIB}/redis/commands/search/result.pyc
+${PYSITELIB}/redis/commands/search/result.pyo
+${PYSITELIB}/redis/commands/search/suggestion.py
+${PYSITELIB}/redis/commands/search/suggestion.pyc
+${PYSITELIB}/redis/commands/search/suggestion.pyo
+${PYSITELIB}/redis/commands/sentinel.py
+${PYSITELIB}/redis/commands/sentinel.pyc
+${PYSITELIB}/redis/commands/sentinel.pyo
+${PYSITELIB}/redis/commands/timeseries/__init__.py
+${PYSITELIB}/redis/commands/timeseries/__init__.pyc
+${PYSITELIB}/redis/commands/timeseries/__init__.pyo
+${PYSITELIB}/redis/commands/timeseries/commands.py
+${PYSITELIB}/redis/commands/timeseries/commands.pyc
+${PYSITELIB}/redis/commands/timeseries/commands.pyo
+${PYSITELIB}/redis/commands/timeseries/info.py
+${PYSITELIB}/redis/commands/timeseries/info.pyc
+${PYSITELIB}/redis/commands/timeseries/info.pyo
+${PYSITELIB}/redis/commands/timeseries/utils.py
+${PYSITELIB}/redis/commands/timeseries/utils.pyc
+${PYSITELIB}/redis/commands/timeseries/utils.pyo
 ${PYSITELIB}/redis/connection.py
 ${PYSITELIB}/redis/connection.pyc
 ${PYSITELIB}/redis/connection.pyo
+${PYSITELIB}/redis/crc.py
+${PYSITELIB}/redis/crc.pyc
+${PYSITELIB}/redis/crc.pyo
 ${PYSITELIB}/redis/exceptions.py
 ${PYSITELIB}/redis/exceptions.pyc
 ${PYSITELIB}/redis/exceptions.pyo
 ${PYSITELIB}/redis/lock.py
 ${PYSITELIB}/redis/lock.pyc
 ${PYSITELIB}/redis/lock.pyo
+${PYSITELIB}/redis/ocsp.py
+${PYSITELIB}/redis/ocsp.pyc
+${PYSITELIB}/redis/ocsp.pyo
+${PYSITELIB}/redis/retry.py
+${PYSITELIB}/redis/retry.pyc
+${PYSITELIB}/redis/retry.pyo
 ${PYSITELIB}/redis/sentinel.py
 ${PYSITELIB}/redis/sentinel.pyc
 ${PYSITELIB}/redis/sentinel.pyo
diff -r 83834f51c26f -r 16b89d268e53 databases/py-redis/distinfo
--- a/databases/py-redis/distinfo       Mon Jan 10 17:39:52 2022 +0000
+++ b/databases/py-redis/distinfo       Mon Jan 10 17:41:47 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 10:09:52 nia Exp $
+$NetBSD: distinfo,v 1.17 2022/01/10 17:41:47 adam Exp $
 
-BLAKE2s (redis-3.5.3.tar.gz) = 55376967ea49446df5786d5664f28353fc79c72f4fbde84596c75f1195d114f5
-SHA512 (redis-3.5.3.tar.gz) = eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206
-Size (redis-3.5.3.tar.gz) = 141112 bytes
+BLAKE2s (redis-4.1.0.tar.gz) = 4ad10b1e8c01a19457159150ac6adae7cf7016f69bf8baa18c0ff3458a218348
+SHA512 (redis-4.1.0.tar.gz) = 85cd09570f4faf34a735befd0677aa8ca2cb0d62b0285c4c040380c2440f2774e47762ec4219381294465343353a15804b96f06b4d6eefa7159a224eb9e72001
+Size (redis-4.1.0.tar.gz) = 2346542 bytes


Home | Main Index | Thread Index | Old Index