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.18.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78e3f4020c65
branches:  trunk
changeset: 455665:78e3f4020c65
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jul 08 08:39:00 2021 +0000

description:
py-httpx: updated to 0.18.2

0.18.2

Added

* Support for Python 3.10.
* Expose `httpx.USE_CLIENT_DEFAULT`, used as the default to `auth` and `timeout` parameters in request methods.
* Support [HTTP/2 "prior knowledge"](https://python-hyper.org/projects/hyper-h2/en/v2.3.1/negotiating-http2.html#prior-knowledge), using `httpx.Client(http1=False, http2=True)`.

Fixed

* Clean up some cases where warnings were being issued.
* Prefer Content-Length over Transfer-Encoding: chunked for content=<file-like> cases.

diffstat:

 www/py-httpx/Makefile |   8 ++++----
 www/py-httpx/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r 1bae37987c9b -r 78e3f4020c65 www/py-httpx/Makefile
--- a/www/py-httpx/Makefile     Thu Jul 08 08:37:16 2021 +0000
+++ b/www/py-httpx/Makefile     Thu Jul 08 08:39:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2021/05/08 08:58:42 adam Exp $
+# $NetBSD: Makefile,v 1.13 2021/07/08 08:39:00 adam Exp $
 
-DISTNAME=      httpx-0.18.1
+DISTNAME=      httpx-0.18.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpx/}
@@ -11,13 +11,13 @@
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
-DEPENDS+=      ${PYPKGPREFIX}-httpcore>=0.12.0:../../www/py-httpcore
+DEPENDS+=      ${PYPKGPREFIX}-httpcore>=0.13.3:../../www/py-httpcore
 DEPENDS+=      ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
 DEPENDS+=      ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 36 # py-httpcore, py-anyio, py-uvloop
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1bae37987c9b -r 78e3f4020c65 www/py-httpx/distinfo
--- a/www/py-httpx/distinfo     Thu Jul 08 08:37:16 2021 +0000
+++ b/www/py-httpx/distinfo     Thu Jul 08 08:39:00 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2021/05/08 08:58:42 adam Exp $
+$NetBSD: distinfo,v 1.13 2021/07/08 08:39:00 adam Exp $
 
-SHA1 (httpx-0.18.1.tar.gz) = e9a3d08cb10a1f21206e294cbd940753348efbd6
-RMD160 (httpx-0.18.1.tar.gz) = 07e185563e8531966516f27e483be1fa72b4c256
-SHA512 (httpx-0.18.1.tar.gz) = 991fe8084f8537bdece3efa97522852a60d71a05aea7c1cd2fe6999371059db6465640e5e5af4eca28660a651d14e32f9c3dd7d8e6dca88900232d01ce3db35d
-Size (httpx-0.18.1.tar.gz) = 95219 bytes
+SHA1 (httpx-0.18.2.tar.gz) = f2273196313052818ee61d5994ea14d4a33e4a9f
+RMD160 (httpx-0.18.2.tar.gz) = 0dcfd5f432d0aa0a4077c1d57e1d1ad32823fd70
+SHA512 (httpx-0.18.2.tar.gz) = 01b0f06b4ee92cb38195d7d15856e938901baf41f69eaf6f772780e60e8bc853b5ecedc89bc1749d54ae3c3b9c28b38ee3118379ae0420e0146cceed2a6d1bd6
+Size (httpx-0.18.2.tar.gz) = 96707 bytes



Home | Main Index | Thread Index | Old Index