Update TOX_CONSTRAINTS_FILE for stable/wallaby

Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/wallaby branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I98c165315be4620a3046632e9c126138236bcf81
This commit is contained in:
2021-03-18 11:32:12 +00:00
committed by Stephen Finucane
parent 40f2b4585f
commit 89ff171188

View File

@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
@@ -25,7 +25,7 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_versione
[testenv:docs]
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build