Adjust molecule requirements
openstack-tox-molecule is currently broken with dependency issues between pytest-html and molecule. This change uses the same pytest/molecule requirements spec as tripleo-ansible[1] and breaks out the requirements into their own file. [1] https://opendev.org/openstack/tripleo-ansible/src/branch/master/molecule-requirements.txt Closes-Bug: #1867035 Change-Id: I89f969808877c389af3d1fb977530735984b9bbf
This commit is contained in:
parent
a3b286151c
commit
076c67e879
|
@ -0,0 +1,11 @@
|
|||
ansi2html
|
||||
docker>=4.0.1
|
||||
paramiko>=2.5.0
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-html
|
||||
pytest-molecule
|
||||
pytest-xdist
|
||||
mock
|
||||
molecule>=3.0,<3.1
|
||||
selinux>=0.2.1
|
13
tox.ini
13
tox.ini
|
@ -60,18 +60,7 @@ commands =
|
|||
# basepython forces tox to use system python and avoid other python versions like pyenv ones
|
||||
# because those are unlikely to have the required libselinux library available.
|
||||
basepython=python
|
||||
deps =
|
||||
ansi2html
|
||||
docker>=4.0.1
|
||||
paramiko>=2.5.0
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-molecule
|
||||
pytest-html<=2.0.1
|
||||
pytest-xdist
|
||||
mock
|
||||
molecule==3.0a9
|
||||
selinux>=0.2.1
|
||||
deps = -r{toxinidir}/molecule-requirements.txt
|
||||
commands =
|
||||
python -m pytest --color=yes --html={envlogdir}/reports.html --self-contained-html {tty:-s} {posargs}
|
||||
|
||||
|
|
Loading…
Reference in New Issue