Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When trying to install ansible-lint on CentOS Stream 9, it fails to install due to missing dependencies. Version-Release number of selected component (if applicable): 5.0.7-1.el9 How reproducible: Always Steps to Reproduce: (In a centos:stream9 container, run the following) 1. dnf -y in dnf-plugins-core 2. dnf -y config-manager --set-enabled crb 3. dnf -y in epel-release 4. dnf -y in /usr/bin/ansible-lint Actual results: Error: Problem: conflicting requests - nothing provides python3.9dist(tenacity) needed by python3-ansible-lint-1:5. 0.7-1.el9.noarch - nothing provides python3.9dist(enrich) >= 1.2.6 needed by python3-ansible-li nt-1:5.0.7-1.el9.noarch (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Expected results: Successful install
For RHEL9 same issue : root@cwe-774-lem9020 ~ # yum install ansible-lint Extra Packages for Enterprise Linux 9 - x86_64 61 kB/s | 26 kB 00:00 Extra Packages for Enterprise Linux 9 - x86_64 14 MB/s | 6.0 MB 00:00 Extra Packages for Enterprise Linux 9 - Testin 3.2 MB/s | 922 kB 00:00 Red Hat Enterprise Linux 9 - BaseOS (RPMs) 4.9 MB/s | 1.6 MB 00:00 Red Hat Enterprise Linux 9 - AppStream (RPMs) 16 MB/s | 6.3 MB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 (RP 6.1 MB/s | 1.9 MB 00:00 Red Hat Enterprise Linux 9 - Supplementary (RP 7.0 kB/s | 2.1 kB 00:00 RPM Fusion for EL 9 - Free - Updates 1.0 MB/s | 63 kB 00:00 Error: Problem: conflicting requests - nothing provides python3.9dist(tenacity) needed by python3-ansible-lint-1:5.0.7-1.el9.noarch - nothing provides python3.9dist(enrich) >= 1.2.6 needed by python3-ansible-lint-1:5.0.7-1.el9.noarch (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) I am happy to help if you want to share the burden on python deps.
Update here: python-enrich just entered into epel-testing repo. we are now waiting for python-tenacity package to be branched and built for epel9.
I am going to close this now. There remain nothing at all for me to do here.
Please leave this bug open until ansible-lint is installable. That should help prevent any duplicates from being filed. Anyone subscribed to this bug will get a notification when bug 2069487 is closed, because this bug depends on it.
Carl, I had enough waiting for https://src.fedoraproject.org/group/epel-packagers-sig. I see you are also part of that group. Will you please then help and build that package? Thanks.
Sometimes blockers take time to resolve. Being impatient isn't justification to close a valid bug as NOTABUG without resolving the issue. This issue only exists because ansible-lint was pushed to the stable EPEL9 repo without first validating that it can install. I stepped in earlier today and took care of the python-tenacity build. I resolved the open pull requests (including one of my own), did a rawhide build, merged rawhide back to epel9, and did an epel9 build and submitted the bodhi update (see bug 2069487 comment 8). python-enrich has already moved from testing to stable, so once python-tenacity does the same then ansible-lint should install correctly and then we can close this bug.
Thank you. I am not impatient here just frustrated that this bugfix did not remain in my capacity of ansible-lint package maintainership. My only concern is that if epel-packagers-sig want to take ownership of building package in EPEL then in same original request to existing Fedora package maintainer, they should ask to reassign bug to epel-packagers-sig or someone from the SIG. If its not happening then IMO epel-packagers-sig will not get attention to that bug easily and I may keep asking Fedora maintainer to build it for EPEL and he will keep denying. So its all about epel-packagers-sig. If SIG would have not stepped in I would have wait patiently for some decision on python-tenacity to appear in EPEL9.
All dependencies are now available, and ansible-lint is installable.