Browse Source

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>
changes/33/667433/1
Don Penney 2 years ago
parent
commit
2cbb73f862
4 changed files with 12 additions and 3 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -1
      inventory/inventory/tox.ini
  3. +4
    -1
      python-inventoryclient/inventoryclient/tox.ini
  4. +3
    -1
      tox.ini

+ 1
- 0
.gitignore View File

@ -17,6 +17,7 @@ ChangeLog
_build
build
cover
coverage.xml
develop-eggs
dist
eggs


+ 4
- 1
inventory/inventory/tox.ini View File

@ -11,7 +11,10 @@ distshare={toxworkdir}/.tox/distshare
[testenv]
# 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
find
setenv =


+ 4
- 1
python-inventoryclient/inventoryclient/tox.ini View File

@ -15,7 +15,10 @@ setenv = VIRTUAL_ENV={envdir}
basepython = python2.7
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
commands =


+ 3
- 1
tox.ini View File

@ -4,7 +4,9 @@ minversion = 2.3
skipsdist = True
[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}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1


Loading…
Cancel
Save