ansible version in kinetic is not compatible with resolvelib dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ansible (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ansible version in 22.10 kinetic is 5.5.0 and depends on python3-resolvelib 0.8.1 which is not a working combination for ansible-galaxy dependency resolver:
$ ansible-galaxy collection install -r requirements.yml
...
Process install dependency map
ERROR! Unexpected Exception, this is probably a bug: CollectionDepen
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/
exit_code = cli.run()
File "/usr/lib/
return context.
File "/usr/lib/
return wrapped_
File "/usr/lib/
self.
File "/usr/lib/
install_
File "/usr/lib/
dependency_map = _resolve_
File "/usr/lib/
return collection_
File "/usr/lib/
state = resolution.
File "/usr/lib/
self.
File "/usr/lib/
matches = self._p.
TypeError: CollectionDepen
It should be fixable by downgrading resolvelib to 0.5.4, but I didn't try that. Instead I installed Ansible 6.5.0 in a virtualenv and got ansible-galaxy working again.
Unable to use proper tools to expand this out, but I'm running into the same issue with 22.04.2 LTS.