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.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c6dfb1dc04c
branches:  trunk
changeset: 307507:7c6dfb1dc04c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 08 04:54:10 2018 +0000
description:
py-aiohttp: updated to 3.2.0

3.2.0

Features
Raise TooManyRedirects exception when client gets redirected too many times instead of returning last response.
Extract route definitions into separate web_routedef.py file
Raise an exception on request body reading after sending response.
ClientResponse and RequestInfo now have real_url property, which is request url without fragment part being stripped
Speed up connector limiting
Added and links property for ClientResponse object
Add request.config_dict for exposing nested applications data.
Speed up HTTP headers serialization, server micro-benchmark runs 5% faster now.
Apply assertions in debug mode only

Bugfixes
expose property app for TestClient
Call on_chunk_sent when write_eof takes as a param the last chunk
A closing bracket was added to __repr__ of resources
Fix compression of FileResponse
Fixes some bugs in the limit connection feature

Improved Documentation
Drop async_timeout usage from documentation for client API in favor of timeout parameter.
Improve Gunicorn logging documentation
Replace multipart writer .serialize() method with .write() in documentation.

Deprecations and Removals
Deprecate Application.make_handler()

diffstat:

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

diffs (64 lines):

diff -r 3a0e83ede583 -r 7c6dfb1dc04c www/py-aiohttp/Makefile
--- a/www/py-aiohttp/Makefile   Tue May 08 04:48:49 2018 +0000
+++ b/www/py-aiohttp/Makefile   Tue May 08 04:54:10 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2018/04/13 11:14:48 adam Exp $
+# $NetBSD: Makefile,v 1.25 2018/05/08 04:54:10 adam Exp $
 
-DISTNAME=      aiohttp-3.1.3
+DISTNAME=      aiohttp-3.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}
@@ -16,6 +16,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-idna-ssl>=1.0:../../www/py-idna_ssl
 DEPENDS+=      ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict
 DEPENDS+=      ${PYPKGPREFIX}-yarl>=1.0:../../www/py-yarl
+TEST_DEPENDS+= ${PYPKGPREFIX}-async_generator-[0-9]*:../../devel/py-async_generator
 TEST_DEPENDS+= ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
diff -r 3a0e83ede583 -r 7c6dfb1dc04c www/py-aiohttp/PLIST
--- a/www/py-aiohttp/PLIST      Tue May 08 04:48:49 2018 +0000
+++ b/www/py-aiohttp/PLIST      Tue May 08 04:54:10 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/02/14 11:31:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/05/08 04:54:10 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -14,6 +14,9 @@
 ${PYSITELIB}/aiohttp/_http_parser.c
 ${PYSITELIB}/aiohttp/_http_parser.pyx
 ${PYSITELIB}/aiohttp/_http_parser.so
+${PYSITELIB}/aiohttp/_http_writer.c
+${PYSITELIB}/aiohttp/_http_writer.pyx
+${PYSITELIB}/aiohttp/_http_writer.so
 ${PYSITELIB}/aiohttp/_websocket.c
 ${PYSITELIB}/aiohttp/_websocket.pyx
 ${PYSITELIB}/aiohttp/_websocket.so
@@ -128,6 +131,9 @@
 ${PYSITELIB}/aiohttp/web_response.py
 ${PYSITELIB}/aiohttp/web_response.pyc
 ${PYSITELIB}/aiohttp/web_response.pyo
+${PYSITELIB}/aiohttp/web_routedef.py
+${PYSITELIB}/aiohttp/web_routedef.pyc
+${PYSITELIB}/aiohttp/web_routedef.pyo
 ${PYSITELIB}/aiohttp/web_runner.py
 ${PYSITELIB}/aiohttp/web_runner.pyc
 ${PYSITELIB}/aiohttp/web_runner.pyo
diff -r 3a0e83ede583 -r 7c6dfb1dc04c www/py-aiohttp/distinfo
--- a/www/py-aiohttp/distinfo   Tue May 08 04:48:49 2018 +0000
+++ b/www/py-aiohttp/distinfo   Tue May 08 04:54:10 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2018/04/13 11:14:48 adam Exp $
+$NetBSD: distinfo,v 1.25 2018/05/08 04:54:10 adam Exp $
 
-SHA1 (aiohttp-3.1.3.tar.gz) = a92941562e422012dcab0a58ce30e6265b4c6f6a
-RMD160 (aiohttp-3.1.3.tar.gz) = c5e388a9c4b5318ff9259feba7b5956677dbd467
-SHA512 (aiohttp-3.1.3.tar.gz) = 6ee66ab7be4740cec3658716419360dcdcf008cedb3832a3024fd6623255a1a48459d6875c13c8b3ed71621b796912c975c87284df13f6a01733993f98c7b4f7
-Size (aiohttp-3.1.3.tar.gz) = 756886 bytes
+SHA1 (aiohttp-3.2.0.tar.gz) = 9ae3a3841bae5e59476b1e8ff1a503ea65f9bf53
+RMD160 (aiohttp-3.2.0.tar.gz) = 25614d7853c838cbdf7c97446aa19afa5d9d7714
+SHA512 (aiohttp-3.2.0.tar.gz) = b6f2f0280a6d2d0dd83fbda4e95b23df754f7a72b2ee6b597a332f2c2e7640783fb7d0f8169f99599ebd7f1ec338a3ecf8dea42d17b2fcaad3f8a24db89955c7
+Size (aiohttp-3.2.0.tar.gz) = 719685 bytes



Home | Main Index | Thread Index | Old Index