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
This commit is contained in:
parent
d43c8198a7
commit
33374626db
8
tox.ini
8
tox.ini
@ -15,10 +15,6 @@ commands =
|
||||
ostestr {posargs}
|
||||
|
||||
[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
|
||||
|
||||
@ -59,10 +55,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
Block a user