-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible lint fails to install using pip on 16.04 #565
Comments
It's a problem of Ubuntu packaging things like this. There's nothing we can do. You should have pip and setuptools installed in order to install Python dists. It's a pre-requisite. |
I do. I was using pip. I 'installed' setuptools again but it's installed by default on our VMs. Something may have been wrong there but nothing's changed.
|
Is this a 10-year old VM? The current setuptools version goes over 40. P.S. Workaround: #562 (comment) |
May I ask why setuptools > X isnt a requirement when installing ansible lint ? This would then be pulled in when we are installing it. |
@martinkennelly no. It's forbidden to set setuptools as a dist dependency. It's a pre-requisite (build dependency) and will not work. |
We could use PEP 517 (pyproject.toml) to specify build deps but:
|
No but the actions of IT are a mystery to many of us. Updating |
Updating Adding setuptools as a dependency would serve no purpose as that would have to be communicated by the I'll try to figure out why the wheel was not created, before any next release, so the non-upload should not happen again. |
Issue Type
Ansible and Ansible Lint details
Desired Behaviour
Ansible-lint installs via pip
Actual Behaviour (Bug report only)
Attempted to install ansible-lint via pip on Ubuntu 16.04 LTS but failed with error:
I corrected this issue by first installing setuptools and then install ansible-lint.
The text was updated successfully, but these errors were encountered: