ensure-tox: use python3 by default

The role currently defaults to installing tox with python2 in order
to maintain compatibility with existing jobs.  This change makes the
default behaviour use python3 as python2 is EOL.

Change-Id: Ic41b8fee7ae8a8f5df6c1107c6ed812c14b8c8be
This commit is contained in:
Mohammed Naser 2020-03-12 17:49:45 -04:00
parent ffe0738f60
commit bed3643b28
2 changed files with 2 additions and 4 deletions

View File

@ -14,6 +14,4 @@ user install directory (i.e., "pip install --user").
:default: ``true``
If tox is not detected, prefer to install tox inside Python 2 instead of
Python 3. The default value is currently set to ``true`` for compatibility
reasons, it will be switched to false eventually. It's best to set this to
``false`` when using it.
Python 3.

View File

@ -1,2 +1,2 @@
tox_executable: tox
tox_prefer_python2: true
tox_prefer_python2: false