Tue May 24 12:31:21 2022 UTC ()
py-httpx: updated to 0.23.0

0.23.0 (23rd May, 2022)

Changed

* Drop support for Python 3.6.
* Use `utf-8` as the default character set, instead of falling back to `charset-normalizer` for auto-detection. To enable automatic character set detection, see [the documentation](https://www.python-httpx.org/advanced/#character-set-encodings-and-auto-detection).

Fixed

* Fix `URL.copy_with` for some oddly formed URL cases.
* Digest authentication should use case-insensitive comparison for determining which algorithm is being used.
* Fix console markup escaping in command line client.
* When files are used in multipart upload, ensure we always seek to the start of the file.
* Ensure that `iter_bytes` never yields zero-length chunks.
* Preserve `Authorization` header for redirects that are to the same origin, but are an `http`-to-`https` upgrade.
* When responses have binary output, don't print the output to the console in the command line client. Use output like `<16086 bytes of binary data>` instead.
* Fix display of `--proxies` argument in the command line client help.
* Close responses when task cancellations occur during stream reading.
* Fix type error on accessing `.request` on `HTTPError` exceptions.


(adam)
diff -r1.23 -r1.24 pkgsrc/www/py-httpx/Makefile
diff -r1.8 -r1.9 pkgsrc/www/py-httpx/PLIST
diff -r1.22 -r1.23 pkgsrc/www/py-httpx/distinfo

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

--- pkgsrc/www/py-httpx/Makefile 2022/01/27 08:37:57 1.23
+++ pkgsrc/www/py-httpx/Makefile 2022/05/24 12:31:21 1.24
@@ -1,28 +1,28 @@ @@ -1,28 +1,28 @@
1# $NetBSD: Makefile,v 1.23 2022/01/27 08:37:57 adam Exp $ 1# $NetBSD: Makefile,v 1.24 2022/05/24 12:31:21 adam Exp $
2 2
3DISTNAME= httpx-0.22.0 3DISTNAME= httpx-0.23.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}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer 14DEPENDS+= ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
15DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.14.5:../../www/py-httpcore 15DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.15.0:../../www/py-httpcore
16DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986 16DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
17DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio 17DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
18 18
19USE_LANGUAGES= # none 19USE_LANGUAGES= # none
20 20
21PYTHON_VERSIONS_INCOMPATIBLE= 27 21PYTHON_VERSIONS_INCOMPATIBLE= 27
22 22
23USE_PKG_RESOURCES= yes 23USE_PKG_RESOURCES= yes
24 24
25post-install: 25post-install:
26 cd ${DESTDIR}${PREFIX}/bin && \ 26 cd ${DESTDIR}${PREFIX}/bin && \
27 ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE} 27 ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE}
28 28

