tox: Remove basepython

Python 2 is EOL. No environment should be defaulting to it. Our CI
environments certainly aren't.

Change-Id: I61526421af034e65361e5a8c5a309cc62f4b004d
This commit is contained in:
likui
2023-08-05 15:27:36 +08:00
parent 205ecc2b95
commit 28220fb720

View File

@@ -2,13 +2,8 @@
minversion = 3.18.0
envlist = py3,pep8, npm
skipsdist = True
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1