pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-h2
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jul 27 15:00:12 UTC 2026
Modified Files:
pkgsrc/www/py-h2: Makefile PLIST distinfo
Log Message:
py-h2: update to 4.4.0.
4.4.0 (2026-07-23)
------------------
**API Changes (Backward Incompatible)**
- Support for Python 3.9 has been removed.
- Support for PyPy 3.9 has been removed.
- `Stream.end_stream()` now raises `NoSuchStreamError` or `StreamClosedError` exceptions, instead of a generic `KeyError`.
- Duplicate ``content-length`` headers with different values now raise ``ProtocolError``.
Previously, the first ``content-length`` header was accepted and later conflicting values were ignored.
- Parse ``content-length`` headers according to RFC9110 grammar for numbers (1*DIGIT)
- **backfill from v4.3.0** Convert emitted events into Python `dataclass`, which introduces new constructors with required arguments.
Instantiating these events without arguments, as previously commonly used API pattern, will no longer work.
**API Changes (Backward Compatible)**
- Support for Python 3.14 has been added.
- ``H2Connection.receive_data`` now accepts any byte-like object that
implements the buffer protocol, such as ``bytes``, ``bytearray``, and
``memoryview``. Existing ``bytes`` callers are unaffected.
- Align CONNECT pseudo-header validation with RFC 9113 s8.3 and RFC 8441 s4.
Ordinary CONNECT now requires ``:method=CONNECT`` and ``:authority``, and
forbids ``:scheme``/``:path``. Extended CONNECT (e.g., WebSocket) requires
``:scheme``, ``:path``, ``:authority`` plus ``:protocol``. (PR #1309)
- Fix incorrect substring matching of secure header in ``cookie`` and ``:method``.
**Bugfixes**
- Fix to allow sending 0 bytes on a stream even if the flow control window is negative.
- Reject non-zero ``SETTINGS_ENABLE_PUSH`` values received from servers.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/py-h2/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-h2/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-h2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-h2/Makefile
diff -u pkgsrc/www/py-h2/Makefile:1.14 pkgsrc/www/py-h2/Makefile:1.15
--- pkgsrc/www/py-h2/Makefile:1.14 Sun Aug 24 16:08:36 2025
+++ pkgsrc/www/py-h2/Makefile Mon Jul 27 15:00:12 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2025/08/24 16:08:36 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2026/07/27 15:00:12 wiz Exp $
-DISTNAME= h2-4.3.0
+DISTNAME= h2-4.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/h2/}
Index: pkgsrc/www/py-h2/PLIST
diff -u pkgsrc/www/py-h2/PLIST:1.4 pkgsrc/www/py-h2/PLIST:1.5
--- pkgsrc/www/py-h2/PLIST:1.4 Sun Apr 13 16:10:24 2025
+++ pkgsrc/www/py-h2/PLIST Mon Jul 27 15:00:12 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/13 16:10:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/07/27 15:00:12 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -7,6 +7,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
${PYSITELIB}/h2/__init__.py
${PYSITELIB}/h2/__init__.pyc
${PYSITELIB}/h2/__init__.pyo
+${PYSITELIB}/h2/_typing.py
+${PYSITELIB}/h2/_typing.pyc
+${PYSITELIB}/h2/_typing.pyo
${PYSITELIB}/h2/config.py
${PYSITELIB}/h2/config.pyc
${PYSITELIB}/h2/config.pyo
Index: pkgsrc/www/py-h2/distinfo
diff -u pkgsrc/www/py-h2/distinfo:1.12 pkgsrc/www/py-h2/distinfo:1.13
--- pkgsrc/www/py-h2/distinfo:1.12 Sun Aug 24 16:08:36 2025
+++ pkgsrc/www/py-h2/distinfo Mon Jul 27 15:00:12 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2025/08/24 16:08:36 wiz Exp $
+$NetBSD: distinfo,v 1.13 2026/07/27 15:00:12 wiz Exp $
-BLAKE2s (h2-4.3.0.tar.gz) = a7a4cbc696f5b7ce994fdc487a9db3faab00b45d8c33cf7f4182dec165788dd8
-SHA512 (h2-4.3.0.tar.gz) = f4a09644dec595a0a2280db2bdcdc26e22fc05a1853a0692e4c208c77cf7f9fe5ac2f185f31617ecb43d6afd6d0e24d8ce649ce38720744f6a30ca60dd3b9a49
-Size (h2-4.3.0.tar.gz) = 2152026 bytes
+BLAKE2s (h2-4.4.0.tar.gz) = 385b335c026e47fe1cbffc1819be45a1b2394b3374435bad8d6a9d1708bd48d9
+SHA512 (h2-4.4.0.tar.gz) = 59660c376d7de38da6ee577c201d66ea0c739ce25df6435cf0bc8429524e42f5c7005cef2133a9b591ed4ffa41647f30a4b2f359f94b4280a0c6327596a9fb2f
+Size (h2-4.4.0.tar.gz) = 2156691 bytes
Home |
Main Index |
Thread Index |
Old Index