Mon Apr 17 09:58:49 2023 UTC ()
py-httpx: updated to 0.24.0

0.24.0 (6th April, 2023)

Changed

* The logging behaviour has been changed to be more in-line with other standard Python logging usages. We no longer have a custom `TRACE` log level, and we no longer use the `HTTPX_LOG_LEVEL` environment variable to auto-configure logging. We now have a significant amount of `DEBUG` logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/
* The `Response.iter_lines()` method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue.
* Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from `requests`, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid.
* NetRC authentication is no longer automatically handled, but is instead supported by an explicit `httpx.NetRCAuth()` authentication class. See the documentation at https://www.python-httpx.org/advanced/#netrc-support

Removed

* The `rfc3986` dependancy has been removed.


(adam)
diff -r1.26 -r1.27 pkgsrc/www/py-httpx/Makefile
diff -r1.10 -r1.11 pkgsrc/www/py-httpx/PLIST
diff -r1.25 -r1.26 pkgsrc/www/py-httpx/distinfo

cvs diff -r1.26 -r1.27 pkgsrc/www/py-httpx/Makefile (expand / switch to context diff)
--- pkgsrc/www/py-httpx/Makefile 2023/01/04 10:37:03 1.26
+++ pkgsrc/www/py-httpx/Makefile 2023/04/17 09:58:49 1.27
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2023/01/04 10:37:03 adam Exp $
+# $NetBSD: Makefile,v 1.27 2023/04/17 09:58:49 adam Exp $
 
-DISTNAME=	httpx-0.23.3
+DISTNAME=	httpx-0.24.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	www python
 MASTER_SITES=	${MASTER_SITE_PYPI:=h/httpx/}
@@ -13,9 +13,8 @@
 TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
 DEPENDS+=	${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
-DEPENDS+=	${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
 DEPENDS+=	${PYPKGPREFIX}-httpcore>=0.15.0:../../www/py-httpcore
-DEPENDS+=	${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
+DEPENDS+=	${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
 DEPENDS+=	${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
 
 USE_LANGUAGES=	# none

cvs diff -r1.10 -r1.11 pkgsrc/www/py-httpx/PLIST (expand / switch to context diff)
--- pkgsrc/www/py-httpx/PLIST 2022/11/18 18:53:47 1.10
+++ pkgsrc/www/py-httpx/PLIST 2023/04/17 09:58:49 1.11
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2022/11/18 18:53:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2023/04/17 09:58:49 adam Exp $
 bin/httpx-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -50,6 +50,8 @@
 ${PYSITELIB}/httpx/_transports/wsgi.pyc
 ${PYSITELIB}/httpx/_types.py
 ${PYSITELIB}/httpx/_types.pyc
+${PYSITELIB}/httpx/_urlparse.py
+${PYSITELIB}/httpx/_urlparse.pyc
 ${PYSITELIB}/httpx/_urls.py
 ${PYSITELIB}/httpx/_urls.pyc
 ${PYSITELIB}/httpx/_utils.py

cvs diff -r1.25 -r1.26 pkgsrc/www/py-httpx/distinfo (expand / switch to context diff)
--- pkgsrc/www/py-httpx/distinfo 2023/01/04 10:37:03 1.25
+++ pkgsrc/www/py-httpx/distinfo 2023/04/17 09:58:49 1.26
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2023/01/04 10:37:03 adam Exp $
+$NetBSD: distinfo,v 1.26 2023/04/17 09:58:49 adam Exp $
 
-BLAKE2s (httpx-0.23.3.tar.gz) = eb506878b1d877acae4f805aec3747962fc65258f9517b696690414740779f7f
+BLAKE2s (httpx-0.24.0.tar.gz) = c1a9253090a8190eba467aeeda2e5b2ad7ff977a0f803398619eb291778722bd
-SHA512 (httpx-0.23.3.tar.gz) = f25e935b97e246650ee29e89cde2a026550617c3d2734bede9541f013dd51b314cbb0d8d9a2103d01f58961649569db5535b54d0f12dd3060381a78a95373d42
+SHA512 (httpx-0.24.0.tar.gz) = 3c04b77c54f49b5096330b6077f4e541b67564a5ec30c0da4aad3f7640e37bb52586166f3442b111426b8f0d1550a5d8769e5e83143638852ee47b3739337ef4
-Size (httpx-0.23.3.tar.gz) = 77527 bytes
+Size (httpx-0.24.0.tar.gz) = 81136 bytes