From 6c6d43eb1a74cfb985308caae8d26d72b9581522 Mon Sep 17 00:00:00 2001 From: Marcin Piwowarczyk Date: Thu, 13 Sep 2018 16:09:32 +0200 Subject: [PATCH] Use latests version of python-troveclient in tests This patchset changes version of python-troveclient package version used in tests. So far, version from global constrain file was used [1]. In order to achive this, a local constrain file for tests requirements has been added. This made it possible to override global constrain versions. [1] openstack/requirements/upper-constraints.txt Change-Id: Ic4383f0249e5bd367461f63f66217af959aefba4 Signed-off-by: Marcin Piwowarczyk --- test-upper-constraints.txt | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) create mode 100644 test-upper-constraints.txt diff --git a/test-upper-constraints.txt b/test-upper-constraints.txt new file mode 100644 index 0000000000..debd8e2cdf --- /dev/null +++ b/test-upper-constraints.txt @@ -0,0 +1 @@ +git+https://git.openstack.org/openstack/python-troveclient#egg=python-troveclient diff --git a/tox.ini b/tox.ini index a2f41f7589..d75c8f1e11 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = VIRTUAL_ENV={envdir} usedevelop = True install_command = pip install \ + -c{env:TEST_UPPER_CONSTRAINTS_FILE:{toxinidir}/test-upper-constraints.txt} \ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} \ -U {opts} {packages} deps = -r{toxinidir}/requirements.txt