Merge "Allow building with python3"
This commit is contained in:
commit
38375683e1
|
@ -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
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue