[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:
parent
259c278bcd
commit
276f4b21de
2 changed files with 7 additions and 5 deletions
2
changelogs/fragments/ansible-test-sanity-constraints.yml
Normal file
2
changelogs/fragments/ansible-test-sanity-constraints.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- ansible-test no longer tries to install sanity test dependencies on unsupported Python versions
|
|
@ -1,9 +1,9 @@
|
||||||
cryptography
|
cryptography
|
||||||
jinja2
|
jinja2
|
||||||
pycodestyle
|
pycodestyle ; python_version >= '3.5' # only used on python 3.5+
|
||||||
pylint ; python_version >= '3.5' # pylint 2.0.0 and later require python 3+
|
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
|
pyyaml
|
||||||
rstcheck ; python_version >= '2.7' # rstcheck requires python 2.7+
|
rstcheck ; python_version >= '3.5' # only used on python 3.5+
|
||||||
virtualenv
|
virtualenv
|
||||||
voluptuous ; python_version >= '2.7' # voluptuous 0.11.0 and later require python 2.7+
|
voluptuous ; python_version >= '3.5' # only used on python 3.5+
|
||||||
yamllint
|
yamllint ; python_version >= '3.5' # only used on python 3.5+
|
||||||
|
|
Loading…
Reference in a new issue