[ovs-dev] [PATCH v2 0/5] Partial Python 3 compatibility.
Russell Bryant
russell at ovn.org
Tue Jan 12 19:45:44 UTC 2016
v1->v2:
- Applied first 4 patches.
- Fix conflicts with master.
- Add python-six dependency to Debian and RHEL/Fedora packaging.
- Add Python/python-six dependency to Installation Requirements
section of INSTALL.md.
I got the ovs Python code ported to Python 3 in a branch. I've been submitting
the work in pieces to make it a bit easier to review, iterate on, and merge.
This series of patches addresses an assortment of Python 3 compatibility
issues. This first patch is one that was submitted to the list a few months ago.
One new dependency is introduced. The 'six' Python library becomes a
requirement to aid in supporting both Python 2 and 3. More information about
'six' can be found here: https://pythonhosted.org/six/
Russell Bryant (5):
python: Fix xmlrpclib imports.
python: Stop using xrange().
python: Convert dict iterators.
python: Fix octal compatibility.
python: Remove old style classes.
INSTALL.md | 4 ++-
Makefile.am | 4 ++-
debian/control | 7 +++--
debian/ovs-monitor-ipsec | 20 +++++++------
m4/openvswitch.m4 | 6 ++++
python/build/nroff.py | 2 +-
python/ovs/db/data.py | 18 +++++++-----
python/ovs/db/idl.py | 34 ++++++++++++----------
python/ovs/db/schema.py | 18 +++++++-----
python/ovs/json.py | 5 +++-
python/ovs/ovsuuid.py | 2 ++
python/ovs/poller.py | 2 +-
python/ovs/socket_util.py | 4 ++-
python/ovs/stream.py | 4 ++-
python/ovs/unixctl/server.py | 2 ++
python/ovs/vlog.py | 11 ++++---
python/ovstest/rpcserver.py | 5 ++--
python/ovstest/util.py | 7 +++--
rhel/openvswitch-fedora.spec.in | 3 +-
rhel/openvswitch.spec.in | 2 +-
tests/test-ovsdb.py | 15 +++++-----
tests/test-vlog.py | 3 +-
vtep/ovs-vtep | 22 +++++++-------
.../usr_share_openvswitch_scripts_ovs-xapi-sync | 9 +++---
24 files changed, 126 insertions(+), 83 deletions(-)
--
2.5.0
More information about the dev
mailing list