Browse Source

[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
changes/82/698982/1
Ghanshyam Mann 2 years ago
parent
commit
203427f531
  1. 1
      requirements.txt
  2. 3
      tox.ini

1
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

3
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

Loading…
Cancel
Save