Restrict redis to < 4.1.0 for ansible-base 2.10. (#3955) (#3957)

(cherry picked from commit 3f2364574d)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/4003/head
patchback[bot] 2021-12-27 21:17:03 +01:00 committed by GitHub
parent de8274c360
commit 69b7f68379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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