]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix rich version for ansible-lint
authorDmitriy Rabotyagov <noonedeadpunk@ya.ru>
Thu, 13 Jan 2022 16:17:14 +0000 (18:17 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 4 Mar 2022 12:55:13 +0000 (13:55 +0100)
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 <noonedeadpunk@ya.ru>
(cherry picked from commit 583e60af84180f0414d67ee52c3ec7cd64ddb4dd)

.github/workflows/ansible-lint.yml

index 32b697ca81c0e58d4d73c05276bd435f07aa9e6c..c8f75df10a234384ff1de8c8a0e86f7e1a8405de 100644 (file)
@@ -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'