pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-httpx



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Feb 28 18:40:55 UTC 2021

Modified Files:
        pkgsrc/www/py-httpx: Makefile PLIST distinfo

Log Message:
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().


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-httpx/Makefile \
    pkgsrc/www/py-httpx/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-httpx/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-httpx/Makefile
diff -u pkgsrc/www/py-httpx/Makefile:1.9 pkgsrc/www/py-httpx/Makefile:1.10
--- pkgsrc/www/py-httpx/Makefile:1.9    Tue Oct 13 11:14:43 2020
+++ pkgsrc/www/py-httpx/Makefile        Sun Feb 28 18:40:55 2021
@@ -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/}
Index: pkgsrc/www/py-httpx/distinfo
diff -u pkgsrc/www/py-httpx/distinfo:1.9 pkgsrc/www/py-httpx/distinfo:1.10
--- pkgsrc/www/py-httpx/distinfo:1.9    Tue Oct 13 11:14:43 2020
+++ pkgsrc/www/py-httpx/distinfo        Sun Feb 28 18:40:55 2021
@@ -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

Index: pkgsrc/www/py-httpx/PLIST
diff -u pkgsrc/www/py-httpx/PLIST:1.5 pkgsrc/www/py-httpx/PLIST:1.6
--- pkgsrc/www/py-httpx/PLIST:1.5       Thu Oct  1 06:51:31 2020
+++ pkgsrc/www/py-httpx/PLIST   Sun Feb 28 18:40:55 2021
@@ -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/__init__.
 ${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



Home | Main Index | Thread Index | Old Index