From 754bff2435dc6e138375e638911d48cb4d53ba14 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sun, 6 Aug 2017 12:41:13 -0400 Subject: [PATCH] Test zuul with python3 Zuulv3 is python3 only, for now switch our tox environment to that. Also force zuul_pip_executable to pip3 just to be safe. Change-Id: I38403731936732bedd5772eb165f9d8bcd8dfa72 Signed-off-by: Paul Belanger --- tests/test.yaml | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test.yaml b/tests/test.yaml index aadd866..0e960b2 100644 --- a/tests/test.yaml +++ b/tests/test.yaml @@ -15,6 +15,7 @@ - hosts: test vars: rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}" + zuul_pip_executable: pip3 pre_tasks: # Make sure OS does not have a stale package cache. - name: Update apt cache. diff --git a/tox.ini b/tox.ini index c2595c0..cd4813d 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = docs,linters skipsdist = True [testenv] +basepython = python3 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt