From 20095e66b8ca8d2553b1473c36ad8eff6fb77044 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 28 Feb 2016 19:06:50 +0100 Subject: [PATCH] Do not use constraints for venv The venv environment is used by infra scripts to build tarballs and documents - and used by both check and post jobs. In post jobs, we currently do not support constraints, so add the non-constraints install command here so that nova-docs (publishing of documents to docs.openstack.org) and the tarball jobs work again. Change-Id: I2e5c0a4d739296b8b9d4ef7f58b69e1eff3c9575 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 071bf6e6a..8ba562da2 100644 --- a/tox.ini +++ b/tox.ini @@ -78,6 +78,10 @@ commands = coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i [testenv:venv] +# NOTE(jaegerandi): This target does not use constraints because +# upstream infra does not yet support it. Once that's fixed, we can +# drop the install_command. +install_command = pip install -U --force-reinstall {opts} {packages} commands = {posargs} [testenv:docs]