Merge "Dep's should be restricted by upper-constraints"

This commit is contained in:
Zuul 2020-11-30 01:48:02 +00:00 committed by Gerrit Code Review
commit d4603d9e77
1 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,9 @@ basepython = python3.8
basepython = python3.6
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
whitelist_externals = rm
commands =
rm -rf doc/build/
@ -84,7 +86,9 @@ ignore = D000,D001
ignore-path = .venv,.git,.tox,.tmp,*freezer/locale*,*lib/python*,freezer.egg*,doc/build,releasenotes/*,doc/source/contributor/api
[testenv:releasenotes]:
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
whitelist_externals = rm
commands =
rm -rf releasenotes/build