[stable-2.9] Fix ansible-test sanity requirements install.

This fixes ansible-test so it no longer tries to install sanity test dependencies on unsupported Python versions.
(cherry picked from commit 437e9b7063)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay 2019-10-16 09:39:48 -07:00
parent 259c278bcd
commit 276f4b21de
2 changed files with 7 additions and 5 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- ansible-test no longer tries to install sanity test dependencies on unsupported Python versions

View file

@ -1,9 +1,9 @@
cryptography
jinja2
pycodestyle
pylint ; python_version >= '3.5' # pylint 2.0.0 and later require python 3+
pycodestyle ; python_version >= '3.5' # only used on python 3.5+
pylint ; python_version >= '3.5' and python_version < '3.9' # only used on python 3.5+ and does not yet support python 3.9
pyyaml
rstcheck ; python_version >= '2.7' # rstcheck requires python 2.7+
rstcheck ; python_version >= '3.5' # only used on python 3.5+
virtualenv
voluptuous ; python_version >= '2.7' # voluptuous 0.11.0 and later require python 2.7+
yamllint
voluptuous ; python_version >= '3.5' # only used on python 3.5+
yamllint ; python_version >= '3.5' # only used on python 3.5+