This patch updates the previous patches for Kakuma-San comments.
v2 patches separate test-requires into two files("test
requirements" and "optional requirements") and revert the version
of some required packages.

Currently, RPC requests using rpc_cli.py will crash on Python 3,
because the decoded string through msgpack-rpc is not str type
when the default encoding is not specified into msgpack.Unpacker.
The following fix to specify the encoding to msgpack.Packer/Unpacker
and enable to use Binary type when packing for the Python 3
compatibility.

Also, the following patches include some improvements for wsgi.py
in the Pylint checks.

IWASE Yusuke (9):
  protocols/bgp/base: Add missing __next__ method
  contrib: Revert module path to ryu.contrib
  wsgi: Use six.text_type instead of unicode
  wsgi: Reduce pylint warnings
  wsgi: Avoid using inspect.getargspec
  test_rpc: Use numbers.Integral instead of long type
  RPC: Specify encoding to msgpack.Packer/Unpacker
  pip: Separate test-requires
  docker_base: Add missing requirements for test-requires

 README.rst                                 |  11 +-
 ryu/app/wsgi.py                            |  51 ++++-----
 ryu/cmd/manager.py                         |  12 +--
 ryu/cmd/of_config_cli.py                   |   9 +-
 ryu/cmd/rpc_cli.py                         |   6 +-
 ryu/cmd/ryu_base.py                        |   8 +-
 ryu/lib/of_config/__init__.py              |   5 +-
 ryu/lib/rpc.py                             |  20 ++--
 ryu/services/protocols/bgp/base.py         |   3 +
 ryu/services/protocols/bgp/net_ctrl.py     |   8 +-
 ryu/tests/integrated/common/docker_base.py |  24 +++--
 ryu/tests/unit/lib/test_rpc.py             | 163 ++++++++++++-----------------
 tools/optional-requires                    |   5 +
 tools/test-requires                        |   6 --
 tox.ini                                    |   1 +
 15 files changed, 140 insertions(+), 192 deletions(-)
 create mode 100644 tools/optional-requires

-- 
2.7.4


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to