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
This commit is contained in:
Matt Riedemann 2015-12-08 14:38:10 -08:00
parent e266f24bc4
commit bc62d7b258

View File

@ -43,6 +43,9 @@ commands =
bash tools/flake8wrap.sh {posargs} bash tools/flake8wrap.sh {posargs}
[testenv:py34] [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} setenv = {[testenv]setenv}
commands = commands =
find . -type f -name "*.pyc" -delete find . -type f -name "*.pyc" -delete