Bug 2069318 - ansible-lint: Fails to Install from EPEL 9
Summary: ansible-lint: Fails to Install from EPEL 9
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ansible-lint
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2069485 2069487
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-28 17:24 UTC by Neal Gompa
Modified: 2022-07-13 19:07 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-07-13 19:07:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Neal Gompa 2022-03-28 17:24:31 UTC
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

Comment 1 alphacc 2022-05-24 07:05:45 UTC
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.

Comment 2 Parag Nemade 2022-06-24 02:13:06 UTC
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.

Comment 3 Parag Nemade 2022-07-02 01:06:00 UTC
I am going to close this now. There remain nothing at all for me to do here.

Comment 4 Carl George 🎩 2022-07-07 19:12:26 UTC
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.

Comment 5 Parag Nemade 2022-07-08 01:46:58 UTC
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.

Comment 6 Carl George 🎩 2022-07-08 05:20:05 UTC
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.

Comment 7 Parag Nemade 2022-07-08 06:28:28 UTC
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.

Comment 8 Carl George 🎩 2022-07-13 19:07:39 UTC
All dependencies are now available, and ansible-lint is installable.


Note You need to log in before you can comment on or make changes to this bug.