Mon Nov 15 17:41:51 2021 UTC ()
py-httpx: updated to 0.21.0

0.21.0 (15th November, 2021)

The 0.21.0 release integrates against a newly redesigned httpcore backend.

Both packages ought to automatically update to the required versions, but if you are seeing any issues, you should ensure that you have httpx==0.21.* and httpcore==0.14.* installed.

Added

The command-line client will now display connection information when -v/--verbose is used.
The command-line client will now display server certificate information when -v/--verbose is used.
The command-line client is now able to properly detect if the outgoing request should be formatted as HTTP/1.1 or HTTP/2, based on the result of the HTTP/2 negotiation.

Removed

Curio support is no longer currently included. Please get in touch if you require this, so that we can assess priorities.


(adam)
diff -r1.15 -r1.16 pkgsrc/www/py-httpx/Makefile
diff -r1.17 -r1.18 pkgsrc/www/py-httpx/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/www/py-httpx/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-httpx/Makefile 2021/10/21 13:16:15 1.15
+++ pkgsrc/www/py-httpx/Makefile 2021/11/15 17:41:51 1.16
@@ -1,28 +1,28 @@ @@ -1,28 +1,28 @@
1# $NetBSD: Makefile,v 1.15 2021/10/21 13:16:15 adam Exp $ 1# $NetBSD: Makefile,v 1.16 2021/11/15 17:41:51 adam Exp $
2 2
3DISTNAME= httpx-0.20.0 3DISTNAME= httpx-0.21.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/encode/httpx 9HOMEPAGE= https://github.com/encode/httpx
10COMMENT= The next generation HTTP client 10COMMENT= The next generation HTTP client
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi 13DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
14DEPENDS+= ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer 14DEPENDS+= ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer
15DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.13.3:../../www/py-httpcore 15DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.14.0:../../www/py-httpcore
16DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986 16DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986
17DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio 17DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
18 18
19USE_LANGUAGES= # none 19USE_LANGUAGES= # none
20 20
21PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-httpcore, py-anyio, py-uvloop 21PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-httpcore, py-anyio, py-uvloop
22 22
23post-install: 23post-install:
24 cd ${DESTDIR}${PREFIX}/bin && \ 24 cd ${DESTDIR}${PREFIX}/bin && \
25 ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE} 25 ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE}
26 26
27.include "../../lang/python/egg.mk" 27.include "../../lang/python/egg.mk"
28.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.17 -r1.18 pkgsrc/www/py-httpx/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-httpx/distinfo 2021/10/26 11:30:42 1.17
+++ pkgsrc/www/py-httpx/distinfo 2021/11/15 17:41:51 1.18
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.17 2021/10/26 11:30:42 nia Exp $ 1$NetBSD: distinfo,v 1.18 2021/11/15 17:41:51 adam Exp $
2 2
3BLAKE2s (httpx-0.20.0.tar.gz) = 404eba4b066ed161faae9d44672fba41c98103f418c9f325c12f7d388ca18ea4 3BLAKE2s (httpx-0.21.0.tar.gz) = b47de3bf60ef1cb769e722fb6a1a29e1e76d5ada23320ac849b8b53d70ff32c0
4SHA512 (httpx-0.20.0.tar.gz) = 8f05df5c7e8f5e21ee68d00c32da29e258575f7af3963da4e4fd37548e2bbdc5a5e821ea32f63479035e81ba0946987f7e4ab6bf78f68555a5a2f731e51226e1 4SHA512 (httpx-0.21.0.tar.gz) = 6b637502bb688050097a18d9286ffeb1854ddc30169cc99e0e190aa3ec24e0b9cf9ecfdabcf8f2c5f41cd8a1633d1e1f0ab50a2e131a5c2914263d86502c7b98
5Size (httpx-0.20.0.tar.gz) = 104549 bytes 5Size (httpx-0.21.0.tar.gz) = 105075 bytes