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 Jan 10 10:33:07 UTC 2024

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

Log Message:
py-uvicorn: updated to 0.25.0

0.25.0 - 2023-12-17

Added

Support the WebSocket Denial Response ASGI extension
Fixed

Allow explicit hidden file paths on --reload-include
Properly annotate uvicorn.run()

0.24.0.post1 - 2023-11-06

Fixed

Revert mkdocs-material from 9.1.21 to 9.2.6

0.24.0 - 2023-11-04

Added

Support Python 3.12
Allow setting app via environment variable UVICORN_APP

0.23.2 - 2023-07-31

Fixed

Maintain the same behavior of websockets from 10.4 on 11.0

0.23.1 - 2023-07-18

Fixed

Add typing_extensions for Python 3.10 and lower

0.23.0 - 2023-07-10

Added

Add --ws-max-queue parameter WebSockets

Removed

Drop support for Python 3.7
Remove asgiref as typing dependency

Fixed

Set scope["scheme"] to ws or wss instead of http or https on ProxyHeadersMiddleware for WebSockets

Changed

Raise ImportError on circular import
Use logger.getEffectiveLevel() instead of logger.level to check if log level is TRACE

0.22.0 - 2023-04-28

Added

Add --timeout-graceful-shutdown parameter
Handle SIGBREAK on Windows

Fixed

Shutdown event is now being triggered on Windows when using hot reload
--reload-delay is effectively used on the watchfiles reloader

0.21.1 - 2023-03-16

Fixed

Reset lifespan state on each request

0.21.0 - 2023-03-09

Added

Introduce lifespan state
Allow headers to be sent as iterables on H11 implementation
Improve discoverability when --port=0 is used

Changed

Avoid importing h11 and pyyaml when not needed to improve import time
Replace current native WSGIMiddleware implementation by a2wsgi
Change default --app-dir from "." (dot) to "" (empty string)

Fixed

Send code 1012 on shutdown for WebSockets
Use surrogateescape to encode headers on websockets implementation
Fix warning message on reload failure

0.20.0 - 2022-11-20

Added

Check if handshake is completed before sending frame on wsproto shutdown
Add default headers to WebSockets implementations
Warn user when reload and workers flag are used together

Fixed

Use correct WebSocket error codes on close
Send disconnect event on connection lost for wsproto
Add SIGQUIT handler to UvicornWorker
Fix crash on exist with "--uds" if socket doesn't exist
Annotate CONFIG_KWARGS in UvicornWorker class

Removed

Remove conditional on RemoteProtocolError.event_hint on wsproto
Remove unused handle_no_connect on wsproto implementation


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/py-uvicorn/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-uvicorn/PLIST
cvs rdiff -u -r1.29 -r1.30 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.35 pkgsrc/www/py-uvicorn/Makefile:1.36
--- pkgsrc/www/py-uvicorn/Makefile:1.35 Sat Oct 28 19:57:25 2023
+++ pkgsrc/www/py-uvicorn/Makefile      Wed Jan 10 10:33:07 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2023/10/28 19:57:25 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2024/01/10 10:33:07 adam Exp $
 
-DISTNAME=      uvicorn-0.18.3
+DISTNAME=      uvicorn-0.25.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvicorn/}
 
@@ -16,22 +15,21 @@ DEPENDS+=   ${PYPKGPREFIX}-click>=7.0:../.
 DEPENDS+=      ${PYPKGPREFIX}-h11>=0.8:../../www/py-h11
 # standard
 DEPENDS+=      ${PYPKGPREFIX}-dotenv>=0.13:../../devel/py-dotenv
-DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.4.0:../../www/py-httptools
+DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.5.0:../../www/py-httptools
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.15.2:../../devel/py-uvloop
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-watchfiles>=0.13:../../misc/py-watchfiles
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=10.4:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} < 308
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
 .endif
 
-USE_LANGUAGES= # none
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} uvicorn uvicorn-${PYVERSSUFFIX} || ${TRUE}

Index: pkgsrc/www/py-uvicorn/PLIST
diff -u pkgsrc/www/py-uvicorn/PLIST:1.11 pkgsrc/www/py-uvicorn/PLIST:1.12
--- pkgsrc/www/py-uvicorn/PLIST:1.11    Sat Oct 28 19:57:25 2023
+++ pkgsrc/www/py-uvicorn/PLIST Wed Jan 10 10:33:07 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2023/10/28 19:57:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2024/01/10 10:33:07 adam Exp $
 bin/uvicorn-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -56,9 +56,6 @@ ${PYSITELIB}/uvicorn/middleware/__init__
 ${PYSITELIB}/uvicorn/middleware/asgi2.py
 ${PYSITELIB}/uvicorn/middleware/asgi2.pyc
 ${PYSITELIB}/uvicorn/middleware/asgi2.pyo
-${PYSITELIB}/uvicorn/middleware/debug.py
-${PYSITELIB}/uvicorn/middleware/debug.pyc
-${PYSITELIB}/uvicorn/middleware/debug.pyo
 ${PYSITELIB}/uvicorn/middleware/message_logger.py
 ${PYSITELIB}/uvicorn/middleware/message_logger.pyc
 ${PYSITELIB}/uvicorn/middleware/message_logger.pyo
@@ -101,6 +98,7 @@ ${PYSITELIB}/uvicorn/protocols/websocket
 ${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.py
 ${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.pyc
 ${PYSITELIB}/uvicorn/protocols/websockets/wsproto_impl.pyo
+${PYSITELIB}/uvicorn/py.typed
 ${PYSITELIB}/uvicorn/server.py
 ${PYSITELIB}/uvicorn/server.pyc
 ${PYSITELIB}/uvicorn/server.pyo

Index: pkgsrc/www/py-uvicorn/distinfo
diff -u pkgsrc/www/py-uvicorn/distinfo:1.29 pkgsrc/www/py-uvicorn/distinfo:1.30
--- pkgsrc/www/py-uvicorn/distinfo:1.29 Thu Sep  8 15:23:23 2022
+++ pkgsrc/www/py-uvicorn/distinfo      Wed Jan 10 10:33:07 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2022/09/08 15:23:23 adam Exp $
+$NetBSD: distinfo,v 1.30 2024/01/10 10:33:07 adam Exp $
 
-BLAKE2s (uvicorn-0.18.3.tar.gz) = 0dc92dc9bcd3c14eea98c5a532450a1bd29b2592ea0257b3f32b1870791f3d0d
-SHA512 (uvicorn-0.18.3.tar.gz) = f54f1e018e5b9e9dff865e7211199b4605088640579fa81bbe0a7cdf357d76fc33fb5fe6fe0806dcc08354320ddde9d7c3bb290205ea4de57cc79ae147a3d14a
-Size (uvicorn-0.18.3.tar.gz) = 36898 bytes
+BLAKE2s (uvicorn-0.25.0.tar.gz) = 033df9733e6ccf520a80b6a7bdf1e0b754187ef27ac5d10b5171132c1d9594c1
+SHA512 (uvicorn-0.25.0.tar.gz) = d162f4ef678277a64a3e66995d4b9b0802db392cab68cb9bb760e31896c2a1f23c0efef82fbbefed4237b58ffb4453dac80604adac093a9df868d3d5e60b2002
+Size (uvicorn-0.25.0.tar.gz) = 40724 bytes



Home | Main Index | Thread Index | Old Index