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:           Wed Jul  8 08:04:04 UTC 2026

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

Log Message:
py-uvicorn: updated to 0.50.2

0.50.2 (July 6, 2026)

Fixed

Require websockets>=13.0, which the default websockets-sansio implementation needs

0.50.1 (July 6, 2026)

Fixed

Split comma-separated Sec-WebSocket-Protocol values in the websockets-sansio implementation

0.50.0 (July 4, 2026)

If you use WebSockets, note that --ws auto now picks the websockets-sansio implementation. You shouldn't need it, but you can pin --ws websockets to get the deprecated legacy one back.

Changed

Exit with the dedicated code 3 on any startup failure: app loading, socket bind and lifespan startup errors previously exited with a mix of 0, 1 and 3
Stop the multiprocess supervisor when a worker exits with code 3 instead of restarting it forever
Default --ws auto to websockets-sansio when websockets is installed
Skip the eager app import in the parent process with --reload or --workers, fixing a memory regression introduced in 0.47.0
Build a fresh asgi scope dict per request
Cache the asgi scope sub-dict per connection
Avoid copying single-frame WebSocket payloads in websockets-sansio
Memoize trusted host checks in ProxyHeadersMiddleware
Replace click.style with an internal ANSI style helper

Deprecated

Deprecate the legacy websockets implementation; use websockets-sansio or wsproto instead


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/www/py-uvicorn/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-uvicorn/PLIST
cvs rdiff -u -r1.57 -r1.58 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.66 pkgsrc/www/py-uvicorn/Makefile:1.67
--- pkgsrc/www/py-uvicorn/Makefile:1.66 Sun Jun 28 15:41:50 2026
+++ pkgsrc/www/py-uvicorn/Makefile      Wed Jul  8 08:04:04 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2026/06/28 15:41:50 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2026/07/08 08:04:04 adam Exp $
 
-DISTNAME=      uvicorn-0.49.0
+DISTNAME=      uvicorn-0.50.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -18,7 +18,7 @@ DEPENDS+=     ${PYPKGPREFIX}-dotenv>=0.13:..
 DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.8.0:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.15.2:../../devel/py-uvloop
 DEPENDS+=      ${PYPKGPREFIX}-watchfiles>=0.20:../../misc/py-watchfiles
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=10.4:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=13.0:../../www/py-websockets
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
 TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0.27.2:../../www/py-httpx
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.14.0:../../devel/py-test-mock

Index: pkgsrc/www/py-uvicorn/PLIST
diff -u pkgsrc/www/py-uvicorn/PLIST:1.15 pkgsrc/www/py-uvicorn/PLIST:1.16
--- pkgsrc/www/py-uvicorn/PLIST:1.15    Tue Sep 23 16:30:48 2025
+++ pkgsrc/www/py-uvicorn/PLIST Wed Jul  8 08:04:04 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2025/09/23 16:30:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2026/07/08 08:04:04 adam Exp $
 bin/uvicorn-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -11,6 +11,9 @@ ${PYSITELIB}/uvicorn/__init__.pyo
 ${PYSITELIB}/uvicorn/__main__.py
 ${PYSITELIB}/uvicorn/__main__.pyc
 ${PYSITELIB}/uvicorn/__main__.pyo
+${PYSITELIB}/uvicorn/_ansi.py
+${PYSITELIB}/uvicorn/_ansi.pyc
+${PYSITELIB}/uvicorn/_ansi.pyo
 ${PYSITELIB}/uvicorn/_compat.py
 ${PYSITELIB}/uvicorn/_compat.pyc
 ${PYSITELIB}/uvicorn/_compat.pyo

Index: pkgsrc/www/py-uvicorn/distinfo
diff -u pkgsrc/www/py-uvicorn/distinfo:1.57 pkgsrc/www/py-uvicorn/distinfo:1.58
--- pkgsrc/www/py-uvicorn/distinfo:1.57 Sat Jun  6 06:36:42 2026
+++ pkgsrc/www/py-uvicorn/distinfo      Wed Jul  8 08:04:04 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.57 2026/06/06 06:36:42 adam Exp $
+$NetBSD: distinfo,v 1.58 2026/07/08 08:04:04 adam Exp $
 
-BLAKE2s (uvicorn-0.49.0.tar.gz) = 3426b7b1785359075d476f7865a42a82c65223503a8a4ee587328a9636eaa366
-SHA512 (uvicorn-0.49.0.tar.gz) = 7aa56da2baa5f2aebee97a3ebb94f77bef68e4f160657c6ace770bd43c92d66234a2d7d692ff3bc2809a8f8149904ef38692b81f7ff08df8a5b765d4a47bd586
-Size (uvicorn-0.49.0.tar.gz) = 91284 bytes
+BLAKE2s (uvicorn-0.50.2.tar.gz) = d9edbc5800457af456f12b19d14bbf65192da9ebaca7169c3b0f18786a89deb7
+SHA512 (uvicorn-0.50.2.tar.gz) = f3504ced038d6e5521a6f4c266b4ca87d6bb49c21bf3b5f9f32097fc75c81c6a755b1d6b11835590bc58dc9e0d5030f7df2041cf993f629ac93303010b272680
+Size (uvicorn-0.50.2.tar.gz) = 93716 bytes



Home | Main Index | Thread Index | Old Index