From: Anil Belur Date: Sat, 27 Jul 2019 23:05:09 +0000 (+1000) Subject: Pin ansible, ansible-lint, detox and pytest X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=0c70aee51ab201f0c3459c81ba245789ec378c1b;p=ansible%2Froles%2Fhaveged-install.git Pin ansible, ansible-lint, detox and pytest PyTest 5 was released on June 28th that now requires Python >= 3.5 so pin to the 4.6.x stream until we are ready to drop 2.7 support. Pin ansible and ansible-lint to get the molecule tests to work. detox 0.19 is not compatible with the version of tox we are getting from upstream. Signed-off-by: Anil Belur Change-Id: I1256a40c294686332b9d4cc614785d89af531f4a --- diff --git a/tox.ini b/tox.ini index b1f51c5..39ab72d 100644 --- a/tox.ini +++ b/tox.ini @@ -8,9 +8,12 @@ skipsdist=true [testenv:molecule] basepython = python2 deps = - ansible + ansible~=2.7.11 + ansible-lint~=4.0.1 + detox~=0.18 docker molecule + pytest~=4.6.4 passenv = * commands = ./molecule.sh @@ -19,4 +22,4 @@ commands = deps = pre-commit commands = pre-commit install --hook-type commit-msg - pre-commit run --all-files \ No newline at end of file + pre-commit run --all-files