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
|
testtools>=1.4.0 # MIT
|
||||||
|
|
||||||
# Note the following is not in global-requirements but this repo is
|
# Note the following is not in global-requirements but this repo is
|
||||||
# not using global-requirements in general.
|
# not used in repositories in general.
|
||||||
yasfb>=0.5.1
|
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
|
commands = doc8 -e .rst specs/ doc/ README.rst
|
||||||
|
|
||||||
[testenv:venv]
|
[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}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[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 =
|
commands =
|
||||||
doc8 -e .rst specs/ doc/ README.rst
|
doc8 -e .rst specs/ doc/ README.rst
|
||||||
sphinx-build -W -b html doc/source doc/build
|
sphinx-build -W -b html doc/source doc/build
|
||||||
|
|
Loading…
Reference in New Issue