FS#70639 - Ansible package missing dependency on python-resolvelib

Attached to Project: Community Packages
Opened by Alexander Skiba (GhostLyrics) - Thursday, 29 April 2021, 18:04 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 29 April 2021, 21:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Ansible's package manager "ansible-galaxy" has switched to using resolvelib instead of their own homegrown solution. Archlinux's build system does neither depend nor recommend the package python-resolvelib, leaving ansible-galaxy broken after install.

Additional info:
* ansible 3.3.0-2
* config and/or log files etc.
* https://github.com/ansible/ansible/issues/71784

Steps to reproduce:
docker run -it --rm library/archlinux /bin/bash
pacman -Syu
pacman -S ansible
ansible-galaxy
# trace is printed

To fix:
pacman -S python-resolvelib
ansible-galaxy
# help text is printed as expected
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 29 April 2021, 21:39 GMT
Reason for closing:  Fixed
Comment by Alexander Skiba (GhostLyrics) - Thursday, 29 April 2021, 18:11 GMT
I've found a better link in the release notes of the package: https://github.com/ansible/ansible/blob/stable-2.11/changelogs/CHANGELOG-v2.11.rst#major-changes

> Declared resolvelib >= 0.5.3, < 0.6.0 a direct dependency of ansible-core. Refs: - https://github.com/sarugaku/resolvelib - https://pypi.org/p/resolvelib - https://pradyunsg.me/blog/2020/03/27/pip-resolver-testing

Loading...