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:           Mon Jan 10 17:41:47 UTC 2022

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

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/py-redis/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-redis/PLIST
cvs rdiff -u -r1.16 -r1.17 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.19 pkgsrc/databases/py-redis/Makefile:1.20
--- pkgsrc/databases/py-redis/Makefile:1.19     Tue Jan  4 20:52:44 2022
+++ pkgsrc/databases/py-redis/Makefile  Mon Jan 10 17:41:47 2022
@@ -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 @@ HOMEPAGE=   https://github.com/andymccurdy
 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"

Index: pkgsrc/databases/py-redis/PLIST
diff -u pkgsrc/databases/py-redis/PLIST:1.4 pkgsrc/databases/py-redis/PLIST:1.5
--- pkgsrc/databases/py-redis/PLIST:1.4 Thu Aug 22 12:00:46 2019
+++ pkgsrc/databases/py-redis/PLIST     Mon Jan 10 17:41:47 2022
@@ -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}/${EGG_INFODIR}/top_level.tx
 ${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

Index: pkgsrc/databases/py-redis/distinfo
diff -u pkgsrc/databases/py-redis/distinfo:1.16 pkgsrc/databases/py-redis/distinfo:1.17
--- pkgsrc/databases/py-redis/distinfo:1.16     Tue Oct 26 10:09:52 2021
+++ pkgsrc/databases/py-redis/distinfo  Mon Jan 10 17:41:47 2022
@@ -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