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 Oct 21 13:07:56 UTC 2024
Modified Files:
pkgsrc/www/py-uvicorn: Makefile distinfo
Log Message:
py-uvicorn: updated to 0.32.0
0.32.0 (2024-10-15)
Added
Officially support Python 3.13
Warn when max_request_limit is exceeded
0.31.1 (2024-10-09)
Fixed
Support WebSockets 0.13.1
Restore support for [*] in trusted hosts
Add PathLike[str] type hint for ssl_keyfile
0.31.0 (2024-09-27)
Added
Improve ProxyHeadersMiddleware
Fix the host for requests from clients running on the proxy server itself.
Fallback to host that was already set for empty x-forwarded-for headers.
Also allow to specify IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/kubernetes, where the reverse proxy might have a dynamic IP.
This includes support for IPv6 Address/Networks.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/www/py-uvicorn/Makefile
cvs rdiff -u -r1.39 -r1.40 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.45 pkgsrc/www/py-uvicorn/Makefile:1.46
--- pkgsrc/www/py-uvicorn/Makefile:1.45 Wed Aug 14 08:48:30 2024
+++ pkgsrc/www/py-uvicorn/Makefile Mon Oct 21 13:07:56 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2024/08/14 08:48:30 adam Exp $
+# $NetBSD: Makefile,v 1.46 2024/10/21 13:07:56 adam Exp $
-DISTNAME= uvicorn-0.30.6
+DISTNAME= uvicorn-0.32.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uvicorn/}
@@ -20,11 +20,11 @@ DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.15.2:
DEPENDS+= ${PYPKGPREFIX}-watchfiles>=0.13:../../misc/py-watchfiles
DEPENDS+= ${PYPKGPREFIX}-websockets>=10.4:../../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
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
@@ -34,5 +34,9 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} uvicorn uvicorn-${PYVERSSUFFIX} || ${TRUE}
+# Needs a2wsgi
+pre-test:
+ ${RM} ${WRKSRC}/tests/middleware/test_wsgi.py
+
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-uvicorn/distinfo
diff -u pkgsrc/www/py-uvicorn/distinfo:1.39 pkgsrc/www/py-uvicorn/distinfo:1.40
--- pkgsrc/www/py-uvicorn/distinfo:1.39 Wed Aug 14 08:48:30 2024
+++ pkgsrc/www/py-uvicorn/distinfo Mon Oct 21 13:07:56 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2024/08/14 08:48:30 adam Exp $
+$NetBSD: distinfo,v 1.40 2024/10/21 13:07:56 adam Exp $
-BLAKE2s (uvicorn-0.30.6.tar.gz) = 95b01b16382e72da993eed80c628356886ffcd1a964cf02a5a85f135eea886ad
-SHA512 (uvicorn-0.30.6.tar.gz) = 922a5629babb0771a39d6032053344693f9dfaa25407a21df316f8e0a74310dcfecd0ab1ca31abae214feb3ba0db6cb6a8955205253eabf2ef6328fb5b39bd5c
-Size (uvicorn-0.30.6.tar.gz) = 42825 bytes
+BLAKE2s (uvicorn-0.32.0.tar.gz) = c53464f432943e771879d7a7285c8e11d5ef2312b15e7b12fd23bfd851435927
+SHA512 (uvicorn-0.32.0.tar.gz) = 8cbfeb3dc2c5c108dfdda7ad797b449047d4c5dc01d04cd7f0c0a40221e0e5ff07e33998c86335527eaad110b6194be5283d6c2ce170a273bd1f2a57caa1e7fa
+Size (uvicorn-0.32.0.tar.gz) = 77564 bytes
Home |
Main Index |
Thread Index |
Old Index