From 3f2364574d3c3980c1215da6c105f6ddaa7b5e0c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 27 Dec 2021 20:40:25 +0100 Subject: [PATCH] Restrict redis to < 4.1.0 for ansible-base 2.10. (#3955) --- tests/utils/shippable/units.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils/shippable/units.sh b/tests/utils/shippable/units.sh index 88db336d26..dc58415db9 100755 --- a/tests/utils/shippable/units.sh +++ b/tests/utils/shippable/units.sh @@ -23,6 +23,7 @@ esac ansible-test env --timeout "${timeout}" --color -v if [ "$2" == "2.10" ]; then + sed -i -E 's/^redis($| .*)/redis < 4.1.0/g' tests/unit/requirements.txt sed -i -E 's/^python-gitlab($| .*)/python-gitlab < 2.10.1 ; python_version >= '\'3.6\''/g' tests/unit/requirements.txt echo "python-gitlab ; python_version < '3.6'" >> tests/unit/requirements.txt fi