pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-hyperframe py-hyperframe: updated to 6.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3256b49d93fc
branches:  trunk
changeset: 440170:3256b49d93fc
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 03 18:10:19 2020 +0000

description:
py-hyperframe: updated to 6.0.0

6.0.0:

API Changes (Backward-incompatible)
Introduce HyperframeError base exception class for all errors raised within hyperframe.
Change exception base class of UnknownFrameError to HyperframeError
Change exception base class of InvalidPaddingError to HyperframeError
Change exception base class of InvalidFrameError to HyperframeError
Invalid frames with wrong stream id (zero vs. non-zero) now raise InvalidDataError.
Invalid SETTINGS frames (non-empty but ACK) now raise InvalidDataError.
Invalid ALTSVC frames with non-bytestring field or origin now raise InvalidDataError.

API Changes (Backward-compatible)
Deprecate total_padding - use pad_length instead.
Improve repr() output for all frame classes.
Introduce Frame.explain(data) for quick introspection of raw data.

Bugfixes
Fixed padding parsing for PushPromiseFrame.
Fixed unchecked frame length for PriorityFrame. It now correctly raises InvalidFrameError.
Fixed promised stream id validation for PushPromiseFrame. It now raises InvalidDataError.
Fixed unchecked frame length for WindowUpdateFrame. It now correctly raises InvalidFrameError.
Fixed window increment value range validation. It now raises InvalidDataError.
Fixed parsing of SettingsFrame with mutual exclusion of ACK flag and payload.

Other Changes
Removed support for Python 2.7, 3.4, 3.5, pypy.
Added support for Python 3.8.

diffstat:

 www/py-hyperframe/Makefile |   8 +++++---
 www/py-hyperframe/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r 553161de4f09 -r 3256b49d93fc www/py-hyperframe/Makefile
--- a/www/py-hyperframe/Makefile        Sat Oct 03 18:09:10 2020 +0000
+++ b/www/py-hyperframe/Makefile        Sat Oct 03 18:10:19 2020 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2019/05/02 08:37:52 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/10/03 18:10:19 adam Exp $
 
-DISTNAME=      hyperframe-5.2.0
+DISTNAME=      hyperframe-6.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hyperframe/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://hyper.rtfd.org/
+HOMEPAGE=      https://github.com/python-hyper/hyperframe
 COMMENT=       HTTP/2 framing layer for Python
 LICENSE=       mit
 
@@ -16,5 +16,7 @@
 
 PYSETUPTESTTARGET=     pytest
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 553161de4f09 -r 3256b49d93fc www/py-hyperframe/distinfo
--- a/www/py-hyperframe/distinfo        Sat Oct 03 18:09:10 2020 +0000
+++ b/www/py-hyperframe/distinfo        Sat Oct 03 18:10:19 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/05/02 08:37:52 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/10/03 18:10:19 adam Exp $
 
-SHA1 (hyperframe-5.2.0.tar.gz) = 87155e61519aa64d4b008610b4d101d0c06f5c4c
-RMD160 (hyperframe-5.2.0.tar.gz) = 0c7914243dead0a0fcd40fe06642f25f02979f83
-SHA512 (hyperframe-5.2.0.tar.gz) = 2e04b48c6d31adb0893a3246046b447c32f3d4485ffe9b08370b6c534ed4273c19e2e2c1a23d48268e333d91d8e911578829776076d8f73743cd9ef597926e3c
-Size (hyperframe-5.2.0.tar.gz) = 19115 bytes
+SHA1 (hyperframe-6.0.0.tar.gz) = ee8b2c8768858478acf22f7b51051d6be7fd08c6
+RMD160 (hyperframe-6.0.0.tar.gz) = 117de97afaeccdbc7de264c11cab42672c7cbd52
+SHA512 (hyperframe-6.0.0.tar.gz) = 54812dcd5bc92ebe8333e6976c2edba7309cff9921fbcbae0eda7666bf7de7758b3646f4738404bcbd069c4904e57710cb312c42ef9b6ae1d88a057b0bd0ca44
+Size (hyperframe-6.0.0.tar.gz) = 24640 bytes



Home | Main Index | Thread Index | Old Index