Skip to content

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

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:pin-ansible-core-precommit
Jul 16, 2026
Merged

Pin ansible-core in pre-commit ansible-lint hook#4047
openshift-merge-bot[bot] merged 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>

@evallesp evallesp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@nemarjan

Copy link
Copy Markdown
Contributor

recheck

@openshift-ci

openshift-ci Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described 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

@openshift-merge-bot
openshift-merge-bot Bot merged commit 8b22a75 into openstack-k8s-operators:main Jul 16, 2026
9 checks passed
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.

4 participants