commit 0ffe0ebc0597783ce2a04579450b6a43f209d8d4 Author: Chandan Kumar (raukadah) Date: Fri Oct 16 12:06:50 2020 +0530 Restrict pytest-molecule to < 1.3.1 With pytest-molecule==1.3.1, openstack-tox-molecule tests fail with: ImportError: cannot import name 'ansible_version' Locking the pytest-molecule until the version bug is addressed. Add ansible for test-requirements.tx and install molecule>=3.0,<3.1 so that all work toegther. Closes-Bug: #1900033 Change-Id: I0eaf402066f1bb0257ea404926db6bc98ad268b9 Signed-off-by: Chandan Kumar (raukadah) diff --git a/test-requirements.txt b/test-requirements.txt index ac63965..c50b67f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,13 +1,14 @@ +ansible<2.10 PyYAML ansi2html # GPL (soft-dependency of pytest-html) docker>=3.7 # Apache -molecule>=3.0.2 # MIT +molecule>=3.0,<3.1 paramiko>=2.5.0 # LGPL (soft-dependency of docker that enables ssh protocol) pre-commit>=1.10 # MIT License pytest # MIT pytest-cov # MIT pytest-html # MPL 2.0 -pytest-molecule # MIT +pytest-molecule>=1.3.0,<1.3.1 # MIT (reference: https://launchpad.net/bugs/1900033) pytest-plus # MIT pytest-xdist # MIT requests