Description of problem: Recently the ansible core team took over ownership of ansible-lint There was a 4.0 release with a number of bugfixes and more recently a 4.1 release with some important new features (such as skipping a specific rule rather than all rules on a task). Please can you build a new EPEL7 with the current released version. See the changelog for more important changes: https://github.com/ansible/ansible-lint/blob/master/CHANGELOG.rst
I think this required some work and also not sure if I can get all the required python2 dependencies in epel7.
I am not sure how to get things working. I see ansible package is python2, python-setuptools_scm is python3, there is no python-setuptools_scm_git_archive package in epel7.
I started toying with this the other day... The scm_archive code is only used for developer snapshots to create the version etc so it looks feasible to patch out that dependency. I hit the issue with setuptools getting an Unicode issue when using the package_dir = [ = lib ] syntax in setup.cfg so started removing that (there is supposedly a workaround in setup.py but it obviously doesn't work. I'm pretty sure that once we fix that issue we'll get the rest working. Urgh... can't wait till RHEL8 and EL7 stops holding things back again...
The actual error: Traceback (most recent call last): File "setup.py", line 146, in <module> __name__ == '__main__' and setuptools.setup(**setup_params) File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/build_py.py", line 89, in run self.build_packages() File "/usr/lib64/python2.7/distutils/command/build_py.py", line 372, in build_packages self.build_module(module, module_file, package) File "/usr/lib/python2.7/site-packages/setuptools/command/build_py.py", line 106, in build_module outfile, copied = _build_py.build_module(self, module, module_file, package) File "/usr/lib64/python2.7/distutils/command/build_py.py", line 333, in build_module "'package' must be a string (dot-separated), list, or tuple") TypeError: 'package' must be a string (dot-separated), list, or tuple error: Bad exit status from /var/tmp/rpm-tmp.PnwrG7 (%build) Bad exit status from /var/tmp/rpm-tmp.PnwrG7 (%build)
we can't build ansible-lint in rhel8 itself due to missing functionality of using pyproject-rpm-macros Let's close this as wontfix