# HG changeset patch # User Denis Laxalde # Date 1448025466 -3600 # Node ID d666c9386b5852297d951576bc27da29f105a54f # Parent e0abfc3b4a10e59b3bf3a251497a2b5e37788a7b [test/tox] Enforce installation of modified yapps 580a6821713d is not enough for tox apparently... The thing is that it will first install dependencies (the `deps` option from tox.ini), actually pulling yapps from Logilab github but then, it will install the project (that is, CubicWeb) from the sdist *along with its dependencies*, which will pull yapps again and override the previously installed version for some mysterious reason. So add a `pip install` command in tox.ini, so that the modified yapps is the last one installed. diff -r e0abfc3b4a10 -r d666c9386b58 test/requirements.txt --- a/test/requirements.txt Fri Sep 18 11:12:03 2015 +0200 +++ b/test/requirements.txt Fri Nov 20 14:17:46 2015 +0100 @@ -4,4 +4,3 @@ cubicweb-file cubicweb-localperms cubicweb-tag -git+git://github.com/logilab/yapps@master#egg=yapps diff -r e0abfc3b4a10 -r d666c9386b58 tox.ini --- a/tox.ini Fri Sep 18 11:12:03 2015 +0200 +++ b/tox.ini Fri Nov 20 14:17:46 2015 +0100 @@ -8,7 +8,9 @@ [testenv:cubicweb] deps = -r{toxinidir}/test/requirements.txt -commands = pytest -t test {posargs} +commands = + {envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps + pytest -t test {posargs} [testenv:dataimport]