summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py1
-rw-r--r--tox.ini11
2 files changed, 8 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index f63cc23..cd35c3c 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
diff --git a/tox.ini b/tox.ini
index da3f8cd..add6bd7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.1
+minversion = 3.2.0
distribute = False
envlist = py37,pep8
ignore_basepython_conflict = true
@@ -51,7 +51,9 @@ commands = {posargs}
[testenv:docs]
whitelist_externals = rm
-deps = -r{toxinidir}/doc/requirements.txt
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html {posargs}
@@ -65,8 +67,11 @@ enable-extensions = H203,H106
exclude = .tox,dist,doc,*.egg,build
[testenv:releasenotes]
-deps = -r{toxinidir}/doc/requirements.txt
+whitelist_externals =
+ rm
+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
[hacking]