Wed Aug 25 19:20:56 2021 UTC ()
py-httpx: updated to 0.19.0

0.19.0

Added

Add support for Client(allow_redirects=<bool>).
Add automatic character set detection, when no charset is included in the response Content-Type header.

Changed

Event hooks are now also called for any additional redirect or auth requests/responses.
Strictly enforce that upload files must be opened in binary mode.
Strictly enforce that client instances can only be opened and closed once, and cannot be re-opened.
Drop mode argument from httpx.Proxy(..., mode=...).


(adam)
diff -r1.13 -r1.14 pkgsrc/www/py-httpx/Makefile
diff -r1.13 -r1.14 pkgsrc/www/py-httpx/distinfo

cvs diff -r1.13 -r1.14 pkgsrc/www/py-httpx/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-httpx/Makefile 2021/07/08 08:39:00 1.13
+++ pkgsrc/www/py-httpx/Makefile 2021/08/25 19:20:56 1.14
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.13 2021/07/08 08:39:00 adam Exp $ 1# $NetBSD: Makefile,v 1.14 2021/08/25 19:20:56 adam Exp $
2 2
3DISTNAME= httpx-0.18.2 3DISTNAME= httpx-0.19.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/encode/httpx 9HOMEPAGE= https://github.com/encode/httpx
10COMMENT= The next generation HTTP client 10COMMENT= The next generation HTTP client
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi 13DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
14DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.13.3:../../www/py-httpcore 14DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.13.3:../../www/py-httpcore
15DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986 15DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
16DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio 16DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio

cvs diff -r1.13 -r1.14 pkgsrc/www/py-httpx/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-httpx/distinfo 2021/07/08 08:39:00 1.13
+++ pkgsrc/www/py-httpx/distinfo 2021/08/25 19:20:56 1.14
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.13 2021/07/08 08:39:00 adam Exp $ 1$NetBSD: distinfo,v 1.14 2021/08/25 19:20:56 adam Exp $
2 2
3SHA1 (httpx-0.18.2.tar.gz) = f2273196313052818ee61d5994ea14d4a33e4a9f 3SHA1 (httpx-0.19.0.tar.gz) = eef54cee72bda35f6002e70368b0f5ffdc439bf9
4RMD160 (httpx-0.18.2.tar.gz) = 0dcfd5f432d0aa0a4077c1d57e1d1ad32823fd70 4RMD160 (httpx-0.19.0.tar.gz) = eab8dcf20bc4f4b776b11be05c7fd305e500381f
5SHA512 (httpx-0.18.2.tar.gz) = 01b0f06b4ee92cb38195d7d15856e938901baf41f69eaf6f772780e60e8bc853b5ecedc89bc1749d54ae3c3b9c28b38ee3118379ae0420e0146cceed2a6d1bd6 5SHA512 (httpx-0.19.0.tar.gz) = ebf8f40424e43d8fcb41e1547e532210a956deae6649e80b3963c46dd12bb630358fa0d330e88242705e0908b09635d0dc17d4f75779f25903f7073c16d756d2
6Size (httpx-0.18.2.tar.gz) = 96707 bytes 6Size (httpx-0.19.0.tar.gz) = 97592 bytes