pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-aioquic



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Nov 13 05:15:10 UTC 2026

Modified Files:
        pkgsrc/www/py-aioquic: Makefile PLIST distinfo

Log Message:
py-aioquic: updated to 1.8.0

1.8.0

* Remove HTTP/3 server push, which saw almost no deployment. Clients no
  longer send MAX_PUSH_ID, so servers cannot push, and either endpoint now
  closes the connection with ``H3_ID_ERROR`` on a CANCEL_PUSH frame, as
  :rfc:`9114` requires when no push was allowed. The ``push_id`` field of
  :class:`~aioquic.h3.events.HeadersReceived` and
  :class:`~aioquic.h3.events.DataReceived` is gone. For compatibility,
  ``H3Connection.send_push_promise()`` is kept as a deprecated stub which
  always raises ``NoAvailablePushIDError``, and ``PushPromiseReceived`` is
  never emitted. They will be removed in a future release.
* Make :class:`~aioquic.quic.connection.QuicConnection` raise exceptions
  derived from :class:`~aioquic.quic.exceptions.QuicError`, such as
  :class:`~aioquic.quic.exceptions.OutOfRangeError` or
  :class:`~aioquic.quic.exceptions.StreamStateError`. Code which catches
  :class:`ValueError` or :class:`RuntimeError` around its methods should
  catch :class:`~aioquic.quic.exceptions.QuicError` instead.
* Make :class:`~aioquic.h3.connection.H3Connection` raise exceptions derived
  from :class:`~aioquic.h3.exceptions.H3Error`, such as
  :class:`~aioquic.h3.exceptions.InvalidStreamIdError`,
  :class:`~aioquic.h3.exceptions.InvalidStreamStateError` or
  :class:`~aioquic.h3.exceptions.InvalidStreamTypeError`, before any state
  changes. Code which catches :class:`ValueError` or :class:`RuntimeError`
  around its methods must catch :class:`~aioquic.h3.exceptions.H3Error`
  instead.
* Report the negotiated cipher suite and the peer's certificates in
  :class:`~aioquic.quic.events.HandshakeCompleted`.
* Only accept keyword arguments in
  :class:`~aioquic.quic.configuration.QuicConfiguration`.
* Document :class:`~aioquic.tls.CipherSuite` and
  :attr:`~aioquic.quic.configuration.QuicConfiguration.cipher_suites`.
  Cipher suites now have their IANA names, such as
  ``TLS_AES_128_GCM_SHA256``. The old names remain as aliases, which will be
  removed in a future release.
* Mark WebTransport support as experimental, as its specification is still a
  draft. Passing ``enable_webtransport`` to
  :class:`~aioquic.h3.connection.H3Connection` positionally is deprecated.
* Fix WebTransport stream handling:

  * Release bidirectional WebTransport streams once the peer's half ends,
    instead of keeping them until the connection closes.
  * Read the reply on a bidirectional WebTransport stream we opened as
    WebTransport data, instead of parsing it as HTTP/3 frames.
  * Only accept the WebTransport signal value as the first bytes of a request
    stream, as later drafts require, and close the connection with
    ``H3_FRAME_ERROR`` otherwise.
  * Treat WebTransport signals and streams as unknown when WebTransport is
    not enabled, and raise
    :class:`~aioquic.h3.exceptions.InvalidStreamTypeError` from
    :meth:`~aioquic.h3.connection.H3Connection.create_webtransport_stream`.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-aioquic/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-aioquic/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-aioquic/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-aioquic/Makefile
diff -u pkgsrc/www/py-aioquic/Makefile:1.12 pkgsrc/www/py-aioquic/Makefile:1.13
--- pkgsrc/www/py-aioquic/Makefile:1.12 Tue Nov 10 13:06:06 2026
+++ pkgsrc/www/py-aioquic/Makefile      Fri Nov 13 05:15:09 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2026/11/10 13:06:06 adam Exp $
+# $NetBSD: Makefile,v 1.13 2026/11/13 05:15:09 adam Exp $
 
