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.12.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd67df01be81
branches: trunk
changeset: 424357:bd67df01be81
user: adam <adam%pkgsrc.org@localhost>
date: Tue Mar 10 07:36:16 2020 +0000
description:
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:
www/py-httpx/Makefile | 4 +-
www/py-httpx/PLIST | 152 +++++++++++++++++++++++++-------------------------
www/py-httpx/distinfo | 10 +-
3 files changed, 83 insertions(+), 83 deletions(-)
diffs (191 lines):
diff -r c5b2e2c4467e -r bd67df01be81 www/py-httpx/Makefile
--- a/www/py-httpx/Makefile Tue Mar 10 07:35:09 2020 +0000
+++ b/www/py-httpx/Makefile Tue Mar 10 07:36:16 2020 +0000
@@ -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 -r c5b2e2c4467e -r bd67df01be81 www/py-httpx/PLIST
--- a/www/py-httpx/PLIST Tue Mar 10 07:35:09 2020 +0000
+++ b/www/py-httpx/PLIST Tue Mar 10 07:36:16 2020 +0000
@@ -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/__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 -r c5b2e2c4467e -r bd67df01be81 www/py-httpx/distinfo
--- a/www/py-httpx/distinfo Tue Mar 10 07:35:09 2020 +0000
+++ b/www/py-httpx/distinfo Tue Mar 10 07:36:16 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index