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) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2020-10-16 12:06:50 +05:30
parent 03cedc4fc0
commit 0ffe0ebc05

View File

@ -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