Closed WandrilleD closed 2 years ago
looking at the github repo of ansible, I notice that there the file galaxy.py , which throws the error, does not try to import CollectionRequirement
see https://github.com/ansible/ansible/blob/devel/lib/ansible/cli/galaxy.py , line 29 onward
Could it be an ansible version issue?
Hi @WandrilleD . Sorry for the late reply but I was on holidays.
How urgent is this? I am asking because I came back from holiday today and I have some tasks to finish. I would like to know how urgent it is to prioritize accordingly
Hi @pescobar , I will be needing this for a course I am giving on Sept 1-2, and I would like to be able to run my tests at 1 week before if possible. Does that seems doable to you or should I start looking for alternative?
That's not a problem. I think I can fix it this week.
@WandrilleD I have simplified requirements.txt
in master branch . It should work now. Can you give it a try?
It seems to be able to install the requirement without any problem now. Thanks!
Hello, I have tried to reproduce the procedure described in the README with the latest version of the repo, and I encountered a couple of issues.
minor issue cookiecutter new version bumps python dependency to >=3.7 with python >=3.7 -> dataclasses has been integrated and should not by in the requirements anymore
more important issue with either python 3.6.9 , 3.7.4, or 3.8.8 the command
ansible-galaxy role install -r ansible/requirements.yml -p ansible/roles/
now returns the following error:
Note : for the python 3.6 test, I used cookiecutter 1.7.2 ; for python 3.7 and 3.8 I remove dataclasses from the requirements.
Any idea why we get this error and how to solve this ?