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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e777621710c9
branches:  trunk
changeset: 447926:e777621710c9
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Feb 28 18:40:55 2021 +0000

description:
py-httpx: updated to 0.17.0

0.17.0

Added

Add httpx.MockTransport(), allowing to mock out a transport using pre-determined responses.
Add httpx.HTTPTransport() and httpx.AsyncHTTPTransport() default transports.
Add mount API support, using httpx.Client(mounts=...).
Add chunk_size parameter to iter_raw(), iter_bytes(), iter_text().
Add keepalive_expiry parameter to httpx.Limits() configuration.
Add repr to httpx.Cookies to display available cookies.
Add support for params=<tuple> (previously only params=<list> was supported).

Fixed

Add missing raw_path to ASGI scope.
Tweak create_ssl_context defaults to use trust_env=True.
Properly URL-escape WSGI PATH_INFO.
Properly set default ports in WSGI transport.
Properly encode slashes when using base_url.
Properly map exceptions in request.aclose().

diffstat:

 www/py-httpx/Makefile |   4 ++--
 www/py-httpx/PLIST    |   8 +++++++-
 www/py-httpx/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r cdb49f013db8 -r e777621710c9 www/py-httpx/Makefile
--- a/www/py-httpx/Makefile     Sun Feb 28 18:35:32 2021 +0000
+++ b/www/py-httpx/Makefile     Sun Feb 28 18:40:55 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/10/13 11:14:43 adam Exp $
+# $NetBSD: Makefile,v 1.10 2021/02/28 18:40:55 adam Exp $
 
-DISTNAME=      httpx-0.16.1
+DISTNAME=      httpx-0.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpx/}
diff -r cdb49f013db8 -r e777621710c9 www/py-httpx/PLIST
--- a/www/py-httpx/PLIST        Sun Feb 28 18:35:32 2021 +0000
+++ b/www/py-httpx/PLIST        Sun Feb 28 18:40:55 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/10/01 06:51:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/02/28 18:40:55 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -47,6 +47,12 @@
 ${PYSITELIB}/httpx/_transports/asgi.py
 ${PYSITELIB}/httpx/_transports/asgi.pyc
 ${PYSITELIB}/httpx/_transports/asgi.pyo
+${PYSITELIB}/httpx/_transports/default.py
+${PYSITELIB}/httpx/_transports/default.pyc
+${PYSITELIB}/httpx/_transports/default.pyo
+${PYSITELIB}/httpx/_transports/mock.py
+${PYSITELIB}/httpx/_transports/mock.pyc
+${PYSITELIB}/httpx/_transports/mock.pyo
 ${PYSITELIB}/httpx/_transports/wsgi.py
 ${PYSITELIB}/httpx/_transports/wsgi.pyc
 ${PYSITELIB}/httpx/_transports/wsgi.pyo
diff -r cdb49f013db8 -r e777621710c9 www/py-httpx/distinfo
--- a/www/py-httpx/distinfo     Sun Feb 28 18:35:32 2021 +0000
+++ b/www/py-httpx/distinfo     Sun Feb 28 18:40:55 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2020/10/13 11:14:43 adam Exp $
+$NetBSD: distinfo,v 1.10 2021/02/28 18:40:55 adam Exp $
 
-SHA1 (httpx-0.16.1.tar.gz) = 9804e4db80f8f17f1738f32ca9f37b8d1114534c
-RMD160 (httpx-0.16.1.tar.gz) = 813a0f826aebaab158255d06a434ceeeb743784d
-SHA512 (httpx-0.16.1.tar.gz) = 99321176d5bfe927804abe9c93eff098ce7498f6a42db0cacad4a9420d7e5e557ad1ada04126ab3bedfb718631ee7398d0ce42e2c5854f819e4ac36f892c1671
-Size (httpx-0.16.1.tar.gz) = 83253 bytes
+SHA1 (httpx-0.17.0.tar.gz) = d7555849ff5252f8924e6cb8ba0f18f4430746d5
+RMD160 (httpx-0.17.0.tar.gz) = 4bbd8780ef311278d657537ab6ee031451c87208
+SHA512 (httpx-0.17.0.tar.gz) = b0b1b5a6b722d32ccc353352a1d406da8275525d7bcd789139c618f9304df87c1cff35f5dce013f94a54931443faf391619ece5c92f04a18cd4e35455a1219e4
+Size (httpx-0.17.0.tar.gz) = 86266 bytes



Home | Main Index | Thread Index | Old Index