fix tox python3 overrides

We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I8f1883011c0831b78a5f099e1ddcf98a77e4005a
This commit is contained in:
Nguyen Hung Phuong
2018年07月10日 13:04:37 +07:00
parent 61adf73aa5
commit 0f1ccb702a

View File

@@ -4,7 +4,6 @@ envlist = checkbuild
skipsdist = True
[testenv]
basepython = python2
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
@@ -15,6 +14,7 @@ whitelist_externals =
rsync
[testenv:venv]
basepython = python3
commands = {posargs}
[doc8]
Reference in New Issue
openstack/training-guides
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.