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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6018c1e34bd
branches:  trunk
changeset: 770974:c6018c1e34bd
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 11 19:53:15 2021 +0000

description:
py-uvicorn: updated to 0.16.0

0.16.0

Added

Enable read of uvicorn settings from environment variables
Bump websockets to 10.0.
Ensure non-zero exit code when startup fails
Increase httptools version range from "==0.2.*" to ">=0.2.0,<0.4.0".
Override default asyncio event loop with reload only on Windows
Replace HttpToolsProtocol.pipeline type from list to deque.
Replace WSGIResponder.send_queue type from list to deque.

Fixed

Main process exit after startup failure on reloader classes
Add explicit casting on click options
Allow WebSocket close event to receive reason being None from ASGI app.
Fix a bug in WebSocketProtocol.asgi_receive on which we returned a close frame even if there were data messages before that frame in the read queue.
The option --reload-dirs was splitting a string into single character directories.
Only second SIGINT is able to forcelly shutdown the server
Allow app-dir parameter on the run() function

diffstat:

 www/py-uvicorn/Makefile |  6 +++---
 www/py-uvicorn/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r f924626834c5 -r c6018c1e34bd www/py-uvicorn/Makefile
--- a/www/py-uvicorn/Makefile   Sat Dec 11 19:48:02 2021 +0000
+++ b/www/py-uvicorn/Makefile   Sat Dec 11 19:53:15 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2021/08/23 10:02:34 adam Exp $
+# $NetBSD: Makefile,v 1.22 2021/12/11 19:53:15 adam Exp $
 
-DISTNAME=      uvicorn-0.15.0
+DISTNAME=      uvicorn-0.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -15,7 +15,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
 DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.2.0:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=9.1:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 36
 
diff -r f924626834c5 -r c6018c1e34bd www/py-uvicorn/distinfo
--- a/www/py-uvicorn/distinfo   Sat Dec 11 19:48:02 2021 +0000
+++ b/www/py-uvicorn/distinfo   Sat Dec 11 19:53:15 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:30:49 nia Exp $
+$NetBSD: distinfo,v 1.22 2021/12/11 19:53:15 adam Exp $
 
-BLAKE2s (uvicorn-0.15.0.tar.gz) = c508fde017ef154cf891f3fd15270ac3b45953ccb9a8e6a6cc9b646f02bfe6f3
-SHA512 (uvicorn-0.15.0.tar.gz) = 8023d0e961e474fb4e0a155886f5e460d8e2e822896aa8a9c783f70a6b64f6d0acd992f84366ed282625123817b9619df70a7de8bb6e18ab635da2a004788f69
-Size (uvicorn-0.15.0.tar.gz) = 39025 bytes
+BLAKE2s (uvicorn-0.16.0.tar.gz) = de386250cec85217762e012b1d6d3e71cfaa7ad11bf8ad40f1927d9c275ba35e
+SHA512 (uvicorn-0.16.0.tar.gz) = 5f3da8956f90a41aa2ccf17dfa3e92737527c7e5cdf6ad90f8f9dcb344fccdf9eab5420964b53c2a60cf513a19d8a232b087c48f7c4a5fffbf6045394996b4aa
+Size (uvicorn-0.16.0.tar.gz) = 39444 bytes



Home | Main Index | Thread Index | Old Index