pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-geventhttpclient
Module Name: pkgsrc
Committed By: adam
Date: Mon Oct 19 15:55:15 UTC 2026
Modified Files:
pkgsrc/net/py-geventhttpclient: Makefile PLIST distinfo
Log Message:
py-geventhttpclient: updated to 2.6.1
2.6.1 (2026-10-09)
Added
- Python 3.15 is supported explicitly
2.6.0 (2026-10-05)
Added
- Type annotations across the package, with a `py.typed` marker
- Basic auth added: `BasicAuth("user", "pass")`, or the `requests`-style
`("user", "pass")` tuple, on a `Session` or a single request
- `geventhttpclient.httpx`, an httpx-compatible client on the same engine
- Requests compatibility improved: `history`, `elapsed`, `cookies`,
`links`, `encoding`, `iter_content()`, `iter_lines()`, `json()`,
`bool()`, `close()` and `raise_for_status` with the response attached
- `insecure` on `UserAgent`, for TLS targets without a verified chain
- `CompatRequest` derives from `urllib.request.Request`, so cookie jars
work without workarounds
Changed
- Header field names and values are `str` instead of `bytes`
- Multi-value headers send one field line per element (RFC 9110)
- Redirect resolution follows RFC 3986; other schemes raise
`UnsupportedRedirectSchemeError`
- Retries after a transmission error are limited to idempotent methods
- Empty bodies on POST, PUT and PATCH send `Content-Length: 0`
- `check_hostname`, `cert_file` and `key_file` are deprecated in favour of
a custom SSL context; `check_hostname` now defaults to `True`
- Require `gevent>=25.9`
Fixed
- The request head is validated and encoded as latin-1, like
`http.client`, instead of allowing header smuggling
- `requests` and `urllib3` work again through the `httplib` shim
- Error statuses and redirects come through the httplib2 wrapper
- 307/308 redirects resend the body, and `Authorization` is dropped when
a redirect leaves the origin
- `URL.redirect` keeps the base path and query
- Requests retain semicolon path parameters, including after redirects
- `follow_redirects=False` is honoured by the `httpx.Client` shortcuts
Removed
- `Headers.iteroriginal()` and `Headers.iget()`; use `items()` and
`getlist()`
- The unmaintained `oauth2` extra
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/py-geventhttpclient/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-geventhttpclient/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/py-geventhttpclient/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-geventhttpclient/Makefile
diff -u pkgsrc/net/py-geventhttpclient/Makefile:1.22 pkgsrc/net/py-geventhttpclient/Makefile:1.23
--- pkgsrc/net/py-geventhttpclient/Makefile:1.22 Fri Oct 16 19:44:08 2026
+++ pkgsrc/net/py-geventhttpclient/Makefile Mon Oct 19 15:55:15 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2026/10/16 19:44:08 adam Exp $
+# $NetBSD: Makefile,v 1.23 2026/10/19 15:55:15 adam Exp $
-DISTNAME= geventhttpclient-2.3.9
+DISTNAME= geventhttpclient-2.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/geventhttpclient/}
@@ -11,11 +11,14 @@ COMMENT= HTTP client library for gevent
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+= ${PYPKGPREFIX}-brotli-[0-9]*:../../archivers/py-brotli
-DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
-DEPENDS+= ${PYPKGPREFIX}-gevent>=0.13:../../net/py-gevent
-DEPENDS+= ${PYPKGPREFIX}-urllib3-[0-9]*:../../www/py-urllib3
-TEST_DEPENDS+= ${PYPKGPREFIX}-dpkt-[0-9]*:../../net/py-dpkt
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=8:../../devel/py-setuptools_scm
+DEPENDS+= ${PYPKGPREFIX}-brotli>=0:../../archivers/py-brotli
+DEPENDS+= ${PYPKGPREFIX}-certifi>=0:../../security/py-certifi
+DEPENDS+= ${PYPKGPREFIX}-gevent>=25.9:../../net/py-gevent
+TEST_DEPENDS+= ${PYPKGPREFIX}-dpkt>=0:../../net/py-dpkt
+TEST_DEPENDS+= ${PYPKGPREFIX}-httplib2>=0:../../www/py-httplib2
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-rerunfailures>=0:../../devel/py-test-rerunfailures
PYTHON_VERSIONS_INCOMPATIBLE= 311
Index: pkgsrc/net/py-geventhttpclient/PLIST
diff -u pkgsrc/net/py-geventhttpclient/PLIST:1.5 pkgsrc/net/py-geventhttpclient/PLIST:1.6
--- pkgsrc/net/py-geventhttpclient/PLIST:1.5 Tue Apr 15 05:38:03 2025
+++ pkgsrc/net/py-geventhttpclient/PLIST Mon Oct 19 15:55:15 2026
@@ -1,16 +1,24 @@
-@comment $NetBSD: PLIST,v 1.5 2025/04/15 05:38:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/10/19 15:55:15 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE-MIT
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/llhttp/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/geventhttpclient/__init__.py
${PYSITELIB}/geventhttpclient/__init__.pyc
${PYSITELIB}/geventhttpclient/__init__.pyo
+${PYSITELIB}/geventhttpclient/_parser.pyi
${PYSITELIB}/geventhttpclient/_parser.so
+${PYSITELIB}/geventhttpclient/_version.py
+${PYSITELIB}/geventhttpclient/_version.pyc
+${PYSITELIB}/geventhttpclient/_version.pyo
${PYSITELIB}/geventhttpclient/api.py
${PYSITELIB}/geventhttpclient/api.pyc
${PYSITELIB}/geventhttpclient/api.pyo
+${PYSITELIB}/geventhttpclient/auth.py
+${PYSITELIB}/geventhttpclient/auth.pyc
+${PYSITELIB}/geventhttpclient/auth.pyo
${PYSITELIB}/geventhttpclient/client.py
${PYSITELIB}/geventhttpclient/client.pyc
${PYSITELIB}/geventhttpclient/client.pyo
@@ -26,6 +34,10 @@ ${PYSITELIB}/geventhttpclient/httplib.py
${PYSITELIB}/geventhttpclient/httplib2.py
${PYSITELIB}/geventhttpclient/httplib2.pyc
${PYSITELIB}/geventhttpclient/httplib2.pyo
+${PYSITELIB}/geventhttpclient/httpx.py
+${PYSITELIB}/geventhttpclient/httpx.pyc
+${PYSITELIB}/geventhttpclient/httpx.pyo
+${PYSITELIB}/geventhttpclient/py.typed
${PYSITELIB}/geventhttpclient/requests.py
${PYSITELIB}/geventhttpclient/requests.pyc
${PYSITELIB}/geventhttpclient/requests.pyo
Index: pkgsrc/net/py-geventhttpclient/distinfo
diff -u pkgsrc/net/py-geventhttpclient/distinfo:1.16 pkgsrc/net/py-geventhttpclient/distinfo:1.17
--- pkgsrc/net/py-geventhttpclient/distinfo:1.16 Thu Jul 2 07:55:19 2026
+++ pkgsrc/net/py-geventhttpclient/distinfo Mon Oct 19 15:55:15 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2026/07/02 07:55:19 adam Exp $
+$NetBSD: distinfo,v 1.17 2026/10/19 15:55:15 adam Exp $
-BLAKE2s (geventhttpclient-2.3.9.tar.gz) = 6190989e76b869eef761ba4dc750961a48c9cc6d5ef05a73812e9d7c772eaf52
-SHA512 (geventhttpclient-2.3.9.tar.gz) = 0c95120323f481447a07c1311393efdbe4e20e0308e029f068725304cc0403524960b1f10c32650360d56f592723cceb19667fe1436d5978ae1dd646cad1179d
-Size (geventhttpclient-2.3.9.tar.gz) = 84353 bytes
+BLAKE2s (geventhttpclient-2.6.1.tar.gz) = 19b4673fa94b40d2deeb14e809f063efe8435c9a8067a3b36e3c4c279505fb33
+SHA512 (geventhttpclient-2.6.1.tar.gz) = 4b865ef53892909e8317283834517f980998c713e42ae0e8442d1ec12422ce93d59061f7156d25d8ba8f9e6547a1b81a32aaa33d837b13464968e6ed5f90115a
+Size (geventhttpclient-2.6.1.tar.gz) = 220365 bytes
Home |
Main Index |
Thread Index |
Old Index