Update tox.ini files to use stein constraints
This updates the upper-constraints.txt used by tox for installing python modules to reference the stable/stein constraints. Change-Id: I337321543b6f778721a656c575a26854a20ff5d5 Partial-Bug: 1834216 Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
parent
f9ebcca503
commit
2cbb73f862
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@ ChangeLog
|
|||||||
_build
|
_build
|
||||||
build
|
build
|
||||||
cover
|
cover
|
||||||
|
coverage.xml
|
||||||
develop-eggs
|
develop-eggs
|
||||||
dist
|
dist
|
||||||
eggs
|
eggs
|
||||||
|
@ -11,7 +11,10 @@ distshare={toxworkdir}/.tox/distshare
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# sitepackages = True
|
# sitepackages = True
|
||||||
install_command = pip install -v -v -v -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages}
|
install_command = pip install \
|
||||||
|
-v -v -v \
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
||||||
|
{opts} {packages}
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
find
|
find
|
||||||
setenv =
|
setenv =
|
||||||
|
@ -15,7 +15,10 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
|
||||||
install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages}
|
install_command = pip install \
|
||||||
|
-U \
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
||||||
|
{opts} {packages}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
|
4
tox.ini
4
tox.ini
@ -4,7 +4,9 @@ minversion = 2.3
|
|||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt} {opts} {packages}
|
install_command = pip install \
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
||||||
|
{opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
OS_STDOUT_CAPTURE=1
|
OS_STDOUT_CAPTURE=1
|
||||||
OS_STDERR_CAPTURE=1
|
OS_STDERR_CAPTURE=1
|
||||||
|
Loading…
Reference in New Issue
Block a user