pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-aiohttp py-aiohttp: updated to 3.3.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3502002c4e4
branches:  trunk
changeset: 309216:d3502002c4e4
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 12 15:28:53 2018 +0000

description:
py-aiohttp: updated to 3.3.2

3.3.2:
- Many HTTP proxies has buggy keepalive support. Let's not reuse connection but
  close it after processing every response.
- Provide vendor source files in tarball


3.3.1:
- Fix sock_read timeout.
- When using a server-request body as the data= argument of a client request,
  iterate over the content with readany instead of readline to avoid Line
  too long errors.


3.3.0:
Features
- Raise ConnectionResetError instead of CancelledError on trying to
  write to a closed stream.
- Implement ClientTimeout class and support socket read timeout.
- Enable logging when aiohttp.web is used as a program
- Add canonical property to resources
- Forbid reading response BODY after release
- Implement base protocol class to avoid a dependency from internal
  asyncio.streams.FlowControlMixin
- Cythonize @helpers.reify, 5% boost on macro benchmark
- Optimize HTTP parser
- Implement runner.addresses property.
- Use bytearray instead of a list of bytes in websocket reader. It
  improves websocket message reading a little.
- Remove heartbeat on closing connection on keepalive timeout. The used hack
  violates HTTP protocol.
- Limit websocket message size on reading to 4 MB by default.

Bugfixes
- Don't reuse a connection with the same URL but different proxy/TLS settings
- When parsing the Forwarded header, the optional port number is now preserved.

Improved Documentation
- Make Change Log more visible in docs
- Make style and grammar improvements on the FAQ page.
- Document that signal handlers should be async functions since aiohttp 3.0

Deprecations and Removals
- Deprecate custom application's router.

diffstat:

 www/py-aiohttp/Makefile |   4 ++--
 www/py-aiohttp/PLIST    |   8 +++++++-
 www/py-aiohttp/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r f533de9c5377 -r d3502002c4e4 www/py-aiohttp/Makefile
--- a/www/py-aiohttp/Makefile   Tue Jun 12 15:16:31 2018 +0000
+++ b/www/py-aiohttp/Makefile   Tue Jun 12 15:28:53 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2018/05/11 10:04:41 adam Exp $
+# $NetBSD: Makefile,v 1.27 2018/06/12 15:28:53 adam Exp $
 
-DISTNAME=      aiohttp-3.2.1
+DISTNAME=      aiohttp-3.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}
diff -r f533de9c5377 -r d3502002c4e4 www/py-aiohttp/PLIST
--- a/www/py-aiohttp/PLIST      Tue Jun 12 15:16:31 2018 +0000
+++ b/www/py-aiohttp/PLIST      Tue Jun 12 15:28:53 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/05/08 04:54:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/06/12 15:28:53 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,6 +11,9 @@
 ${PYSITELIB}/aiohttp/_frozenlist.c
 ${PYSITELIB}/aiohttp/_frozenlist.pyx
 ${PYSITELIB}/aiohttp/_frozenlist.so
+${PYSITELIB}/aiohttp/_helpers.c
+${PYSITELIB}/aiohttp/_helpers.pyx
+${PYSITELIB}/aiohttp/_helpers.so
 ${PYSITELIB}/aiohttp/_http_parser.c
 ${PYSITELIB}/aiohttp/_http_parser.pyx
 ${PYSITELIB}/aiohttp/_http_parser.so
@@ -23,6 +26,9 @@
 ${PYSITELIB}/aiohttp/abc.py
 ${PYSITELIB}/aiohttp/abc.pyc
 ${PYSITELIB}/aiohttp/abc.pyo
+${PYSITELIB}/aiohttp/base_protocol.py
+${PYSITELIB}/aiohttp/base_protocol.pyc
+${PYSITELIB}/aiohttp/base_protocol.pyo
 ${PYSITELIB}/aiohttp/client.py
 ${PYSITELIB}/aiohttp/client.pyc
 ${PYSITELIB}/aiohttp/client.pyo
diff -r f533de9c5377 -r d3502002c4e4 www/py-aiohttp/distinfo
--- a/www/py-aiohttp/distinfo   Tue Jun 12 15:16:31 2018 +0000
+++ b/www/py-aiohttp/distinfo   Tue Jun 12 15:28:53 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2018/05/11 10:04:41 adam Exp $
+$NetBSD: distinfo,v 1.27 2018/06/12 15:28:53 adam Exp $
 
-SHA1 (aiohttp-3.2.1.tar.gz) = 5d7ed58028739959030a75e4b961e9c0fa1455e4
-RMD160 (aiohttp-3.2.1.tar.gz) = 8a58d30ffd0f1a68776db8de1176533e4994baa7
-SHA512 (aiohttp-3.2.1.tar.gz) = 4ac3a798eaf8a42777b21836e17e6b5145493c6329cca700a293fe6ac64152e0714f3e1b919793a6acd5acf9061bf121a7cfea0188e3708dcb8c221d67ae4470
-Size (aiohttp-3.2.1.tar.gz) = 720223 bytes
+SHA1 (aiohttp-3.3.2.tar.gz) = eb637c34b14437bb41a81b47645b164972cb52db
+RMD160 (aiohttp-3.3.2.tar.gz) = bd2de873cd93a99aacf73280c2bab4130235b8ee
+SHA512 (aiohttp-3.3.2.tar.gz) = abc031b5cd96c59886913582e7226f3c7b9ce4101d11d380f732d16776b990082b18b0c5f91bc098f17f72cbadcf499dfa93069323a8668755c1ce5d06f37f1e
+Size (aiohttp-3.3.2.tar.gz) = 771414 bytes



Home | Main Index | Thread Index | Old Index