From 1665c3de2c0000bdf1de610e8778537e9e13c1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Sat, 28 Mar 2020 01:33:02 +0100 Subject: [PATCH] Use upper constraints for tests -epy27 tests are failing with: run.py discover: error: no such option: --list Adding upper constraints fixes the issue. Change-Id: Ie19ce4962d1e14eacba6d3328d24ceae838807a5 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 807ba02..35c65be 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,8 @@ setenv = OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 OS_LOG_CAPTURE=1 -deps = -r{toxinidir}/test-requirements.txt +deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run {posargs} basepython = python3