Use upper constraints for all jobs in tox.ini

Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.

Change-Id: Id6080cf39ff5c50bc85b576247822040ccaae445
Closes-Bug: #1614361
This commit is contained in:
lvdongbing 2016-08-22 01:58:19 -04:00
parent 9d5fcbad0f
commit 4ecca5717c

View File

@ -40,7 +40,6 @@ commands =
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
[testenv:venv]
install_command = pip install -U {opts} {packages}
setenv = PYTHONHASHSEED=0
commands = {posargs}
@ -54,9 +53,6 @@ setenv = VIRTUAL_ENV={envdir}
commands = bash tools/lintstack.sh
[testenv:releasenotes]
# TODO(kong): Avoid 'Couldn't open file...upper-constraints.txt' error. Remove
# this line once infra supports constraints for this target.
install_command = pip install -U {opts} {packages}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
#Skip PEP257 violation.