pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-httpx py-httpx: updated to 0.23.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9979efbc4e11
branches:  trunk
changeset: 379872:9979efbc4e11
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 24 12:31:21 2022 +0000

description:
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.

diffstat:

 www/py-httpx/Makefile |  6 +++---
 www/py-httpx/PLIST    |  5 ++++-
 www/py-httpx/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r f2b8b44474df -r 9979efbc4e11 www/py-httpx/Makefile
--- a/www/py-httpx/Makefile     Tue May 24 12:30:25 2022 +0000
+++ b/www/py-httpx/Makefile     Tue May 24 12:31:21 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2022/01/27 08:37:57 adam Exp $
+# $NetBSD: Makefile,v 1.24 2022/05/24 12:31:21 adam Exp $
 
-DISTNAME=      httpx-0.22.0
+DISTNAME=      httpx-0.23.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpx/}
@@ -12,7 +12,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
-DEPENDS+=      ${PYPKGPREFIX}-httpcore>=0.14.5:../../www/py-httpcore
+DEPENDS+=      ${PYPKGPREFIX}-httpcore>=0.15.0:../../www/py-httpcore
 DEPENDS+=      ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
 DEPENDS+=      ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
 
diff -r f2b8b44474df -r 9979efbc4e11 www/py-httpx/PLIST
--- a/www/py-httpx/PLIST        Tue May 24 12:30:25 2022 +0000
+++ b/www/py-httpx/PLIST        Tue May 24 12:31:21 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/10/21 13:16:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/05/24 12:31:21 adam Exp $
 bin/httpx-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -70,6 +70,9 @@
 ${PYSITELIB}/httpx/_types.py
 ${PYSITELIB}/httpx/_types.pyc
 ${PYSITELIB}/httpx/_types.pyo
+${PYSITELIB}/httpx/_urls.py
+${PYSITELIB}/httpx/_urls.pyc
+${PYSITELIB}/httpx/_urls.pyo
 ${PYSITELIB}/httpx/_utils.py
 ${PYSITELIB}/httpx/_utils.pyc
 ${PYSITELIB}/httpx/_utils.pyo
diff -r f2b8b44474df -r 9979efbc4e11 www/py-httpx/distinfo
--- a/www/py-httpx/distinfo     Tue May 24 12:30:25 2022 +0000
+++ b/www/py-httpx/distinfo     Tue May 24 12:31:21 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2022/01/27 08:37:57 adam Exp $
+$NetBSD: distinfo,v 1.23 2022/05/24 12:31:21 adam Exp $
 
-BLAKE2s (httpx-0.22.0.tar.gz) = 2d6f228177dc19652eb55f9b469a390902bedff64df661f37d188c0c1330b748
-SHA512 (httpx-0.22.0.tar.gz) = 8d223e35c22dbd6bab159264ec72c860945fcbd84cff51974a4b8433e232117c9b089b3b610c0fdef007a60e5bd5e504ab2156d2ddeca558113b651c1311ffb3
-Size (httpx-0.22.0.tar.gz) = 107324 bytes
+BLAKE2s (httpx-0.23.0.tar.gz) = 14f007fc67e9366b2346999dd07af1dfb398dc2fcc866c0e4e46c9d803b3eaa1
+SHA512 (httpx-0.23.0.tar.gz) = b10c21b25632a15c460323d68bd3bd847d529d467ddfe4ee76e51776fc521fba667ad960270f9915aa36b8ccb6578e4ebc59751ae60b081434b625f1873ef421
+Size (httpx-0.23.0.tar.gz) = 108102 bytes



Home | Main Index | Thread Index | Old Index