[Package Request] - Need an RPM for the `ansible-lint` package
What package is missing from Amazon Linux 2023? Please describe and include package name.
ansible-lint
Is this an update to existing package or new package request?
New
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.
This package normally comes from EPEL. However, there are no suitable packagings for Amazon Linux 2023 on EPEL. Otherwise, I'd probably used something like:
dnf install https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/p/python3-ansible-lint-5.4.0-2.el9.noarch.rpm
To install it. Unfortunately, as Amazon Linux has further and further diverged from RHEL, the above is no longer usable. If one attempts the above, one gets an error like:
Last metadata expiration check: 0:03:54 ago on Tue Feb 18 13:22:52 2025.
python3-ansible-lint-5.4.0-2.el9.noarch.rpm 2.3 MB/s | 199 kB 00:00
Error:
Problem: conflicting requests
- nothing provides python3.9dist(enrich) >= 1.2.6 needed by python3-ansible-lint-1:5.4.0-2.el9.noarch from @commandline
- nothing provides python3.9dist(rich) >= 9.5.1 needed by python3-ansible-lint-1:5.4.0-2.el9.noarch from @commandline
- nothing provides python3.9dist(wcmatch) >= 7 needed by python3-ansible-lint-1:5.4.0-2.el9.noarch from @commandline
- nothing provides python3.9dist(tenacity) needed by python3-ansible-lint-1:5.4.0-2.el9.noarch from @commandline
(try to add '--skip-broken' to skip uninstallable packages)
Similarly, trying to install one of the epel-release RPMs (I tried the one for EL9) fails, as it is not compatible with Amazon Linux 2023
Any additional information you'd like to include. (use-cases, etc)
@ferricoxide until AWS provides a package (if ever) you could run pip install ansible-lint and enjoy it!
@ferricoxide until AWS provides a package (if ever) you could run
pip install ansible-lintand enjoy it!
That's generally the way I've done it, over the years. However, there've:
- been some corner-cases where the version in Pypi has been too new compared to the RPM-bundled version of ansible-core
- been some times where, when using secured VPCs, Pypi has been unavailable
Thank you for requesting to add the package in AL2023. We are currently reviewing the feasibility of adding the package and will provide another status update in a few weeks.