From 203427f5312ab358c15bdd3b1a8c58752727963c Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Fri, 13 Dec 2019 18:22:52 +0000 Subject: [PATCH] [ussuri][goal] Drop python 2.7 support OpenStack is dropping the py2.7 support in ussuri cycle. specs repo either has py27 job or requirement or tox env. Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: I3e97d60bd490e42c1ae29da356db59caa6994311 --- requirements.txt | 1 - tox.ini | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 24e3c9b..4d081eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ pbr>=2.0.0,!=2.1.0 # Apache-2.0 openstackdocstheme>=1.20.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD yasfb>=0.5.1 diff --git a/tox.ini b/tox.ini index e463a13..57bda68 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = docs skipsdist = True [testenv] +basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} @@ -12,11 +13,9 @@ deps = -r{toxinidir}/requirements.txt [testenv:venv] -basepython = python3 commands = {posargs} [testenv:docs] -basepython = python3 commands = /bin/rm -fr doc/build/ sphinx-build -W -b html doc/source doc/build/html