Commit Graph

5 Commits

Author SHA1 Message Date
Leon Anavi
239a3a3a3a python3-hyperframe: Upgrade 6.0.0 -> 6.0.1
Upgrade to release 6.0.1 with the following API changes:

- Added support for Python 3.9
- Added type hints

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-22 07:28:15 -07:00
Leon Anavi
e85ac5357d python3-hyperframe: Upgrade 5.2.0 -> 6.0.0
Upgrade to release 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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-15 09:28:34 -07:00
Leon Anavi
2c27f5f08b python3-hyperframe: Consolidate in a single file
Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-07 11:28:04 -07:00
Andrey Zhizhikin
05d0c5eee3 meta-python: remove python2 recipes from layer
Remove recipes which require python2 from the layer. Those recipes are
moved to meta-python2 and are not required here any longer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Trevor Gamblin
507366dec8 python-hyperframe: add recipe
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00