From 046df8b8f9857140a7649f63d309a982874b0db0 Mon Sep 17 00:00:00 2001 From: chenke Date: Fri, 14 Jun 2019 19:51:12 +0800 Subject: [PATCH] Switch to the new canonical constraints URL on master Reference: 1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html 2. https://review.opendev.org/#/c/601188 Change-Id: I8d0760ce4c44cafb004deb88b15185f140b9cb5d --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index df5fe78..a239e2d 100644 --- a/tox.ini +++ b/tox.ini @@ -5,11 +5,13 @@ skipsdist = True [testenv] usedevelop = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} PYTHONWARNINGS=default::DeprecationWarning -deps = -r{toxinidir}/test-requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/test-requirements.txt commands = python setup.py test --slowest --testr-args='{posargs}' [testenv:pep8]