-DISTNAME=      aioquic-1.7.2
+DISTNAME=      aioquic-1.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aioquic/}
@@ -14,7 +14,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=24:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-certifi>=0:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=43.0.0:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-pylsqpack>=1.0.0:../../www/py-pylsqpack
+DEPENDS+=      ${PYPKGPREFIX}-pylsqpack>=1.1.1:../../www/py-pylsqpack
 DEPENDS+=      ${PYPKGPREFIX}-service_identity>=24.1.0:../../security/py-service_identity
 
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/www/py-aioquic/PLIST
diff -u pkgsrc/www/py-aioquic/PLIST:1.5 pkgsrc/www/py-aioquic/PLIST:1.6
--- pkgsrc/www/py-aioquic/PLIST:1.5     Wed Oct 28 07:15:58 2026
+++ pkgsrc/www/py-aioquic/PLIST Fri Nov 13 05:15:09 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2026/10/28 07:15:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/11/13 05:15:09 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -13,6 +13,9 @@ ${PYSITELIB}/aioquic/_buffer.so
 ${PYSITELIB}/aioquic/_crypto.py
 ${PYSITELIB}/aioquic/_crypto.pyc
 ${PYSITELIB}/aioquic/_crypto.pyo
+${PYSITELIB}/aioquic/_deprecations.py
+${PYSITELIB}/aioquic/_deprecations.pyc
+${PYSITELIB}/aioquic/_deprecations.pyo
 ${PYSITELIB}/aioquic/asyncio/__init__.py
 ${PYSITELIB}/aioquic/asyncio/__init__.pyc
 ${PYSITELIB}/aioquic/asyncio/__init__.pyo
@@ -74,6 +77,9 @@ ${PYSITELIB}/aioquic/quic/crypto.pyo
 ${PYSITELIB}/aioquic/quic/events.py
 ${PYSITELIB}/aioquic/quic/events.pyc
 ${PYSITELIB}/aioquic/quic/events.pyo
+${PYSITELIB}/aioquic/quic/exceptions.py
+${PYSITELIB}/aioquic/quic/exceptions.pyc
+${PYSITELIB}/aioquic/quic/exceptions.pyo
 ${PYSITELIB}/aioquic/quic/logger.py
 ${PYSITELIB}/aioquic/quic/logger.pyc
 ${PYSITELIB}/aioquic/quic/logger.pyo

Index: pkgsrc/www/py-aioquic/distinfo
diff -u pkgsrc/www/py-aioquic/distinfo:1.8 pkgsrc/www/py-aioquic/distinfo:1.9
--- pkgsrc/www/py-aioquic/distinfo:1.8  Tue Nov 10 13:06:06 2026
+++ pkgsrc/www/py-aioquic/distinfo      Fri Nov 13 05:15:09 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2026/11/10 13:06:06 adam Exp $
+$NetBSD: distinfo,v 1.9 2026/11/13 05:15:09 adam Exp $
 
-BLAKE2s (aioquic-1.7.2.tar.gz) = 91000134180402f1c4c59d967cdd61bc95111cf209765d6a9f35693e3412d7a9
-SHA512 (aioquic-1.7.2.tar.gz) = 887e2f96c1f7806415777cfac0832015773eb20c622d8fa7f8f67d9d0825bf1c450a06eba58d8b1485bda0390623918a286f7643bf5676a66fe44ad6db1b3821
-Size (aioquic-1.7.2.tar.gz) = 232069 bytes
+BLAKE2s (aioquic-1.8.0.tar.gz) = 3263d3cc5191d05189d810e4dd923eac590ef4f38d8de26cd6d49cb58afe4257
+SHA512 (aioquic-1.8.0.tar.gz) = 531589728befb9f19bdd36c305acf7aca27b2e6b8f7b52b7f74719ee44b143186eab58ff1cf2e6e2d4b96ccfaebc50db0b3e04a9bd5ab92a5d28185e3bfa57eb
+Size (aioquic-1.8.0.tar.gz) = 252834 bytes



Home | Main Index | Thread Index | Old Index