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 3.3.8
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e89ae3c375c
branches: trunk
changeset: 400104:4e89ae3c375c
user: adam <adam%pkgsrc.org@localhost>
date: Thu Aug 22 12:00:46 2019 +0000
description:
py-redis: updated to 3.3.8
* 3.3.8
* Fixed MONITOR parsing to properly parse IPv6 client addresses, unix
socket connections and commands issued from Lua.
* 3.3.7
* Fixed a regression introduced in 3.3.0 where socket.error exceptions
(or subclasses) could potentially be raised instead of
redis.exceptions.ConnectionError.
* 3.3.6
* Fixed a regression in 3.3.5 that caused PubSub.get_message() to raise
a socket.timeout exception when passing a timeout value.
* 3.3.5
* Fix an issue where socket.timeout errors could be handled by the wrong
exception handler in Python 2.7.
* 3.3.4
* More specifically identify nonblocking read errors for both SSL and
non-SSL connections. 3.3.1, 3.3.2 and 3.3.3 on Python 2.7 could
potentially mask a ConnectionError.
* 3.3.3
* The SSL module in Python < 2.7.9 handles non-blocking sockets
differently than 2.7.9+. This patch accommodates older versions
* 3.3.2
* Further fixed a regression introduced in 3.3.0 involving SSL and
non-blocking sockets.
* 3.3.1
* Fixed a regression introduced in 3.3.0 involving SSL and non-blocking
sockets.
* 3.3.0
* Resolve a race condition with the PubSubWorkerThread.
* Cleanup socket read error messages.
* Cleanup the Connection's selector correctly.
* Added a Monitor object to make working with MONITOR output easy.
* Internal cleanup: Removed the legacy Token class which was necessary
with older version of Python that are no longer supported.
* Response callbacks are now case insensitive. This allows users that
call Redis.execute_command() directly to pass lower-case command
names and still get reasonable responses.
* Added support for hiredis-py 1.0.0 encoding error support. This should
make the PythonParser and the HiredisParser behave identically
when encountering encoding errors.
* All authentication errors now properly raise AuthenticationError.
AuthenticationError is now a subclass of ConnectionError, which will
cause the connection to be disconnected and cleaned up appropriately.
* Add READONLY and READWRITE commands.
* Remove selectors in favor of nonblocking sockets. Selectors had
issues in some environments including eventlet and gevent. This should
resolve those issues with no other side effects.
* Fixed an issue with XCLAIM and previously claimed but not removed
messages.
* Allow for single connection client instances. These instances
are not thread safe but offer other benefits including a subtle
performance increase.
* Added extensive health checks that keep the connections lively.
Passing the "health_check_interval=N" option to the Redis client class
or to a ConnectionPool ensures that a round trip PING/PONG is successful
before any command if the underlying connection has been idle for more
than N seconds. ConnectionErrors and TimeoutErrors are automatically
retried once for health checks.
* Changed the PubSubWorkerThread to use a threading.Event object rather
than a boolean to control the thread's life cycle.
* Fixed a bug in Pipeline error handling that would incorrectly retry
ConnectionErrors.
diffstat:
databases/py-redis/Makefile | 4 ++--
databases/py-redis/PLIST | 5 +----
databases/py-redis/distinfo | 10 +++++-----
3 files changed, 8 insertions(+), 11 deletions(-)
diffs (46 lines):
diff -r fd23d43b99b7 -r 4e89ae3c375c databases/py-redis/Makefile
--- a/databases/py-redis/Makefile Thu Aug 22 11:54:43 2019 +0000
+++ b/databases/py-redis/Makefile Thu Aug 22 12:00:46 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/04/02 08:31:48 adam Exp $
+# $NetBSD: Makefile,v 1.9 2019/08/22 12:00:46 adam Exp $
-DISTNAME= redis-3.2.1
+DISTNAME= redis-3.3.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/redis/}
diff -r fd23d43b99b7 -r 4e89ae3c375c databases/py-redis/PLIST
--- a/databases/py-redis/PLIST Thu Aug 22 11:54:43 2019 +0000
+++ b/databases/py-redis/PLIST Thu Aug 22 12:00:46 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/02/18 11:29:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/08/22 12:00:46 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,9 +22,6 @@
${PYSITELIB}/redis/lock.py
${PYSITELIB}/redis/lock.pyc
${PYSITELIB}/redis/lock.pyo
-${PYSITELIB}/redis/selector.py
-${PYSITELIB}/redis/selector.pyc
-${PYSITELIB}/redis/selector.pyo
${PYSITELIB}/redis/sentinel.py
${PYSITELIB}/redis/sentinel.pyc
${PYSITELIB}/redis/sentinel.pyo
diff -r fd23d43b99b7 -r 4e89ae3c375c databases/py-redis/distinfo
--- a/databases/py-redis/distinfo Thu Aug 22 11:54:43 2019 +0000
+++ b/databases/py-redis/distinfo Thu Aug 22 12:00:46 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2019/04/02 08:31:48 adam Exp $
+$NetBSD: distinfo,v 1.7 2019/08/22 12:00:46 adam Exp $
-SHA1 (redis-3.2.1.tar.gz) = 4f5f35fc8d340a9368d070c5ac5040704a951a41
-RMD160 (redis-3.2.1.tar.gz) = 6fda32dfdeb87abb79594650996ce791bcd49f53
-SHA512 (redis-3.2.1.tar.gz) = be51642a8895325c3c61993dd83c3299a9e2cefc1010e04f182833f720ff161bea43d3a57d28afba991949fcf6e967c4f778002967641bffe651d5db384f2e08
-Size (redis-3.2.1.tar.gz) = 124692 bytes
+SHA1 (redis-3.3.8.tar.gz) = dd587a04bea178361d14522dc49a8d14b3cfd382
+RMD160 (redis-3.3.8.tar.gz) = 4c508ab88934705d88b1a20157176b13a5ca7d49
+SHA512 (redis-3.3.8.tar.gz) = 7bdaa0815be3a0304bdca5d791b3f26a34cc8fb696581ff3144b486c5c40c476218cc6cf12868e08364b96eaa71f2dffb86de9c945ac3ffe5f6c9fe914a2ecd8
+Size (redis-3.3.8.tar.gz) = 130549 bytes
Home |
Main Index |
Thread Index |
Old Index