pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uvicorn py-uvicorn: updated to 0.14.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/669914d9e436
branches:  trunk
changeset: 453920:669914d9e436
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jun 04 12:47:54 2021 +0000

description:
py-uvicorn: updated to 0.14.0

0.14.0

Added

Defaults ws max_size on server to 16MB
Improve user feedback if no ws library installed
Support 'reason' field in 'websocket.close' messages
Implemented lifespan.shutdown.failed

Changed

Upgraded websockets requirements
Switch to asyncio streams API
Update httptools from 0.1.* to 0.2.*
Allow Click 8.0
Add search for a trusted host in ProxyHeadersMiddleware
Up wsproto to 1.0.0

Fixed

Force reload_dirs to be a list
Fix gunicorn worker not running if extras not installed
Fix socket port 0
Prevent garbage collection of main lifespan task

diffstat:

 www/py-uvicorn/Makefile |   9 +++++----
 www/py-uvicorn/PLIST    |  14 ++++++++++----
 www/py-uvicorn/distinfo |  10 +++++-----
 3 files changed, 20 insertions(+), 13 deletions(-)

diffs (77 lines):

diff -r 7acefb82e858 -r 669914d9e436 www/py-uvicorn/Makefile
--- a/www/py-uvicorn/Makefile   Fri Jun 04 12:46:55 2021 +0000
+++ b/www/py-uvicorn/Makefile   Fri Jun 04 12:47:54 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2021/02/26 10:17:18 adam Exp $
+# $NetBSD: Makefile,v 1.20 2021/06/04 12:47:54 adam Exp $
 
-DISTNAME=      uvicorn-0.13.4
+DISTNAME=      uvicorn-0.14.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -10,11 +10,12 @@
 COMMENT=       The lightning-fast ASGI server
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.3.4:../../www/py-asgiref
 DEPENDS+=      ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
 DEPENDS+=      ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
-DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.1.1:../../www/py-httptools
+DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.2.0:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=8.0:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=9.1:../../www/py-websockets
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 36
 
diff -r 7acefb82e858 -r 669914d9e436 www/py-uvicorn/PLIST
--- a/www/py-uvicorn/PLIST      Fri Jun 04 12:46:55 2021 +0000
+++ b/www/py-uvicorn/PLIST      Fri Jun 04 12:47:54 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/12/09 09:44:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/06/04 12:47:54 adam Exp $
 bin/uvicorn-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,9 +12,12 @@
 ${PYSITELIB}/uvicorn/__main__.py
 ${PYSITELIB}/uvicorn/__main__.pyc
 ${PYSITELIB}/uvicorn/__main__.pyo
-${PYSITELIB}/uvicorn/_types.py
-${PYSITELIB}/uvicorn/_types.pyc
-${PYSITELIB}/uvicorn/_types.pyo
+${PYSITELIB}/uvicorn/_handlers/__init__.py
+${PYSITELIB}/uvicorn/_handlers/__init__.pyc
+${PYSITELIB}/uvicorn/_handlers/__init__.pyo
+${PYSITELIB}/uvicorn/_handlers/http.py
+${PYSITELIB}/uvicorn/_handlers/http.pyc
+${PYSITELIB}/uvicorn/_handlers/http.pyo
 ${PYSITELIB}/uvicorn/config.py
 ${PYSITELIB}/uvicorn/config.pyc
 ${PYSITELIB}/uvicorn/config.pyo
@@ -75,6 +78,9 @@
 ${PYSITELIB}/uvicorn/protocols/http/auto.py
 ${PYSITELIB}/uvicorn/protocols/http/auto.pyc
 ${PYSITELIB}/uvicorn/protocols/http/auto.pyo
+${PYSITELIB}/uvicorn/protocols/http/flow_control.py
+${PYSITELIB}/uvicorn/protocols/http/flow_control.pyc
+${PYSITELIB}/uvicorn/protocols/http/flow_control.pyo
 ${PYSITELIB}/uvicorn/protocols/http/h11_impl.py
 ${PYSITELIB}/uvicorn/protocols/http/h11_impl.pyc
 ${PYSITELIB}/uvicorn/protocols/http/h11_impl.pyo
diff -r 7acefb82e858 -r 669914d9e436 www/py-uvicorn/distinfo
--- a/www/py-uvicorn/distinfo   Fri Jun 04 12:46:55 2021 +0000
+++ b/www/py-uvicorn/distinfo   Fri Jun 04 12:47:54 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2021/02/26 10:17:18 adam Exp $
+$NetBSD: distinfo,v 1.18 2021/06/04 12:47:54 adam Exp $
 
-SHA1 (uvicorn-0.13.4.tar.gz) = b75a22ee72dff96c17b9c5631311e5020764583c
-RMD160 (uvicorn-0.13.4.tar.gz) = ef23978f34c4ca4d981c597bf0fa30151b9e5fd8
-SHA512 (uvicorn-0.13.4.tar.gz) = 2a0c4edac285409571f9890145123d6063d10e4bbf4833385d9c10c62066cbb1a0fdfae8c424f7411e0aa81d117367360996a7f4bf41599e549339d0869b7db0
-Size (uvicorn-0.13.4.tar.gz) = 32426 bytes
+SHA1 (uvicorn-0.14.0.tar.gz) = 006af749fadc976cfdf19d7c86f9c1be15ab873a
+RMD160 (uvicorn-0.14.0.tar.gz) = d62129239eb72ab8d6a07009ecb57196dfb3cb45
+SHA512 (uvicorn-0.14.0.tar.gz) = 4a7cd5af623f19957546ce44594adf5c30fbd77c0649b77544630445e135bdae0d7ab019624b4b7bb121afd0f3ac44229f8ec8099d6e9957eb49d67264f4b171
+Size (uvicorn-0.14.0.tar.gz) = 35445 bytes



Home | Main Index | Thread Index | Old Index