Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] - Need an RPM for the ansible-lint package #915

Open
ferricoxide opened this issue Feb 18, 2025 · 2 comments
Open

[Package Request] - Need an RPM for the ansible-lint package #915

ferricoxide opened this issue Feb 18, 2025 · 2 comments
Labels
enhancement New feature or request epel Package request for one that was in EPEL packages Package request

Comments

@ferricoxide
Copy link

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)

@elsaco
Copy link

elsaco commented Feb 19, 2025

@ferricoxide until AWS provides a package (if ever) you could run pip install ansible-lint and enjoy it!

@ferricoxide
Copy link
Author

@ferricoxide until AWS provides a package (if ever) you could run pip install ansible-lint and 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

@stewartsmith stewartsmith added enhancement New feature or request packages Package request epel Package request for one that was in EPEL labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epel Package request for one that was in EPEL packages Package request
Projects
None yet
Development

No branches or pull requests

3 participants