diff options
author | leot <leot@pkgsrc.org> | 2016-04-20 16:10:14 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2016-04-20 16:10:14 +0000 |
commit | 2f06f6bcc8a144d3382a06b5c9c4e77670ea08d6 (patch) | |
tree | 732440dd6f3a5a3fad28150691c53fcc366a52e8 /www/py-h2 | |
parent | b6252d158dbe7306e4a00029bcb936cc03965651 (diff) | |
download | pkgsrc-2f06f6bcc8a144d3382a06b5c9c4e77670ea08d6.tar.gz |
Update www/py-h2 to 2.2.3
Changes:
2.2.3 (2016-04-13)
------------------
Bugfixes
~~~~~~~~
- Allowed the 4.X series of hyperframe releases as dependencies.
2.1.4 (2016-04-13)
------------------
Bugfixes
~~~~~~~~
- Allowed the 4.X series of hyperframe releases as dependencies.
2.2.2 (2016-04-05)
------------------
Bugfixes
~~~~~~~~
- Fixed issue where informational responses were erroneously not allowed to be
sent in the ``HALF_CLOSED_REMOTE`` state.
- Fixed issue where informational responses were erroneously not allowed to be
received in the ``HALF_CLOSED_LOCAL`` state.
- Fixed issue where we allowed information responses to be sent or received
after final responses.
2.2.1 (2016-03-23)
------------------
Bugfixes
~~~~~~~~
- Fixed issue where users using locales that did not default to UTF-8 were
unable to install source distributions of the package.
2.2.0 (2016-03-23)
------------------
API Changes (Backward-Compatible)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Added support for sending informational responses (responses with 1XX status)
codes as part of the standard flow. HTTP/2 allows zero or more informational
responses with no upper limit: hyper-h2 does too.
- Added support for receiving informational responses (responses with 1XX
status) codes as part of the standard flow. HTTP/2 allows zero or more
informational responses with no upper limit: hyper-h2 does too.
- Added a new event: ``ReceivedInformationalResponse``. This response is fired
when informational responses (those with 1XX status codes).
- Added an ``additional_data`` field to the ``ConnectionTerminated`` event that
carries any additional data sent on the GOAWAY frame. May be ``None`` if no
such data was sent.
- Added the ``initial_values`` optional argument to the ``Settings`` object.
Bugfixes
~~~~~~~~
- Correctly reject all of the connection-specific headers mentioned in RFC 7540
ยง 8.1.2.2, not just the ``Connection:`` header.
- Defaulted the value of ``SETTINGS_MAX_CONCURRENT_STREAMS`` to 100, unless
explicitly overridden. This is a safe defensive initial value for this
setting.
2.1.3 (2016-03-16)
------------------
Deprecations
~~~~~~~~~~~~
- Passing dictionaries to ``send_headers`` as the header block is deprecated,
and will be removed in 3.0.
2.1.2 (2016-02-17)
------------------
Bugfixes
~~~~~~~~
- Reject attempts to push streams on streams that were themselves pushed:
streams can only be pushed on streams that were initiated by the client.
- Correctly allow CONTINUATION frames to extend the header block started by a
PUSH_PROMISE frame.
- Changed our handling of frames received on streams that were reset by the
user.
Previously these would, at best, cause ProtocolErrors to be raised and the
connection to be torn down (rather defeating the point of resetting streams
at all) and, at worst, would cause subtle inconsistencies in state between
hyper-h2 and the remote peer that could lead to header block decoding errors
or flow control blockages.
Now when the user resets a stream all further frames received on that stream
are ignored except where they affect some form of connection-level state,
where they have their effect and are then ignored.
- Fixed a bug whereby receiving a PUSH_PROMISE frame on a stream that was
closed would cause a RST_STREAM frame to be emitted on the closed-stream,
but not the newly-pushed one. Now this causes a ``ProtocolError``.
Diffstat (limited to 'www/py-h2')
-rw-r--r-- | www/py-h2/Makefile | 8 | ||||
-rw-r--r-- | www/py-h2/distinfo | 12 | ||||
-rw-r--r-- | www/py-h2/patches/patch-setup.py | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/www/py-h2/Makefile b/www/py-h2/Makefile index 991db9116f4..ab297c6d8a0 100644 --- a/www/py-h2/Makefile +++ b/www/py-h2/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2016/02/16 13:49:56 leot Exp $ +# $NetBSD: Makefile,v 1.2 2016/04/20 16:10:14 leot Exp $ -DISTNAME= h2-2.1.1 +DISTNAME= h2-2.2.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www MASTER_SITES= ${MASTER_SITE_PYPI} @@ -12,8 +12,8 @@ LICENSE= mit USE_LANGUAGES= # none -DEPENDS+= ${PYPKGPREFIX}-hyperframe>=3.2.0:../../www/py-hyperframe -DEPENDS+= ${PYPKGPREFIX}-hpack>=2.1.0:../../net/py-hpack +DEPENDS+= ${PYPKGPREFIX}-hyperframe>=3.1:../../www/py-hyperframe +DEPENDS+= ${PYPKGPREFIX}-hpack>=2.0:../../net/py-hpack .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-h2/distinfo b/www/py-h2/distinfo index 36a8555ce73..16543542b17 100644 --- a/www/py-h2/distinfo +++ b/www/py-h2/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2016/02/16 13:49:56 leot Exp $ +$NetBSD: distinfo,v 1.2 2016/04/20 16:10:14 leot Exp $ -SHA1 (h2-2.1.1.tar.gz) = aab4e79a61093279b1f929e3eada64f05ef63143 -RMD160 (h2-2.1.1.tar.gz) = 45a6cb15329c8c0abc212833ad3500aa943a8d5b -SHA512 (h2-2.1.1.tar.gz) = cbddbc717fe2f481ab4ece5eae12a7cc431810096f84ab550f2254355ed08db02f031b2eb58c3843664fb9c0f73684ec90e975b1d427976dbbfe7f0f3ed542b0 -Size (h2-2.1.1.tar.gz) = 51469 bytes -SHA1 (patch-setup.py) = 09b2867ba64e540cf9bb60cd6b575baa2fe0e447 +SHA1 (h2-2.2.3.tar.gz) = 0c6c3ce06169b54217ff144ef4680953feb25e10 +RMD160 (h2-2.2.3.tar.gz) = 12b1e8ed50e0772239be638ac830590820f8c82f +SHA512 (h2-2.2.3.tar.gz) = 103ea2b4b48d0407f3e5075ed29e7bd3c5ca3e62b0655c051bf3410e828ce25dd7e7401667ff6d10c425656d1a2b53aebe0a505165f1d8d8232cc9927ce6dafa +Size (h2-2.2.3.tar.gz) = 60811 bytes +SHA1 (patch-setup.py) = f1b4b724e17bbe03a8ef64b4cdfe71cad4b46da6 diff --git a/www/py-h2/patches/patch-setup.py b/www/py-h2/patches/patch-setup.py index a5981c5d04f..bd70c89ba91 100644 --- a/www/py-h2/patches/patch-setup.py +++ b/www/py-h2/patches/patch-setup.py @@ -1,20 +1,20 @@ -$NetBSD: patch-setup.py,v 1.1 2016/02/16 13:49:56 leot Exp $ +$NetBSD: patch-setup.py,v 1.2 2016/04/20 16:10:14 leot Exp $ Avoid too strict version requirements. ---- setup.py.orig 2016-02-05 14:50:35.000000000 +0000 +--- setup.py.orig 2016-04-13 11:17:13.000000000 +0000 +++ setup.py -@@ -57,10 +57,10 @@ setup( +@@ -61,10 +61,10 @@ setup( 'Programming Language :: Python :: Implementation :: PyPy', ], install_requires=[ -- 'hyperframe>=3.1, <4', +- 'hyperframe>=3.1, <5, !=4.0.0', - 'hpack>=2.0, <3', + 'hyperframe>=3.1', + 'hpack>=2.0', ], extras_require={ -- ':python_version == "2.7" or python_version == "3.3"': ['enum34>=1.0.4, <1.1'], +- ':python_version == "2.7" or python_version == "3.3"': ['enum34>=1.0.4, <2'], + ':python_version == "2.7" or python_version == "3.3"': ['enum34>=1.0.4'], } ) |