From 9ee2aecd217964c3e2703c9b69befa1b1e3394fc Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 17 Aug 2018 11:15:04 +1000 Subject: [PATCH] Bump ansible test version to 2.5 Iab951c11b23a24757cf5334b36bc8f7d12e19db0 was merged in June to update Zuul to Ansible 2.5. This is outside the 4 week update period for new features, so we can update and use Ansible 2.5 features in zuul-jobs. Add a little bit more of a note in the requirements about what's going on while here. Change-Id: Ic018b7259749148660e1bdb6c9a779551390fd09 --- test-requirements.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 339e2142c..d7feb5675 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,9 +3,14 @@ # process, which may cause wedges in the gate later. flake8 -# We need to pin Ansible to <2.4 until Zuul supports it, otherwise ansible-lint -# picks the latest version which is not known to work yet. -ansible<2.4 +# We need to pin the ansible version directly here; per the +# deprecation policy it should trail the version used by Zuul by 4 +# weeks to give people time to update before these roles start +# depending on new features. Also note we can't just include zuul +# here to pull in ansible anyway; pip doesn't actually have a +# dependency solver and the uncapped ansible requirement from +# ansible-lint pull in the latest version. +ansible>=2.5.1,<2.6 # https://review.openstack.org/567007 ansible-lint bashate>=0.2 zuul-sphinx>=0.1.1 @@ -15,4 +20,3 @@ openstacksdk>=0.17.1 requests requestsexceptions bs4 -#