summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-10-16 18:39:48 +0200
committerMatt Clay <matt@mystile.com>2019-10-18 02:40:04 +0200
commit437e9b7063c6139ba908ff87f1d21221447b10ce (patch)
tree3e03053e12655102214d076fad14794c3140a2f7 /test/lib
parentvmware_guest_network/test: fix name of test VM (diff)
downloadansible-437e9b7063c6139ba908ff87f1d21221447b10ce.tar.xz
ansible-437e9b7063c6139ba908ff87f1d21221447b10ce.zip
Fix ansible-test sanity requirements install.
This fixes ansible-test so it no longer tries to install sanity test dependencies on unsupported Python versions.
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/ansible_test/_data/requirements/sanity.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lib/ansible_test/_data/requirements/sanity.txt b/test/lib/ansible_test/_data/requirements/sanity.txt
index b6f6595ae4..e9e19060e3 100644
--- a/test/lib/ansible_test/_data/requirements/sanity.txt
+++ b/test/lib/ansible_test/_data/requirements/sanity.txt
@@ -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+