In Rocky9.2, ansible-core@appstream wants python3.11@appstream. dnf wants python3.9. python3-ansible-lint@epel installed into python3.9 (even though rpmdb says it’s dependent on python3.11). The result is that ansible-lint can’t find ansible because they have different site-packages.
The most straightforward way I can think to fix this is to remove python3-ansible-lint@epel and just install ansible-lint with python3.11 -m pip. But, is this the best answer?
Add to this, python3.9 is still the default python3 (symlink). Shouldn’t it become python3.11?