Comment 0 for bug 1848512

Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :

All jobs using ansible-lint via pre-commit (aka tox-molecule-linters) got broken when a newer version of setuptools was released.

The bug itself is not caused by setuptools but by the ugly-hack present inside setup.py from the ansible-lint project.

I already proposed the PR to fix it but projects maintenance status is not one of the best right now, it may take more time to get it merged and a new release made.

Meanwhile I was able to find a workaround that looks like:
https://review.rdoproject.org/r/#/c/23215/4/tox.ini

Fixes need to be done in all repositories where we encounter them.

Upstream references:
* https://github.com/ansible/ansible-lint/issues/590
* https://github.com/pypa/setuptools/issues/1869

I will mark this as a promotion blocker because is high-likely that most CR would be blocked by the broken linters jobs until we implement workarounds everywhere.