From 2494c8ad985c1576766b36cec9bf7bc4a34cca88 Mon Sep 17 00:00:00 2001 From: chenke Date: Mon, 17 Jun 2019 21:49:34 +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 Change-Id: I3e9d3790efa4e37d8bac6ee3409bb55636738868 --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d686ee9..0cc29c7 100644 --- a/tox.ini +++ b/tox.ini @@ -5,11 +5,12 @@ 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]