Subject: CVS commit: pkgsrc/www/py-httpx
From: Adam Ciarcinski
Date: 2020-03-10 08:36:17
Message id: 20200310073617.27D54FB27@cvs.NetBSD.org

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

Files:
RevisionActionfile
1.4modifypkgsrc/www/py-httpx/Makefile
1.3modifypkgsrc/www/py-httpx/PLIST
1.4modifypkgsrc/www/py-httpx/distinfo