From 3473e6439bc57c84eda248fa4e51037921981d8b Mon Sep 17 00:00:00 2001 From: wanghui Date: Tue, 6 Nov 2018 19:05:25 +0800 Subject: [PATCH] Remove stestr from requirements.txt The stestr requirement has been added to test-requirements.txt Change-Id: I161e24257f63e7eaf205e44657e8e9d8a88c3a2e --- requirements.txt | 1 - tox.ini | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8860800..d56e8f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,5 @@ oslosphinx pbr>=2.0.0,!=2.1.0 # Apache-2.0 sphinx>=1.6.2 # BSD testtools>=1.4.0 -stestr>=2.0.0 yasfb>=0.5.1 doc8 # Apache-2.0 diff --git a/tox.ini b/tox.ini index bf731b3..69f942e 100644 --- a/tox.ini +++ b/tox.ini @@ -9,8 +9,8 @@ skipsdist = True basepython=python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} -install_command = pip install -U {opts} {packages} -deps = -r{toxinidir}/requirements.txt +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +deps = -r{toxinidir}/test-requirements.txt whitelist_externals = find commands = find . -type f -name "*.pyc" -delete