zuul-jobs/linters-requirements.txt
Clark Boylan 7682f2fb5b Cap the ansible version used by ansible-lint
the openvswitch.openvswitch collection is removed from Ansible packages
starting with Ansible 11. This causes ansible-lint to correctly not find
the openvswitch_bridge module when ansible-lint runs with Ansible 11.
Workaround this by capping Ansible used by ansible-lint to <10 and leave
a note about the module going away where we use it.

Change-Id: Id2d4e4f59c7d7e595c5458bc8717146c2326c573
2024-11-19 14:27:44 -08:00

9 lines
345 B
Plaintext

# linters have different requirements than test ones, some would
# conflict, like ansible version required by ansible-lint.
ansible>=2.12.0,<10 # required by ansible-lint
flake8
yamllint>=1.23.0
# 6.5.0 : https://github.com/ansible/ansible-lint/issues/2330
# 6.5.1 : https://github.com/ansible/ansible-lint/issues/2320
ansible-lint>6.8.0,<6.13