pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-httpcore py-httpcore: updated to 0.14.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/85106ec317b6
branches: trunk
changeset: 769455:85106ec317b6
user: adam <adam%pkgsrc.org@localhost>
date: Mon Nov 15 17:41:18 2021 +0000
description:
py-httpcore: updated to 0.14.1
0.14.1 (November 12th, 2021)
max_connections becomes optional.
certifi is now included in the install dependancies.
h2 is now strictly optional.
0.14.0 (November 11th, 2021)
The 0.14 release is a complete reworking of httpcore, comprehensively addressing some underlying issues in the connection pooling, as well as substantially redesigning the API to be more user
friendly.
Some of the lower-level API design also makes the components more easily testable in isolation, and the package now has 100% test coverage.
There's some other neat bits in there too, such as the "trace" extension, which gives a hook into inspecting the internal events that occur during the request/response cycle. This extension is needed
for the HTTPX cli, in order to...
Log the point at which the connection is established, and the IP/port on which it is made.
Determine if the outgoing request should log as HTTP/1.1 or HTTP/2, rather than having to assume it's HTTP/2 if the --http2 flag was passed. (Which may not actually be true.)
Log SSL version info / certificate info.
Note that curio support is not currently available in 0.14.0. If you're using httpcore with curio please get in touch, so we can assess if we ought to prioritize it as a feature or not.
diffstat:
www/py-httpcore/Makefile | 7 ++-
www/py-httpcore/PLIST | 92 ++++++++++++++++++++++++------------------------
www/py-httpcore/distinfo | 8 ++--
3 files changed, 54 insertions(+), 53 deletions(-)
diffs (177 lines):
diff -r f9484bd8f916 -r 85106ec317b6 www/py-httpcore/Makefile
--- a/www/py-httpcore/Makefile Mon Nov 15 17:35:42 2021 +0000
+++ b/www/py-httpcore/Makefile Mon Nov 15 17:41:18 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2021/09/14 06:42:49 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/11/15 17:41:18 adam Exp $
-DISTNAME= httpcore-0.13.7
+DISTNAME= httpcore-0.14.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpcore/}
@@ -11,7 +11,8 @@
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-anyio>=3.0.0:../../devel/py-anyio
-DEPENDS+= ${PYPKGPREFIX}-h11>=0.8.0:../../www/py-h11
+DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
+DEPENDS+= ${PYPKGPREFIX}-h11>=0.11.0:../../www/py-h11
DEPENDS+= ${PYPKGPREFIX}-h2>=3.0:../../www/py-h2
DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.0.0:../../misc/py-sniffio
diff -r f9484bd8f916 -r 85106ec317b6 www/py-httpcore/PLIST
--- a/www/py-httpcore/PLIST Mon Nov 15 17:35:42 2021 +0000
+++ b/www/py-httpcore/PLIST Mon Nov 15 17:41:18 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/10/01 06:48:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/11/15 17:41:18 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,21 +8,18 @@
${PYSITELIB}/httpcore/__init__.py
${PYSITELIB}/httpcore/__init__.pyc
${PYSITELIB}/httpcore/__init__.pyo
+${PYSITELIB}/httpcore/_api.py
+${PYSITELIB}/httpcore/_api.pyc
+${PYSITELIB}/httpcore/_api.pyo
${PYSITELIB}/httpcore/_async/__init__.py
${PYSITELIB}/httpcore/_async/__init__.pyc
${PYSITELIB}/httpcore/_async/__init__.pyo
-${PYSITELIB}/httpcore/_async/base.py
-${PYSITELIB}/httpcore/_async/base.pyc
-${PYSITELIB}/httpcore/_async/base.pyo
${PYSITELIB}/httpcore/_async/connection.py
${PYSITELIB}/httpcore/_async/connection.pyc
${PYSITELIB}/httpcore/_async/connection.pyo
${PYSITELIB}/httpcore/_async/connection_pool.py
${PYSITELIB}/httpcore/_async/connection_pool.pyc
${PYSITELIB}/httpcore/_async/connection_pool.pyo
-${PYSITELIB}/httpcore/_async/http.py
-${PYSITELIB}/httpcore/_async/http.pyc
-${PYSITELIB}/httpcore/_async/http.pyo
${PYSITELIB}/httpcore/_async/http11.py
${PYSITELIB}/httpcore/_async/http11.pyc
${PYSITELIB}/httpcore/_async/http11.pyo
@@ -32,51 +29,30 @@
${PYSITELIB}/httpcore/_async/http_proxy.py
${PYSITELIB}/httpcore/_async/http_proxy.pyc
${PYSITELIB}/httpcore/_async/http_proxy.pyo
-${PYSITELIB}/httpcore/_backends/__init__.py
-${PYSITELIB}/httpcore/_backends/__init__.pyc
-${PYSITELIB}/httpcore/_backends/__init__.pyo
-${PYSITELIB}/httpcore/_backends/anyio.py
-${PYSITELIB}/httpcore/_backends/anyio.pyc
-${PYSITELIB}/httpcore/_backends/anyio.pyo
-${PYSITELIB}/httpcore/_backends/asyncio.py
-${PYSITELIB}/httpcore/_backends/asyncio.pyc
-${PYSITELIB}/httpcore/_backends/asyncio.pyo
-${PYSITELIB}/httpcore/_backends/auto.py
-${PYSITELIB}/httpcore/_backends/auto.pyc
-${PYSITELIB}/httpcore/_backends/auto.pyo
-${PYSITELIB}/httpcore/_backends/base.py
-${PYSITELIB}/httpcore/_backends/base.pyc
-${PYSITELIB}/httpcore/_backends/base.pyo
-${PYSITELIB}/httpcore/_backends/curio.py
-${PYSITELIB}/httpcore/_backends/curio.pyc
-${PYSITELIB}/httpcore/_backends/curio.pyo
-${PYSITELIB}/httpcore/_backends/sync.py
-${PYSITELIB}/httpcore/_backends/sync.pyc
-${PYSITELIB}/httpcore/_backends/sync.pyo
-${PYSITELIB}/httpcore/_backends/trio.py
-${PYSITELIB}/httpcore/_backends/trio.pyc
-${PYSITELIB}/httpcore/_backends/trio.pyo
-${PYSITELIB}/httpcore/_bytestreams.py
-${PYSITELIB}/httpcore/_bytestreams.pyc
-${PYSITELIB}/httpcore/_bytestreams.pyo
+${PYSITELIB}/httpcore/_async/interfaces.py
+${PYSITELIB}/httpcore/_async/interfaces.pyc
+${PYSITELIB}/httpcore/_async/interfaces.pyo
+${PYSITELIB}/httpcore/_compat.py
+${PYSITELIB}/httpcore/_compat.pyc
+${PYSITELIB}/httpcore/_compat.pyo
${PYSITELIB}/httpcore/_exceptions.py
${PYSITELIB}/httpcore/_exceptions.pyc
${PYSITELIB}/httpcore/_exceptions.pyo
+${PYSITELIB}/httpcore/_models.py
+${PYSITELIB}/httpcore/_models.pyc
+${PYSITELIB}/httpcore/_models.pyo
+${PYSITELIB}/httpcore/_ssl.py
+${PYSITELIB}/httpcore/_ssl.pyc
+${PYSITELIB}/httpcore/_ssl.pyo
${PYSITELIB}/httpcore/_sync/__init__.py
${PYSITELIB}/httpcore/_sync/__init__.pyc
${PYSITELIB}/httpcore/_sync/__init__.pyo
-${PYSITELIB}/httpcore/_sync/base.py
-${PYSITELIB}/httpcore/_sync/base.pyc
-${PYSITELIB}/httpcore/_sync/base.pyo
${PYSITELIB}/httpcore/_sync/connection.py
${PYSITELIB}/httpcore/_sync/connection.pyc
${PYSITELIB}/httpcore/_sync/connection.pyo
${PYSITELIB}/httpcore/_sync/connection_pool.py
${PYSITELIB}/httpcore/_sync/connection_pool.pyc
${PYSITELIB}/httpcore/_sync/connection_pool.pyo
-${PYSITELIB}/httpcore/_sync/http.py
-${PYSITELIB}/httpcore/_sync/http.pyc
-${PYSITELIB}/httpcore/_sync/http.pyo
${PYSITELIB}/httpcore/_sync/http11.py
${PYSITELIB}/httpcore/_sync/http11.pyc
${PYSITELIB}/httpcore/_sync/http11.pyo
@@ -86,13 +62,37 @@
${PYSITELIB}/httpcore/_sync/http_proxy.py
${PYSITELIB}/httpcore/_sync/http_proxy.pyc
${PYSITELIB}/httpcore/_sync/http_proxy.pyo
-${PYSITELIB}/httpcore/_threadlock.py
-${PYSITELIB}/httpcore/_threadlock.pyc
-${PYSITELIB}/httpcore/_threadlock.pyo
-${PYSITELIB}/httpcore/_types.py
-${PYSITELIB}/httpcore/_types.pyc
-${PYSITELIB}/httpcore/_types.pyo
+${PYSITELIB}/httpcore/_sync/interfaces.py
+${PYSITELIB}/httpcore/_sync/interfaces.pyc
+${PYSITELIB}/httpcore/_sync/interfaces.pyo
+${PYSITELIB}/httpcore/_synchronization.py
+${PYSITELIB}/httpcore/_synchronization.pyc
+${PYSITELIB}/httpcore/_synchronization.pyo
+${PYSITELIB}/httpcore/_trace.py
+${PYSITELIB}/httpcore/_trace.pyc
+${PYSITELIB}/httpcore/_trace.pyo
${PYSITELIB}/httpcore/_utils.py
${PYSITELIB}/httpcore/_utils.pyc
${PYSITELIB}/httpcore/_utils.pyo
+${PYSITELIB}/httpcore/backends/__init__.py
+${PYSITELIB}/httpcore/backends/__init__.pyc
+${PYSITELIB}/httpcore/backends/__init__.pyo
+${PYSITELIB}/httpcore/backends/asyncio.py
+${PYSITELIB}/httpcore/backends/asyncio.pyc
+${PYSITELIB}/httpcore/backends/asyncio.pyo
+${PYSITELIB}/httpcore/backends/auto.py
+${PYSITELIB}/httpcore/backends/auto.pyc
+${PYSITELIB}/httpcore/backends/auto.pyo
+${PYSITELIB}/httpcore/backends/base.py
+${PYSITELIB}/httpcore/backends/base.pyc
+${PYSITELIB}/httpcore/backends/base.pyo
+${PYSITELIB}/httpcore/backends/mock.py
+${PYSITELIB}/httpcore/backends/mock.pyc
+${PYSITELIB}/httpcore/backends/mock.pyo
+${PYSITELIB}/httpcore/backends/sync.py
+${PYSITELIB}/httpcore/backends/sync.pyc
+${PYSITELIB}/httpcore/backends/sync.pyo
+${PYSITELIB}/httpcore/backends/trio.py
+${PYSITELIB}/httpcore/backends/trio.pyc
+${PYSITELIB}/httpcore/backends/trio.pyo
${PYSITELIB}/httpcore/py.typed
diff -r f9484bd8f916 -r 85106ec317b6 www/py-httpcore/distinfo
--- a/www/py-httpcore/distinfo Mon Nov 15 17:35:42 2021 +0000
+++ b/www/py-httpcore/distinfo Mon Nov 15 17:41:18 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:30:42 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/11/15 17:41:18 adam Exp $
-BLAKE2s (httpcore-0.13.7.tar.gz) = 25d5bcabb5413986384d5b1c2f94a3fa56250e20e9af097dae7f89eba12765f7
-SHA512 (httpcore-0.13.7.tar.gz) = 4ac6a9c653c2ec88846c2a37c829f4325296945500180d03e394ba888b3476245179c12fc121e83beb0b7cb5d6aa1fda14b4750499ba53cea8a4d656fb640923
-Size (httpcore-0.13.7.tar.gz) = 45262 bytes
+BLAKE2s (httpcore-0.14.1.tar.gz) = cde66ab0c855a578628bbe69148dca18671257d117a447522fb929be79c9cf9f
+SHA512 (httpcore-0.14.1.tar.gz) = 4f459e6c4bd3e38212a6d91c9c11d21c2f9a84c720a64c323ecbca60e1b988e7fbe130f0f835d21507856bb46ee374fc3cd33c5a9f80e6d8acc8229ddca9ed2d
+Size (httpcore-0.14.1.tar.gz) = 45522 bytes
Home |
Main Index |
Thread Index |
Old Index