From 2db8983c7419f560ab293239231f37e5fc6785b6 Mon Sep 17 00:00:00 2001 From: Petr Malik Date: Thu, 12 May 2016 12:19:59 -0400 Subject: [PATCH] Trove's tox tests should respect upper-constraints This was missed by Ie1133e4c020106e8098685ba9125f84b356d8e0c and breaks 'checkbuild' (runs when API goldfiles change). Change-Id: I26fd96c0a6906ab03dec7516e71e1c8e70abaa4a Closes-Bug: #1563038 --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index d2c23056d1..d18add55ea 100644 --- a/tox.ini +++ b/tox.ini @@ -138,6 +138,12 @@ filename=*.py,trove-* commands = openstack-doc-test --check-links {posargs} [testenv:checkbuild] +# NOTE(pmalik) The setting of the install_command in this location +# is only required because currently infra does not actually +# support constraints files for the publishdocs job, and while +# the environment variable UPPER_CONSTRAINTS_FILE is set, there's +# no file there. It can be removed when infra changes this. +install_command = pip install -U {opts} {packages} commands = openstack-doc-test --check-niceness --check-syntax --check-deletions {posargs} openstack-doc-test --check-build {posargs}