cvs diff -r1.8 -r1.9 pkgsrc/www/py-httpx/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-httpx/PLIST 2021/10/21 13:16:15 1.8
+++ pkgsrc/www/py-httpx/PLIST 2022/05/24 12:31:21 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.8 2021/10/21 13:16:15 adam Exp $ 1@comment $NetBSD: PLIST,v 1.9 2022/05/24 12:31:21 adam Exp $
2bin/httpx-${PYVERSSUFFIX} 2bin/httpx-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
8${PYSITELIB}/${EGG_INFODIR}/requires.txt 8${PYSITELIB}/${EGG_INFODIR}/requires.txt
9${PYSITELIB}/${EGG_INFODIR}/top_level.txt 9${PYSITELIB}/${EGG_INFODIR}/top_level.txt
10${PYSITELIB}/httpx/__init__.py 10${PYSITELIB}/httpx/__init__.py
11${PYSITELIB}/httpx/__init__.pyc 11${PYSITELIB}/httpx/__init__.pyc
12${PYSITELIB}/httpx/__init__.pyo 12${PYSITELIB}/httpx/__init__.pyo
13${PYSITELIB}/httpx/__version__.py 13${PYSITELIB}/httpx/__version__.py
14${PYSITELIB}/httpx/__version__.pyc 14${PYSITELIB}/httpx/__version__.pyc
@@ -60,17 +60,20 @@ ${PYSITELIB}/httpx/_transports/base.pyc @@ -60,17 +60,20 @@ ${PYSITELIB}/httpx/_transports/base.pyc
60${PYSITELIB}/httpx/_transports/base.pyo 60${PYSITELIB}/httpx/_transports/base.pyo
61${PYSITELIB}/httpx/_transports/default.py 61${PYSITELIB}/httpx/_transports/default.py
62${PYSITELIB}/httpx/_transports/default.pyc 62${PYSITELIB}/httpx/_transports/default.pyc
63${PYSITELIB}/httpx/_transports/default.pyo 63${PYSITELIB}/httpx/_transports/default.pyo
64${PYSITELIB}/httpx/_transports/mock.py 64${PYSITELIB}/httpx/_transports/mock.py
65${PYSITELIB}/httpx/_transports/mock.pyc 65${PYSITELIB}/httpx/_transports/mock.pyc
66${PYSITELIB}/httpx/_transports/mock.pyo 66${PYSITELIB}/httpx/_transports/mock.pyo
67${PYSITELIB}/httpx/_transports/wsgi.py 67${PYSITELIB}/httpx/_transports/wsgi.py
68${PYSITELIB}/httpx/_transports/wsgi.pyc 68${PYSITELIB}/httpx/_transports/wsgi.pyc
69${PYSITELIB}/httpx/_transports/wsgi.pyo 69${PYSITELIB}/httpx/_transports/wsgi.pyo
70${PYSITELIB}/httpx/_types.py 70${PYSITELIB}/httpx/_types.py
71${PYSITELIB}/httpx/_types.pyc 71${PYSITELIB}/httpx/_types.pyc
72${PYSITELIB}/httpx/_types.pyo 72${PYSITELIB}/httpx/_types.pyo
 73${PYSITELIB}/httpx/_urls.py
 74${PYSITELIB}/httpx/_urls.pyc
 75${PYSITELIB}/httpx/_urls.pyo
73${PYSITELIB}/httpx/_utils.py 76${PYSITELIB}/httpx/_utils.py
74${PYSITELIB}/httpx/_utils.pyc 77${PYSITELIB}/httpx/_utils.pyc
75${PYSITELIB}/httpx/_utils.pyo 78${PYSITELIB}/httpx/_utils.pyo
76${PYSITELIB}/httpx/py.typed 79${PYSITELIB}/httpx/py.typed

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

--- pkgsrc/www/py-httpx/distinfo 2022/01/27 08:37:57 1.22
+++ pkgsrc/www/py-httpx/distinfo 2022/05/24 12:31:21 1.23
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.22 2022/01/27 08:37:57 adam Exp $ 1$NetBSD: distinfo,v 1.23 2022/05/24 12:31:21 adam Exp $
2 2
3BLAKE2s (httpx-0.22.0.tar.gz) = 2d6f228177dc19652eb55f9b469a390902bedff64df661f37d188c0c1330b748 3BLAKE2s (httpx-0.23.0.tar.gz) = 14f007fc67e9366b2346999dd07af1dfb398dc2fcc866c0e4e46c9d803b3eaa1
4SHA512 (httpx-0.22.0.tar.gz) = 8d223e35c22dbd6bab159264ec72c860945fcbd84cff51974a4b8433e232117c9b089b3b610c0fdef007a60e5bd5e504ab2156d2ddeca558113b651c1311ffb3 4SHA512 (httpx-0.23.0.tar.gz) = b10c21b25632a15c460323d68bd3bd847d529d467ddfe4ee76e51776fc521fba667ad960270f9915aa36b8ccb6578e4ebc59751ae60b081434b625f1873ef421
5Size (httpx-0.22.0.tar.gz) = 107324 bytes 5Size (httpx-0.23.0.tar.gz) = 108102 bytes