From dba5bc537d709f81b104bf79292b8954a4f97496 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 25 Aug 2017 16:39:18 -0400 Subject: [PATCH] force python3 for venv environment for tox Change-Id: Ib863fc7a8f79efb13a2cf131d58aec10701c8424 Signed-off-by: Doug Hellmann --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index d9736ea..275200d 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,10 @@ commands = commands = flake8 {posargs} [testenv:venv] +# The sphinxcontrib.autoprogram extension requires python 3's version +# of argparse, so force python 3 here to ensure the check job that +# builds the docs on OpenStack infrastructure uses python 3. +basepython = python3 commands = {posargs} [testenv:cover]