From cf1a6ff061e36c1f3140060b0b2d1861c52ebb99 Mon Sep 17 00:00:00 2001 From: Martin Perina Date: Tue, 11 Jan 2022 10:17:43 +0100 Subject: [PATCH] Fixes rich dependency issue in ansible-lint (#413) Fixes ImportError exceptioin when using rich >= 11.0.0 in ansible-lint: https://github.com/ansible-community/ansible-lint/issues/1795 Signed-off-by: Martin Perina --- automation/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/build.sh b/automation/build.sh index 746349c9..dacc1ed8 100755 --- a/automation/build.sh +++ b/automation/build.sh @@ -68,7 +68,7 @@ mkdir -p $COLLECTION_DIR cp -r $OVIRT_BUILD/* $COLLECTION_DIR cd $COLLECTION_DIR -pip3 install rstcheck antsibull-changelog "ansible-lint<5.0.0" +pip3 install rstcheck antsibull-changelog "rich<11.0.0" "ansible-lint<5.0.0" # The sanity import test failed with error. (https://github.com/ansible/ansible/issues/76473) ansible-test sanity --skip-test import