[ovs-dev] [PATCH v2 0/1] Permit to build OVS with only Python3 installed

Timothy Redaelli tredaelli at redhat.com
Fri Jun 22 18:04:09 UTC 2018


Python 2 will be End Of Life in 2020
(https://www.python.org/dev/peps/pep-0373/) and so some distributions
(for example Fedora) are trying to deprecated it.

This series of commit permits to build OVS with only Python 3 installed.

NOTE:
Currently most of the utilities and bugtool doesn't support Python3, so
they'll be installed only if python2 is available. This will be fixed in later
commits.

Changes since v1:
- Dropped patch 1 since it's already merged on master.
- Merged patch 2 and 3 since patch 2 was a modified, hacky, partial revert
  that is reworked interely by patch 3. No code changes.

Timothy Redaelli (1):
  Permit to build OVS with only Python3 installed

 configure.ac                      |  3 +-
 m4/openvswitch.m4                 | 67 ++++++++++++++++++++-----------
 ovn/utilities/bugtool/automake.mk |  2 +-
 tests/atlocal.in                  |  5 +++
 tests/daemon-py.at                | 18 ++++-----
 tests/json.at                     | 18 ++++-----
 tests/jsonrpc-py.at               |  6 +--
 tests/library.at                  |  4 +-
 tests/ovsdb-idl.at                | 20 ++++-----
 tests/ovsdb.at                    |  8 ++--
 tests/reconnect.at                |  4 +-
 tests/system-kmod-macros.at       |  2 +-
 tests/system-userspace-macros.at  |  2 +-
 tests/unixctl-py.at               | 13 +++---
 tests/vlog.at                     | 14 +++----
 utilities/automake.mk             |  6 +--
 utilities/bugtool/automake.mk     |  2 +-
 17 files changed, 109 insertions(+), 85 deletions(-)

-- 
2.17.1



More information about the dev mailing list