Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78550 - [ansible-lint] needs python-pip dependency

Attached to Project: Community Packages
Opened by Amin Vakil (aminvakil) - Thursday, 18 May 2023, 23:43 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 17 September 2023, 09:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Currently ansible-lint --version fails with this error:

```
$ ansible-lint --version
ansible-lint 6.15.1.dev45 using ansible 2.15.0
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 8, in <module>
sys.exit(_run_cli_entrypoint())
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 333, in _run_cli_entrypoint
sys.exit(main(sys.argv))
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 217, in main
msg = get_version_warning()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/config.py", line 289, in get_version_warning
pip = guess_install_method()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ansiblelint/config.py", line 222, in guess_install_method
from pip._internal.metadata import get_default_environment
ModuleNotFoundError: No module named 'pip'
```
I've checked and installing python-pip fixes the issue.tan

Additional info:
$ pacman -Q ansible-lint
ansible-lint 6.15.0.r45.g2fca3fe-2


Steps to reproduce:
ansible-lint --version
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 17 September 2023, 09:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  no longer the case with ansible-lint 6.19.0

Loading...