Pin pytest to 4.6.x 42/16042/2
authorThanh Ha <zxiiro@gmail.com>
Sun, 30 Jun 2019 02:19:33 +0000 (22:19 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 2 Jul 2019 16:56:42 +0000 (12:56 -0400)
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.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ied1cfbed458fd27999537c510a33e142a5b7b56a

tox.ini

diff --git a/tox.ini b/tox.ini
index 61059d5..53c35c9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,6 +12,8 @@ deps =
     ansible-lint~=4.0.1
     docker
     molecule
+    # pytest 5 requires Python >= 3.5
+    pytest~=4.6.4
 passenv = *
 commands =
     ./molecule.sh