pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-amqp py-amqp: updated to 2.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b587376b256
branches:  trunk
changeset: 328001:8b587376b256
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 15 11:42:59 2019 +0000

description:
py-amqp: updated to 2.4.0

2.4.0
- Fix inconsistent frame_handler return value.
  The function returned by frame_handler is meant to return True
  once the complete message is received and the callback is called,
  False otherwise.
  This fixes the return value for messages with a body split across
  multiple frames, and heartbeat frames.
- Don't default content_encoding to utf-8 for bytes.
  This is not an acceptable default as the content may not be
  valid utf-8, and even if it is, the producer likely does not
  expect the message to be decoded by the consumer.
- Fix encoding of messages with multibyte characters.
  Body length was previously calculated using string length,
  which may be less than the length of the encoded body when
  it contains multibyte sequences. This caused the body of
  the frame to be truncated.
- Respect content_encoding when encoding messages.
  Previously the content_encoding was ignored and messages
  were always encoded as utf-8. This caused messages to be
  incorrectly decoded if content_encoding is properly respected
  when decoding.
- Fix AMQP protocol header for AMQP 0-9-1.
- Add support for Python 3.7.
  Change direct SSLSocket instantiation with wrap_socket.
  Added Python 3.7 to CI.
- Add support for field type "x" (byte array).
- If there is an exception raised on Connection.connect or Connection.close,
  ensure that the underlying transport socket is closed.
- TCP_USER_TIMEOUT has to be excluded from KNOWN_TCP_OPTS in BSD platforms.
- Handle negative acknowledgments.
- Added integration tests.
- Fix basic_consume() with no consumer_tag provided.
- Improved empty AMQPError string representation.
- Drain events before publish.
- Don't revive channel when connection is closing.

diffstat:

 net/py-amqp/Makefile |   6 +++---
 net/py-amqp/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 5bce5e6afaae -r 8b587376b256 net/py-amqp/Makefile
--- a/net/py-amqp/Makefile      Tue Jan 15 11:40:03 2019 +0000
+++ b/net/py-amqp/Makefile      Tue Jan 15 11:42:59 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2018/06/18 07:09:37 adam Exp $
+# $NetBSD: Makefile,v 1.18 2019/01/15 11:42:59 adam Exp $
 
-DISTNAME=      amqp-2.3.2
+DISTNAME=      amqp-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/amqp/}
@@ -15,7 +15,7 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.1:../../devel/py-test-sugar
 
-USE_LANGUAGES=         # none
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5bce5e6afaae -r 8b587376b256 net/py-amqp/distinfo
--- a/net/py-amqp/distinfo      Tue Jan 15 11:40:03 2019 +0000
+++ b/net/py-amqp/distinfo      Tue Jan 15 11:42:59 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/06/18 07:09:37 adam Exp $
+$NetBSD: distinfo,v 1.15 2019/01/15 11:42:59 adam Exp $
 
-SHA1 (amqp-2.3.2.tar.gz) = c91a1cbe35d2014643583e6c0cbe78d2610c96eb
-RMD160 (amqp-2.3.2.tar.gz) = a1ae8d36bb72e493e54e740b00ca73dca093e64c
-SHA512 (amqp-2.3.2.tar.gz) = c9c99a238cf64ab5590eaea5756e9f68d58769b4d74af3405321d5c129171f34e6a5d20f2125ef2828e843b637fbd115d1ee9391726fe6ff09d233f0e6bdd511
-Size (amqp-2.3.2.tar.gz) = 105854 bytes
+SHA1 (amqp-2.4.0.tar.gz) = d94d3d8970ffbd361cc10284931c59054a7d8cba
+RMD160 (amqp-2.4.0.tar.gz) = b39ec6165e33be6365f211610d4e8b446fb0c9ac
+SHA512 (amqp-2.4.0.tar.gz) = 607bda5d1b2a9e06048d5304870bf29af61ee32383a6dbed7fabe3cad3eee0c9ea242c6a59ab2548020d258ae8faaa175e6ff5c0f361b62229034b4d53f3466f
+Size (amqp-2.4.0.tar.gz) = 113930 bytes



Home | Main Index | Thread Index | Old Index