From f64be131da02c352e57f95ed041923e295ead0ab Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Mon, 20 May 2019 13:26:44 -0600 Subject: [PATCH] Add upper constraints py27 is currently broken due to a Sphinx failure that is resolved if you properly include the upper constraints. Change-Id: I4bcafb92bd307fe469bcab4db760d4245ceecb76 (cherry picked from commit 98368f114f9a96c7dbb1284c82042362ea26fc50) --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0ac2f6ce..a694fbc9 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,9 @@ envlist = py27,pep8 [testenv] usedevelop = True install_command = pip install {opts} {packages} -deps = -r{toxinidir}/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stable/rocky} + -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= python setup.py testr --slowest --testr-args='{posargs}'