Bug 2173122

Summary: ansible-lint in EPEL 9.2 needs to be built for Python 3.11
Product: [Fedora] Fedora EPEL Reporter: Maxwell G <maxwell>
Component: ansible-lintAssignee: Parag Nemade <pnemade>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: cmattern, maxwell, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maxwell G 2023-02-24 02:27:54 UTC
Description of problem:

As of https://gitlab.com/redhat/centos-stream/rpms/ansible-core/-/commit/9f1440cc3c5095f0a1587da54df53c14284e1506, ansible-core in c9s is built against Python 3.11. This should be part of the ~May RHEL 9.2 release. I believe this change has already been pushed out to the c9s repos.

Therefore, ansible-lint will need to be built against the alternative python3.11 stack, as well. python3.11 compat packages will need to be branched for each dependency. https://fedoraproject.org/wiki/EPEL/Python3X is a (slightly outdated) guide about the process.

This change is also happening in c8s/RHEL 8 (https://git.centos.org/rpms/ansible-core/c/0fdcc64478b3370e44ee54c4e3c7509647b8eb6a?branch=c8s), but AFAIK, the EPEL 8 ansible-lint package is already broken, as it's still built for python36 while ansible is currently built for python39. This change should reach the c8s repos in the coming weeks.

Comment 1 Parag Nemade 2023-02-24 03:31:01 UTC
Last night, I have pushed update for EPEL8 ansible-lint to use python39 package (bug#2171313).
Will look into updating 9.2 ansible-lint package.
Thanks.