From ae53ca1421cdf65b05c194b11bddf8950a41ceb2 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 13 Jan 2022 18:17:14 +0200 Subject: [PATCH] Fix rich version for ansible-lint Ansible-lint prior to v5.3.1 has issue with reach version >=11.0.0. In order to cherry-pick fix to stable branches we fix rich version. This should be reverted with ansible-lint version bump. Signed-off-by: Dmitriy Rabotyagov (cherry picked from commit 583e60af84180f0414d67ee52c3ec7cd64ddb4dd) --- .github/workflows/ansible-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 32b697ca8..c8f75df10 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -14,7 +14,7 @@ jobs: with: python-version: ${{ matrix.python-version }} architecture: x64 - - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7 netaddr + - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint==4.3.7 'rich>=9.5.1,<11.0.0' netaddr if: matrix.python-version == '3.6' - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint ruamel.yaml==0.16.13 ruamel.yaml.clib==0.2.2 netaddr if: matrix.python-version == '2.7' -- 2.39.5