Allow building with python3

yasfb 0.6.0 has been released and works with python2 and python3, so we
can remove the basepython setting from tox.ini.

Require at least version 0.6.1 since that fixes a unicode bug.

Change-Id: Ia52a874a58b693d090e6921e4a3a2ff49345d8ba
This commit is contained in:
Andreas Jaeger 2017-04-14 19:28:56 +02:00
parent 4d20a0afd4
commit 1319f331d3
2 changed files with 2 additions and 8 deletions

View File

@ -9,5 +9,5 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
# Note the following is not in global-requirements but this repo is
# not using global-requirements in general.
yasfb>=0.5.1
# not used in repositories in general.
yasfb>=0.6.1

View File

@ -13,15 +13,9 @@ install_command = pip install -U {opts} {packages}
commands = doc8 -e .rst specs/ doc/ README.rst
[testenv:venv]
# NOTE(stephenfin): Use Python 2.7 due to same issue 'docs' env because the
# gate builds docs this way
basepython = python2.7
commands = {posargs}
[testenv:docs]
# NOTE(stephenfin): Use Python 2.7 until 'yasfb' is Python 3 compliant or is
# removed -- https://github.com/dhellmann/yasfb/issues/1
basepython = python2.7
commands =
doc8 -e .rst specs/ doc/ README.rst
sphinx-build -W -b html doc/source doc/build