From 2bcec36ee8475b66221c580a64490e65c9d1bf37 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 24 Aug 2018 21:19:52 +0200 Subject: [PATCH] Add venv tox environment The post branch-tarball fails - OpenStack CI needs a venv environment in tox.ini. Add it. Example failure log: http://logs.openstack.org/58/580d617db8877fb7033533dc85bba03b3c21c944/post/publish-openstack-python-branch-tarball/fd45869 Change-Id: I96cb6f5dc401f4f3788fe72ec645095fbc0c6741 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index b9bffa5b..133e2e6d 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,11 @@ commands = find . -type f -name "*.pyc" -delete rm -Rf .testrepository/times.dbm +[testenv:venv] +basepython=python3 +commands = + {posargs} + [testenv:py27] basepython = python2.7 commands =