Skip to content

Pin ansible-core in pre-commit ansible-lint hook#4047

Open
Deydra71 wants to merge 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:pin-ansible-core-precommit
Open

Pin ansible-core in pre-commit ansible-lint hook#4047
Deydra71 wants to merge 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:pin-ansible-core-precommit

Conversation

@Deydra71

Copy link
Copy Markdown

ansible-lint 6.22.2 (used by the pre-commit hook) is incompatible with ansible-core >= 2.16 due to removed internal APIs it depends on. Pin ansible-core==2.15.13 in the hook's additional_dependencies to match test-requirements.txt, preventing cryptic import errors when running pre-commit.

ansible-lint 6.22.2 (used by the pre-commit hook) is incompatible with
ansible-core >= 2.16 due to removed internal APIs it depends on.
Pin ansible-core==2.15.13 in the hook's additional_dependencies to match
test-requirements.txt, preventing cryptic import errors when running
pre-commit.

Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
@Deydra71 Deydra71 requested review from danpawlik and rebtoor July 10, 2026 08:11
@openshift-ci

openshift-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yorabl for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants