pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-aiohttp



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Mar 22 08:02:35 UTC 2018

Modified Files:
        pkgsrc/www/py-aiohttp: Makefile distinfo

Log Message:
py-aiohttp: updated to 3.1.0

3.1.0:

Features
- Relax JSON content-type checking in the ClientResponse.json() to allow
  "application/xxx+json" instead of strict "application/json".
- Bump C HTTP parser to version 2.8
- Accept a coroutine as an application factory in web.run_app and gunicorn
  worker.
- Implement application cleanup context
- Make writer.write_headers a coroutine.
- Add tracking signals for getting request/response bodies.
- Deprecate ClientResponseError.code in favor of .status to keep similarity
  with response classes.
- Implement app.add_routes() method.
- Implement web.static() and RouteTableDef.static() API.
- Install a test event loop as default by asyncio.set_event_loop(). The
  change affects aiohttp test utils but backward compatibility is not broken
  for 99.99% of use cases.
- Refactor ClientResponse constructor: make logically required constructor
  arguments mandatory, drop _post_init() method.
- Use app.add_routes() in server docs everywhere
- Websockets refactoring, all websocket writer methods are converted into
  coroutines.
- Provide Content-Range header for Range requests

Bugfixes
- Fix websocket client return EofStream.
- Fix websocket demo.
- Property BaseRequest.http_range now returns a python-like slice when
  requesting the tail of the range. It's now indicated by a negative value in
  range.start rather then in range.stop
- Close a connection if an unexpected exception occurs while sending a request
- Fix firing DNS tracing events.

Improved Documentation
- Change ClientResponse.json() documentation to reflect that it now
  allows "application/xxx+json" content-types
- Document behavior when cchardet detects encodings that are unknown to Python.
- Add diagrams for tracing request life style.
- Drop removed functionality for passing StreamReader as data at client
  side.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/py-aiohttp/Makefile \
    pkgsrc/www/py-aiohttp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-aiohttp/Makefile
diff -u pkgsrc/www/py-aiohttp/Makefile:1.20 pkgsrc/www/py-aiohttp/Makefile:1.21
--- pkgsrc/www/py-aiohttp/Makefile:1.20 Thu Mar 15 09:29:09 2018
+++ pkgsrc/www/py-aiohttp/Makefile      Thu Mar 22 08:02:35 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2018/03/15 09:29:09 adam Exp $
+# $NetBSD: Makefile,v 1.21 2018/03/22 08:02:35 adam Exp $
 
-DISTNAME=      aiohttp-3.0.9
+DISTNAME=      aiohttp-3.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}
@@ -16,9 +16,9 @@ DEPENDS+=     ${PYPKGPREFIX}-chardet>=2.0:..
 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
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
+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
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 34
 
Index: pkgsrc/www/py-aiohttp/distinfo
diff -u pkgsrc/www/py-aiohttp/distinfo:1.20 pkgsrc/www/py-aiohttp/distinfo:1.21
--- pkgsrc/www/py-aiohttp/distinfo:1.20 Thu Mar 15 09:29:09 2018
+++ pkgsrc/www/py-aiohttp/distinfo      Thu Mar 22 08:02:35 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2018/03/15 09:29:09 adam Exp $
+$NetBSD: distinfo,v 1.21 2018/03/22 08:02:35 adam Exp $
 
-SHA1 (aiohttp-3.0.9.tar.gz) = 66b544540b177c8dbbae461081d74b9502922200
-RMD160 (aiohttp-3.0.9.tar.gz) = c0a37a4d45c5a2cbc3b02d95df02b9b1089fd8af
-SHA512 (aiohttp-3.0.9.tar.gz) = a079aaa6bc3a74fe94df8843ab1b0e98a7e439ac5b1cc9b8344c0db00a71cb30b2e79045ea58b77adfeb7357975411eb3008ed1df92fec11f7b824fe171e42c5
-Size (aiohttp-3.0.9.tar.gz) = 738910 bytes
+SHA1 (aiohttp-3.1.0.tar.gz) = 1a3d6f07683a6f6e7cac5d570bcfd0315519bec8
+RMD160 (aiohttp-3.1.0.tar.gz) = 1ef1f49a8b73f5c3bc909556edb1fad8f410916d
+SHA512 (aiohttp-3.1.0.tar.gz) = bb3d7ec0cf2bbbfd0121274c2f0a56e93fbb1583918038e247baea5ab03f864939107edd413f780ee33c63270c40ff83ba9ab8f4702745a7519a5301c0541bbb
+Size (aiohttp-3.1.0.tar.gz) = 750257 bytes



Home | Main Index | Thread Index | Old Index