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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/942e9106eb8c
branches:  trunk
changeset: 457324:942e9106eb8c
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 23 10:02:34 2021 +0000

description:
py-uvicorn: updated to 0.15.0

0.15.0 - 2021-08-13

Added

Change reload to be configurable with glob patterns. Currently only .py files are watched, which is different from the previous default behavior.
Add Python 3.10-rc.1 support. Now the server uses asyncio.run which will: start a fresh asyncio event loop, on shutdown cancel any background tasks rather than aborting them, aexit any remaining 
async generators, and shutdown the default ThreadPoolExecutor.
Exit with status 3 when worker starts failed
Add option to set websocket ping interval and timeout
Adapt bind_socket to make it usable with multiple processes
Add existence check to the reload directory(ies)
Add missing trace log for websocket protocols
Support disabling default Server and Date headers

Changed

Add PEP440 compliant version of click
Bump asgiref to 3.4.0

Fixed

When receiving a SIGTERM supervisors now terminate their processes before joining them
Fix the need of httptools on minimal installation
Fix ping parameters annotation in Config class

diffstat:

 www/py-uvicorn/Makefile |   6 +++---
 www/py-uvicorn/PLIST    |   5 ++++-
 www/py-uvicorn/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r f65cb95444b5 -r 942e9106eb8c www/py-uvicorn/Makefile
--- a/www/py-uvicorn/Makefile   Mon Aug 23 09:58:57 2021 +0000
+++ b/www/py-uvicorn/Makefile   Mon Aug 23 10:02:34 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2021/06/04 12:47:54 adam Exp $
+# $NetBSD: Makefile,v 1.21 2021/08/23 10:02:34 adam Exp $
 
-DISTNAME=      uvicorn-0.14.0
+DISTNAME=      uvicorn-0.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -10,7 +10,7 @@
 COMMENT=       The lightning-fast ASGI server
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.3.4:../../www/py-asgiref
+DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.4.0:../../www/py-asgiref
 DEPENDS+=      ${PYPKGPREFIX}-click>=7.0:../../devel/py-click
 DEPENDS+=      ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
 DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.2.0:../../www/py-httptools
diff -r f65cb95444b5 -r 942e9106eb8c www/py-uvicorn/PLIST
--- a/www/py-uvicorn/PLIST      Mon Aug 23 09:58:57 2021 +0000
+++ b/www/py-uvicorn/PLIST      Mon Aug 23 10:02:34 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/06/04 12:47:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/08/23 10:02:34 adam Exp $
 bin/uvicorn-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -18,6 +18,9 @@
 ${PYSITELIB}/uvicorn/_handlers/http.py
 ${PYSITELIB}/uvicorn/_handlers/http.pyc
 ${PYSITELIB}/uvicorn/_handlers/http.pyo
+${PYSITELIB}/uvicorn/_types.py
+${PYSITELIB}/uvicorn/_types.pyc
+${PYSITELIB}/uvicorn/_types.pyo
 ${PYSITELIB}/uvicorn/config.py
 ${PYSITELIB}/uvicorn/config.pyc
 ${PYSITELIB}/uvicorn/config.pyo
diff -r f65cb95444b5 -r 942e9106eb8c www/py-uvicorn/distinfo
--- a/www/py-uvicorn/distinfo   Mon Aug 23 09:58:57 2021 +0000
+++ b/www/py-uvicorn/distinfo   Mon Aug 23 10:02:34 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2021/06/04 12:47:54 adam Exp $
+$NetBSD: distinfo,v 1.19 2021/08/23 10:02:34 adam Exp $
 
-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
+SHA1 (uvicorn-0.15.0.tar.gz) = dedcee768769f3ce9ca73e3b8d4415b0f1d4d217
+RMD160 (uvicorn-0.15.0.tar.gz) = 14545a0ef4ad2772d3759923d14be25b1a5a88b5
+SHA512 (uvicorn-0.15.0.tar.gz) = 8023d0e961e474fb4e0a155886f5e460d8e2e822896aa8a9c783f70a6b64f6d0acd992f84366ed282625123817b9619df70a7de8bb6e18ab635da2a004788f69
+Size (uvicorn-0.15.0.tar.gz) = 39025 bytes



Home | Main Index | Thread Index | Old Index