Tox Upper Constraints - strip out reinstalls for remaining jobs
releasenotes and venv tox jobs had redefined the install_command to reinstall any packages from requirements/test-requirements files. Since Infra started supporting constrained requirements for these jobs as well, we can drop the reinstall command. Ref: http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html Change-Id: Ib4b8c6cef22a9911030c2e3e3f5281e7e22575fc (cherry picked from commit33374626db
) (cherry picked from commitd846803f99
)
This commit is contained in:
parent
f0d8d5c5a5
commit
0f1b68231a
8
tox.ini
8
tox.ini
|
@ -15,10 +15,6 @@ commands = python setup.py testr --testr-args='{posargs}'
|
|||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:releasenotes]
|
||||
# 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 = sphinx-build -a -E -W -d releasenotes/build/doctrees \
|
||||
-b html releasenotes/source releasenotes/build/html
|
||||
|
||||
|
@ -41,10 +37,6 @@ commands =
|
|||
oslo-config-generator --config-file etc/oslo-config-generator/manila.conf
|
||||
|
||||
[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]
|
||||
|
|
Loading…
Reference in New Issue