summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-03-10 07:36:16 +0000
committeradam <adam@pkgsrc.org>2020-03-10 07:36:16 +0000
commitbb93329fec4fc1f48d12fa7c5e5799c37a48993a (patch)
tree66e18147eae0fadf72d20ea0b6808f86ec0c7424 /www
parentf917134fab7c3993fe4a835c0aa350c10592f578 (diff)
downloadpkgsrc-bb93329fec4fc1f48d12fa7c5e5799c37a48993a.tar.gz
py-httpx: updated to 0.12.0
0.12.0: The 0.12 release tightens up the API expectations for httpx by switching to private module names to enforce better clarity around public API. All imports of httpx should import from the top-level package only, such as from httpx import Request, rather than importing from privately namespaced modules such as from httpx._models import Request. Added Support making response body available to auth classes with .requires_response_body. Export NetworkError exception. Add support for NO_PROXY environment variable. Changed Switched to private module names. Drop redirect looping detection and the RedirectLoop exception, instead using TooManyRedirects. Drop backend=... parameter on AsyncClient, in favour of always autodetecting trio/asyncio. Fixed Support basic auth credentials in proxy URLs. Fix httpx.Proxy(url, mode="FORWARD_ONLY") configuration. Fallback to setting headers as UTF-8 if no encoding is specified. Close proxy dispatches classes on client close. Support custom cert parameters even if verify=False. Don't support invalid dict-of-dicts form data in data=....
Diffstat (limited to 'www')
-rw-r--r--www/py-httpx/Makefile4
-rw-r--r--www/py-httpx/PLIST152
-rw-r--r--www/py-httpx/distinfo10
3 files changed, 83 insertions, 83 deletions
diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile
index bf31cd3f0a4..8f6362dfe9e 100644
--- a/www/py-httpx/Makefile
+++ b/www/py-httpx/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/01/20 11:50:48 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/03/10 07:36:16 adam Exp $
-DISTNAME= httpx-0.11.1
+DISTNAME= httpx-0.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/}
diff --git a/www/py-httpx/PLIST b/www/py-httpx/PLIST
index bdd874cb383..9667a8c3b95 100644
--- a/www/py-httpx/PLIST
+++ b/www/py-httpx/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/01/14 16:10:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/03/10 07:36:16 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,79 +11,79 @@ ${PYSITELIB}/httpx/__init__.pyo
${PYSITELIB}/httpx/__version__.py
${PYSITELIB}/httpx/__version__.pyc
${PYSITELIB}/httpx/__version__.pyo
-${PYSITELIB}/httpx/api.py
-${PYSITELIB}/httpx/api.pyc
-${PYSITELIB}/httpx/api.pyo
-${PYSITELIB}/httpx/auth.py
-${PYSITELIB}/httpx/auth.pyc
-${PYSITELIB}/httpx/auth.pyo
-${PYSITELIB}/httpx/backends/__init__.py
-${PYSITELIB}/httpx/backends/__init__.pyc
-${PYSITELIB}/httpx/backends/__init__.pyo
-${PYSITELIB}/httpx/backends/asyncio.py
-${PYSITELIB}/httpx/backends/asyncio.pyc
-${PYSITELIB}/httpx/backends/asyncio.pyo
-${PYSITELIB}/httpx/backends/auto.py
-${PYSITELIB}/httpx/backends/auto.pyc
-${PYSITELIB}/httpx/backends/auto.pyo
-${PYSITELIB}/httpx/backends/base.py
-${PYSITELIB}/httpx/backends/base.pyc
-${PYSITELIB}/httpx/backends/base.pyo
-${PYSITELIB}/httpx/backends/trio.py
-${PYSITELIB}/httpx/backends/trio.pyc
-${PYSITELIB}/httpx/backends/trio.pyo
-${PYSITELIB}/httpx/client.py
-${PYSITELIB}/httpx/client.pyc
-${PYSITELIB}/httpx/client.pyo
-${PYSITELIB}/httpx/config.py
-${PYSITELIB}/httpx/config.pyc
-${PYSITELIB}/httpx/config.pyo
-${PYSITELIB}/httpx/content_streams.py
-${PYSITELIB}/httpx/content_streams.pyc
-${PYSITELIB}/httpx/content_streams.pyo
-${PYSITELIB}/httpx/decoders.py
-${PYSITELIB}/httpx/decoders.pyc
-${PYSITELIB}/httpx/decoders.pyo
-${PYSITELIB}/httpx/dispatch/__init__.py
-${PYSITELIB}/httpx/dispatch/__init__.pyc
-${PYSITELIB}/httpx/dispatch/__init__.pyo
-${PYSITELIB}/httpx/dispatch/asgi.py
-${PYSITELIB}/httpx/dispatch/asgi.pyc
-${PYSITELIB}/httpx/dispatch/asgi.pyo
-${PYSITELIB}/httpx/dispatch/base.py
-${PYSITELIB}/httpx/dispatch/base.pyc
-${PYSITELIB}/httpx/dispatch/base.pyo
-${PYSITELIB}/httpx/dispatch/connection.py
-${PYSITELIB}/httpx/dispatch/connection.pyc
-${PYSITELIB}/httpx/dispatch/connection.pyo
-${PYSITELIB}/httpx/dispatch/connection_pool.py
-${PYSITELIB}/httpx/dispatch/connection_pool.pyc
-${PYSITELIB}/httpx/dispatch/connection_pool.pyo
-${PYSITELIB}/httpx/dispatch/http11.py
-${PYSITELIB}/httpx/dispatch/http11.pyc
-${PYSITELIB}/httpx/dispatch/http11.pyo
-${PYSITELIB}/httpx/dispatch/http2.py
-${PYSITELIB}/httpx/dispatch/http2.pyc
-${PYSITELIB}/httpx/dispatch/http2.pyo
-${PYSITELIB}/httpx/dispatch/proxy_http.py
-${PYSITELIB}/httpx/dispatch/proxy_http.pyc
-${PYSITELIB}/httpx/dispatch/proxy_http.pyo
-${PYSITELIB}/httpx/dispatch/urllib3.py
-${PYSITELIB}/httpx/dispatch/urllib3.pyc
-${PYSITELIB}/httpx/dispatch/urllib3.pyo
-${PYSITELIB}/httpx/dispatch/wsgi.py
-${PYSITELIB}/httpx/dispatch/wsgi.pyc
-${PYSITELIB}/httpx/dispatch/wsgi.pyo
-${PYSITELIB}/httpx/exceptions.py
-${PYSITELIB}/httpx/exceptions.pyc
-${PYSITELIB}/httpx/exceptions.pyo
-${PYSITELIB}/httpx/models.py
-${PYSITELIB}/httpx/models.pyc
-${PYSITELIB}/httpx/models.pyo
+${PYSITELIB}/httpx/_api.py
+${PYSITELIB}/httpx/_api.pyc
+${PYSITELIB}/httpx/_api.pyo
+${PYSITELIB}/httpx/_auth.py
+${PYSITELIB}/httpx/_auth.pyc
+${PYSITELIB}/httpx/_auth.pyo
+${PYSITELIB}/httpx/_backends/__init__.py
+${PYSITELIB}/httpx/_backends/__init__.pyc
+${PYSITELIB}/httpx/_backends/__init__.pyo
+${PYSITELIB}/httpx/_backends/asyncio.py
+${PYSITELIB}/httpx/_backends/asyncio.pyc
+${PYSITELIB}/httpx/_backends/asyncio.pyo
+${PYSITELIB}/httpx/_backends/auto.py
+${PYSITELIB}/httpx/_backends/auto.pyc
+${PYSITELIB}/httpx/_backends/auto.pyo
+${PYSITELIB}/httpx/_backends/base.py
+${PYSITELIB}/httpx/_backends/base.pyc
+${PYSITELIB}/httpx/_backends/base.pyo
+${PYSITELIB}/httpx/_backends/trio.py
+${PYSITELIB}/httpx/_backends/trio.pyc
+${PYSITELIB}/httpx/_backends/trio.pyo
+${PYSITELIB}/httpx/_client.py
+${PYSITELIB}/httpx/_client.pyc
+${PYSITELIB}/httpx/_client.pyo
+${PYSITELIB}/httpx/_config.py
+${PYSITELIB}/httpx/_config.pyc
+${PYSITELIB}/httpx/_config.pyo
+${PYSITELIB}/httpx/_content_streams.py
+${PYSITELIB}/httpx/_content_streams.pyc
+${PYSITELIB}/httpx/_content_streams.pyo
+${PYSITELIB}/httpx/_decoders.py
+${PYSITELIB}/httpx/_decoders.pyc
+${PYSITELIB}/httpx/_decoders.pyo
+${PYSITELIB}/httpx/_dispatch/__init__.py
+${PYSITELIB}/httpx/_dispatch/__init__.pyc
+${PYSITELIB}/httpx/_dispatch/__init__.pyo
+${PYSITELIB}/httpx/_dispatch/asgi.py
+${PYSITELIB}/httpx/_dispatch/asgi.pyc
+${PYSITELIB}/httpx/_dispatch/asgi.pyo
+${PYSITELIB}/httpx/_dispatch/base.py
+${PYSITELIB}/httpx/_dispatch/base.pyc
+${PYSITELIB}/httpx/_dispatch/base.pyo
+${PYSITELIB}/httpx/_dispatch/connection.py
+${PYSITELIB}/httpx/_dispatch/connection.pyc
+${PYSITELIB}/httpx/_dispatch/connection.pyo
+${PYSITELIB}/httpx/_dispatch/connection_pool.py
+${PYSITELIB}/httpx/_dispatch/connection_pool.pyc
+${PYSITELIB}/httpx/_dispatch/connection_pool.pyo
+${PYSITELIB}/httpx/_dispatch/http11.py
+${PYSITELIB}/httpx/_dispatch/http11.pyc
+${PYSITELIB}/httpx/_dispatch/http11.pyo
+${PYSITELIB}/httpx/_dispatch/http2.py
+${PYSITELIB}/httpx/_dispatch/http2.pyc
+${PYSITELIB}/httpx/_dispatch/http2.pyo
+${PYSITELIB}/httpx/_dispatch/proxy_http.py
+${PYSITELIB}/httpx/_dispatch/proxy_http.pyc
+${PYSITELIB}/httpx/_dispatch/proxy_http.pyo
+${PYSITELIB}/httpx/_dispatch/urllib3.py
+${PYSITELIB}/httpx/_dispatch/urllib3.pyc
+${PYSITELIB}/httpx/_dispatch/urllib3.pyo
+${PYSITELIB}/httpx/_dispatch/wsgi.py
+${PYSITELIB}/httpx/_dispatch/wsgi.pyc
+${PYSITELIB}/httpx/_dispatch/wsgi.pyo
+${PYSITELIB}/httpx/_exceptions.py
+${PYSITELIB}/httpx/_exceptions.pyc
+${PYSITELIB}/httpx/_exceptions.pyo
+${PYSITELIB}/httpx/_models.py
+${PYSITELIB}/httpx/_models.pyc
+${PYSITELIB}/httpx/_models.pyo
+${PYSITELIB}/httpx/_status_codes.py
+${PYSITELIB}/httpx/_status_codes.pyc
+${PYSITELIB}/httpx/_status_codes.pyo
+${PYSITELIB}/httpx/_utils.py
+${PYSITELIB}/httpx/_utils.pyc
+${PYSITELIB}/httpx/_utils.pyo
${PYSITELIB}/httpx/py.typed
-${PYSITELIB}/httpx/status_codes.py
-${PYSITELIB}/httpx/status_codes.pyc
-${PYSITELIB}/httpx/status_codes.pyo
-${PYSITELIB}/httpx/utils.py
-${PYSITELIB}/httpx/utils.pyc
-${PYSITELIB}/httpx/utils.pyo
diff --git a/www/py-httpx/distinfo b/www/py-httpx/distinfo
index fa0cd08f742..5709ebf53aa 100644
--- a/www/py-httpx/distinfo
+++ b/www/py-httpx/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2020/01/20 11:50:48 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/03/10 07:36:16 adam Exp $
-SHA1 (httpx-0.11.1.tar.gz) = aa7d54c352ebb23dc10dbdbf15ad8ee436df4d83
-RMD160 (httpx-0.11.1.tar.gz) = a2b5ab6924be519e1fd80458785ddfd51871eb4b
-SHA512 (httpx-0.11.1.tar.gz) = 0203d348739b450fec1f386778136f8591d0177f58eff68d3887348f1e379bfd7da98b87a80b195d023ce17e1442989a52765704be18088166593211a23b84ad
-Size (httpx-0.11.1.tar.gz) = 65974 bytes
+SHA1 (httpx-0.12.0.tar.gz) = a7d44c921af98155c8b8df910db45880396d436d
+RMD160 (httpx-0.12.0.tar.gz) = 741eff915b23710f53e1efce0ef89577fd88a6e6
+SHA512 (httpx-0.12.0.tar.gz) = 2d9f7229b5c7cd9273cf87fa44c24fbb0fb1b4f1e02c73589371cceed313094d96b94223b6dffee6b36ce3ef3e9bc5be82a7abb385473288f212b90ce1ff21ea
+Size (httpx-0.12.0.tar.gz) = 67047 bytes