tests: split out ansible_tests requirements

Also remove hard-coded Ansible version, the tests don't need it, nor
does local testing most of the time
issue260
David Wilson 6 years ago
parent 905ab890fb
commit 3585ee74f7

@ -34,6 +34,7 @@ with ci_lib.Fold('job_setup'):
os.chdir(TESTS_DIR)
os.chmod('../data/docker/mitogen__has_sudo_pubkey.key', int('0600', 7))
run("pip install -qr requirements.txt") # tests/ansible/requirements
# Don't set -U as that will upgrade Paramiko to a non-2.6 compatible version.
run("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION)

@ -1,10 +1,8 @@
-r docs/docs-requirements.txt
ansible==2.6.1
coverage==4.5.1
Django==1.6.11 # Last version supporting 2.6.
mock==2.0.0
pytz==2018.5
paramiko==2.3.2 # Last 2.6-compat version.
cffi==1.11.2 # Random pin to try and fix pyparser==2.18 not having effect
pycparser==2.18 # Last version supporting 2.6.
pytest-catchlog==1.2.2
@ -16,4 +14,3 @@ unittest2==1.1.0
# Fix InsecurePlatformWarning while creating py26 tox environment
# https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
urllib3[secure]; python_version < '2.7.9'
google-api-python-client==1.6.5

@ -0,0 +1,2 @@
paramiko==2.3.2 # Last 2.6-compat version.
google-api-python-client==1.6.5
Loading…
Cancel
Save