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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/883072e9e6af
branches:  trunk
changeset: 382471:883072e9e6af
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 29 09:07:09 2022 +0000

description:
py-uvicorn: updated to 0.18.2

0.18.2 - 2022-06-27

Fixed

Add default log_config on uvicorn.run()
Revert logging file name modification


0.18.1 - 2022-06-23

Fixed

Use DEFAULT_MAX_INCOMPLETE_EVENT_SIZE as default to h11_max_incomplete_event_size on the CLI


0.18.0 - 2022-06-23

Added

The reload flag prioritizes watchfiles instead of the deprecated watchgod
Annotate uvicorn.run() function
Allow configuring max_incomplete_event_size for h11 implementation

Removed

Remove asgiref dependency

Fixed

Turn raw_path into bytes on both websockets implementations
Revert log exception traceback in case of invalid HTTP request
Set asyncio.WindowsSelectorEventLoopPolicy() when using multiple workers to avoid "WinError 87"

diffstat:

 www/py-uvicorn/Makefile |   6 +++---
 www/py-uvicorn/PLIST    |  11 +++++++----
 www/py-uvicorn/distinfo |   8 ++++----
 3 files changed, 14 insertions(+), 11 deletions(-)

diffs (75 lines):

diff -r dd79eb115fa5 -r 883072e9e6af www/py-uvicorn/Makefile
--- a/www/py-uvicorn/Makefile   Fri Jul 29 09:02:47 2022 +0000
+++ b/www/py-uvicorn/Makefile   Fri Jul 29 09:07:09 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2022/03/12 08:36:40 adam Exp $
+# $NetBSD: Makefile,v 1.31 2022/07/29 09:07:09 adam Exp $
 
-DISTNAME=      uvicorn-0.17.6
+DISTNAME=      uvicorn-0.18.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -10,9 +10,9 @@
 COMMENT=       The lightning-fast ASGI server
 LICENSE=       modified-bsd
 
-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
+# standard
 DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.4.0:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
 DEPENDS+=      ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets
diff -r dd79eb115fa5 -r 883072e9e6af www/py-uvicorn/PLIST
--- a/www/py-uvicorn/PLIST      Fri Jul 29 09:02:47 2022 +0000
+++ b/www/py-uvicorn/PLIST      Fri Jul 29 09:07:09 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/02/05 12:11:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/07/29 09:07:09 adam Exp $
 bin/uvicorn-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,6 +12,9 @@
 ${PYSITELIB}/uvicorn/__main__.py
 ${PYSITELIB}/uvicorn/__main__.pyc
 ${PYSITELIB}/uvicorn/__main__.pyo
+${PYSITELIB}/uvicorn/_subprocess.py
+${PYSITELIB}/uvicorn/_subprocess.pyc
+${PYSITELIB}/uvicorn/_subprocess.pyo
 ${PYSITELIB}/uvicorn/_types.py
 ${PYSITELIB}/uvicorn/_types.pyc
 ${PYSITELIB}/uvicorn/_types.pyo
@@ -102,9 +105,6 @@
 ${PYSITELIB}/uvicorn/server.py
 ${PYSITELIB}/uvicorn/server.pyc
 ${PYSITELIB}/uvicorn/server.pyo
-${PYSITELIB}/uvicorn/subprocess.py
-${PYSITELIB}/uvicorn/subprocess.pyc
-${PYSITELIB}/uvicorn/subprocess.pyo
 ${PYSITELIB}/uvicorn/supervisors/__init__.py
 ${PYSITELIB}/uvicorn/supervisors/__init__.pyc
 ${PYSITELIB}/uvicorn/supervisors/__init__.pyo
@@ -117,6 +117,9 @@
 ${PYSITELIB}/uvicorn/supervisors/statreload.py
 ${PYSITELIB}/uvicorn/supervisors/statreload.pyc
 ${PYSITELIB}/uvicorn/supervisors/statreload.pyo
+${PYSITELIB}/uvicorn/supervisors/watchfilesreload.py
+${PYSITELIB}/uvicorn/supervisors/watchfilesreload.pyc
+${PYSITELIB}/uvicorn/supervisors/watchfilesreload.pyo
 ${PYSITELIB}/uvicorn/supervisors/watchgodreload.py
 ${PYSITELIB}/uvicorn/supervisors/watchgodreload.pyc
 ${PYSITELIB}/uvicorn/supervisors/watchgodreload.pyo
diff -r dd79eb115fa5 -r 883072e9e6af www/py-uvicorn/distinfo
--- a/www/py-uvicorn/distinfo   Fri Jul 29 09:02:47 2022 +0000
+++ b/www/py-uvicorn/distinfo   Fri Jul 29 09:07:09 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2022/03/12 08:36:40 adam Exp $
+$NetBSD: distinfo,v 1.28 2022/07/29 09:07:09 adam Exp $
 
-BLAKE2s (uvicorn-0.17.6.tar.gz) = 9e5bd2774f088e3c12121ed278da82be3ac56a1cc39a6d32a3798c69b888fe53
-SHA512 (uvicorn-0.17.6.tar.gz) = a86cf51119e161999dd82b414a18140a42004a48e419bab0d5a5c32e5a1332e84d47eef7f91edef558b7fabe334073d7b10ce5e2474c6b2726a4457800945ccf
-Size (uvicorn-0.17.6.tar.gz) = 39534 bytes
+BLAKE2s (uvicorn-0.18.2.tar.gz) = dbd7c37dd2d6e300435a5a3e14f3e07a0c6e0a0068533b396c05b8b49f132824
+SHA512 (uvicorn-0.18.2.tar.gz) = 6492dfc920fdb5633ac152f1b31a4b4ac27de822d1fea2e5b8b74ffc30ccec50621df7b96855e0366bb1c1cbf1dc061e3f99ad44142811d9f97683b8f0b57076
+Size (uvicorn-0.18.2.tar.gz) = 41639 bytes



Home | Main Index | Thread Index | Old Index