pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-uvicorn



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Aug 23 10:02:34 UTC 2021

Modified Files:
        pkgsrc/www/py-uvicorn: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/py-uvicorn/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-uvicorn/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/py-uvicorn/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-uvicorn/Makefile
diff -u pkgsrc/www/py-uvicorn/Makefile:1.20 pkgsrc/www/py-uvicorn/Makefile:1.21
--- pkgsrc/www/py-uvicorn/Makefile:1.20 Fri Jun  4 12:47:54 2021
+++ pkgsrc/www/py-uvicorn/Makefile      Mon Aug 23 10:02:34 2021
@@ -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 @@ HOMEPAGE=     https://www.uvicorn.org/
 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

Index: pkgsrc/www/py-uvicorn/PLIST
diff -u pkgsrc/www/py-uvicorn/PLIST:1.6 pkgsrc/www/py-uvicorn/PLIST:1.7
--- pkgsrc/www/py-uvicorn/PLIST:1.6     Fri Jun  4 12:47:54 2021
+++ pkgsrc/www/py-uvicorn/PLIST Mon Aug 23 10:02:34 2021
@@ -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/__init__.
 ${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

Index: pkgsrc/www/py-uvicorn/distinfo
diff -u pkgsrc/www/py-uvicorn/distinfo:1.18 pkgsrc/www/py-uvicorn/distinfo:1.19
--- pkgsrc/www/py-uvicorn/distinfo:1.18 Fri Jun  4 12:47:54 2021
+++ pkgsrc/www/py-uvicorn/distinfo      Mon Aug 23 10:02:34 2021
@@ -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