Switching to python 3 with the docs build
As latest Sphinx is requiring python 3 this patch sets basepython to python 3 in the [testenv] section of tox.ini to make sure that is what the environment is using so we don't need to pin the Sphinx version. Change-Id: I217ee30359719ab3793b1329ec5e3f1a03848b8f
This commit is contained in:
parent
54837c395d
commit
728917c5f4
4
tox.ini
4
tox.ini
@ -1,9 +1,11 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
minversion = 3.1.1
|
||||
envlist = checkbuild
|
||||
skipsdist = True
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
install_command = pip install -U {opts} {packages}
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user