Use upper-constraints for all tox targets

The issue has been resolved by infra [0], so we can use upper
constraints for all targets.

[0]
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: I5c0378bdc6ddb4f8d0a328f3e61092be6cd579ac
(cherry picked from commit 6e775b82f4)
This commit is contained in:
Vladyslav Drok 2016-08-15 17:22:18 +03:00 committed by Dmitry Tantsur
parent b375ca2c07
commit 61c0b50d74
1 changed files with 0 additions and 18 deletions

18
tox.ini
View File

@ -32,12 +32,6 @@ commands =
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US
# NOTE(amrith) The setting of the install_command in this location
# is only required because currently infra does not actually
# support constraints files for the cover 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 =
python setup.py testr --coverage {posargs}
@ -61,22 +55,10 @@ commands =
python setup.py build_sphinx
[testenv:releasenotes]
# NOTE(amrith) The setting of the install_command in this location
# is only required because currently infra does not actually
# support constraints files for the releasenotes 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 = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:venv]
setenv = PYTHONHASHSEED=0
# NOTE(amrith) The setting of the install_command in this location
# is only required because currently infra does not actually
# support constraints files for the docs 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 = {posargs}
[flake8]