mbox series

[ovs-dev,0/3] Permit to build OVS with only Python3 installed

Message ID cover.1527705975.git.tredaelli@redhat.com
Headers show
Series Permit to build OVS with only Python3 installed | expand

Message

Timothy Redaelli May 31, 2018, 2:52 p.m. UTC
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.

Timothy Redaelli (3):
  tests/sendpkt.py: Fix to work with Python3
  Partially revert "m4: Add hard requirements for python in "configure""
  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/sendpkt.py                  |  5 ++-
 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 +-
 18 files changed, 113 insertions(+), 86 deletions(-)