You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running poetry run ade install -r requirements.yml, the command fails with a ModuleNotFoundError: No module named 'pkg_resources'.
$ poetry run ade install -r requirements.ymlFailed to discover requirements: Command 'ansible-builder introspect /home/runner/.cache/pypoetry/virtualenvs/deadnews-template-ansible-kPNM4ADQ-py3.12/lib/python3.12/site-packages --write-pip /home/runner/.cache/pypoetry/virtualenvs/deadnews-template-ansible-kPNM4ADQ-py3.12/.ansible-dev-environment/discovered_requirements.txt --write-bindep /home/runner/.cache/pypoetry/virtualenvs/deadnews-template-ansible-kPNM4ADQ-py3.12/.ansible-dev-environment/discovered_bindep.txt --sanitize' returned non-zero exit status 1. ModuleNotFoundError: No module named 'pkg_resources'
This is not a bug within ade tool. While we do try to import pkg_resources, we nicely ignore an import failure. Poetry use is also not supported, so please identify the tool that generates the exception and try to propose a fix for it.
Description
When running
poetry run ade install -r requirements.yml
, the command fails with aModuleNotFoundError: No module named 'pkg_resources'
.Possible solution
The
pkg_resources
module is part ofsetuptools
.According to the Poetry documentation:
Context
GitHub workflow log.
The text was updated successfully, but these errors were encountered: