pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-starlette



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 27 12:16:35 UTC 2026

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

Log Message:
py-starlette: updated to 1.10.0

1.10.0 (October 24, 2026)

Changed

* Compare multidicts such as `FormData` and `QueryParams` by key while keeping the order of values under a repeated key, so `FormData` with repeated uploads no longer raises `TypeError`. 
`QueryParams("a=1&a=2")` and `QueryParams("a=2&a=1")` are no longer equal
* Build URL-encoded form fields in the parser callbacks, lowering memory and CPU usage for forms with many fields
* Compare `Match` members by identity during routing

Deprecated

* Deprecate `starlette.formparsers.FormMessage`, which is no longer used

Fixed

* Parse the last URL-encoded form field when the request stream ends without an empty chunk
* Keep path parameter values that look like another placeholder in `url_path_for()`
* Default omitted `http.response.start` headers in `BaseHTTPMiddleware`, `GZipMiddleware` and `SessionMiddleware` instead of raising `KeyError`
* Clear the traceback of handled exceptions, so reused exception instances no longer keep per-request objects alive
* Strip only one pair of matching outer quotes from `Config` env file values
* Strip `root_path` from `PATH_INFO` only at a path segment boundary in `WSGIMiddleware`
* Report NaN and infinity correctly in `FloatConvertor.to_string()`
* Ignore `Range` on requests other than `GET` and `HEAD` in `FileResponse`


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/py-starlette/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-starlette/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-starlette/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-starlette/Makefile
diff -u pkgsrc/www/py-starlette/Makefile:1.18 pkgsrc/www/py-starlette/Makefile:1.19
--- pkgsrc/www/py-starlette/Makefile:1.18       Fri Aug 28 09:33:46 2026
+++ pkgsrc/www/py-starlette/Makefile    Tue Oct 27 12:16:35 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2026/08/28 09:33:46 adam Exp $
+# $NetBSD: Makefile,v 1.19 2026/10/27 12:16:35 adam Exp $
 
-DISTNAME=      starlette-1.6.0
+DISTNAME=      starlette-1.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/starlette/}
@@ -11,13 +11,13 @@ COMMENT=    Little ASGI library that shines
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
-DEPENDS+=      ${PYPKGPREFIX}-anyio>=3.6.2:../../devel/py-anyio
-TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0.27.0:../../www/py-httpx
+DEPENDS+=      ${PYPKGPREFIX}-anyio>=4.0.0:../../devel/py-anyio
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx2>=0.27.0:../../www/py-httpx
 TEST_DEPENDS+= ${PYPKGPREFIX}-httpx2>=2.0.0:../../www/py-httpx2
 TEST_DEPENDS+= ${PYPKGPREFIX}-itsdangerous>=0:../../security/py-itsdangerous
 TEST_DEPENDS+= ${PYPKGPREFIX}-jinja2>=0:../../textproc/py-jinja2
 TEST_DEPENDS+= ${PYPKGPREFIX}-python-multipart>=0.0.18:../../www/py-python-multipart
-TEST_DEPENDS+= ${PYPKGPREFIX}-trio>=0:../../devel/py-trio
+TEST_DEPENDS+= ${PYPKGPREFIX}-trio>=0.34.0:../../devel/py-trio
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml>=0:../../textproc/py-yaml
 
 USE_LANGUAGES= # none

Index: pkgsrc/www/py-starlette/PLIST
diff -u pkgsrc/www/py-starlette/PLIST:1.3 pkgsrc/www/py-starlette/PLIST:1.4
--- pkgsrc/www/py-starlette/PLIST:1.3   Fri Aug 28 09:33:46 2026
+++ pkgsrc/www/py-starlette/PLIST       Tue Oct 27 12:16:35 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2026/08/28 09:33:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/10/27 12:16:35 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -69,6 +69,9 @@ ${PYSITELIB}/starlette/middleware/gzip.p
 ${PYSITELIB}/starlette/middleware/httpsredirect.py
 ${PYSITELIB}/starlette/middleware/httpsredirect.pyc
 ${PYSITELIB}/starlette/middleware/httpsredirect.pyo
+${PYSITELIB}/starlette/middleware/opentelemetry.py
+${PYSITELIB}/starlette/middleware/opentelemetry.pyc
+${PYSITELIB}/starlette/middleware/opentelemetry.pyo
 ${PYSITELIB}/starlette/middleware/sessions.py
 ${PYSITELIB}/starlette/middleware/sessions.pyc
 ${PYSITELIB}/starlette/middleware/sessions.pyo

Index: pkgsrc/www/py-starlette/distinfo
diff -u pkgsrc/www/py-starlette/distinfo:1.17 pkgsrc/www/py-starlette/distinfo:1.18
--- pkgsrc/www/py-starlette/distinfo:1.17       Fri Aug 28 09:33:46 2026
+++ pkgsrc/www/py-starlette/distinfo    Tue Oct 27 12:16:35 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2026/08/28 09:33:46 adam Exp $
+$NetBSD: distinfo,v 1.18 2026/10/27 12:16:35 adam Exp $
 
-BLAKE2s (starlette-1.6.0.tar.gz) = 741734208ee1b7e7ac38d15f0bde1d7dfbd3a3ced5342b9c9fc99032b6f96a50
-SHA512 (starlette-1.6.0.tar.gz) = 874183a534948298c7ea891bdc6115633776958a206759d4748b11cb0f40ad2ecc79910a1874cbf39dde4305bc8578be4b2486165cf617e13c120bb26b13e087
-Size (starlette-1.6.0.tar.gz) = 2716969 bytes
+BLAKE2s (starlette-1.10.0.tar.gz) = 25502f2ed84724545bd7c958a5d5e82400c907e932c431e0772418b26d53e60c
+SHA512 (starlette-1.10.0.tar.gz) = 9079694a84952b44bd3e175356922d6a9b11f69e7245224890fc55934dd24771a1b679894f534e52418e4a433909a731a478ffee0be3ffab8718f9a37a55d167
+Size (starlette-1.10.0.tar.gz) = 2734356 bytes



Home | Main Index | Thread Index | Old Index