From 9475050cc7227ecdb600139e832839686dfae2a2 Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Fri, 18 Sep 2020 20:49:09 +0800 Subject: [PATCH] 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 --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 8d473f161..135521409 100644 --- a/tox.ini +++ b/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