Remove unnecessary requirements from tox.ini
requirements.txt is unnecessary when running `tox -e releasenotes` since release notes requirements are in doc/requirements.txt. This PS removes the requirements.txt from tox.ini and reuses [docs] deps. Sync from kolla-ansible and kolla. Change-Id: I9df2f98772c143a9662fd5c123cc9f6d5410c5e5
This commit is contained in:
parent
79426d0740
commit
9475050cc7
6
tox.ini
6
tox.ini
@ -110,7 +110,6 @@ commands =
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build/html
|
||||
@ -129,10 +128,7 @@ commands =
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
deps = {[testenv:docs]deps}
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
||||
|
Loading…
Reference in New Issue
Block a user