From bc62d7b25804fd9aa7dfa5d416a427c2997abe76 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 8 Dec 2015 14:38:10 -0800 Subject: [PATCH] Add a note about fixing "db type could not be determined" with py34 Due to testrepository bug 1212909, if you run py27 before py34, py34 fails with "db type could not be determined". The workaround is to delete the .testrepository directory and try again. As long as you run py34 before py27 you're OK. Change-Id: I13c4f9a39b97573e78fe397efc7d87f78bac4a58 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index ab4397a237f7..85d7a54c620b 100644 --- a/tox.ini +++ b/tox.ini @@ -43,6 +43,9 @@ commands = bash tools/flake8wrap.sh {posargs} [testenv:py34] +# NOTE(mriedem): If py34 fails with "db type could not be determined", delete +# .testrepository and try again. Running py34 before py27 is OK, but not the +# other way around. See: https://bugs.launchpad.net/testrepository/+bug/1212909 setenv = {[testenv]setenv} commands = find . -type f -name "*.pyc" -delete