From 728917c5f4c3951f1714ea7f46c9a7677bca5efc Mon Sep 17 00:00:00 2001 From: Ildiko Vancsa Date: Tue, 11 Jun 2019 15:43:23 +0200 Subject: [PATCH] Switching to python 3 with the docs build As latest Sphinx is requiring python 3 this patch sets basepython to python 3 in the [testenv] section of tox.ini to make sure that is what the environment is using so we don't need to pin the Sphinx version. Change-Id: I217ee30359719ab3793b1329ec5e3f1a03848b8f --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e8fbccde..a1758690 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,11 @@ [tox] -minversion = 2.0 +minversion = 3.1.1 envlist = checkbuild skipsdist = True +ignore_basepython_conflict = True [testenv] +basepython = python3 setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/test-requirements.txt